/* ============================================================
   广州翊汇科技有限公司 - 官网全局样式
   设计系统: 深色科技主题 + 蓝色渐变点缀
   字体: Noto Sans SC
   ============================================================ */

/* ========== 1. CSS 自定义属性 (设计令牌) ========== */
:root {
    /* --- 主色调 --- */
    --color-bg-primary: #0a0e1a;
    --color-bg-secondary: #0f1425;
    --color-bg-tertiary: #141a2e;
    --color-bg-card: #111827;
    --color-bg-card-hover: #1a2236;
    --color-bg-elevated: #1e2640;
    --color-bg-glass: rgba(10, 14, 26, 0.75);
    --color-bg-glass-light: rgba(15, 20, 37, 0.6);
    --color-bg-overlay: rgba(10, 14, 26, 0.85);

    /* --- 蓝色渐变系统 --- */
    --color-accent-blue: #2563eb;
    --color-accent-cyan: #06b6d4;
    --color-accent-blue-light: #3b82f6;
    --color-accent-cyan-light: #22d3ee;
    --color-accent-blue-dark: #1d4ed8;
    --color-accent-cyan-dark: #0891b2;
    --gradient-primary: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
    --gradient-primary-reverse: linear-gradient(135deg, #06b6d4 0%, #2563eb 100%);
    --gradient-primary-horizontal: linear-gradient(90deg, #2563eb 0%, #06b6d4 100%);
    --gradient-primary-vertical: linear-gradient(180deg, #2563eb 0%, #06b6d4 100%);
    --gradient-primary-radial: radial-gradient(circle, #2563eb 0%, #06b6d4 100%);
    --gradient-hero: linear-gradient(135deg, #0a0e1a 0%, #111827 40%, #0a0e1a 100%);
    --gradient-dark-section: linear-gradient(180deg, #0a0e1a 0%, #0f1425 50%, #0a0e1a 100%);
    --gradient-card-shine: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(6, 182, 212, 0.04) 100%);

    /* --- 紫色第三强调色 --- */
    --color-accent-purple: #7c3aed;
    --color-accent-purple-light: #a78bfa;
    --color-accent-purple-dark: #6d28d9;
    --gradient-tri-color: linear-gradient(135deg, #2563eb 0%, #7c3aed 50%, #06b6d4 100%);
    --gradient-tri-color-horizontal: linear-gradient(90deg, #2563eb 0%, #7c3aed 50%, #06b6d4 100%);
    --shadow-glow-purple: 0 0 40px rgba(124, 58, 237, 0.15);
    --shadow-accent-purple-sm: 0 4px 16px rgba(124, 58, 237, 0.2);
    --shadow-accent-purple-md: 0 8px 32px rgba(124, 58, 237, 0.3);
    --shadow-accent-purple-lg: 0 16px 48px rgba(124, 58, 237, 0.4);
    --color-border-purple: rgba(124, 58, 237, 0.3);

    /* --- 文字颜色 --- */
    --color-text-primary: #ffffff;
    --color-text-secondary: rgba(255, 255, 255, 0.75);
    --color-text-tertiary: rgba(255, 255, 255, 0.5);
    --color-text-muted: rgba(255, 255, 255, 0.35);
    --color-text-accent: #60a5fa;
    --color-text-accent-cyan: #22d3ee;
    --color-text-heading: #f0f6ff;
    --color-text-heading-secondary: #c7d9f5;
    --color-text-light-section: #1e293b;
    --color-text-light-secondary: #475569;
    --color-text-light-tertiary: #64748b;

    /* --- 边框与分割线 --- */
    --color-border: rgba(255, 255, 255, 0.08);
    --color-border-light: rgba(255, 255, 255, 0.05);
    --color-border-accent: rgba(37, 99, 235, 0.3);
    --color-border-glass: rgba(255, 255, 255, 0.12);
    --color-divider: rgba(255, 255, 255, 0.06);

    /* --- 阴影系统 --- */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 16px 64px rgba(0, 0, 0, 0.6);
    --shadow-accent-sm: 0 4px 16px rgba(37, 99, 235, 0.2);
    --shadow-accent-md: 0 8px 32px rgba(37, 99, 235, 0.3);
    --shadow-accent-lg: 0 16px 48px rgba(37, 99, 235, 0.4);
    --shadow-glow-blue: 0 0 40px rgba(37, 99, 235, 0.15);
    --shadow-glow-cyan: 0 0 40px rgba(6, 182, 212, 0.15);
    --shadow-glow-combined: 0 0 60px rgba(37, 99, 235, 0.1), 0 0 60px rgba(6, 182, 212, 0.08);
    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.3);
    --shadow-card-hover: 0 12px 40px rgba(37, 99, 235, 0.15), 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-inner-glow: inset 0 1px 0 rgba(255, 255, 255, 0.05);

    /* --- 字体系统 --- */
    --font-family: "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-md: 1.125rem;
    --font-size-lg: 1.25rem;
    --font-size-xl: 1.5rem;
    --font-size-2xl: 2rem;
    --font-size-3xl: 2.5rem;
    --font-size-4xl: 3rem;
    --font-size-5xl: 3.5rem;
    --font-size-6xl: 4.5rem;
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extrabold: 800;
    --font-weight-black: 900;
    --line-height-tight: 1.1;
    --line-height-snug: 1.25;
    --line-height-normal: 1.6;
    --line-height-relaxed: 1.8;
    --line-height-loose: 2;
    --letter-spacing-tight: -0.03em;
    --letter-spacing-normal: -0.01em;
    --letter-spacing-wide: 0.05em;
    --letter-spacing-wider: 0.1em;

    /* --- 间距系统 --- */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;
    --space-32: 8rem;
    --space-40: 10rem;

    /* --- 圆角系统 --- */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-2xl: 24px;
    --radius-3xl: 32px;
    --radius-full: 9999px;

    /* --- 过渡与动画 --- */
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slower: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    --transition-spring: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);

    /* --- Z-index 层级 --- */
    --z-base: 1;
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-overlay: 300;
    --z-modal: 400;
    --z-popover: 500;
    --z-tooltip: 600;
    --z-toast: 700;
    --z-navbar: 1000;

    /* --- 布局 --- */
    --container-max-width: 1280px;
    --container-padding: 24px;
    --navbar-height: 80px;
    --section-padding: 120px;
}

/* ========== 2. 基础重置与全局样式 ========== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-normal);
    line-height: var(--line-height-normal);
    color: var(--color-text-primary);
    background-color: var(--color-bg-primary);
    overflow-x: hidden;
    min-height: 100vh;
}

/* --- 链接 --- */
a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-base);
}

a:hover {
    color: var(--color-text-accent);
}

/* --- 列表 --- */
ul,
ol {
    list-style: none;
}

/* --- 图片 --- */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- 选择文本 --- */
::selection {
    background: rgba(37, 99, 235, 0.3);
    color: var(--color-text-primary);
}

/* --- 全局噪点纹理背景 --- */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.02'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
}

/* --- Section网格线纹理 --- */
.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(37, 99, 235, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 99, 235, 0.02) 1px, transparent 1px);
    background-size: 80px 80px;
    pointer-events: none;
    z-index: 0;
}

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

::-webkit-scrollbar-track {
    background: var(--color-bg-primary);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--color-accent-blue), var(--color-accent-cyan));
    border-radius: var(--radius-full);
    border: 2px solid var(--color-bg-primary);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--color-accent-cyan), var(--color-accent-blue));
    box-shadow: 0 0 12px rgba(37, 99, 235, 0.4);
}

/* --- 页面滚动进度条 --- */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--gradient-primary-horizontal);
    z-index: 10000;
    width: 0%;
    transition: width 0.1s linear;
    box-shadow: 0 0 12px rgba(37, 99, 235, 0.5);
}

/* --- 焦点样式 --- */
:focus-visible {
    outline: 2px solid var(--color-accent-blue);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
}

/* ========== 3. 关键帧动画定义 ========== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-60px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(60px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeInScaleUp {
    from {
        opacity: 0;
        transform: scale(0.85) translateY(30px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

@keyframes slideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

@keyframes slideInLeft {
    from { transform: translateX(-100%); }
    to { transform: translateX(0); }
}

@keyframes slideInRight {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.7;
    }
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(37, 99, 235, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(37, 99, 235, 0.6), 0 0 80px rgba(6, 182, 212, 0.3);
    }
}

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

@keyframes floatSlow {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    33% { transform: translateY(-12px) rotate(1deg); }
    66% { transform: translateY(-6px) rotate(-1deg); }
}

@keyframes floatHorizontal {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(20px); }
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes gradientRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

@keyframes gridFlow {
    0% { background-position: 0 0; }
    100% { background-position: 60px 60px; }
}

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

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes borderGlow {
    0%, 100% {
        border-color: rgba(37, 99, 235, 0.2);
    }
    50% {
        border-color: rgba(6, 182, 212, 0.4);
    }
}

@keyframes textShimmer {
    0% { background-position: -500px 0; }
    100% { background-position: 500px 0; }
}

@keyframes orbFloat1 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(30px, -20px) scale(1.05);
    }
    50% {
        transform: translate(-10px, -40px) scale(0.95);
    }
    75% {
        transform: translate(-30px, -10px) scale(1.02);
    }
}

@keyframes orbFloat2 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(-20px, 30px) scale(0.95);
    }
    50% {
        transform: translate(20px, 10px) scale(1.05);
    }
    75% {
        transform: translate(10px, -20px) scale(0.98);
    }
}

@keyframes orbFloat3 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(15px, 25px) scale(1.03);
    }
    66% {
        transform: translate(-25px, -15px) scale(0.97);
    }
}

@keyframes lineExpand {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes dotPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.5);
        opacity: 0.5;
    }
}

@keyframes heroTextReveal {
    0% {
        opacity: 0;
        transform: translateY(50px);
        filter: blur(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

@keyframes heroBadgeReveal {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

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

@keyframes btnPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.4), 0 0 0 0 rgba(6, 182, 212, 0.2);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 99, 235, 0), 0 0 0 30px rgba(6, 182, 212, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0), 0 0 0 0 rgba(6, 182, 212, 0);
    }
}

@keyframes btnBorderFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes ctaGradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes floatParticle {
    0%, 100% { transform: translateY(0) translateX(0); opacity: 0.3; }
    25% { transform: translateY(-20px) translateX(10px); opacity: 0.6; }
    50% { transform: translateY(-10px) translateX(-10px); opacity: 0.4; }
    75% { transform: translateY(-30px) translateX(5px); opacity: 0.5; }
}

@keyframes rotateBorder {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes arrowBounce {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(6px); }
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.05); }
}

@keyframes starPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

@keyframes statGlow {
    0%, 100% {
        text-shadow: 0 0 20px rgba(37, 99, 235, 0.3), 0 0 40px rgba(6, 182, 212, 0.15);
    }
    50% {
        text-shadow: 0 0 30px rgba(37, 99, 235, 0.5), 0 0 60px rgba(6, 182, 212, 0.25);
    }
}

@keyframes charBounce {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.8);
    }
    60% {
        transform: translateY(-8px) scale(1.05);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes scrollBounce {
    0%, 100% {
        transform: translateY(0);
        opacity: 0.6;
    }
    50% {
        transform: translateY(10px);
        opacity: 1;
    }
}

@keyframes numberPop {
    0% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

@keyframes iconSpinGlow {
    0% {
        transform: rotate(0deg);
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.4);
    }
    50% {
        box-shadow: 0 0 20px 5px rgba(37, 99, 235, 0.2);
    }
    100% {
        transform: rotate(360deg);
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.4);
    }
}

@keyframes loaderSlide {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(0); }
}

@keyframes loaderFadeOut {
    0% { opacity: 1; visibility: visible; }
    100% { opacity: 0; visibility: hidden; }
}

@keyframes pageFadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes caseOverlayReveal {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes particleFloat {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) translateX(50px);
        opacity: 0;
    }
}

@keyframes scanLine {
    0% { top: -5%; }
    100% { top: 105%; }
}

@keyframes borderTrace {
    0% { clip-path: polygon(0 0, 0 0, 0 0, 0 0); }
    25% { clip-path: polygon(0 0, 100% 0, 100% 0, 0 0); }
    50% { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
    75% { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
    100% { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
}

/* ========== 3.5 页面加载器 ========== */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    background: var(--color-bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-content {
    text-align: center;
}

.loader-logo {
    width: 64px;
    height: 64px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: var(--font-weight-extrabold);
    font-size: var(--font-size-2xl);
    margin: 0 auto var(--space-8);
    box-shadow: var(--shadow-accent-md);
    animation: fadeInScale 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.loader-bar {
    width: 200px;
    height: 3px;
    background: var(--color-bg-elevated);
    border-radius: var(--radius-full);
    overflow: hidden;
    margin: 0 auto var(--space-4);
}

.loader-progress {
    height: 100%;
    width: 0%;
    background: var(--gradient-primary-horizontal);
    border-radius: var(--radius-full);
    transition: width 0.1s linear;
    box-shadow: 0 0 10px rgba(37, 99, 235, 0.3);
}

.loader-text {
    font-size: var(--font-size-sm);
    color: var(--color-text-tertiary);
    letter-spacing: var(--letter-spacing-wide);
}

/* ========== 3.6 玻璃拟态卡片统一风格 ========== */
.glass-card {
    background: rgba(17, 24, 39, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-2xl);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.4), rgba(124, 58, 237, 0.3), rgba(6, 182, 212, 0.4), transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.glass-card:hover::before {
    opacity: 1;
}

.glass-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.3), rgba(124, 58, 237, 0.2), rgba(6, 182, 212, 0.3));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.glass-card:hover::after {
    opacity: 1;
}

/* ========== 3.7 鼠标跟随光效 ========== */
.cursor-glow {
    position: fixed;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.04) 0%, rgba(6, 182, 212, 0.02) 40%, transparent 70%);
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

@media (pointer: fine) {
    .cursor-glow {
        opacity: 1;
    }
}

/* ========== 4. 布局容器 ========== */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.container-wide {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.container-narrow {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* ========== 5. 导航栏 ========== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-navbar);
    background: transparent;
    transition: var(--transition-smooth);
    padding: 0;
}

.navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-bg-glass);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    opacity: 0;
    transition: var(--transition-smooth);
    border-bottom: 1px solid transparent;
}

.navbar.scrolled::before {
    opacity: 1;
    border-bottom: 1px solid var(--color-border);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--navbar-height);
    position: relative;
    z-index: 1;
}

/* --- Logo --- */
.logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-extrabold);
    color: var(--color-text-primary);
    text-decoration: none;
    position: relative;
}

.logo:hover {
    color: var(--color-text-primary);
}

.logo-icon {
    width: 44px;
    height: 44px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: var(--font-weight-extrabold);
    font-size: var(--font-size-lg);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-accent-sm);
    transition: var(--transition-base);
}

.logo-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.6s;
}

.logo:hover .logo-icon::before {
    left: 100%;
}

.logo:hover .logo-icon {
    transform: scale(1.05);
    box-shadow: var(--shadow-accent-md);
}

.logo-text {
    background: linear-gradient(135deg, #ffffff 0%, #bae6fd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- 导航链接 --- */
.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-10);
}

.nav-links a {
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-medium);
    color: var(--color-text-secondary);
    position: relative;
    padding: var(--space-2) 0;
    transition: var(--transition-base);
    letter-spacing: var(--letter-spacing-normal);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gradient-primary-horizontal);
    border-radius: var(--radius-full);
    transition: var(--transition-smooth);
    box-shadow: 0 0 8px rgba(37, 99, 235, 0.4);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--color-text-primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* --- 移动端汉堡菜单 --- */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    padding: var(--space-3);
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: transparent;
    border: none;
    position: relative;
    z-index: 1;
    transition: var(--transition-base);
}

.nav-toggle:hover {
    background: rgba(255, 255, 255, 0.05);
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text-primary);
    border-radius: var(--radius-full);
    transition: var(--transition-smooth);
    transform-origin: center;
}

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

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

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

/* ========== 6. Hero 区域 ========== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: var(--navbar-height);
    background: var(--gradient-hero);
}

/* --- Hero 背景网格 --- */
.hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(37, 99, 235, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 99, 235, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridFlow 30s linear infinite;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 30%, transparent 70%);
}

/* --- Hero 径向光晕 --- */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse 60% 50% at 20% 50%, rgba(37, 99, 235, 0.12) 0%, transparent 70%),
        radial-gradient(ellipse 50% 40% at 80% 30%, rgba(6, 182, 212, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse 40% 30% at 60% 80%, rgba(37, 99, 235, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

/* --- Hero 扫描线效果 --- */
.hero::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.15), rgba(6, 182, 212, 0.1), transparent);
    animation: scanLine 8s linear infinite;
    pointer-events: none;
    opacity: 0.5;
}

/* --- Hero 容器 --- */
.hero .container {
    position: relative;
    z-index: var(--z-base);
}

/* --- Hero 内容 --- */
.hero-content {
    max-width: 800px;
    position: relative;
}

/* --- Hero 徽章 --- */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    background: var(--color-bg-glass-light);
    border: 1px solid var(--color-border-glass);
    padding: var(--space-3) var(--space-6);
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    color: var(--color-text-secondary);
    margin-bottom: var(--space-8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    animation: heroBadgeReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
}

.hero-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--color-accent-cyan);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
    box-shadow: 0 0 12px var(--color-accent-cyan), 0 0 24px rgba(6, 182, 212, 0.3);
    flex-shrink: 0;
}

/* --- Hero 标题 --- */
.hero h1 {
    font-size: clamp(2.8rem, 6vw, 5rem);
    font-weight: var(--font-weight-black);
    line-height: var(--line-height-tight);
    margin-bottom: var(--space-8);
    letter-spacing: var(--letter-spacing-tight);
    background: linear-gradient(135deg, #ffffff 0%, #60a5fa 25%, #22d3ee 50%, #60a5fa 75%, #ffffff 100%);
    background-size: 300% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation:
        heroTextReveal 1s cubic-bezier(0.16, 1, 0.3, 1) 0.15s forwards,
        textShimmer 6s linear 1.2s infinite;
    opacity: 0;
}

#heroTitle .type-line {
    display: block;
    overflow: hidden;
    white-space: nowrap;
}

#heroTitle .type-line:last-child {
    background: linear-gradient(135deg, #22d3ee 0%, #60a5fa 50%, #22d3ee 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- Hero 描述 --- */
.hero-description {
    font-size: var(--font-size-lg);
    color: var(--color-text-secondary);
    line-height: var(--line-height-relaxed);
    margin-bottom: var(--space-12);
    max-width: 640px;
    animation: heroTextReveal 1s cubic-bezier(0.16, 1, 0.3, 1) 0.8s forwards;
    opacity: 0;
}

/* --- Hero 按钮 --- */
.hero-buttons {
    display: flex;
    gap: var(--space-6);
    flex-wrap: wrap;
    animation: heroTextReveal 1s cubic-bezier(0.16, 1, 0.3, 1) 1.2s forwards;
    opacity: 0;
}

/* 按钮流光边框效果 */
.btn-glow {
    position: relative;
    background: var(--color-bg-primary);
    border-radius: var(--radius-lg);
    z-index: 1;
}

.btn-glow::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(90deg, var(--color-accent-blue), var(--color-accent-cyan), var(--color-accent-blue-light), var(--color-accent-cyan), var(--color-accent-blue));
    background-size: 300% 100%;
    border-radius: calc(var(--radius-lg) + 2px);
    z-index: -1;
    animation: btnBorderFlow 3s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-glow:hover::before {
    opacity: 1;
}

.btn-glow::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-bg-primary);
    border-radius: var(--radius-lg);
    z-index: -1;
}

.btn-glow:hover {
    box-shadow: 0 0 30px rgba(37, 99, 235, 0.3), 0 0 60px rgba(6, 182, 212, 0.15);
}

/* --- Hero 视觉装饰 --- */
.hero-visual {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: 600px;
    height: 600px;
    pointer-events: none;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
}

.hero-orb-1 {
    width: 350px;
    height: 350px;
    background: var(--color-accent-blue);
    top: 15%;
    right: 15%;
    animation: orbFloat1 12s ease-in-out infinite;
}

.hero-orb-2 {
    width: 250px;
    height: 250px;
    background: var(--color-accent-cyan);
    bottom: 25%;
    right: 5%;
    animation: orbFloat2 10s ease-in-out infinite;
    opacity: 0.3;
}

.hero-orb-3 {
    width: 180px;
    height: 180px;
    background: var(--color-accent-blue-light);
    top: 55%;
    right: 45%;
    animation: orbFloat3 14s ease-in-out infinite;
    opacity: 0.25;
}

/* --- Hero 视差层 --- */
.hero-parallax-layer {
    will-change: transform;
}

/* --- 字符弹跳动画 --- */
.char-bounce {
    display: inline-block;
    animation: charBounce 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    opacity: 0;
    transform: translateY(40px);
}

/* --- 滚动指示器 --- */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--color-text-tertiary);
    font-size: var(--font-size-xs);
    letter-spacing: var(--letter-spacing-wide);
    z-index: 10;
    animation: fadeIn 1s ease 2s both;
    transition: opacity 0.5s ease;
}

.scroll-indicator svg {
    width: 24px;
    height: 24px;
    animation: scrollBounce 2s ease-in-out infinite;
    stroke: var(--color-accent-cyan);
}

/* --- Hero 装饰几何线条 --- */
.hero-deco-line {
    position: absolute;
    background: linear-gradient(90deg, transparent, var(--color-accent-blue), transparent);
    opacity: 0.1;
}

.hero-deco-line-1 {
    width: 300px;
    height: 1px;
    top: 30%;
    right: 10%;
    transform: rotate(-15deg);
    animation: floatHorizontal 8s ease-in-out infinite;
}

.hero-deco-line-2 {
    width: 200px;
    height: 1px;
    bottom: 35%;
    right: 25%;
    transform: rotate(10deg);
    animation: floatHorizontal 10s ease-in-out infinite reverse;
}

/* --- Hero Canvas 背景 --- */
.hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

/* --- Hero 打字机效果 --- */
#heroTitle .type-line {
    display: block;
    overflow: hidden;
    white-space: nowrap;
}

#heroTitle .type-line:last-child {
    color: var(--color-accent-cyan-light);
}

/* --- Hero 粒子点 --- */
.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--color-accent-blue-light);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat 15s linear infinite;
}

.hero-particle:nth-child(1) { left: 10%; animation-delay: 0s; animation-duration: 12s; }
.hero-particle:nth-child(2) { left: 25%; animation-delay: 2s; animation-duration: 14s; }
.hero-particle:nth-child(3) { left: 40%; animation-delay: 4s; animation-duration: 11s; }
.hero-particle:nth-child(4) { left: 55%; animation-delay: 1s; animation-duration: 16s; }
.hero-particle:nth-child(5) { left: 70%; animation-delay: 3s; animation-duration: 13s; }
.hero-particle:nth-child(6) { left: 85%; animation-delay: 5s; animation-duration: 15s; }
.hero-particle:nth-child(7) { left: 15%; animation-delay: 6s; animation-duration: 18s; background: var(--color-accent-cyan); }
.hero-particle:nth-child(8) { left: 60%; animation-delay: 7s; animation-duration: 17s; background: var(--color-accent-cyan); }

/* ========== 7. 按钮系统 ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-3);
    padding: var(--space-4) var(--space-8);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-semibold);
    font-family: var(--font-family);
    border-radius: var(--radius-md);
    cursor: pointer;
    border: none;
    outline: none;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
    text-decoration: none;
    white-space: nowrap;
    letter-spacing: var(--letter-spacing-normal);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: 0.6s;
}

.btn:hover::before {
    left: 100%;
}

/* --- 主按钮 --- */
.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-accent-md);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-accent-lg);
    color: white;
}

.btn-primary:active {
    transform: translateY(-1px);
    box-shadow: var(--shadow-accent-sm);
}

/* --- 描边按钮 --- */
.btn-outline {
    background: transparent;
    color: var(--color-text-primary);
    border: 2px solid var(--color-border-glass);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--color-accent-blue);
    transform: translateY(-3px);
    box-shadow: var(--shadow-accent-sm);
    color: var(--color-text-primary);
}

/* --- 幽灵按钮 --- */
.btn-ghost {
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-text-primary);
    border: 1px solid var(--color-border);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--color-border-glass);
    color: var(--color-text-primary);
}

/* --- 强调按钮 --- */
.btn-accent {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-accent-md);
}

.btn-accent:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-accent-lg);
    color: white;
}

/* --- 小按钮 --- */
.btn-sm {
    padding: var(--space-2) var(--space-5);
    font-size: var(--font-size-sm);
    border-radius: var(--radius-sm);
}

/* --- 大按钮 --- */
.btn-lg {
    padding: var(--space-5) var(--space-10);
    font-size: var(--font-size-md);
    border-radius: var(--radius-lg);
}

/* --- 按钮脉冲动画 --- */
.btn-pulse {
    animation: btnPulse 2.5s ease-in-out infinite;
}

.btn-pulse:hover {
    animation: none;
}

/* --- 按钮图标 --- */
.btn-icon {
    width: 48px;
    height: 48px;
    padding: 0;
    border-radius: var(--radius-md);
}

/* ========== 8. Section 通用样式 ========== */
.section {
    padding: var(--section-padding) 0;
    position: relative;
}

.section-dark {
    background: var(--color-bg-primary);
}

.section-darker {
    background: var(--color-bg-secondary);
}

.section-gradient {
    background: var(--gradient-dark-section);
}

.section-light {
    background: var(--color-bg-tertiary);
}

/* --- Section Header --- */
.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto var(--space-16);
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-bold);
    color: var(--color-accent-blue-light);
    text-transform: uppercase;
    letter-spacing: var(--letter-spacing-wider);
    margin-bottom: var(--space-6);
    padding: var(--space-2) var(--space-5);
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.15);
    border-radius: var(--radius-full);
}

.section-tag::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--color-accent-cyan);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--color-accent-cyan);
}

.section-title {
    font-size: var(--font-size-4xl);
    font-weight: var(--font-weight-extrabold);
    color: var(--color-text-heading);
    margin-bottom: var(--space-6);
    line-height: var(--line-height-snug);
    letter-spacing: var(--letter-spacing-tight);
}

.section-desc {
    font-size: var(--font-size-md);
    color: var(--color-text-tertiary);
    line-height: var(--line-height-relaxed);
}

/* ========== 9. 数据统计区域 ========== */
.stats-section {
    background: var(--gradient-dark-section);
    color: var(--color-text-primary);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse 50% 60% at 20% 50%, rgba(37, 99, 235, 0.08) 0%, transparent 70%),
        radial-gradient(ellipse 40% 50% at 80% 50%, rgba(6, 182, 212, 0.06) 0%, transparent 60%);
    pointer-events: none;
}

/* --- 统计区域分割线 --- */
.stats-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-border), transparent);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-8);
    position: relative;
}

.stat-item {
    text-align: center;
    padding: var(--space-10) var(--space-6);
    position: relative;
    background: var(--color-bg-glass-light);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--color-border-glass);
    border-radius: var(--radius-2xl);
    transition: var(--transition-smooth);
}

.stat-item:hover {
    border-color: var(--color-border-accent);
    transform: translateY(-6px);
    box-shadow: var(--shadow-card-hover);
    background: rgba(15, 20, 37, 0.8);
}

.stat-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto var(--space-5);
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent-blue-light);
    transition: var(--transition-smooth);
}

.stat-item:hover .stat-icon {
    background: var(--gradient-primary);
    border-color: transparent;
    color: white;
    transform: scale(1.1);
    box-shadow: var(--shadow-accent-sm);
}

.stat-icon svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

.stat-number {
    font-size: var(--font-size-5xl);
    font-weight: var(--font-weight-extrabold);
    background: linear-gradient(135deg, #ffffff 0%, #60a5fa 40%, #a78bfa 60%, #22d3ee 80%, #60a5fa 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: var(--space-4);
    letter-spacing: var(--letter-spacing-tight);
    animation: statGlow 3s ease-in-out infinite;
    position: relative;
    z-index: 1;
}

.stat-number-anim {
    display: inline-block;
    animation: numberPop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.stat-bg-number {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 8rem;
    font-weight: var(--font-weight-black);
    color: transparent;
    -webkit-text-stroke: 1px rgba(37, 99, 235, 0.08);
    pointer-events: none;
    z-index: 0;
    line-height: 1;
}

.stat-label {
    font-size: var(--font-size-md);
    color: var(--color-text-tertiary);
    font-weight: var(--font-weight-medium);
    letter-spacing: var(--letter-spacing-wide);
}

/* ========== 10. 核心服务区域 ========== */
.services-section {
    background: var(--color-bg-secondary);
    position: relative;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse 40% 40% at 80% 20%, rgba(37, 99, 235, 0.04) 0%, transparent 60%),
        radial-gradient(ellipse 30% 30% at 10% 80%, rgba(6, 182, 212, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-8) var(--space-16);
    position: relative;
}

.service-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: var(--space-10);
    background: var(--color-bg-card);
    border-radius: var(--radius-2xl);
    border: 1px solid var(--color-border);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

/* 网格纹理背景 */
.service-item .service-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle, rgba(37, 99, 235, 0.06) 1px, transparent 1px);
    background-size: 24px 24px;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: 0;
}

.service-item:hover .service-bg-pattern {
    opacity: 1;
}

/* 流光旋转边框 */
.service-item::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(37, 99, 235, 0.4), rgba(6, 182, 212, 0.4), transparent 30%);
    animation: rotateBorder 4s linear infinite;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 0;
}

.service-item:hover::before {
    opacity: 1;
}

.service-item::after {
    content: '';
    position: absolute;
    inset: 1px;
    background: var(--color-bg-card);
    border-radius: calc(var(--radius-2xl) - 1px);
    z-index: 1;
}

.service-item[data-service="software"] { --service-color: #2563eb; --service-glow: rgba(37, 99, 235, 0.3); }
.service-item[data-service="cloud"] { --service-color: #06b6d4; --service-glow: rgba(6, 182, 212, 0.3); }
.service-item[data-service="data"] { --service-color: #7c3aed; --service-glow: rgba(124, 58, 237, 0.3); }
.service-item[data-service="ai"] { --service-color: #2563eb; --service-glow: rgba(37, 99, 235, 0.3); }

.service-item:hover {
    border-color: transparent;
    transform: translateY(-4px);
    box-shadow: 0 12px 40px var(--service-glow), 0 4px 16px rgba(0, 0, 0, 0.4);
}

.service-item > * {
    position: relative;
    z-index: 2;
}

.service-icon {
    width: 64px;
    height: 64px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-bottom: var(--space-6);
    box-shadow: var(--shadow-accent-sm);
    transition: var(--transition-smooth);
    position: relative;
    z-index: 1;
}

.service-icon svg {
    width: 28px;
    height: 28px;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

.service-icon-anim {
    transition: var(--transition-smooth);
}

.service-item:hover .service-icon {
    transform: rotate(10deg) scale(1.15);
    box-shadow: var(--shadow-accent-md);
    color: var(--service-color);
}

.service-item:hover .service-icon::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: inherit;
    background: conic-gradient(from 0deg, transparent, var(--color-accent-blue), var(--color-accent-cyan), transparent);
    opacity: 0.6;
    z-index: -1;
    animation: iconSpinGlow 3s linear infinite;
    filter: blur(8px);
}

.service-item h3 {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    color: var(--color-text-heading);
    margin-bottom: var(--space-4);
    position: relative;
    z-index: 2;
    letter-spacing: var(--letter-spacing-normal);
}

.service-item p {
    color: var(--color-text-tertiary);
    line-height: var(--line-height-relaxed);
    font-size: var(--font-size-base);
    position: relative;
    z-index: 2;
    margin-bottom: var(--space-6);
}

/* 了解更多链接 */
.service-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    color: var(--color-accent-blue-light);
    transition: var(--transition-base);
    position: relative;
    z-index: 2;
}

.service-link svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    transition: transform 0.3s ease;
}

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

.service-link:hover svg {
    animation: arrowBounce 0.8s ease-in-out infinite;
}

/* ========== 11. 成功案例区域 ========== */
.cases-section {
    background: var(--color-bg-primary);
    position: relative;
}

.case-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: center;
    margin-bottom: var(--space-20);
    padding: var(--space-8);
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-3xl);
    transition: var(--transition-smooth);
}

.case-item:last-child {
    margin-bottom: 0;
}

.case-item:hover {
    border-color: var(--color-border-accent);
    box-shadow: var(--shadow-card-hover);
}

/* --- 案例横向滚动容器 --- */
.cases-scroll-container {
    display: flex;
    gap: var(--space-8);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: var(--space-4);
}

.cases-scroll-container::-webkit-scrollbar {
    display: none;
}

.cases-scroll-container .case-item {
    scroll-snap-align: start;
    flex-shrink: 0;
    width: 85vw;
    max-width: 500px;
    margin-bottom: 0;
}

.case-image-parallax {
    will-change: transform;
    transition: transform 0.1s linear;
}

/* --- 奇偶交替布局 --- */
.case-item:nth-child(even) {
    direction: rtl;
}

.case-item:nth-child(even) > * {
    direction: ltr;
}

/* 技术标签 */
.case-tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
    margin-bottom: var(--space-5);
}

.case-tech-tag {
    display: inline-flex;
    align-items: center;
    padding: var(--space-1) var(--space-3);
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.15);
    border-radius: var(--radius-full);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-medium);
    color: var(--color-accent-blue-light);
    letter-spacing: var(--letter-spacing-wide);
}

.case-image-wrapper {
    position: relative;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    aspect-ratio: 16 / 10;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-border);
}

.case-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s cubic-bezier(0.4, 0, 0.2, 1), filter 0.6s ease;
    border-radius: var(--radius-xl);
}

.case-item:hover .case-image-wrapper img {
    transform: scale(1.12);
    filter: brightness(1.15) contrast(1.05);
}

/* --- 案例图片悬停遮罩 --- */
.case-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.35) 0%, rgba(6, 182, 212, 0.2) 50%, rgba(37, 99, 235, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
    z-index: 2;
    border-radius: var(--radius-xl);
}

.case-item:hover .case-image-overlay {
    opacity: 1;
}

/* --- 案例图片边框光效 --- */
.case-image-wrapper::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: calc(var(--radius-xl) + 2px);
    background: var(--gradient-primary);
    opacity: 0;
    z-index: -1;
    transition: var(--transition-smooth);
    filter: blur(12px);
}

.case-item:hover .case-image-wrapper::before {
    opacity: 0.6;
}

.case-image-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.15) 0%, transparent 60%);
    pointer-events: none;
    border-radius: var(--radius-xl);
}

.case-tag {
    display: inline-flex;
    align-items: center;
    padding: var(--space-2) var(--space-4);
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.2);
    color: var(--color-accent-blue-light);
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--space-5);
    letter-spacing: var(--letter-spacing-wide);
}

.case-content h3 {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-bold);
    color: var(--color-text-heading);
    margin-bottom: var(--space-5);
    line-height: var(--line-height-snug);
    letter-spacing: var(--letter-spacing-tight);
}

.case-content p {
    color: var(--color-text-tertiary);
    line-height: var(--line-height-relaxed);
    font-size: var(--font-size-md);
    margin-bottom: var(--space-6);
}

.case-result {
    display: inline-flex;
    align-items: center;
    gap: var(--space-4);
    font-size: var(--font-size-md);
    font-weight: var(--font-weight-semibold);
    color: var(--color-accent-blue-light);
    padding: var(--space-3) var(--space-5);
    background: rgba(37, 99, 235, 0.06);
    border-radius: var(--radius-md);
    border: 1px solid rgba(37, 99, 235, 0.12);
}

.case-result::before {
    content: '';
    width: 32px;
    height: 2px;
    background: var(--gradient-primary-horizontal);
    flex-shrink: 0;
}

/* ========== 12. 客户评价区域 ========== */
.testimonials-section {
    background: var(--color-bg-secondary);
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse 50% 50% at 50% 50%, rgba(37, 99, 235, 0.06) 0%, transparent 70%),
        radial-gradient(ellipse 40% 40% at 20% 80%, rgba(6, 182, 212, 0.04) 0%, transparent 50%);
    pointer-events: none;
    animation: glowPulse 6s ease-in-out infinite;
}

.testimonial-card {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    padding: var(--space-16) var(--space-12);
    background: var(--color-bg-glass-light);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--color-border-glass);
    border-radius: var(--radius-3xl);
    box-shadow: var(--shadow-card);
    transition: var(--transition-smooth);
}

.testimonial-card:hover {
    border-color: var(--color-border-accent);
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-4px);
}

/* --- 评价轮播 --- */
.testimonials-slider {
    position: relative;
    overflow: hidden;
}

.testimonials-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-slide {
    min-width: 100%;
    padding: 0 var(--space-4);
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: var(--space-3);
    margin-top: var(--space-8);
}

.testimonial-dot {
    width: 10px;
    height: 10px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    cursor: pointer;
    transition: var(--transition-base);
}

.testimonial-dot.active {
    background: var(--color-accent-blue-light);
    width: 32px;
    box-shadow: 0 0 12px rgba(37, 99, 235, 0.4);
}

.testimonial-company-logo {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent-blue-light);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-bold);
    flex-shrink: 0;
}

/* 引号装饰图标 */
.testimonial-quote-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-8);
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent-blue-light);
}

.testimonial-quote-icon svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
    opacity: 0.6;
}

.testimonial-text {
    font-size: var(--font-size-lg);
    color: var(--color-text-secondary);
    line-height: var(--line-height-relaxed);
    margin-bottom: var(--space-8);
    font-weight: var(--font-weight-normal);
    position: relative;
}

/* 星级评分 */
.testimonial-stars {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-1);
    margin-bottom: var(--space-8);
}

.testimonial-stars svg {
    width: 20px;
    height: 20px;
    fill: #f59e0b;
    stroke: none;
}

.testimonial-stars svg.empty {
    fill: rgba(255, 255, 255, 0.1);
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-5);
    position: relative;
}

.testimonial-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    box-shadow: var(--shadow-accent-sm);
    flex-shrink: 0;
}

.testimonial-info h4 {
    font-weight: var(--font-weight-bold);
    color: var(--color-text-heading);
    margin-bottom: var(--space-1);
    font-size: var(--font-size-base);
}

.testimonial-info p {
    font-size: var(--font-size-sm);
    color: var(--color-text-tertiary);
}

/* ========== 13. CTA 区域 ========== */
.cta-section {
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
    padding: var(--space-40) 0;
}

/* CTA 动态背景 */
.cta-section .cta-bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(6, 182, 212, 0.04) 50%, rgba(37, 99, 235, 0.08) 100%);
    background-size: 400% 400%;
    animation: ctaGradientMove 8s ease infinite;
    pointer-events: none;
}

/* CTA 浮动粒子 */
.cta-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
}

.cta-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--color-accent-blue-light);
    border-radius: 50%;
    opacity: 0.3;
    animation: floatParticle 10s ease-in-out infinite;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse 60% 50% at 30% 50%, rgba(37, 99, 235, 0.12) 0%, transparent 70%),
        radial-gradient(ellipse 50% 40% at 70% 60%, rgba(6, 182, 212, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

/* --- CTA 装饰线条 --- */
.cta-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-border), transparent);
}

.cta-content {
    position: relative;
    text-align: center;
    color: var(--color-text-primary);
    max-width: 800px;
    margin: 0 auto;
    z-index: 2;
}

.cta-content h2 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: var(--font-weight-extrabold);
    margin-bottom: var(--space-6);
    background: linear-gradient(135deg, #ffffff 0%, #a78bfa 30%, #60a5fa 60%, #22d3ee 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: var(--line-height-snug);
    letter-spacing: var(--letter-spacing-tight);
    animation: textShimmer 4s linear infinite;
    text-shadow: 0 0 80px rgba(124, 58, 237, 0.3);
}

.cta-deco-shape {
    position: absolute;
    pointer-events: none;
    opacity: 0.1;
}

.cta-deco-triangle {
    width: 120px;
    height: 120px;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 104px solid var(--color-accent-purple);
    animation: rotate 20s linear infinite;
}

.cta-deco-circle {
    width: 100px;
    height: 100px;
    border: 2px solid var(--color-accent-cyan);
    border-radius: 50%;
    animation: rotateReverse 15s linear infinite;
}

.cta-deco-square {
    width: 80px;
    height: 80px;
    border: 2px solid var(--color-accent-blue);
    transform: rotate(45deg);
    animation: rotate 25s linear infinite;
}

.cta-content p {
    font-size: var(--font-size-lg);
    color: var(--color-text-tertiary);
    margin-bottom: var(--space-12);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: var(--line-height-relaxed);
}

/* CTA 按钮脉冲增强 */
.cta-section .btn-pulse {
    animation: btnPulse 2s ease-in-out infinite;
    position: relative;
    overflow: visible;
}

.cta-section .btn-pulse::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: calc(var(--radius-lg) + 4px);
    background: var(--gradient-primary);
    opacity: 0;
    z-index: -1;
    animation: btnPulse 2s ease-in-out infinite 0.3s;
    filter: blur(8px);
}

/* ========== 14. 页脚 ========== */
.footer {
    background: var(--color-bg-primary);
    color: var(--color-text-primary);
    padding: var(--space-24) 0 var(--space-10);
    position: relative;
    overflow: hidden;
}

/* 页脚装饰渐变线条 */
.footer-deco-line {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-accent-blue), var(--color-accent-cyan), var(--color-accent-blue), transparent);
    opacity: 0.5;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse 40% 30% at 80% 10%, rgba(37, 99, 235, 0.06) 0%, transparent 60%);
    pointer-events: none;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--space-16);
    margin-bottom: var(--space-16);
    position: relative;
}

/* --- 品牌列 --- */
.footer-brand {
    max-width: 360px;
}

.footer-brand .logo {
    margin-bottom: var(--space-6);
}

.footer-brand .logo-icon {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--color-border);
    box-shadow: none;
}

.footer-brand .logo-icon::before {
    display: none;
}

.footer-brand p {
    color: var(--color-text-tertiary);
    line-height: var(--line-height-relaxed);
    font-size: var(--font-size-base);
}

/* 社交媒体图标 */
.footer-social {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    margin-top: var(--space-6);
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-tertiary);
    transition: var(--transition-smooth);
}

.footer-social a svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

.footer-social a:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-accent-sm);
}

/* --- 页脚列 --- */
.footer-column h4 {
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--space-6);
    color: var(--color-text-primary);
    letter-spacing: var(--letter-spacing-wide);
    text-transform: uppercase;
}

.footer-column ul li {
    margin-bottom: var(--space-4);
}

.footer-column a {
    color: var(--color-text-tertiary);
    font-size: var(--font-size-base);
    transition: var(--transition-base);
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
}

.footer-column a::before {
    content: '';
    width: 0;
    height: 1px;
    background: var(--gradient-primary-horizontal);
    transition: var(--transition-base);
}

.footer-column a:hover {
    color: var(--color-text-accent);
    padding-left: var(--space-1);
}

.footer-column a:hover::before {
    width: 12px;
}

/* --- 页脚底部 --- */
.footer-bottom {
    border-top: 1px solid var(--color-divider);
    padding-top: var(--space-10);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
    position: relative;
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: var(--space-8);
    right: var(--space-8);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient-primary);
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: var(--z-sticky);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-accent-md);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-accent-lg);
}

.back-to-top:hover svg {
    animation: float 1s ease-in-out infinite;
}

/* ========== 15. 网格布局系统 ========== */
.grid {
    display: grid;
    gap: var(--space-8);
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ========== 16. 卡片系统 ========== */
.card {
    background: var(--color-bg-card);
    border-radius: var(--radius-2xl);
    padding: var(--space-10);
    border: 1px solid var(--color-border);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary-horizontal);
    transform: scaleX(0);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover {
    border-color: var(--color-border-accent);
    transform: translateY(-6px);
    box-shadow: var(--shadow-card-hover);
}

.card:hover::before {
    transform: scaleX(1);
}

.card-icon {
    width: 72px;
    height: 72px;
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.12);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-8);
    transition: var(--transition-smooth);
}

.card:hover .card-icon {
    background: var(--gradient-primary);
    border-color: transparent;
    transform: scale(1.05);
    box-shadow: var(--shadow-accent-sm);
}

.card h3 {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    color: var(--color-text-heading);
    margin-bottom: var(--space-4);
}

.card p {
    color: var(--color-text-tertiary);
    line-height: var(--line-height-relaxed);
}

/* ========== 17. 滚动触发动画 ========== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-scale.active {
    opacity: 1;
    transform: scale(1);
}

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

/* --- 滚动动画性能优化 --- */
.reveal,
.reveal-left,
.reveal-right,
.reveal-scale {
    will-change: opacity, transform;
    backface-visibility: hidden;
}

/* ========== 18. 页面头部 (内页) ========== */
.page-header {
    background: var(--gradient-hero);
    padding: 200px 0 var(--space-24);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse 50% 50% at 30% 50%, rgba(37, 99, 235, 0.12) 0%, transparent 70%),
        radial-gradient(ellipse 40% 40% at 70% 60%, rgba(6, 182, 212, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.page-header h1 {
    font-size: var(--font-size-4xl);
    font-weight: var(--font-weight-extrabold);
    color: var(--color-text-primary);
    margin-bottom: var(--space-6);
    position: relative;
    background: linear-gradient(135deg, #ffffff 0%, #bae6fd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: var(--letter-spacing-tight);
}

.page-header p {
    font-size: var(--font-size-lg);
    color: var(--color-text-tertiary);
    position: relative;
    max-width: 600px;
    margin: 0 auto;
    line-height: var(--line-height-relaxed);
}

/* ========== 19. 关于我们页面 ========== */
.about-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-20);
    align-items: center;
}

.about-intro-text .section-tag {
    display: inline-flex;
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-bold);
    color: var(--color-accent-blue-light);
    text-transform: uppercase;
    letter-spacing: var(--letter-spacing-wider);
    margin-bottom: var(--space-6);
    padding: var(--space-2) var(--space-5);
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.15);
    border-radius: var(--radius-full);
}

.about-intro-text h2 {
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-extrabold);
    color: var(--color-text-heading);
    margin-bottom: var(--space-8);
    line-height: var(--line-height-snug);
    letter-spacing: var(--letter-spacing-tight);
}

.about-intro-text p {
    color: var(--color-text-tertiary);
    line-height: var(--line-height-loose);
    margin-bottom: var(--space-5);
    font-size: var(--font-size-md);
}

.about-image {
    position: relative;
}

.about-image > div {
    border-radius: var(--radius-3xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--color-accent-blue);
    border-radius: var(--radius-3xl);
    z-index: -1;
    opacity: 0.2;
}

/* --- Timeline --- */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-left: var(--space-10);
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gradient-primary-vertical);
    opacity: 0.4;
}

.timeline-item {
    position: relative;
    padding-bottom: var(--space-12);
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: calc(-1 * var(--space-10) + 7px);
    top: 6px;
    width: 18px;
    height: 18px;
    background: var(--gradient-primary);
    border-radius: 50%;
    border: 3px solid var(--color-bg-primary);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
    z-index: 1;
}

.timeline-year {
    display: inline-block;
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-bold);
    color: var(--color-accent-blue-light);
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.15);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
    margin-bottom: var(--space-4);
}

.timeline-content h4 {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    color: var(--color-text-heading);
    margin-bottom: var(--space-3);
}

.timeline-content p {
    color: var(--color-text-tertiary);
    line-height: var(--line-height-relaxed);
}

/* --- Culture Grid --- */
.culture-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
}

.culture-item {
    text-align: center;
    padding: var(--space-12) var(--space-8);
    background: var(--color-bg-card);
    border-radius: var(--radius-2xl);
    border: 1px solid var(--color-border);
    transition: var(--transition-smooth);
}

.culture-item:hover {
    border-color: var(--color-border-accent);
    transform: translateY(-6px);
    box-shadow: var(--shadow-card-hover);
}

.culture-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto var(--space-6);
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.12);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent-blue-light);
}

.culture-item h3 {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    color: var(--color-text-heading);
    margin-bottom: var(--space-4);
}

.culture-item p {
    color: var(--color-text-tertiary);
    line-height: var(--line-height-relaxed);
    font-size: var(--font-size-base);
}

/* --- Honors Grid --- */
.honors-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
}

.honor-item {
    text-align: center;
    padding: var(--space-8) var(--space-5);
    background: var(--color-bg-card);
    border-radius: var(--radius-xl);
    border: 1px solid var(--color-border);
    transition: var(--transition-smooth);
}

.honor-item:hover {
    border-color: var(--color-border-accent);
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
}

.honor-icon {
    font-size: var(--font-size-2xl);
    margin-bottom: var(--space-4);
    color: var(--color-accent-blue-light);
}

.honor-item h4 {
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-bold);
    color: var(--color-text-heading);
    margin-bottom: var(--space-2);
}

.honor-item p {
    font-size: var(--font-size-sm);
    color: var(--color-text-tertiary);
}

/* ========== 20. 服务页面 ========== */
.service-card {
    background: var(--color-bg-card);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    border: 1px solid var(--color-border);
    transition: var(--transition-smooth);
}

.service-card:hover {
    border-color: var(--color-border-accent);
    transform: translateY(-8px);
    box-shadow: var(--shadow-card-hover);
}

.service-card-image {
    height: 240px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.service-card-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, transparent 60%);
}

.service-card-content {
    padding: var(--space-10);
}

.service-card-content h3 {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    color: var(--color-text-heading);
    margin-bottom: var(--space-4);
}

.service-card-content p {
    color: var(--color-text-tertiary);
    line-height: var(--line-height-relaxed);
    margin-bottom: var(--space-6);
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
}

.service-features span {
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.12);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    color: var(--color-accent-blue-light);
    font-weight: var(--font-weight-medium);
}

/* ========== 21. 联系页面 ========== */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--space-16);
}

.contact-info {
    background: var(--gradient-hero);
    border-radius: var(--radius-3xl);
    padding: var(--space-16);
    color: var(--color-text-primary);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--color-border);
}

.contact-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse 50% 50% at 30% 50%, rgba(37, 99, 235, 0.15) 0%, transparent 70%),
        radial-gradient(ellipse 40% 40% at 80% 80%, rgba(6, 182, 212, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.contact-info h2 {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--space-4);
    position: relative;
}

.contact-info > p {
    color: var(--color-text-tertiary);
    margin-bottom: var(--space-12);
    line-height: var(--line-height-relaxed);
    position: relative;
}

.contact-item {
    display: flex;
    gap: var(--space-5);
    margin-bottom: var(--space-8);
    position: relative;
}

.contact-icon {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--color-border-glass);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.contact-item h4 {
    font-size: var(--font-size-sm);
    color: var(--color-text-tertiary);
    margin-bottom: var(--space-2);
    font-weight: var(--font-weight-medium);
}

.contact-item p {
    font-size: var(--font-size-md);
    font-weight: var(--font-weight-medium);
    color: var(--color-text-primary);
}

.contact-form {
    background: var(--color-bg-card);
    border-radius: var(--radius-3xl);
    padding: var(--space-16);
    border: 1px solid var(--color-border);
}

.form-group {
    margin-bottom: var(--space-8);
}

.form-group label {
    display: block;
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-semibold);
    color: var(--color-text-heading);
    margin-bottom: var(--space-3);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: var(--space-4) var(--space-5);
    font-size: var(--font-size-base);
    font-family: var(--font-family);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-md);
    background: var(--color-bg-primary);
    color: var(--color-text-primary);
    transition: var(--transition-base);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-text-muted);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-accent-blue);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
    background: var(--color-bg-secondary);
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6);
}

/* ========== 22. 轮播图 ========== */
.carousel {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-3xl);
    border: 1px solid var(--color-border);
}

.carousel-inner {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-item {
    min-width: 100%;
    padding: var(--space-20);
    background: var(--gradient-hero);
    color: var(--color-text-primary);
    text-align: center;
}

.carousel-item h3 {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-extrabold);
    margin-bottom: var(--space-5);
}

.carousel-item p {
    font-size: var(--font-size-lg);
    color: var(--color-text-tertiary);
    max-width: 600px;
    margin: 0 auto;
    line-height: var(--line-height-relaxed);
}

.carousel-controls {
    position: absolute;
    bottom: var(--space-8);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: var(--space-3);
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: var(--transition-base);
    border: none;
}

.carousel-dot.active {
    background: var(--color-accent-blue-light);
    width: 32px;
    border-radius: var(--radius-full);
    box-shadow: 0 0 12px rgba(37, 99, 235, 0.4);
}

/* ========== 23. 合作伙伴 ========== */
.partners {
    padding: var(--space-16) 0;
    background: var(--color-bg-secondary);
    overflow: hidden;
    border-top: 1px solid var(--color-divider);
    border-bottom: 1px solid var(--color-divider);
}

.partners-track {
    display: flex;
    gap: var(--space-16);
    animation: scroll 30s linear infinite;
}

.partner-item {
    flex-shrink: 0;
    width: 140px;
    height: 60px;
    background: var(--color-bg-card);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-lg);
    color: var(--color-text-tertiary);
    border: 1px solid var(--color-border);
    transition: var(--transition-base);
}

.partner-item:hover {
    border-color: var(--color-border-accent);
    color: var(--color-text-accent);
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ========== 24. Feature 列表 ========== */
.features-section {
    background: var(--color-bg-secondary);
}

.feature-item {
    display: flex;
    gap: var(--space-8);
    padding: var(--space-10);
    background: var(--color-bg-card);
    border-radius: var(--radius-2xl);
    border: 1px solid var(--color-border);
    transition: var(--transition-smooth);
}

.feature-item:hover {
    border-color: var(--color-border-accent);
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
}

.feature-icon {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: var(--shadow-accent-sm);
}

.feature-content h3 {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    color: var(--color-text-heading);
    margin-bottom: var(--space-3);
}

.feature-content p {
    color: var(--color-text-tertiary);
    font-size: var(--font-size-base);
    line-height: var(--line-height-relaxed);
}

/* ========== 25. 辅助工具类 ========== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-4 { margin-top: var(--space-4); }
.mt-8 { margin-top: var(--space-8); }
.mt-12 { margin-top: var(--space-12); }
.mt-16 { margin-top: var(--space-16); }
.mt-20 { margin-top: var(--space-20); }

.mb-4 { margin-bottom: var(--space-4); }
.mb-8 { margin-bottom: var(--space-8); }
.mb-12 { margin-bottom: var(--space-12); }
.mb-16 { margin-bottom: var(--space-16); }
.mb-20 { margin-bottom: var(--space-20); }

.pt-0 { padding-top: 0; }
.pb-0 { padding-bottom: 0; }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }
.gap-8 { gap: var(--space-8); }

.relative { position: relative; }
.overflow-hidden { overflow: hidden; }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ========== 26. 响应式设计 ========== */

/* --- 大屏幕 (<= 1200px) --- */
@media (max-width: 1200px) {
    .hero h1 {
        font-size: var(--font-size-5xl);
    }

    .hero-visual {
        width: 450px;
        height: 450px;
        opacity: 0.6;
    }

    .section-title {
        font-size: var(--font-size-3xl);
    }
}

/* --- 平板 (<= 1024px) --- */
@media (max-width: 1024px) {
    :root {
        --section-padding: 100px;
    }

    .hero h1 {
        font-size: var(--font-size-4xl);
    }

    .hero-visual {
        display: none;
    }

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

    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-12);
    }

    .footer-brand {
        grid-column: 1 / -1;
        max-width: 100%;
    }

    .case-item {
        grid-template-columns: 1fr;
        gap: var(--space-10);
    }

    .case-item:nth-child(even) {
        direction: ltr;
    }

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

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-8);
    }

    .stat-item:not(:last-child)::after {
        display: none;
    }

    .about-intro {
        grid-template-columns: 1fr;
        gap: var(--space-12);
    }

    .honors-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

/* --- 小平板 (<= 768px) --- */
@media (max-width: 768px) {
    :root {
        --section-padding: 80px;
        --container-padding: 20px;
        --navbar-height: 70px;
    }

    /* --- 导航栏移动端 --- */
    .navbar .container {
        height: var(--navbar-height);
    }

    .nav-links {
        position: fixed;
        top: var(--navbar-height);
        left: 0;
        right: 0;
        background: var(--color-bg-overlay);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        flex-direction: column;
        padding: var(--space-8);
        gap: 0;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition-smooth);
        border-bottom: 1px solid var(--color-border);
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-links a {
        padding: var(--space-5) 0;
        border-bottom: 1px solid var(--color-divider);
        font-size: var(--font-size-md);
    }

    .nav-links li:last-child a {
        border-bottom: none;
    }

    .nav-toggle {
        display: flex;
    }

    /* --- Hero 移动端 --- */
    .hero {
        min-height: auto;
        padding: 160px 0 var(--space-16);
    }

    .hero h1 {
        font-size: var(--font-size-3xl);
    }

    .hero-description {
        font-size: var(--font-size-base);
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    /* --- Section 移动端 --- */
    .section-title {
        font-size: var(--font-size-2xl);
    }

    .section-desc {
        font-size: var(--font-size-base);
    }

    .section-header {
        margin-bottom: var(--space-12);
    }

    /* --- 网格移动端 --- */
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    /* --- 统计移动端 --- */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-6);
    }

    .stat-number {
        font-size: var(--font-size-3xl);
    }

    .stat-label {
        font-size: var(--font-size-sm);
    }

    /* --- 服务移动端 --- */
    .service-item {
        padding: var(--space-8);
    }

    /* --- 案例移动端 --- */
    .case-content h3 {
        font-size: var(--font-size-xl);
    }

    .case-content p {
        font-size: var(--font-size-base);
    }

    /* --- 评价移动端 --- */
    .testimonial-item {
        padding: var(--space-10) var(--space-6);
    }

    .testimonial-text {
        font-size: var(--font-size-base);
    }

    /* --- CTA 移动端 --- */
    .cta-section {
        padding: var(--space-24) 0;
    }

    .cta-content h2 {
        font-size: var(--font-size-2xl);
    }

    .cta-content p {
        font-size: var(--font-size-base);
    }

    .cases-scroll-container .case-item {
        width: 90vw;
    }

    .cta-deco-shape {
        display: none;
    }

    .stat-bg-number {
        font-size: 5rem;
    }

    /* --- 页脚移动端 --- */
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--space-12);
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-5);
        text-align: center;
    }

    /* --- 页面头部移动端 --- */
    .page-header {
        padding: 160px 0 var(--space-16);
    }

    .page-header h1 {
        font-size: var(--font-size-2xl);
    }

    /* --- 关于页面移动端 --- */
    .about-intro-text h2 {
        font-size: var(--font-size-2xl);
    }

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

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

    /* --- 联系页面移动端 --- */
    .contact-info {
        padding: var(--space-10);
    }

    .contact-form {
        padding: var(--space-10);
    }
}

/* --- 手机 (<= 480px) --- */
@media (max-width: 480px) {
    :root {
        --section-padding: 60px;
    }

    .hero h1 {
        font-size: var(--font-size-2xl);
    }

    .hero-badge {
        font-size: var(--font-size-xs);
        padding: var(--space-2) var(--space-4);
    }

    .section-title {
        font-size: var(--font-size-xl);
    }

    .stat-number {
        font-size: var(--font-size-2xl);
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-4);
    }

    .stat-item {
        padding: var(--space-6) var(--space-3);
    }

    .stat-icon {
        width: 36px;
        height: 36px;
    }

    .service-item h3 {
        font-size: var(--font-size-lg);
    }

    .cta-content h2 {
        font-size: var(--font-size-xl);
    }

    .btn {
        padding: var(--space-4) var(--space-6);
        font-size: var(--font-size-sm);
    }

    .btn-lg {
        padding: var(--space-4) var(--space-8);
        font-size: var(--font-size-base);
    }

    .back-to-top {
        width: 40px;
        height: 40px;
        bottom: var(--space-5);
        right: var(--space-5);
    }

    .testimonial-slide {
        padding: 0;
    }
}

/* ========== 27. 打印样式 ========== */
.page-transition {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-bg-primary);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.page-transition.active {
    opacity: 1;
    visibility: visible;
}

/* --- 懒加载占位 --- */
img[data-src] {
    background: linear-gradient(135deg, var(--color-bg-card) 0%, var(--color-bg-tertiary) 100%);
    min-height: 200px;
}

/* --- 性能优化工具类 --- */
.will-change-transform {
    will-change: transform;
}

.gpu-accelerated {
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* ========== 27. 打印样式 ========== */
@media print {
    .navbar,
    .hero-visual,
    .hero-particles,
    .hero-grid,
    .hero-orb,
    .hero-deco-line,
    .cta-section,
    .footer-social,
    .nav-toggle {
        display: none !important;
    }

    body {
        background: white;
        color: #1a1a1a;
    }

    .hero {
        min-height: auto;
        padding: 40px 0;
        background: white;
    }

    .hero h1 {
        color: #1a1a1a;
        -webkit-text-fill-color: #1a1a1a;
        font-size: 2.5rem;
    }

    .hero p {
        color: #555;
    }

    .section {
        padding: 40px 0;
    }

    .section-title {
        color: #1a1a1a;
    }

    .section-desc {
        color: #555;
    }

    a {
        color: #2563eb;
    }
}

/* ========== 28. 减少动效偏好 ========== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .hero-grid,
    .hero-orb,
    .hero-particle,
    .hero::after,
    .btn-pulse {
        animation: none;
    }

    .reveal,
    .reveal-left,
    .reveal-right,
    .reveal-scale {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .hero-badge,
    .hero h1,
    .hero-description,
    .hero-buttons {
        animation: none;
        opacity: 1;
    }
}

/* ========== 29. 高对比度模式 ========== */
@media (prefers-contrast: high) {
    :root {
        --color-border: rgba(255, 255, 255, 0.2);
        --color-border-glass: rgba(255, 255, 255, 0.25);
        --color-text-tertiary: rgba(255, 255, 255, 0.7);
        --color-text-muted: rgba(255, 255, 255, 0.6);
    }

    .btn-outline {
        border-width: 3px;
    }

    .service-item,
    .card {
        border-width: 2px;
    }
}

/* ========== 30. 移动端增强优化 ========== */

/* --- 小平板/手机 (<= 768px) 增强 --- */
@media (max-width: 768px) {
    /* 全局触摸优化 */
    html {
        -webkit-tap-highlight-color: transparent;
    }

    body {
        touch-action: manipulation;
    }

    /* 触摸区域不小于44px */
    a, button, .btn, .nav-toggle, .testimonial-dot, .carousel-dot, .service-link, .footer-social a, .back-to-top {
        min-height: 44px;
        min-width: 44px;
    }

    /* 禁用复杂hover效果 */
    @media (hover: none) {
        .service-item:hover,
        .card:hover,
        .stat-item:hover,
        .case-item:hover,
        .testimonial-card:hover,
        .feature-item:hover,
        .culture-item:hover,
        .honor-item:hover,
        .partner-item:hover {
            transform: none;
            box-shadow: var(--shadow-card);
        }

        .service-item:hover .service-icon {
            transform: none;
        }

        .service-item:hover .service-bg-pattern {
            opacity: 0;
        }

        .case-item:hover .case-image-wrapper img {
            transform: none;
            filter: none;
        }

        .glass-card:hover::before,
        .glass-card:hover::after {
            opacity: 0;
        }

        .btn-primary:hover,
        .btn-outline:hover,
        .btn-accent:hover,
        .btn-ghost:hover {
            transform: none;
        }

        .footer-social a:hover {
            transform: none;
        }
    }

    /* 导航栏全屏菜单优化 */
    .nav-links.active {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--color-bg-overlay);
        backdrop-filter: blur(32px);
        -webkit-backdrop-filter: blur(32px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: var(--space-8);
        gap: var(--space-6);
        transform: translateY(0);
        z-index: 999;
    }

    .nav-links.active a {
        font-size: var(--font-size-xl);
        font-weight: var(--font-weight-semibold);
        padding: var(--space-4) var(--space-8);
        border-bottom: none;
        text-align: center;
        min-height: 52px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .nav-toggle {
        z-index: 1000;
        min-height: 48px;
        min-width: 48px;
    }

    /* Hero区域优化 */
    .hero {
        min-height: 100svh;
        padding-top: 80px;
        align-items: flex-start;
        padding-bottom: var(--space-16);
    }

    .hero h1 {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
        white-space: normal;
    }

    #heroTitle .type-line {
        white-space: normal;
        overflow: visible;
    }

    .hero-badge {
        margin-bottom: var(--space-5);
    }

    .hero-description {
        font-size: 1rem;
        margin-bottom: var(--space-8);
    }

    .hero-buttons {
        flex-direction: column;
        gap: var(--space-4);
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
        min-height: 52px;
        justify-content: center;
    }

    .hero-canvas {
        display: none;
    }

    .hero-visual,
    .hero-particles,
    .hero-deco-line,
    .scroll-indicator {
        display: none;
    }

    /* 统计区域优化 */
    .stats-grid {
        display: flex;
        flex-wrap: nowrap;
        gap: var(--space-3);
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: var(--space-2);
    }

    .stats-grid::-webkit-scrollbar {
        display: none;
    }

    .stat-item {
        flex: 0 0 calc(50% - var(--space-2));
        min-width: 140px;
        scroll-snap-align: start;
        padding: var(--space-6) var(--space-3);
    }

    .stat-number {
        font-size: var(--font-size-2xl);
    }

    .stat-bg-number {
        display: none;
    }

    .stat-icon {
        width: 40px;
        height: 40px;
    }

    .stat-icon svg {
        width: 20px;
        height: 20px;
    }

    .stat-label {
        font-size: var(--font-size-sm);
    }

    /* 服务卡片优化 */
    .services-grid {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .service-item {
        width: 100%;
        padding: var(--space-6);
        min-height: 44px;
    }

    .service-item[data-tilt] {
        transform: none !important;
    }

    .service-icon {
        width: 56px;
        height: 56px;
    }

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

    .service-item h3 {
        font-size: var(--font-size-lg);
    }

    .service-item p {
        font-size: var(--font-size-sm);
    }

    .service-link {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }

    /* 案例区域优化 */
    .cases-scroll-container {
        gap: var(--space-4);
        margin: 0 calc(-1 * var(--container-padding));
        padding-left: var(--container-padding);
        padding-right: var(--container-padding);
    }

    .cases-scroll-container .case-item {
        flex: 0 0 85vw;
        max-width: none;
        scroll-snap-align: center;
        display: flex;
        flex-direction: column;
        gap: var(--space-5);
        padding: var(--space-5);
        margin-bottom: 0;
    }

    .case-image-wrapper {
        width: 100%;
        aspect-ratio: 16 / 10;
    }

    .case-content h3 {
        font-size: var(--font-size-lg);
        margin-bottom: var(--space-3);
    }

    .case-content p {
        font-size: var(--font-size-sm);
        margin-bottom: var(--space-4);
    }

    .case-tech-tags {
        flex-wrap: wrap;
        gap: var(--space-2);
        margin-bottom: var(--space-4);
    }

    .case-tech-tag {
        font-size: var(--font-size-xs);
    }

    .case-result {
        font-size: var(--font-size-sm);
        padding: var(--space-2) var(--space-4);
    }

    /* 评价轮播优化 */
    .testimonial-slide {
        padding: 0;
    }

    .testimonial-card {
        padding: var(--space-8) var(--space-5);
    }

    .testimonial-quote-icon {
        width: 48px;
        height: 48px;
        margin-bottom: var(--space-5);
    }

    .testimonial-quote-icon svg {
        width: 20px;
        height: 20px;
    }

    .testimonial-stars {
        gap: var(--space-1);
        margin-bottom: var(--space-5);
    }

    .testimonial-stars svg {
        width: 16px;
        height: 16px;
    }

    .testimonial-text {
        font-size: var(--font-size-sm);
        margin-bottom: var(--space-5);
    }

    .testimonial-author {
        gap: var(--space-3);
    }

    .testimonial-avatar {
        width: 48px;
        height: 48px;
        font-size: var(--font-size-lg);
    }

    .testimonial-company-logo {
        width: 40px;
        height: 40px;
    }

    .testimonial-dots {
        gap: var(--space-2);
        margin-top: var(--space-6);
    }

    .testimonial-dot {
        width: 44px;
        height: 44px;
        position: relative;
        background: transparent;
    }

    .testimonial-dot::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 10px;
        height: 10px;
        border-radius: var(--radius-full);
        background: rgba(255, 255, 255, 0.2);
        transition: var(--transition-base);
    }

    .testimonial-dot.active::after {
        background: var(--color-accent-blue-light);
        width: 24px;
    }

    /* CTA区域优化 */
    .cta-section {
        padding: var(--space-20) 0;
    }

    .cta-content h2 {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }

    .cta-content p {
        font-size: var(--font-size-base);
        margin-bottom: var(--space-8);
    }

    .cta-content .btn {
        width: 100%;
        min-height: 52px;
    }

    .cta-deco-shape,
    .cta-particles {
        display: none;
    }

    /* 页脚优化 */
    .footer {
        padding: var(--space-16) 0 var(--space-8);
    }

    .footer-content {
        display: flex;
        flex-direction: column;
        gap: var(--space-10);
    }

    .footer-brand {
        max-width: 100%;
    }

    .footer-social {
        gap: var(--space-3);
        margin-top: var(--space-5);
    }

    .footer-social a {
        width: 44px;
        height: 44px;
    }

    .footer-social a svg {
        width: 20px;
        height: 20px;
    }

    .footer-column h4 {
        margin-bottom: var(--space-5);
        font-size: var(--font-size-sm);
    }

    .footer-column ul li {
        margin-bottom: var(--space-3);
    }

    .footer-column a {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        padding: var(--space-1) 0;
    }

    /* 返回顶部按钮优化 */
    .back-to-top {
        width: 44px;
        height: 44px;
        bottom: var(--space-4);
        right: var(--space-4);
    }

    /* Section间距优化 */
    .section {
        padding: var(--section-padding) 0;
    }

    .section-header {
        margin-bottom: var(--space-10);
    }
}

/* --- 手机 (<= 480px) 增强 --- */
@media (max-width: 480px) {
    .hero h1 {
        font-size: clamp(1.6rem, 6vw, 2rem);
    }

    .hero-badge {
        font-size: var(--font-size-xs);
        padding: var(--space-2) var(--space-4);
    }

    .hero-description {
        font-size: 0.9375rem;
    }

    .section-title {
        font-size: var(--font-size-xl);
    }

    .stats-grid {
        gap: var(--space-2);
    }

    .stat-item {
        padding: var(--space-5) var(--space-2);
    }

    .stat-number {
        font-size: var(--font-size-xl);
    }

    .service-item {
        padding: var(--space-5);
    }

    .service-icon {
        width: 48px;
        height: 48px;
    }

    .testimonial-card {
        padding: var(--space-6) var(--space-4);
    }

    .testimonial-avatar {
        width: 40px;
        height: 40px;
        font-size: var(--font-size-base);
    }

    .testimonial-info h4 {
        font-size: var(--font-size-sm);
    }

    .testimonial-info p {
        font-size: var(--font-size-xs);
    }

    .cta-content h2 {
        font-size: clamp(1.4rem, 5vw, 1.8rem);
    }

    .btn-lg {
        padding: var(--space-4) var(--space-6);
        font-size: var(--font-size-sm);
    }

    .cases-scroll-container .case-item {
        flex: 0 0 90vw;
    }

    .case-image-wrapper {
        aspect-ratio: 16 / 9;
    }

    .footer {
        padding: var(--space-12) 0 var(--space-6);
    }
}

/* --- 小屏手机 (<= 390px) --- */
@media (max-width: 390px) {
    :root {
        --section-padding: 48px;
        --container-padding: 16px;
    }

    .hero h1 {
        font-size: clamp(1.5rem, 6.5vw, 1.8rem);
    }

    .hero-description {
        font-size: 0.875rem;
    }

    .hero-buttons {
        gap: var(--space-3);
    }

    .stats-grid {
        gap: var(--space-2);
    }

    .stat-item {
        padding: var(--space-4) var(--space-2);
        border-radius: var(--radius-lg);
    }

    .stat-number {
        font-size: var(--font-size-lg);
    }

    .stat-label {
        font-size: var(--font-size-xs);
    }

    .section-title {
        font-size: var(--font-size-lg);
    }

    .section-desc {
        font-size: var(--font-size-sm);
    }

    .service-item {
        padding: var(--space-4);
        border-radius: var(--radius-lg);
    }

    .service-item h3 {
        font-size: var(--font-size-base);
    }

    .service-item p {
        font-size: var(--font-size-xs);
        line-height: var(--line-height-normal);
    }

    .testimonial-card {
        padding: var(--space-5) var(--space-3);
        border-radius: var(--radius-xl);
    }

    .testimonial-text {
        font-size: var(--font-size-xs);
    }

    .case-content h3 {
        font-size: var(--font-size-base);
    }

    .case-content p {
        font-size: var(--font-size-xs);
    }

    .cta-section {
        padding: var(--space-16) 0;
    }

    .cta-content h2 {
        font-size: clamp(1.3rem, 5vw, 1.5rem);
    }

    .cta-content p {
        font-size: var(--font-size-sm);
    }

    .footer-brand p {
        font-size: var(--font-size-sm);
    }

    .footer-column a {
        font-size: var(--font-size-sm);
    }

    .footer-bottom {
        font-size: var(--font-size-xs);
    }

    .back-to-top {
        width: 40px;
        height: 40px;
    }
}
