/* ===== CSS 变量 ===== */
:root {
    --c-cyan: #00E5FF;
    --c-purple: #7C4DFF;
    --c-blue: #2196F3;
    --c-bg: #06080F;
    --c-bg-2: #0B0F1E;
    --c-bg-card: rgba(255,255,255,.03);
    --c-text: #E8ECF4;
    --c-text-muted: #8892A8;
    --c-text-dim: #5A6275;
    --c-border: rgba(255,255,255,.08);
    --c-border-glow: rgba(0,229,255,.25);
    --c-white: #ffffff;
    --radius: 16px;
    --radius-sm: 10px;
    --container: 1200px;
    --ease: cubic-bezier(.4, 0, .2, 1);
    --grad: linear-gradient(135deg, var(--c-cyan), var(--c-purple));
}

/* ===== 重置 & 基础 ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--c-text);
    background: var(--c-bg);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ===== 全局背景层 ===== */
.bg-layer {
    position: fixed;
    inset: 0;
    z-index: -1;
    background: var(--c-bg);
    overflow: hidden;
}

#particles {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0,229,255,.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,229,255,.035) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 0%, transparent 90%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 0%, transparent 90%);
}

.bg-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: .35;
    pointer-events: none;
}

.bg-glow--1 { width: 600px; height: 600px; background: var(--c-cyan); top: -200px; left: -100px; }
.bg-glow--2 { width: 500px; height: 500px; background: var(--c-purple); top: 30%; right: -150px; }
.bg-glow--3 { width: 450px; height: 450px; background: var(--c-blue); bottom: -100px; left: 40%; opacity: .2; }

/* ===== 按钮 ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 30px;
    border-radius: var(--radius-sm);
    font-size: .98rem;
    font-weight: 500;
    cursor: pointer;
    transition: all .3s var(--ease);
    border: none;
    position: relative;
}

.btn--primary {
    background: var(--grad);
    color: #06080F;
    font-weight: 600;
    box-shadow: 0 4px 24px rgba(0,229,255,.3);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0,229,255,.5);
}

.btn--ghost {
    background: rgba(255,255,255,.04);
    color: var(--c-text);
    border: 1px solid var(--c-border);
    backdrop-filter: blur(10px);
}

.btn--ghost:hover {
    border-color: var(--c-cyan);
    color: var(--c-cyan);
    background: rgba(0,229,255,.06);
}

/* ===== 头部导航 ===== */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(6,8,15,.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: all .3s var(--ease);
}

.header.scrolled {
    border-bottom-color: var(--c-border);
    background: rgba(6,8,15,.85);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.2rem; color: var(--c-text); }
.logo__text { letter-spacing: .04em; }

.nav__list { display: flex; align-items: center; gap: 4px; }

.nav__link {
    position: relative;
    display: inline-block;
    padding: 8px 18px;
    font-size: .92rem;
    font-weight: 500;
    color: var(--c-text-muted);
    border-radius: var(--radius-sm);
    transition: all .25s var(--ease);
}

.nav__link:hover { color: var(--c-cyan); }

.nav__link.active {
    color: var(--c-text);
    background: rgba(0,229,255,.08);
}

.nav__link.active::after {
    content: '';
    position: absolute;
    bottom: 2px; left: 50%;
    transform: translateX(-50%);
    width: 20px; height: 2px;
    background: var(--grad);
    border-radius: 1px;
}

/* 移动端菜单 */
.nav__toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; background: none; border: none; cursor: pointer; }
.nav__toggle span { width: 24px; height: 2px; background: var(--c-text); border-radius: 2px; transition: all .3s var(--ease); }
.nav__toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 72px;
    overflow: hidden;
}

.hero__content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 820px;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 18px;
    background: rgba(0,229,255,.06);
    border: 1px solid rgba(0,229,255,.2);
    border-radius: 50px;
    font-size: .78rem;
    font-weight: 500;
    color: var(--c-cyan);
    margin-bottom: 28px;
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: .05em;
    animation: fadeInDown .8s var(--ease) both;
}

.hero__badge-dot {
    width: 7px; height: 7px;
    background: var(--c-cyan);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--c-cyan);
    animation: pulse 2s infinite;
}

.hero__title {
    font-size: clamp(2.4rem, 5.5vw, 4.2rem);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -.01em;
    animation: fadeInUp .8s .1s var(--ease) both;
}

.hero__title-gradient {
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 200%;
    animation: gradientShift 4s ease infinite;
}

.hero__subtitle {
    font-size: 1.15rem;
    color: var(--c-text-muted);
    max-width: 620px;
    margin: 0 auto 40px;
    line-height: 1.8;
    animation: fadeInUp .8s .2s var(--ease) both;
}

.hero__actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 72px;
    animation: fadeInUp .8s .3s var(--ease) both;
}

.hero__stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 36px;
    animation: fadeInUp .8s .4s var(--ease) both;
}

.hero__stat-num {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--c-text);
    display: inline;
}

.hero__stat-num span {
    font-size: 1.3rem;
    color: var(--c-cyan);
}

.hero__stat-unit { color: var(--c-text-muted); margin: 0 2px; font-weight: 400; }
.hero__stat-label { font-size: .88rem; color: var(--c-text-dim); margin-top: 4px; }
.hero__stat-divider { width: 1px; height: 40px; background: var(--c-border); }

.hero__scroll-hint {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-family: 'JetBrains Mono', monospace;
    font-size: .72rem;
    color: var(--c-text-dim);
    letter-spacing: .15em;
    animation: fadeInUp 1s .6s var(--ease) both;
}

.hero__scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(180deg, var(--c-cyan), transparent);
    position: relative;
    overflow: hidden;
}

.hero__scroll-line::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 40%;
    background: var(--c-cyan);
    animation: scrollDown 2s infinite;
}

/* ===== 通用 section 头 ===== */
.section-head { margin-bottom: 48px; }
.section-head--center { text-align: center; }

.section-head__tag {
    display: inline-block;
    padding: 5px 14px;
    background: rgba(0,229,255,.06);
    color: var(--c-cyan);
    border: 1px solid rgba(0,229,255,.15);
    border-radius: 50px;
    font-size: .8rem;
    font-weight: 500;
    margin-bottom: 16px;
    font-family: 'JetBrains Mono', monospace;
}

.section-head__title {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800;
    line-height: 1.3;
}

.section-head--center .section-head__title { max-width: 700px; margin: 0 auto 16px; }
.section-head__desc { color: var(--c-text-muted); font-size: 1.05rem; }

/* ===== 业务介绍 ===== */
.business { padding: 120px 0; }

.business__intro-card {
    background: linear-gradient(135deg, rgba(0,229,255,.04), rgba(124,77,255,.04));
    border: 1px solid rgba(0,229,255,.12);
    border-radius: var(--radius);
    padding: 48px 56px;
    margin-bottom: 64px;
    position: relative;
    overflow: hidden;
}

.business__intro-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 3px; height: 100%;
    background: var(--grad);
}

.business__intro-deco {
    position: absolute;
    right: 24px; top: 24px;
    opacity: .4;
    animation: float 6s ease-in-out infinite;
}

.business__intro-text {
    font-size: 1.18rem;
    line-height: 1.9;
    color: var(--c-text);
    font-weight: 400;
    position: relative;
    z-index: 1;
}

.business__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 80px;
}

.biz-card {
    position: relative;
    background: var(--c-bg-card);
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    padding: 32px;
    transition: all .35s var(--ease);
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.biz-card:hover {
    border-color: var(--c-border-glow);
    transform: translateY(-4px);
    background: rgba(0,229,255,.03);
}

.biz-card__glow {
    position: absolute;
    top: -50%; right: -30%;
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(0,229,255,.15), transparent 70%);
    opacity: 0;
    transition: opacity .35s var(--ease);
    pointer-events: none;
}

.biz-card:hover .biz-card__glow { opacity: 1; }

.biz-card__icon {
    width: 52px; height: 52px;
    border-radius: 12px;
    background: rgba(0,229,255,.08);
    border: 1px solid rgba(0,229,255,.15);
    color: var(--c-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all .35s var(--ease);
}

.biz-card:hover .biz-card__icon {
    background: var(--grad);
    color: #06080F;
    border-color: transparent;
    box-shadow: 0 4px 16px rgba(0,229,255,.3);
}

.biz-card__title { font-size: 1.2rem; font-weight: 700; margin-bottom: 10px; }
.biz-card__desc { color: var(--c-text-muted); font-size: .92rem; line-height: 1.7; }

.biz-card__line {
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 2px;
    background: var(--grad);
    transition: width .35s var(--ease);
}

.biz-card:hover .biz-card__line { width: 100%; }

/* 流程 */
.business__flow { text-align: center; }
.business__flow-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 44px;
    font-family: 'JetBrains Mono', monospace;
    color: var(--c-text);
}

.flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.flow__step {
    flex: 1;
    min-width: 150px;
    max-width: 220px;
    text-align: center;
    padding: 24px 16px;
    background: var(--c-bg-card);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-sm);
    transition: all .3s var(--ease);
}

.flow__step:hover {
    border-color: rgba(0,229,255,.2);
    background: rgba(0,229,255,.03);
}

.flow__num {
    font-size: 2.2rem;
    font-weight: 900;
    font-family: 'JetBrains Mono', monospace;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
}

.flow__title { font-size: 1.02rem; font-weight: 600; margin-bottom: 6px; }
.flow__desc { font-size: .84rem; color: var(--c-text-muted); }

.flow__line {
    width: 40px; height: 1px;
    background: linear-gradient(90deg, transparent, var(--c-cyan), transparent);
    opacity: .5;
    flex-shrink: 0;
}

/* ===== 联系我们 ===== */
.contact { padding: 120px 0; }

.contact__cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    max-width: 760px;
    margin: 0 auto;
}

.contact-card {
    position: relative;
    display: block;
    background: var(--c-bg-card);
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    padding: 44px 32px;
    text-align: center;
    transition: all .35s var(--ease);
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.contact-card:hover {
    border-color: var(--c-border-glow);
    box-shadow: 0 12px 40px rgba(0,229,255,.1);
    transform: translateY(-4px);
}

.contact-card__glow {
    position: absolute;
    top: -30%; left: 50%;
    transform: translateX(-50%);
    width: 250px; height: 250px;
    background: radial-gradient(circle, rgba(0,229,255,.12), transparent 70%);
    opacity: 0;
    transition: opacity .35s var(--ease);
    pointer-events: none;
}

.contact-card:hover .contact-card__glow { opacity: 1; }

.contact-card__icon {
    width: 60px; height: 60px;
    margin: 0 auto 20px;
    border-radius: 14px;
    background: rgba(0,229,255,.08);
    border: 1px solid rgba(0,229,255,.15);
    color: var(--c-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .35s var(--ease);
}

.contact-card:hover .contact-card__icon {
    background: var(--grad);
    color: #06080F;
    border-color: transparent;
    transform: scale(1.05);
    box-shadow: 0 4px 20px rgba(0,229,255,.3);
}

.contact-card__label { font-size: .85rem; color: var(--c-text-muted); margin-bottom: 8px; }
.contact-card__value { font-size: 1.45rem; font-weight: 700; color: var(--c-text); margin-bottom: 10px; word-break: break-all; }
.contact-card__hint { font-size: .82rem; color: var(--c-cyan); font-family: 'JetBrains Mono', monospace; opacity: .7; transition: opacity .3s; }
.contact-card:hover .contact-card__hint { opacity: 1; }

/* ===== 页脚 ===== */
.footer {
    background: var(--c-bg-2);
    border-top: 1px solid var(--c-border);
    color: rgba(255,255,255,.7);
    padding-top: 64px;
}

.footer__inner {
    display: flex;
    justify-content: space-between;
    gap: 48px;
    padding-bottom: 48px;
    flex-wrap: wrap;
}

.footer__brand { max-width: 360px; }

.footer__logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--c-white);
    margin-bottom: 16px;
}

.footer__desc { font-size: .88rem; line-height: 1.7; opacity: .6; }

.footer__links { display: flex; gap: 64px; flex-wrap: wrap; }

.footer__col-title { color: var(--c-white); font-size: .92rem; font-weight: 600; margin-bottom: 16px; }

.footer__col a {
    display: block;
    font-size: .88rem;
    color: rgba(255,255,255,.5);
    margin-bottom: 10px;
    transition: color .25s var(--ease);
}

.footer__col a:hover { color: var(--c-cyan); }

.footer__bottom { border-top: 1px solid var(--c-border); padding: 20px 0; }

.footer__bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.footer__copyright { font-size: .82rem; opacity: .55; }
.footer__icp a { font-size: .82rem; color: rgba(255,255,255,.5); transition: color .25s var(--ease); }
.footer__icp a:hover { color: var(--c-cyan); }

/* ===== 返回顶部 ===== */
.backtop {
    position: fixed;
    right: 24px; bottom: 24px;
    width: 48px; height: 48px;
    border-radius: 50%;
    background: var(--grad);
    color: #06080F;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0,229,255,.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all .3s var(--ease);
    z-index: 999;
}

.backtop.show { opacity: 1; visibility: visible; transform: translateY(0); }
.backtop:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(0,229,255,.5); }

/* ===== 滚动动画 ===== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .6s var(--ease), transform .6s var(--ease);
    transition-delay: var(--delay, 0s);
}

.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== 关键帧 ===== */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .5; transform: scale(1.3); } }
@keyframes gradientShift { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-12px) rotate(3deg); } }
@keyframes scrollDown { 0% { transform: translateY(-100%); } 100% { transform: translateY(250%); } }

/* ===== 响应式 ===== */
@media (max-width: 768px) {
    .nav__toggle { display: flex; }

    .nav__list {
        position: fixed;
        top: 72px; left: 0; right: 0;
        flex-direction: column;
        gap: 0;
        background: rgba(6,8,15,.95);
        backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--c-border);
        padding: 8px 0;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all .3s var(--ease);
    }

    .nav__list.open { transform: translateY(0); opacity: 1; visibility: visible; }

    .nav__link { display: block; padding: 14px 24px; border-radius: 0; }
    .nav__link.active { background: rgba(0,229,255,.06); }
    .nav__link.active::after { display: none; }

    .hero__actions { flex-direction: column; align-items: center; }
    .btn { width: 100%; max-width: 280px; justify-content: center; }

    .hero__stats { gap: 20px; }
    .hero__stat-num { font-size: 1.4rem; }

    .business__intro-card { padding: 28px; }
    .business__intro-text { font-size: 1.05rem; }
    .business__intro-deco { display: none; }

    .flow__line { display: none; }
    .footer__inner { flex-direction: column; gap: 32px; }
    .footer__bottom .container { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero__stats { flex-direction: column; gap: 16px; }
    .hero__stat-divider { width: 40px; height: 1px; }
    .hero__scroll-hint { display: none; }
}
