/* 重置和基础样式 */
:root {
    --color-bg: #f8fafc;
    --color-text: #0f172a;
    --color-text-muted: #64748b;
    --color-primary: #0ea5e9;
    --color-primary-dark: #0284c7;
    --color-accent: #6366f1;
    --color-hero-deep: #0b1220;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --shadow-soft: 0 4px 24px rgba(15, 23, 42, 0.06);
    --shadow-hover: 0 20px 50px rgba(15, 23, 42, 0.12);
    --font-sans: "Noto Sans SC", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --nav-h: 72px;
    --safe-bottom: env(safe-area-inset-bottom, 0px);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

section[id] {
    scroll-margin-top: calc(var(--nav-h) + 12px);
}

body {
    font-family: var(--font-sans);
    line-height: 1.65;
    color: var(--color-text);
    background-color: var(--color-bg);
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: max(20px, env(safe-area-inset-left));
    padding-right: max(20px, env(safe-area-inset-right));
}

/* 导航栏样式 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    z-index: 1000;
    transition: background 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.navbar.nav-scrolled {
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 8px 32px rgba(15, 23, 42, 0.08);
    border-bottom-color: rgba(15, 23, 42, 0.08);
}

/* 首屏深色背景上的透明顶栏 */
.navbar.navbar-hero {
    background: rgba(4, 9, 20, 0.42);
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: none;
}

.navbar.navbar-hero .nav-link {
    color: rgba(248, 250, 252, 0.88);
}

.navbar.navbar-hero .nav-link:hover {
    color: #fff;
}

.navbar.navbar-hero .nav-link::after {
    background: linear-gradient(90deg, #22d3ee, #a78bfa, #38bdf8);
}

.navbar.navbar-hero .nav-logo h2 {
    color: #e0f2fe;
}

@supports (-webkit-background-clip: text) or (background-clip: text) {
    .navbar.navbar-hero .nav-logo h2 {
        background: linear-gradient(135deg, #7dd3fc 0%, #e0e7ff 45%, #a5b4fc 100%);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        color: transparent;
    }
}

.navbar.navbar-hero .bar {
    background: linear-gradient(90deg, #e2e8f0, #cbd5e1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 max(20px, env(safe-area-inset-left));
    padding-right: max(20px, env(safe-area-inset-right));
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--nav-h);
}

.nav-logo h2 {
    font-weight: 700;
    font-size: clamp(1.15rem, 3vw, 1.45rem);
    letter-spacing: -0.02em;
    color: var(--color-primary-dark);
}

@supports (-webkit-background-clip: text) or (background-clip: text) {
    .nav-logo h2 {
        background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        color: transparent;
    }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: clamp(1rem, 2vw, 2rem);
    flex-wrap: wrap;
    justify-content: flex-end;
}

.nav-link {
    text-decoration: none;
    color: var(--color-text);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.25s ease;
    position: relative;
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--color-primary-dark);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    border-radius: 2px;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* 首页横幅 — 科技风主视觉 */
.hero {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    padding-top: var(--nav-h);
    color: #f1f5f9;
    position: relative;
    overflow: hidden;
    background: #030712;
    isolation: isolate;
}

.hero-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.hero-aurora {
    position: absolute;
    top: -20%;
    left: -10%;
    right: -10%;
    bottom: 0;
    background:
        radial-gradient(ellipse 90% 70% at 15% 20%, rgba(56, 189, 248, 0.35), transparent 50%),
        radial-gradient(ellipse 70% 60% at 85% 15%, rgba(129, 140, 248, 0.32), transparent 48%),
        radial-gradient(ellipse 50% 45% at 50% 95%, rgba(45, 212, 191, 0.12), transparent 45%),
        linear-gradient(168deg, #020617 0%, #0f172a 38%, #042f2e 100%);
    -webkit-animation: hero-aurora-shift 18s ease-in-out infinite alternate;
    animation: hero-aurora-shift 18s ease-in-out infinite alternate;
}

@-webkit-keyframes hero-aurora-shift {
    0% { -webkit-transform: scale(1); transform: scale(1); }
    100% { -webkit-transform: scale(1.02); transform: scale(1.02); }
}

@keyframes hero-aurora-shift {
    0% { -webkit-transform: scale(1); transform: scale(1); }
    100% { -webkit-transform: scale(1.02); transform: scale(1.02); }
}

.hero-grid-floor {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(148, 163, 184, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, 0.06) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: radial-gradient(ellipse 85% 75% at 50% 40%, #000 20%, transparent 70%);
    mask-image: radial-gradient(ellipse 85% 75% at 50% 40%, #000 20%, transparent 70%);
    -webkit-transform: perspective(520px) rotateX(58deg) scale(1.12) translateZ(0);
    transform: perspective(520px) rotateX(58deg) scale(1.12) translateZ(0);
    -webkit-transform-origin: 50% 100%;
    transform-origin: 50% 100%;
    opacity: 0.5;
    will-change: transform;
}

/* 部分 WebView 对 3D 网格兼容性差：降级为平面网格 */
@supports not (transform: perspective(1px)) {
    .hero-grid-floor {
        -webkit-transform: none;
        transform: none;
        opacity: 0.35;
    }
}

/* 小屏 / 部分内置浏览器：去掉透视网格，避免渲染异常 */
@media screen and (max-width: 480px) {
    .hero-grid-floor {
        -webkit-transform: none;
        transform: none;
        opacity: 0.3;
    }
}

.hero-scanline {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(15, 23, 42, 0.03) 2px,
        rgba(15, 23, 42, 0.03) 4px
    );
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(3, 7, 18, 0.92) 100%);
    pointer-events: none;
    z-index: 0;
}

.hero-container {
    max-width: 1240px;
    margin: 0 auto;
    width: 100%;
    padding: clamp(2rem, 5vw, 4.5rem) max(20px, env(safe-area-inset-left));
    padding-right: max(20px, env(safe-area-inset-right));
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.35rem 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: rgba(226, 232, 240, 0.85);
    margin-bottom: 1rem;
    padding: 0.4rem 0.95rem 0.4rem 0.65rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.55);
    border: 1px solid rgba(148, 163, 184, 0.2);
    width: -webkit-fit-content;
    width: fit-content;
    max-width: 100%;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.hero-eyebrow-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22d3ee;
    box-shadow: 0 0 16px #22d3ee;
    animation: hero-pulse 2.2s ease-in-out infinite;
}

@keyframes hero-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.65; transform: scale(0.92); }
}

.hero-eyebrow-sep {
    opacity: 0.45;
    font-weight: 400;
}

.hero-tagline {
    font-family: "Outfit", "Inter", sans-serif;
    font-size: clamp(0.65rem, 1.5vw, 0.78rem);
    font-weight: 500;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: rgba(125, 211, 252, 0.65);
    margin-bottom: 0.65rem;
}

.hero-title {
    margin-bottom: 0.85rem;
    line-height: 1.12;
    letter-spacing: -0.035em;
}

.hero-title-main {
    display: block;
    font-size: clamp(2rem, 5.2vw, 3.35rem);
    font-weight: 700;
    color: #f8fafc;
    text-shadow: 0 2px 24px rgba(15, 23, 42, 0.45);
}

@supports (-webkit-background-clip: text) or (background-clip: text) {
    .hero-title-main {
        background: linear-gradient(120deg, #f8fafc 0%, #e0f2fe 35%, #a5b4fc 70%, #67e8f9 100%);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        color: transparent;
        text-shadow: none;
        filter: drop-shadow(0 8px 32px rgba(56, 189, 248, 0.15));
    }
}

.hero-subtitle {
    font-size: clamp(1.05rem, 2.2vw, 1.35rem);
    font-weight: 600;
    margin-bottom: 1.1rem;
    color: rgba(226, 232, 240, 0.92);
    letter-spacing: 0.04em;
}

.hero-description {
    font-size: clamp(0.98rem, 1.45vw, 1.08rem);
    margin-bottom: 2rem;
    color: rgba(203, 213, 225, 0.88);
    line-height: 1.8;
    max-width: 38rem;
}

.hero-strong {
    color: #7dd3fc;
    font-weight: 600;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.85rem 1.1rem;
}

/* Hero 内的 越成AI 专属模块（第一屏重点展示，独立一行） */
.hero-ai-row {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 max(20px, env(safe-area-inset-left));
    padding-right: max(20px, env(safe-area-inset-right));
    position: relative;
    z-index: 1;
    margin-top: clamp(1.25rem, 3vw, 1.75rem);
    padding-bottom: clamp(1.25rem, 3vw, 2.25rem);
}
.hero-ai-module {
    padding: clamp(1.05rem, 2.2vw, 1.35rem);
    border-radius: 22px;
    background: rgba(15, 23, 42, 0.55);
    border: 1px solid rgba(148, 163, 184, 0.18);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.28);
}
.hero-ai-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: clamp(0.85rem, 2.2vw, 1.35rem);
    align-items: start;
}
.hero-ai-title {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 0.45rem;
}
.hero-ai-title i {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.22), rgba(129, 140, 248, 0.26));
    border: 1px solid rgba(148, 163, 184, 0.22);
}
.hero-ai-title span {
    font-size: 1.05rem;
    color: rgba(248, 250, 252, 0.96);
}
.hero-ai-sub {
    color: rgba(203, 213, 225, 0.9);
    line-height: 1.7;
    font-size: 0.98rem;
    margin-bottom: 0.75rem;
}
.hero-ai-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}
.hero-ai-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.35rem 0.6rem;
    border-radius: 999px;
    background: rgba(2, 6, 23, 0.45);
    border: 1px solid rgba(148, 163, 184, 0.18);
    color: rgba(186, 230, 253, 0.95);
    font-weight: 600;
    font-size: 0.82rem;
    letter-spacing: 0.02em;
}
.hero-ai-badge i { opacity: 0.9; font-size: 0.85rem; }
.hero-ai-list {
    margin: 0 0 0.85rem;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.45rem;
}
.hero-ai-list li {
    color: rgba(226, 232, 240, 0.88);
    font-size: 0.92rem;
    line-height: 1.6;
    padding-left: 1.25rem;
    position: relative;
}
.hero-ai-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: #22d3ee;
    font-weight: 800;
}
.hero-ai-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}
.hero-ai-actions .btn {
    padding: 10px 22px;
    font-size: 0.95rem;
}
.hero-ai-actions .hero-link-tools {
    margin-left: 0;
}

@media (max-width: 900px) {
    .hero-ai-grid { grid-template-columns: 1fr; }
}

.hero-link-tools {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-left: 0.25rem;
    font-size: 0.92rem;
    font-weight: 600;
    color: rgba(186, 230, 253, 0.95);
    text-decoration: none;
    padding: 0.5rem 0;
    transition: color 0.25s ease, gap 0.25s ease;
}

.hero-link-tools:hover {
    color: #fff;
    gap: 0.65rem;
}

.hero-link-tools i {
    font-size: 0.8rem;
    opacity: 0.85;
}

/* 右侧轨道视觉 */
.hero-visual {
    position: relative;
    min-height: 280px;
    min-height: min(420px, 58vw);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-orbit {
    position: relative;
    width: 78vw;
    max-width: 340px;
    height: 78vw;
    max-height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-orbit-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(148, 163, 184, 0.18);
}

.hero-orbit-ring--outer {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    -webkit-animation: hero-spin 48s linear infinite;
    animation: hero-spin 48s linear infinite;
    border-color: rgba(56, 189, 248, 0.22);
    box-shadow: inset 0 0 60px rgba(56, 189, 248, 0.06);
}

.hero-orbit-ring--inner {
    top: 12%;
    left: 12%;
    right: 12%;
    bottom: 12%;
    -webkit-animation: hero-spin-reverse 32s linear infinite;
    animation: hero-spin-reverse 32s linear infinite;
    border-style: dashed;
    border-color: rgba(167, 139, 250, 0.28);
}

@-webkit-keyframes hero-spin {
    to { -webkit-transform: rotate(360deg); transform: rotate(360deg); }
}

@keyframes hero-spin {
    to { -webkit-transform: rotate(360deg); transform: rotate(360deg); }
}

@-webkit-keyframes hero-spin-reverse {
    to { -webkit-transform: rotate(-360deg); transform: rotate(-360deg); }
}

@keyframes hero-spin-reverse {
    to { -webkit-transform: rotate(-360deg); transform: rotate(-360deg); }
}

.hero-orbit-core {
    width: 88px;
    height: 88px;
    max-width: 22vw;
    max-height: 22vw;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, rgba(56, 189, 248, 0.25), rgba(99, 102, 241, 0.35));
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow:
        0 0 0 1px rgba(15, 23, 42, 0.5),
        0 20px 50px rgba(56, 189, 248, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    font-size: clamp(2rem, 5vw, 2.6rem);
    color: rgba(255, 255, 255, 0.95);
    z-index: 2;
}

.hero-satellite {
    position: absolute;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(148, 163, 184, 0.25);
    color: #7dd3fc;
    font-size: 1rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    z-index: 1;
    -webkit-animation: hero-float 5s ease-in-out infinite;
    animation: hero-float 5s ease-in-out infinite;
}

.hero-satellite--1 { top: 8%; left: 18%; animation-delay: 0s; }
.hero-satellite--2 { top: 22%; right: 10%; animation-delay: 0.6s; }
.hero-satellite--3 { bottom: 28%; left: 8%; animation-delay: 1.2s; }
.hero-satellite--4 { bottom: 12%; right: 20%; animation-delay: 1.8s; }

@-webkit-keyframes hero-float {
    0%, 100% { -webkit-transform: translateY(0); transform: translateY(0); }
    50% { -webkit-transform: translateY(-10px); transform: translateY(-10px); }
}

@keyframes hero-float {
    0%, 100% { -webkit-transform: translateY(0); transform: translateY(0); }
    50% { -webkit-transform: translateY(-10px); transform: translateY(-10px); }
}

.hero-glass-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.65rem;
    margin-top: 1.75rem;
    max-width: 380px;
}

.hero-glass-card {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.55rem 0.9rem;
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.55);
    border: 1px solid rgba(148, 163, 184, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.hero-glass-k {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(125, 211, 252, 0.75);
}

.hero-glass-v {
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(248, 250, 252, 0.9);
}

@media (prefers-reduced-motion: reduce) {
    .hero-aurora,
    .hero-orbit-ring--outer,
    .hero-orbit-ring--inner,
    .hero-satellite,
    .hero-eyebrow-pulse {
        -webkit-animation: none !important;
        animation: none !important;
    }
}

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    color: white;
    box-shadow: 0 8px 28px rgba(14, 165, 233, 0.35);
}

.btn-primary:hover {
    filter: brightness(1.06);
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(14, 165, 233, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: #f8fafc;
    border: 2px solid rgba(255, 255, 255, 0.35);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.95);
    color: var(--color-primary-dark);
    border-color: white;
    transform: translateY(-2px);
}

/* 章节标题 */
.section-header {
    text-align: center;
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-header h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.section-header p {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: var(--color-text-muted);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.6;
}

/* 关于我们 */
.about {
    padding: clamp(72px, 12vw, 120px) 0;
    background: #fff;
    border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h3 {
    font-size: 2rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1.1rem;
    color: #6b7280;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature {
    text-align: center;
    padding: 1.5rem;
    background: var(--color-bg);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: var(--shadow-soft);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.feature:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

/* 图标字体勿用 background-clip:text，否则部分浏览器下图标会消失 */
.feature i {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.feature h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.feature p {
    color: #6b7280;
    font-size: 0.95rem;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

/* About 简洁亮点（替代统计数字） */
.about-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: flex-start;
}

.about-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, 0.10);
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    color: #0f172a;
    font-weight: 600;
    font-size: 0.92rem;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.about-pill i {
    opacity: 0.95;
    color: var(--color-primary-dark);
}

.about-note {
    margin: 6px 0 0;
    flex-basis: 100%;
    color: #64748b;
    line-height: 1.7;
}

.about-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.12);
    border-color: rgba(14, 165, 233, 0.35);
}

.stat {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.stat:hover {
    transform: translateY(-5px);
}

.stat h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--color-primary-dark);
}

@supports (-webkit-background-clip: text) or (background-clip: text) {
    .stat h3 {
        background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        color: transparent;
    }
}

.stat p {
    color: #6b7280;
    font-weight: 500;
}

/* 服务项目 */
.services {
    padding: clamp(72px, 12vw, 120px) 0;
    background: var(--color-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: clamp(1.25rem, 3vw, 2rem);
}

.service-card {
    background: #fff;
    padding: clamp(1.75rem, 3vw, 2.5rem);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-soft);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(14, 165, 233, 0.2);
}

.service-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 28px rgba(99, 102, 241, 0.25);
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
}

.service-card p {
    color: #6b7280;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-card ul {
    list-style: none;
}

.service-card li {
    color: #6b7280;
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.service-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
}

/* 在线工具入口 */
.online-tools {
    padding: clamp(72px, 12vw, 120px) 0;
    background: #fff;
    border-top: 1px solid rgba(15, 23, 42, 0.06);
}

/* ============================
   CMS 扩展模块：案例 & 动态资讯
   ============================ */

.cases {
    padding: clamp(72px, 12vw, 120px) 0;
    background: var(--color-bg);
    border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.case-rail {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(260px, 1fr);
    gap: 18px;
    overflow-x: auto;
    padding: 6px 4px 14px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.case-rail::-webkit-scrollbar {
    height: 10px;
}
.case-rail::-webkit-scrollbar-thumb {
    background: rgba(100, 116, 139, 0.25);
    border-radius: 999px;
}

.case-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 18px;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    scroll-snap-align: start;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    min-height: 260px;
}

.case-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(14, 165, 233, 0.35);
}

.case-thumb {
    width: 100%;
    height: 160px;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.10), rgba(99, 102, 241, 0.10));
}
.case-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.case-thumb-fallback {
    height: 100%;
    display: grid;
    place-items: center;
    color: rgba(100, 116, 139, 0.55);
    font-size: 1.6rem;
}
.case-body {
    padding: 14px 14px 16px;
}
.case-title {
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.01em;
    line-height: 1.4;
}
.case-desc {
    margin-top: 8px;
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.case-empty {
    color: #64748b;
    padding: 12px 0;
}

.news {
    padding: clamp(72px, 12vw, 120px) 0;
    background: #fff;
    border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.news-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.news-col {
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 18px;
    box-shadow: var(--shadow-soft);
    padding: 18px 18px 10px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.news-col-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}
.news-col-head h3 {
    margin: 0;
    font-size: 1.15rem;
    letter-spacing: -0.01em;
    color: #0f172a;
}
.news-col-sub {
    font-size: 0.78rem;
    color: #94a3b8;
    border: 1px solid rgba(148, 163, 184, 0.35);
    padding: 3px 8px;
    border-radius: 999px;
    background: #fff;
}

.news-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.news-list li {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    padding: 10px 0;
    border-top: 1px dashed rgba(15, 23, 42, 0.10);
}
.news-list li:first-child {
    border-top: 0;
}
.news-list a {
    color: #0f172a;
    text-decoration: none;
    line-height: 1.45;
}
.news-list a:hover {
    color: var(--color-primary-dark);
}
.news-time {
    color: #94a3b8;
    font-size: 0.85rem;
    white-space: nowrap;
}
.news-empty {
    color: #64748b;
    grid-template-columns: 1fr;
}

@media (max-width: 900px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
    .case-rail {
        grid-auto-columns: minmax(240px, 78%);
    }
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: clamp(1.25rem, 3vw, 2rem);
    max-width: 900px;
    margin: 0 auto;
}

.tool-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    padding: clamp(1.75rem, 3vw, 2.25rem);
    border-radius: var(--radius-xl);
    background: linear-gradient(145deg, #fff 0%, #f8fafc 100%);
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: var(--shadow-soft);
    text-decoration: none;
    color: inherit;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.tool-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(14, 165, 233, 0.25);
}

.tool-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    color: #fff;
    font-size: 1.35rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 8px 24px rgba(14, 165, 233, 0.3);
}

.tool-card-icon-alt {
    background: linear-gradient(135deg, #a78bfa, #6366f1);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.3);
}

.tool-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 0.65rem;
}

.tool-card p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.65;
    margin-bottom: 1.25rem;
    flex: 1;
}

.tool-card-cta {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-primary-dark);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.tool-card:hover .tool-card-cta {
    gap: 0.65rem;
}

/* 团队介绍 */
.team {
    padding: clamp(72px, 12vw, 120px) 0;
    background: var(--color-bg);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.team-member {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
}

.member-photo {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.member-photo i {
    font-size: 3rem;
    color: white;
}

.team-member h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.member-position {
    color: var(--color-primary-dark);
    font-weight: 500;
    margin-bottom: 1rem;
}

.member-description {
    color: #6b7280;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* 联系我们 */
.contact {
    padding: clamp(72px, 12vw, 120px) 0;
    background: #fff;
    border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h3 {
    font-size: 2rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f9fafb;
    border-radius: 10px;
    transition: background 0.3s ease;
}

.contact-item:hover {
    background: #f3f4f6;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-right: 1rem;
    margin-top: 0.2rem;
}

.contact-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: #6b7280;
}

.contact-form {
    background: #f9fafb;
    padding: 2.5rem;
    border-radius: 15px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* 页脚 */
.footer {
    background: linear-gradient(180deg, #0f172a 0%, #020617 100%);
    color: #e2e8f0;
    padding: clamp(48px, 8vw, 72px) 0 calc(24px + var(--safe-bottom));
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #7dd3fc;
}

@supports (-webkit-background-clip: text) or (background-clip: text) {
    .footer-section h3 {
        background: linear-gradient(135deg, #7dd3fc, #a5b4fc);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        color: transparent;
    }
}

.footer-section h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-section p {
    color: #d1d5db;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #7dd3fc;
}

.footer-bottom {
    border-top: 1px solid rgba(148, 163, 184, 0.15);
    padding-top: 1.75rem;
    text-align: center;
    color: #94a3b8;
}

.footer-copy {
    margin-bottom: 0.5rem;
}

.footer-copy a {
    color: #e2e8f0;
    text-decoration: none;
}

.footer-copy a:hover {
    color: #7dd3fc;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: var(--nav-h);
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2.5rem;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-eyebrow {
        justify-content: center;
    }

    .hero-description {
        max-width: 100%;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-link-tools {
        margin-left: 0;
    }

    .hero-visual {
        min-height: 280px;
    }

    .navbar.navbar-hero .nav-menu.active .nav-link {
        color: var(--color-text);
    }

    .navbar.navbar-hero .nav-menu.active .nav-link:hover {
        color: var(--color-primary-dark);
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-stats {
        grid-template-columns: 1fr 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* PC / 较宽视口：恢复顶栏横向导航（避免仍套用移动端 left:-100% 或高度裁切导致「看不见」） */
@media (min-width: 769px) {
    .nav-menu {
        position: static !important;
        left: auto !important;
        top: auto !important;
        right: auto !important;
        bottom: auto !important;
        width: auto !important;
        max-width: none !important;
        flex-direction: row !important;
        flex-wrap: wrap;
        align-items: center;
        justify-content: flex-end;
        gap: clamp(0.75rem, 1.5vw, 1.5rem);
        background: transparent !important;
        box-shadow: none !important;
        padding: 0 !important;
        margin: 0 !important;
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        transform: none !important;
    }

    .nav-toggle {
        display: none !important;
    }

    .nav-container {
        height: auto;
        min-height: var(--nav-h);
        flex-wrap: wrap;
        row-gap: 0.35rem;
        padding-top: 0.35rem;
        padding-bottom: 0.35rem;
    }

    .navbar {
        z-index: 1100;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .service-card,
    .contact-form {
        padding: 1.5rem;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #2563eb;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #1d4ed8;
}