/* ============================================================
   公开首页样式表 - 暗色赛博风
   v1.10.7 · Phase 26
============================================================ */

/* ---------- 1. 设计 Token ---------- */
:root {
    /* 色彩 */
    --bg-base: #0a0e27;
    --bg-card: #1a1f3a;
    --bg-card-glass: rgba(26, 31, 58, 0.6);
    --bg-footer: #070a1f;
    --accent-cyan: #00ffea;
    --accent-green: #36e6b0;
    --text-primary: #e0e6ff;
    --text-secondary: #8b95c9;
    --border-neon: rgba(0, 255, 234, 0.2);
    --border-neon-hover: rgba(0, 255, 234, 0.6);

    /* 字体栈 */
    --font-en: 'Space Grotesk', 'Inter', system-ui, -apple-system, sans-serif;
    --font-zh: 'PingFang SC', 'PingFang HK', 'Microsoft YaHei', 'Source Han Sans CN', sans-serif;
    --font-body: var(--font-en), var(--font-zh);

    /* 间距阶梯（8 的倍数） */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 16px;
    --space-4: 24px;
    --space-5: 32px;
    --space-6: 48px;
    --space-7: 64px;
    --space-8: 80px;
    --space-9: 120px;
}

/* ---------- 2. Reset & Base ---------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html { scroll-behavior: smooth; }

body {
    background: var(--bg-base);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img, svg { display: block; max-width: 100%; height: auto; }
button { background: none; border: 0; cursor: pointer; font-family: inherit; color: inherit; }

/* ---------- 3. 通用 Layout ---------- */
.section__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-4);
}

.section__header {
    text-align: center;
    margin-bottom: var(--space-7);
}

.section__title {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-3);
    background: linear-gradient(135deg, var(--text-primary), var(--accent-cyan));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section__title--xl { font-size: 52px; }

.section__subtitle { font-size: 18px; color: var(--text-secondary); }
.section__subtitle--accent { color: var(--accent-cyan); }

/* ---------- 4. 玻璃拟态 utility ---------- */
.glass-card {
    background: var(--bg-card-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-neon);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.glass-card:hover {
    border-color: var(--border-neon-hover);
    transform: translateY(-4px);
}

/* ---------- 5. 按钮 ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    white-space: nowrap;
    cursor: pointer;
}

.btn--primary {
    background: var(--accent-cyan);
    color: var(--bg-base);
}

.btn--primary:hover {
    box-shadow: 0 0 24px rgba(0, 255, 234, 0.5);
    transform: translateY(-2px);
}

.btn--secondary {
    border: 1px solid var(--accent-cyan);
    color: var(--accent-cyan);
}

.btn--secondary:hover {
    background: var(--accent-cyan);
    color: var(--bg-base);
}

.btn--lg { padding: 16px 40px; font-size: 17px; }

/* ---------- 6. 块 1 顶部导航 ---------- */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(10, 14, 39, 0.5);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: all 0.3s ease;
}

.nav.scrolled {
    background: rgba(10, 14, 39, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-neon);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.nav__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px var(--space-4);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
}

.nav__logo { font-size: 18px; font-weight: 700; color: var(--text-primary); flex-shrink: 0; }
.nav__logo-accent { color: var(--accent-cyan); }

.nav__menu {
    display: flex;
    gap: var(--space-5);
    align-items: center;
    flex: 1;
    justify-content: center;
}

.nav__menu-link {
    font-size: 14px;
    color: var(--text-secondary);
    transition: color 0.2s;
}

.nav__menu-link:hover { color: var(--accent-cyan); }

.nav__cta {
    padding: 8px 20px;
    border: 1px solid var(--accent-cyan);
    color: var(--accent-cyan);
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s;
}

.nav__cta:hover {
    background: var(--accent-cyan);
    color: var(--bg-base);
    box-shadow: 0 0 16px rgba(0, 255, 234, 0.5);
}

.nav__hamburger {
    display: none;
    width: 28px;
    height: 24px;
    flex-direction: column;
    justify-content: space-around;
}

.nav__hamburger span {
    width: 100%;
    height: 2px;
    background: var(--accent-cyan);
    border-radius: 1px;
}

/* ---------- 7. 块 2 Hero ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 100px var(--space-4) var(--space-7);
}

.hero__particles {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero__glow {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at center bottom, rgba(0, 255, 234, 0.15), transparent 60%),
        radial-gradient(ellipse at top left, rgba(54, 230, 176, 0.08), transparent 50%),
        radial-gradient(ellipse at top right, rgba(139, 92, 246, 0.10), transparent 50%);
    z-index: 1;
    pointer-events: none;
    animation: glowPulse 6s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.9; }
    50% { opacity: 1; }
}

.hero__ai-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 720px;
    height: 720px;
    z-index: 2;
    pointer-events: none;
}

.hero__ai-orbit {
    position: relative;
    width: 100%;
    height: 100%;
    animation: aiRotate 30s linear infinite;
}

.hero__ai-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 56px;
    height: 56px;
    margin: -28px 0 0 -28px;
    background: rgba(10, 14, 39, 0.7);
    border: 1px solid var(--border-neon);
    border-radius: 50%;
    backdrop-filter: blur(4px);
    transform: rotate(calc(var(--i) * 45deg)) translateX(340px) rotate(calc(var(--i) * -45deg));
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero__ai-logo img { width: 32px; height: 32px; }

@keyframes aiRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero__content {
    position: relative;
    z-index: 5;
    text-align: center;
    max-width: 900px;
}

.hero__title {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.03em;
    margin-bottom: var(--space-4);
}

.hero__title-accent {
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-green));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero__subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: var(--space-6);
}

.hero__cta-group {
    display: flex;
    gap: var(--space-3);
    justify-content: center;
    flex-wrap: wrap;
}

.hero__scroll-hint {
    position: absolute;
    bottom: var(--space-5);
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 40px;
    border: 1px solid var(--border-neon);
    border-radius: 12px;
    z-index: 5;
}

.hero__scroll-hint span {
    display: block;
    width: 4px;
    height: 8px;
    margin: 6px auto 0;
    background: var(--accent-cyan);
    border-radius: 2px;
    animation: scrollHint 2s infinite ease-in-out;
}

@keyframes scrollHint {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(12px); opacity: 0; }
}

/* ---------- 8. 块 3 能做什么 ---------- */
.about { padding: var(--space-9) 0 var(--space-8); }

.about__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4);
    margin-bottom: var(--space-8);
}

.about__card {
    background: var(--bg-card);
    border: 1px solid var(--border-neon);
    border-radius: 12px;
    padding: var(--space-5);
    transition: all 0.3s ease;
}

.about__card:hover {
    border-color: var(--border-neon-hover);
    transform: translateY(-4px);
}

.about__card-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(0, 255, 234, 0.1);
    color: var(--accent-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-3);
}

.about__card-icon svg { width: 24px; height: 24px; }

.about__card-title { font-size: 20px; font-weight: 700; margin-bottom: var(--space-2); }
.about__card-desc { font-size: 15px; color: var(--text-secondary); }

.about__data {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-5);
    padding: var(--space-5);
    background: linear-gradient(90deg, transparent, var(--bg-card), transparent);
    border-top: 1px solid var(--border-neon);
    border-bottom: 1px solid var(--border-neon);
}

.about__data-item { display: flex; flex-direction: column; align-items: center; gap: var(--space-1); }

.about__data-num {
    font-size: 36px;
    font-weight: 800;
    color: var(--accent-cyan);
    text-shadow: 0 0 24px rgba(0, 255, 234, 0.4);
}

.about__data-label { font-size: 14px; color: var(--text-secondary); }

.about__data-divider { width: 1px; height: 32px; background: var(--border-neon); }

/* ---------- 9. 块 4 核心优势 ---------- */
.advantages { padding: var(--space-9) 0; }

.advantages__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4);
}

.advantages__card { padding: var(--space-5); }
.advantages__icon { font-size: 36px; margin-bottom: var(--space-3); line-height: 1; }
.advantages__title { font-size: 20px; font-weight: 700; margin-bottom: var(--space-2); }
.advantages__desc { font-size: 15px; color: var(--text-secondary); }

/* ---------- 10. 块 5 功能亮点 ---------- */
.features {
    padding: var(--space-9) 0;
    background: linear-gradient(180deg, transparent, rgba(26, 31, 58, 0.4), transparent);
}

.features__item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-7);
    align-items: center;
    margin-bottom: var(--space-9);
}

.features__item:last-child { margin-bottom: 0; }

.features__item--reverse .features__image { order: 2; }
.features__item--reverse .features__content { order: 1; }

.features__image img {
    width: 100%;
    border: 1px solid var(--border-neon);
    border-radius: 12px;
    box-shadow: 0 0 40px rgba(0, 255, 234, 0.15);
}

.features__title { font-size: 32px; font-weight: 700; margin-bottom: var(--space-3); }
.features__desc { font-size: 16px; color: var(--text-secondary); margin-bottom: var(--space-4); }

.features__list { display: flex; flex-direction: column; gap: var(--space-2); }

.features__list li {
    position: relative;
    padding-left: var(--space-4);
    color: var(--text-secondary);
}

.features__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-cyan);
    box-shadow: 0 0 8px var(--accent-cyan);
}

/* ---------- 11. 块 6 客户案例 ---------- */
.cases { padding: var(--space-9) 0; }

.cases__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
    margin-bottom: var(--space-5);
}

.cases__card { padding: var(--space-5); display: flex; gap: var(--space-4); align-items: flex-start; }

.cases__icon {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    border-radius: 12px;
    background: rgba(0, 255, 234, 0.08);
    border: 1px solid var(--border-neon);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cases__icon img { width: 36px; height: 36px; }

.cases__content { flex: 1; }
.cases__industry { font-size: 18px; font-weight: 700; margin-bottom: var(--space-2); }
.cases__story { font-size: 14px; color: var(--text-secondary); margin-bottom: var(--space-2); }
.cases__tag { font-size: 12px; color: var(--text-secondary); opacity: 0.6; }

.cases__disclaimer { text-align: center; font-size: 13px; color: var(--text-secondary); opacity: 0.7; }

/* ---------- 12. 块 7 加盟分润 ---------- */
.affiliate {
    position: relative;
    padding: var(--space-9) 0;
    background: linear-gradient(135deg, #0a0e27, #1a1240);
    overflow: hidden;
}

.affiliate__glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(0, 255, 234, 0.10), transparent 60%);
    pointer-events: none;
}

.affiliate .section__container { position: relative; z-index: 1; }

.affiliate__steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: var(--space-3);
    margin: var(--space-7) 0;
}

.affiliate__step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 0 0 200px;
    max-width: 240px;
}

.affiliate__step-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 2px solid var(--accent-cyan);
    box-shadow: 0 0 24px rgba(0, 255, 234, 0.3);
    color: var(--accent-cyan);
    font-size: 32px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-3);
}

.affiliate__step-text h4 { font-size: 18px; font-weight: 700; margin-bottom: var(--space-1); }
.affiliate__step-text p { font-size: 14px; color: var(--text-secondary); }

.affiliate__step-line {
    flex: 0 0 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-cyan), transparent, var(--accent-cyan));
    margin-top: 40px;
}

.affiliate__tags {
    display: flex;
    justify-content: center;
    gap: var(--space-3);
    flex-wrap: wrap;
    margin-bottom: var(--space-6);
}

.affiliate__tag {
    padding: 8px 20px;
    border: 1px solid var(--accent-cyan);
    border-radius: 999px;
    font-size: 14px;
    color: var(--accent-cyan);
    transition: all 0.3s;
}

.affiliate__tag:hover { background: var(--accent-cyan); color: var(--bg-base); }

.affiliate__cta { text-align: center; }

/* ---------- 13. 块 8 客服二维码 ---------- */
.contact { padding: var(--space-9) 0; }

.contact__qr-wrap { display: flex; flex-direction: column; align-items: center; }

.contact__qr {
    position: relative;
    width: 280px;
    height: 280px;
    padding: 14px;
    background: #fff;
    border-radius: 12px;
    margin-bottom: var(--space-4);
    box-shadow: 0 0 40px rgba(0, 255, 234, 0.2);
}

.contact__qr img { width: 100%; height: 100%; object-fit: contain; }

.contact__qr-corner {
    position: absolute;
    width: 24px;
    height: 24px;
    border: 2px solid var(--accent-cyan);
}

.contact__qr-corner--tl { top: -2px; left: -2px; border-right: 0; border-bottom: 0; }
.contact__qr-corner--tr { top: -2px; right: -2px; border-left: 0; border-bottom: 0; }
.contact__qr-corner--bl { bottom: -2px; left: -2px; border-right: 0; border-top: 0; }
.contact__qr-corner--br { bottom: -2px; right: -2px; border-left: 0; border-top: 0; }

.contact__qr--fallback {
    background: var(--bg-card);
    border: 1px dashed var(--border-neon);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
}

.contact__fallback-text { padding: var(--space-3); }
.contact__fallback-text p { text-align: center; color: var(--text-primary); font-size: 18px; font-weight: 600; }
.contact__fallback-sub { color: var(--text-secondary) !important; font-size: 14px !important; font-weight: 400 !important; margin-top: var(--space-1); }

.contact__qr-hint { font-size: 15px; color: var(--text-primary); margin-bottom: var(--space-1); }
.contact__qr-hint strong { color: var(--accent-cyan); }
.contact__qr-tip { font-size: 13px; color: var(--text-secondary); }

/* ---------- 14. 块 9 Footer ---------- */
.footer {
    padding: var(--space-7) 0 var(--space-5);
    background: var(--bg-footer);
    border-top: 1px solid var(--border-neon);
}

.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: var(--space-5); }

.footer__brand-name { font-size: 18px; font-weight: 700; margin-bottom: var(--space-2); color: var(--text-primary); }
.footer__brand-accent { color: var(--accent-cyan); }
.footer__brand-desc { font-size: 13px; color: var(--text-secondary); }

.footer__links-title {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: var(--space-3);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.footer__link {
    display: block;
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: var(--space-2);
    transition: color 0.2s;
}

.footer__link:hover { color: var(--accent-cyan); }

.footer__meta { text-align: right; font-size: 13px; color: var(--text-secondary); }
.footer__icp { margin-bottom: var(--space-2); }

/* ============================================================
   响应式断点
============================================================ */

/* 平板 768-1199 */
@media (max-width: 1199px) {
    .section__title { font-size: 32px; }
    .section__title--xl { font-size: 40px; }
    .hero__title { font-size: 48px; }
    .hero__ai-ring { width: 540px; height: 540px; }
    .hero__ai-logo { transform: rotate(calc(var(--i) * 45deg)) translateX(250px) rotate(calc(var(--i) * -45deg)); }
    .about__grid, .advantages__grid { grid-template-columns: repeat(2, 1fr); }
    .features__item { gap: var(--space-5); }
    .nav__menu { gap: var(--space-3); }
    .nav__menu-link { font-size: 13px; }
}

/* 手机 <768 */
@media (max-width: 767px) {
    .nav__container { padding: 14px var(--space-3); }
    .nav__menu {
        display: none;
        position: fixed;
        top: 56px;
        left: 0; right: 0;
        background: rgba(10, 14, 39, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: var(--space-5);
        gap: var(--space-4);
        border-bottom: 1px solid var(--border-neon);
    }
    .nav__menu.open { display: flex; }
    .nav__hamburger { display: flex; }
    .nav__cta { display: none; }

    .section__title { font-size: 28px; }
    .section__title--xl { font-size: 32px; }
    .section__subtitle { font-size: 15px; }
    .section__header { margin-bottom: var(--space-5); }

    .hero { padding: 90px var(--space-3) var(--space-7); min-height: auto; }
    .hero__title { font-size: 36px; }
    .hero__subtitle { font-size: 16px; margin-bottom: var(--space-5); }
    .hero__ai-ring { width: 320px; height: 320px; opacity: 0.4; }
    .hero__ai-logo {
        width: 40px; height: 40px; margin: -20px 0 0 -20px;
        transform: rotate(calc(var(--i) * 45deg)) translateX(140px) rotate(calc(var(--i) * -45deg));
    }
    .hero__ai-logo img { width: 24px; height: 24px; }
    .hero__cta-group { flex-direction: column; align-items: center; }
    .hero__cta-group .btn { width: 100%; max-width: 280px; }

    .about { padding: var(--space-8) 0 var(--space-7); }
    .about__grid { grid-template-columns: 1fr; gap: var(--space-3); margin-bottom: var(--space-6); }
    .about__data { flex-wrap: wrap; gap: var(--space-3); padding: var(--space-4); }
    .about__data-divider { display: none; }

    .advantages { padding: var(--space-8) 0; }
    .advantages__grid { grid-template-columns: 1fr; gap: var(--space-3); }

    .features { padding: var(--space-8) 0; }
    .features__item, .features__item--reverse {
        grid-template-columns: 1fr;
        gap: var(--space-4);
        margin-bottom: var(--space-7);
    }
    .features__item--reverse .features__image { order: 0; }
    .features__item--reverse .features__content { order: 0; }
    .features__title { font-size: 24px; }

    .cases { padding: var(--space-8) 0; }
    .cases__grid { grid-template-columns: 1fr; }
    .cases__card { flex-direction: column; align-items: flex-start; }

    .affiliate { padding: var(--space-8) 0; }
    .affiliate__steps { flex-direction: column; gap: var(--space-4); }
    .affiliate__step { flex: none; }
    .affiliate__step-line { display: none; }
    .affiliate__step-circle { width: 64px; height: 64px; font-size: 24px; }

    .contact { padding: var(--space-8) 0; }
    .contact__qr { width: 240px; height: 240px; }

    .footer__grid { grid-template-columns: 1fr; gap: var(--space-4); text-align: center; }
    .footer__meta { text-align: center; }
    .footer__brand-desc { padding: 0 var(--space-3); }
}

/* ============================================================
   减少动效偏好（无障碍）
============================================================ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .hero__ai-orbit, .hero__scroll-hint span, .hero__glow { animation: none; }
}
