@charset "utf-8";

/* ============================================================
   Base CSS — 逆风科技 公司官网
   设计参考: bingbaitech.com (冰柏科技)
   ============================================================ */

/* ---------- Reset & Box Sizing ---------- */
* {
    line-height: 1;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    overflow-x: hidden !important;
    overflow-y: auto;
    -webkit-tap-highlight-color: transparent;
}

body {
    min-height: 100vh;
    background: #fff;
    overflow-x: hidden;
    font-family: "PingFang SC", "Microsoft Yahei", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

a {
    transition: all .36s;
    text-decoration: none;
}

a:hover { text-decoration: none; }
a:focus { text-decoration: none; outline: 0; }
a:not([href]) { cursor: default; }

li, ol, ul { margin: 0; list-style-type: none; }

h1, h2, h3, h4, h5, h6, p { font-weight: 400; margin: 0; line-height: 1; }
p { word-wrap: break-word; word-break: normal; }

h1 { font-size: 36px; }
h2 { font-size: 30px; }
h3 { font-size: 24px; }
h4 { font-size: 18px; }
h5 { font-size: 14px; }
h6 { font-size: 12px; }

img, video { max-width: 100%; vertical-align: middle; }
img { image-rendering: -webkit-optimize-contrast; image-rendering: crisp-edges; -ms-interpolation-mode: nearest-neighbor; }

body, button, input, select, textarea {
    font-size: 14px;
    line-height: 1;
    margin: 0;
    color: #333;
    border: 0;
    outline: 0;
    background: 0 0;
}

form { width: 100%; }
input, textarea { -webkit-appearance: none; }
input { line-height: normal; text-overflow: ellipsis; }
textarea { resize: none; }
label { font-weight: 400; margin-bottom: 0; }
a, button { cursor: pointer; }

/* ---------- CSS Variables ---------- */
:root {
    --color-primary: #1664FF;
    --color-primary-dark: #0050E0;
    --color-accent: #00E49E;
    --color-text-dark: #333333;
    --color-text-body: #666666;
    --color-text-light: #999999;
    --color-bg-dark: #242424;
    --color-bg-gray: #F5F5F5;
    --color-bg-card: #F6FAFF;
    --color-white: #FFFFFF;
    --color-border: #EAEAEA;
    --shadow-sm: 0px 2px 8px 0px rgba(0, 61, 150, 0.08);
    --shadow-md: 0px 4px 16px 0px rgba(0, 61, 150, 0.15);
    --shadow-lg: 0px 8px 30px 0px rgba(0, 61, 150, 0.10);
    --shadow-card: 0px 0px 16px 0px rgba(185, 204, 232, 0.20);
    --radius-sm: 5px;
    --radius-md: 10px;
    --radius-lg: 20px;
    --radius-pill: 56px;
    --transition: all 0.36s ease;
    --max-width: 1440px;
}

/* ---------- Layout Containers ---------- */
.ys_cont1440 { width: 1440px; margin: 0 auto; max-width: 100%; }
.ys_cont1200 { width: 1200px; margin: 0 auto; max-width: 100%; }
.ys_cont1000 { width: 1000px; margin: 0 auto; max-width: 100%; }

@media screen and (max-width: 1680px) {
    .ys_cont1440 { width: 82.5%; }
}
@media screen and (max-width: 1440px) {
    .ys_cont1200 { width: 82.5%; }
}
@media screen and (max-width: 1200px) {
    .ys_cont1000, .ys_cont1200, .ys_cont1440 { width: 100%; padding: 0 40px; }
}
@media screen and (max-width: 767px) {
    .ys_cont1000, .ys_cont1200, .ys_cont1440 { padding: 0 20px; }
}

/* ---------- Flex Helpers ---------- */
.ys_flex { display: flex; flex-wrap: wrap; }
.ys_flex_center { display: flex; align-items: center; }
.ys_flex_between { display: flex; align-items: center; justify-content: space-between; }
.fl { float: left; }
.fr { float: right; }
.clearfix::after { display: block; clear: both; height: 0; content: ' '; }
.clearfix { zoom: 1; }

/* ---------- Typography Standards ---------- */
.std_title1 {
    font-size: 70px;
    line-height: 1.3;
    color: var(--color-text-dark);
    font-weight: 600;
}

.std_title2 {
    font-size: 48px;
    line-height: 1.5;
    color: var(--color-text-dark);
    font-weight: 600;
}

.std_title3 {
    font-size: 32px;
    line-height: 1.6;
    color: var(--color-text-dark);
    font-weight: 600;
}

.std_title4 {
    font-size: 24px;
    line-height: 1.5;
    color: var(--color-text-dark);
    font-weight: 600;
}

.std_title5 {
    font-size: 20px;
    line-height: 1.5;
    color: var(--color-text-dark);
    font-weight: 600;
}

.std_parga1 p {
    font-size: 16px;
    line-height: 1.75;
    color: var(--color-text-body);
}

.std_parga2 p {
    font-size: 14px;
    line-height: 1.75;
    color: var(--color-text-body);
}

/* ---------- Buttons ---------- */
.std_btn1, .std_btn2 {
    display: inline-block;
    position: relative;
    border-radius: var(--radius-pill);
    overflow: hidden;
    transform: rotate(0deg);
}

.std_btn1 p, .std_btn2 p {
    font-size: 18px;
    line-height: 56px;
    transition: var(--transition);
    position: relative;
    z-index: 5;
    color: var(--color-primary);
}

.std_btn1_box, .std_btn2_box {
    display: block;
    padding: 0 58px;
    box-shadow: var(--shadow-md);
    background: var(--color-white);
    transition: var(--transition);
}

.std_btn2_box {
    background: var(--color-primary);
    box-shadow: var(--shadow-md);
}

.std_btn2_box p {
    color: #fff;
}

.std_btn1_bg, .std_btn2_bg {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: var(--color-accent);
    position: absolute;
    left: 50%;
    transform: translateX(-50%) scale(0);
    top: 0;
    transition: all .5s linear;
    pointer-events: none;
}

.std_btn3 {
    display: inline-block;
}

.std_btn3_box {
    display: flex;
    align-items: center;
}

.std_btn3_box p {
    font-size: 16px;
    line-height: 1.75;
    color: #fff;
}

.std_btn3_box img {
    width: 12px;
    transition: var(--transition);
    margin-left: 18px;
}

.std_btn4 {
    display: inline-block;
}

.std_btn4 p {
    font-size: 16px;
    line-height: 1.5;
    color: var(--color-primary);
}

.std_btn4 img {
    width: 11px;
    margin-left: 10px;
    transition: var(--transition);
}

.std_btn4_box {
    display: flex;
    align-items: center;
}

/* ---------- Image Boxes ---------- */
.ys_imgbox_cover {
    position: relative;
    overflow: hidden;
}

.ys_imgbox_cover img {
    width: 100%;
    transition: var(--transition);
}

.ys_imgbox_cover img:nth-child(2) {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
}

/* ---------- Section Padding ---------- */
.std_padding1 { padding-top: 100px; }
.std_padding2 { padding-bottom: 150px; }
.std_padding3 { padding-bottom: 100px; }
.std_margin1 { margin-top: 20px; }
.std_margin2 { margin-top: 40px; }

/* ---------- Animations ---------- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-40px); }
    to   { opacity: 1; transform: translateY(0); }
}

.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }

/* ---------- Page Wrapper ---------- */
.ys_page_wrap {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.ys_main {
    flex-grow: 1;
}

/* ---------- Scrollbar Styling ---------- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: #c1c1c1; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #a1a1a1; }
