/* ==========================================
   华商证达 - AI 科技风格网站样式（宇宙星河版）
   ========================================== */

:root {
    /* 品牌蓝色系 */
    --brand-blue: #0052D9;
    --brand-blue-light: #4080FF;
    --brand-blue-dark: #003CAB;
    --brand-blue-soft: rgba(0, 82, 217, 0.6);
    --brand-blue-lighter: #7DBFFF;
    /* Hero标题颜色变量 --ht-* */
    --ht-color: #0052D9;
    --ht-lighter: #7DBFFF;
    --ht-glow-1: rgba(0, 82, 217, 0.3);
    --ht-glow-2: rgba(0, 82, 217, 0.15);
    --ht-glow-3: rgba(0, 82, 217, 0.2);
    --ht-glow-4: rgba(0, 82, 217, 0.45);
    --ht-glow-5: rgba(0, 82, 217, 0.25);
    --ht-glow-6: rgba(0, 82, 217, 0.1);
    /* 统计数字颜色变量 --sn-* */
    --sn-color: #4A9EFF;
    --sn-lighter: #7DBFFF;
    --sn-glow-1: rgba(74, 158, 255, 0.3);
    --sn-glow-2: rgba(74, 158, 255, 0.15);
    --sn-glow-3: rgba(74, 158, 255, 0.2);
    --sn-glow-4: rgba(74, 158, 255, 0.45);
    --sn-glow-5: rgba(74, 158, 255, 0.25);
    --sn-glow-6: rgba(74, 158, 255, 0.1);
    /* 导航菜单文字颜色 */
    --nm-color: #CCCCCC;
    /* CTA按钮文字颜色 */
    --cb-color: #FFFFFF;
    /* 板块标题颜色变量 --st-* */
    --st-color: #FFFFFF;
    --st-glow-1: rgba(255, 255, 255, 0.3);
    /* Hero按钮文字颜色 */
    --hbtn-color: #FFFFFF;

    --bg-primary: #05060f;
    --bg-secondary: #0a0b1a;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.06);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.15);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.4);
    --text-nav-inactive: #CCCCCC;
    --accent-cyan: #0052D9;
    --accent-purple: #4080FF;
    --accent-blue: #0052D9;
    --accent-teal: #4080FF;
    --gradient-primary: linear-gradient(135deg, var(--brand-blue, #0052D9) 0%, var(--brand-blue-lighter, #4080FF) 100%);
    --font-primary: 'Inter', 'Noto Sans SC', -apple-system, sans-serif;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --shadow-glow: 0 0 30px rgba(0, 82, 217, 0.25);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

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

a { text-decoration: none; color: inherit; transition: color 0.3s ease; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }
img { max-width: 100%; display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ==========================================
   宇宙背景层 —— 深空星河（柔化深蓝渐变）
   ========================================== */
.cosmic-bg {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    /* 柔化深蓝渐变底色：降低饱和度，增加通透感 */
    background:
        radial-gradient(ellipse at 75% 15%, rgba(0, 82, 217, 0.12) 0%, transparent 55%),
        radial-gradient(ellipse at 20% 85%, rgba(0, 82, 217, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(20, 30, 60, 0.15) 0%, transparent 70%),
        linear-gradient(180deg, #060818 0%, #080a1e 30%, #060610 60%, #040510 100%);
}

/* 防止 fixed navbar 遮盖锚点跳转 */
html { scroll-behavior: smooth; scroll-padding-top: 56px; }

/* 每个 section 都自带 scroll-margin-top，跨浏览器锚点对齐一致 */
section[id] { scroll-margin-top: 56px; }

#star-canvas {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 80px;
    right: 30px;
    z-index: 999;
    width: 44px; height: 44px;
    background: linear-gradient(135deg, #0052D9, #4080FF);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0,82,217,0.35);
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 24px rgba(0,82,217,0.5);
}

/* ===== 品牌蓝调聚光核心（对准主标题区域）===== */
.cosmic-sun {
    position: absolute;
    /* 精准对准主标题"华商证达 智启未来企业服务"区域 */
    top: 8%;
    right: 8%;
    width: 900px;
    height: 900px;
    /* 品牌蓝调聚光：从核心向外渐变消散 - 进一步柔化 */
    background:
        /* 核心亮点：品牌蓝 + 80%白外发光 - 降低透明度 */
        radial-gradient(circle at 50% 50%,
            rgba(255, 255, 255, 0.18) 0%,
            rgba(64, 128, 255, 0.12) 8%,
            rgba(0, 82, 217, 0.15) 16%,
            rgba(0, 82, 217, 0.10) 28%,
            rgba(0, 82, 217, 0.05) 42%,
            rgba(0, 82, 217, 0.02) 58%,
            transparent 75%),
        /* 第二层： wider soft glow - 更柔和 */
        radial-gradient(circle at 50% 50%,
            rgba(255, 255, 255, 0.05) 0%,
            rgba(64, 128, 255, 0.06) 20%,
            transparent 60%);
    border-radius: 50%;
    animation: sun-breathe 10s ease-in-out infinite;
    /* 80% 白色外发光柔光效果 - 进一步柔化 */
    box-shadow:
        0 0 150px 80px rgba(255, 255, 255, 0.04),
        0 0 300px 150px rgba(0, 82, 217, 0.05),
        inset 0 0 60px 30px rgba(255, 255, 255, 0.02);
    z-index: 1;
}

/* 聚光核心亮点 —— 模拟阳光洒下的通透感 */
.cosmic-sun::after {
    content: '';
    position: absolute;
    top: 35%;
    right: 35%;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: radial-gradient(circle,
        rgba(255, 255, 255, 0.35) 0%,
        rgba(200, 220, 255, 0.18) 30%,
        rgba(0, 82, 217, 0.08) 60%,
        transparent 80%);
    filter: blur(20px);
    animation: sun-core-pulse 5s ease-in-out infinite;
}

@keyframes sun-core-pulse {
    0%, 100% { opacity: 0.7; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.12); }
}

@keyframes sun-breathe {
    0%, 100% { opacity: 0.65; transform: scale(1); }
    50% { opacity: 0.9; transform: scale(1.04); }
}

/* ===== 阳光铺洒光束（右上→左下，品牌蓝调，柔和过渡）===== */
.cosmic-light-beam {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 180%;
    height: 180%;
    /* 多层光束叠加，从右上方向左下方铺洒，不遮挡文字 - 进一步柔化 */
    background:
        /* 主光束：品牌蓝调 - 降低透明度 */
        linear-gradient(218deg,
            rgba(0, 82, 217, 0.12) 0%,
            rgba(64, 128, 255, 0.08) 8%,
            rgba(100, 160, 255, 0.05) 16%,
            rgba(150, 190, 255, 0.03) 26%,
            rgba(200, 215, 255, 0.02) 38%,
            rgba(220, 230, 255, 0.01) 50%,
            transparent 65%),
        /* 副光束：更宽更柔和，带白色通透感 - 更柔和 */
        linear-gradient(212deg,
            rgba(255, 255, 255, 0.04) 0%,
            rgba(200, 220, 255, 0.03) 12%,
            rgba(0, 82, 217, 0.02) 22%,
            transparent 42%);
    transform-origin: top right;
    animation: beam-pulse 12s ease-in-out infinite;
    z-index: 0;
}

@keyframes beam-pulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.65; }
}

/* 第二层光束 —— 更窄更亮，增强聚光感 - 柔化处理 */
.cosmic-light-beam-2 {
    position: absolute;
    top: -5%;
    right: -5%;
    width: 130%;
    height: 130%;
    background: linear-gradient(222deg,
        rgba(255, 255, 255, 0.08) 0%,
        rgba(100, 160, 255, 0.06) 10%,
        rgba(0, 82, 217, 0.04) 22%,
        rgba(0, 82, 217, 0.02) 35%,
        transparent 50%);
    animation: beam-pulse-2 8s ease-in-out infinite;
    transform-origin: top right;
    z-index: 0;
}

@keyframes beam-pulse-2 {
    0%, 100% { opacity: 0.35; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.05); }
}

/* ===== 右上角动态宇宙光线（从右上向下铺洒扩散）===== */
.cosmic-light-rays {
    position: absolute;
    top: 0;
    right: 0;
    width: 55%;
    height: 90%;
    z-index: 1;
    pointer-events: none;
    opacity: 0.5;
    animation: rays-breathe 14s ease-in-out infinite;
}

.cosmic-light-rays::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background:
        /* 主射线束：从右上角向下扇形展开 */
        conic-gradient(
            from 120deg at 100% 0%,
            transparent 0deg,
            rgba(74, 158, 255, 0.04) 8deg,
            rgba(74, 158, 255, 0.07) 12deg,
            rgba(74, 158, 255, 0.03) 18deg,
            transparent 22deg,
            transparent 28deg,
            rgba(74, 158, 255, 0.05) 33deg,
            rgba(74, 158, 255, 0.08) 37deg,
            rgba(74, 158, 255, 0.02) 43deg,
            transparent 48deg,
            transparent 55deg,
            rgba(74, 158, 255, 0.03) 60deg,
            rgba(74, 158, 255, 0.06) 65deg,
            rgba(74, 158, 255, 0.02) 72deg,
            transparent 78deg,
            transparent 85deg,
            rgba(200, 225, 255, 0.04) 90deg,
            rgba(200, 225, 255, 0.06) 95deg,
            rgba(200, 225, 255, 0.02) 102deg,
            transparent 110deg,
            transparent 360deg
        );
    filter: blur(1px);
    animation: rays-flow 18s ease-in-out infinite;
}

.cosmic-light-rays::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background:
        conic-gradient(
            from 130deg at 100% 0%,
            transparent 0deg,
            rgba(255, 255, 255, 0.03) 10deg,
            rgba(200, 225, 255, 0.04) 15deg,
            transparent 22deg,
            transparent 35deg,
            rgba(255, 255, 255, 0.02) 40deg,
            rgba(180, 210, 255, 0.05) 45deg,
            transparent 55deg,
            transparent 70deg,
            rgba(255, 255, 255, 0.03) 75deg,
            transparent 90deg,
            transparent 360deg
        );
    filter: blur(3px);
    animation: rays-flow 22s ease-in-out infinite reverse;
}

@keyframes rays-breathe {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.65; }
}

@keyframes rays-flow {
    0%, 100% { transform: scale(1) rotate(0deg); }
    33% { transform: scale(1.03) rotate(0.5deg); }
    66% { transform: scale(0.98) rotate(-0.3deg); }
}

/* ===== 星云（品牌蓝调）- 柔化处理 ===== */
.cosmic-nebula {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    animation: nebula-drift 35s ease-in-out infinite;
}

.nebula-1 {
    width: 700px; height: 700px;
    background: radial-gradient(circle,
        rgba(0, 82, 217, 0.15) 0%,
        rgba(0, 82, 217, 0.09) 30%,
        rgba(64, 128, 255, 0.04) 55%,
        transparent 78%);
    top: 12%; left: -10%;
    animation-delay: 0s;
}

.nebula-2 {
    width: 800px; height: 800px;
    background: radial-gradient(circle,
        rgba(64, 128, 255, 0.12) 0%,
        rgba(100, 160, 255, 0.08) 30%,
        rgba(150, 190, 255, 0.03) 55%,
        transparent 78%);
    bottom: 3%; right: -15%;
    animation-delay: -12s;
}

.nebula-3 {
    width: 600px; height: 600px;
    background: radial-gradient(circle,
        rgba(0, 82, 217, 0.10) 0%,
        rgba(0, 82, 217, 0.06) 30%,
        rgba(64, 128, 255, 0.02) 55%,
        transparent 78%);
    top: 50%; left: 22%;
    animation-delay: -22s;
}

.nebula-4 {
    width: 600px; height: 600px;
    background: radial-gradient(circle,
        rgba(100, 160, 255, 0.12) 0%,
        rgba(0, 82, 217, 0.06) 35%,
        transparent 70%);
    top: 65%; left: 3%;
    animation-delay: -18s;
    filter: blur(80px);
}

/* ===== 银河带（主带 · 品牌蓝调）===== */
.cosmic-galaxy-band {
    position: absolute;
    top: -25%;
    left: -25%;
    width: 150%;
    height: 150%;
    background:
        linear-gradient(125deg,
            transparent 20%,
            rgba(0, 82, 217, 0.10) 35%,
            rgba(64, 128, 255, 0.14) 45%,
            rgba(100, 160, 255, 0.08) 50%,
            rgba(0, 82, 217, 0.10) 55%,
            rgba(64, 128, 255, 0.06) 65%,
            transparent 80%);
    transform: rotate(-20deg);
    filter: blur(25px);
    animation: galaxy-shimmer 25s ease-in-out infinite;
}

@keyframes galaxy-shimmer {
    0%, 100% { opacity: 0.65; }
    50% { opacity: 0.95; }
}

/* 银河尘埃带（副带 · 品牌蓝调） */
.cosmic-galaxy-dust {
    position: absolute;
    top: 5%; left: -15%;
    width: 140%; height: 70%;
    background: linear-gradient(130deg,
        transparent 30%,
        rgba(0, 82, 217, 0.06) 42%,
        rgba(100, 160, 255, 0.04) 48%,
        rgba(0, 82, 217, 0.06) 54%,
        transparent 68%);
    transform: rotate(-20deg);
    filter: blur(60px);
    animation: galaxy-shift 45s ease-in-out infinite;
}

@keyframes galaxy-shift {
    0%, 100% { transform: rotate(-20deg) translateX(0); }
    50% { transform: rotate(-20deg) translateX(40px); }
}

/* ===== 深空颗粒纹理叠加（通过伪元素模拟）===== */
.cosmic-bg::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image:
        radial-gradient(1px 1px at 10% 20%, rgba(255,255,255,0.15) 0%, transparent 100%),
        radial-gradient(1px 1px at 30% 60%, rgba(255,255,255,0.1) 0%, transparent 100%),
        radial-gradient(1px 1px at 50% 10%, rgba(255,255,255,0.12) 0%, transparent 100%),
        radial-gradient(1px 1px at 70% 80%, rgba(255,255,255,0.08) 0%, transparent 100%),
        radial-gradient(1px 1px at 90% 40%, rgba(255,255,255,0.1) 0%, transparent 100%);
    background-size: 200px 200px, 300px 300px, 250px 250px, 350px 350px, 400px 400px;
    animation: dust-drift 60s linear infinite;
    pointer-events: none;
    opacity: 0.6;
}

@keyframes dust-drift {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-200px, -100px); }
}

@keyframes nebula-drift {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(60px, -50px) scale(1.1); }
    66% { transform: translate(-50px, 40px) scale(0.9); }
}

/* ==========================================
   导航栏
   ========================================== */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.3s ease;
    background: transparent;
}

.navbar.scrolled {
    background: rgba(5, 6, 15, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
    padding: 12px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.25rem; z-index: 1001; }
.logo-icon { display: flex; align-items: center; }
.logo-text {
    color: var(--logo-text-color, inherit);
    -webkit-text-fill-color: var(--logo-text-fill, inherit);
    background: var(--logo-text-bg, var(--gradient-primary));
    -webkit-background-clip: var(--logo-text-clip, text);
    background-clip: var(--logo-text-clip, text);
}

.nav-links { display: flex; align-items: center; gap: 4px; flex-wrap: nowrap; }

.nav-link {
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--nm-color, var(--text-nav-inactive));
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
    position: relative;
}

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

.nav-link.active {
    color: #FFFFFF !important;
    background: var(--brand-blue-soft);
    border-radius: var(--radius-sm);
}

/* 选中下划线精准紧贴文字底部 */
.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 18px;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 1px;
}

.nav-cta {
    background: var(--cb-bg, var(--gradient-primary));
    color: var(--cb-color, #FFFFFF) !important;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: var(--radius-xl);
}

.nav-right { display: flex; align-items: center; gap: 6px; }
.nav-cta-group { display: flex; align-items: center; gap: 6px; }

.nav-cta:hover { opacity: 0.9; transform: translateY(-1px); box-shadow: var(--shadow-glow); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; z-index: 1001; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text-primary); border-radius: 2px; transition: all 0.3s ease; }

/* ==========================================
   Hero 区域
   ========================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 120px 24px 80px;
    z-index: 2;
}

/* 折叠屏（如华为折叠屏展开/折叠）上，部分 WebView 对 100vh/dvh/svh 及
   align-items: safe center 计算异常，会导致 hero 高度塌缩或内容被居中挤出、
   出现"只看到星空/闪现后消失"。这里对窄屏（含折叠屏展开态）改为自然高度 +
   顶部对齐，彻底不依赖视口高度单位，保证内容始终从可视区顶端正常显示。 */
@media (max-width: 1024px) {
    .hero {
        min-height: auto;
        align-items: flex-start;
        padding-top: 110px;
    }
}

.hero-content { position: relative; z-index: 2; text-align: center; max-width: 800px; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(74, 158, 255, 0.08);
    border: 1px solid rgba(74, 158, 255, 0.2);
    border-radius: var(--radius-xl);
    font-size: 0.85rem;
    font-weight: 500;
    color: #4A9EFF;
    margin-bottom: 32px;
    backdrop-filter: blur(10px);
    text-shadow: 0 0 6px rgba(74, 158, 255, 0.25), 0 0 1px rgba(74, 158, 255, 0.15);
}

.badge-dot { width: 8px; height: 8px; background: #4A9EFF; border-radius: 50%; animation: dot-pulse 2s ease-in-out infinite; }

@keyframes dot-pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(74, 158, 255, 0.4); }
    50% { opacity: 0.7; box-shadow: 0 0 0 8px rgba(74, 158, 255, 0); }
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    color: #FFFFFF;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

/* "华商证达" 纯白粗体 */
.hero-title-main {
    color: #FFFFFF;
    font-weight: 900;
    display: block;
    margin-bottom: 0.5em;
}

/* "智启未来企业服务" / "帮质量人成长・帮认证人获客" 动态渐变 + 文字阴影 —— 强制单行不换行 */
.gradient-text {
    background: linear-gradient(135deg, var(--ht-color, #0052D9) 0%, var(--ht-lighter, #7DBFFF) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    /* 关键：单行显示，根据视口自动缩放保证一行内完整呈现 */
    display: block;
    white-space: nowrap;
    text-align: center;
    /* 自适应字号：比之前大两号 */
    font-size: clamp(1.8rem, 4.5vw, 3.2rem);
    line-height: 1.2;
    /* 极细通透发光描边 */
    filter: drop-shadow(0 1px 4px var(--ht-glow-1, rgba(0, 82, 217, 0.25)));
}
.hero-subtitle { font-size: 1.2rem; color: #FFFFFF; max-width: 600px; margin: 0 auto 40px; line-height: 1.8; }
.hero-buttons { display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 60px; }

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-xl);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary { background: var(--hbtn-bg, var(--gradient-primary)); color: var(--hbtn-color, #FFFFFF); box-shadow: 0 4px 20px rgba(0, 82, 217, 0.25); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 30px rgba(0, 82, 217, 0.35); }
.btn-secondary { background: rgba(255, 255, 255, 0.05); color: var(--hbtn-color, var(--text-primary)); border: 1px solid var(--border-color); }
.btn-secondary:hover { background: rgba(255, 255, 255, 0.1); border-color: var(--border-hover); transform: translateY(-2px); }
.btn-full { width: 100%; justify-content: center; }

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    position: relative;
}
.stat-item {
    text-align: center;
    position: relative;
    padding: 8px 16px;
}
.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--sn-color, var(--brand-blue, #4A9EFF));
    line-height: 1;
    /* 极细通透发光描边，动态跟随统计数字颜色（静态发光，避免持续动画在手机上闪烁/耗性能） */
    text-shadow:
        0 0 4px var(--sn-glow-1, rgba(74, 158, 255, 0.3)),
        0 0 8px var(--sn-glow-2, rgba(74, 158, 255, 0.15)),
        0 0 1px var(--sn-glow-3, rgba(74, 158, 255, 0.2));
}

/* 仅在桌面端（有 hover 指针设备）保留极轻微呼吸发光，移动端完全静态，杜绝持续闪烁 */
@media (min-width: 1024px) and (hover: hover) {
    .stat-number {
        animation: stat-glow 4s ease-in-out infinite;
    }
}

@keyframes stat-glow {
    0%, 100% {
        text-shadow:
            0 0 4px var(--sn-glow-1, rgba(74, 158, 255, 0.3)),
            0 0 8px var(--sn-glow-2, rgba(74, 158, 255, 0.15)),
            0 0 1px var(--sn-glow-3, rgba(74, 158, 255, 0.2));
    }
    50% {
        text-shadow:
            0 0 6px var(--sn-glow-4, rgba(74, 158, 255, 0.45)),
            0 0 12px var(--sn-glow-5, rgba(74, 158, 255, 0.25)),
            0 0 16px var(--sn-glow-6, rgba(74, 158, 255, 0.1));
    }
}

/* 粒子轨道效果 */
.stat-particles {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120px;
    height: 120px;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: -1;
}
.stat-particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: #4A9EFF;
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(74, 158, 255, 0.8);
    animation: stat-particle-orbit 4s linear infinite;
}

@keyframes stat-particle-orbit {
    0% {
        transform: rotate(0deg) translateX(40px) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% {
        transform: rotate(360deg) translateX(40px) rotate(-360deg);
        opacity: 0;
    }
}

.stat-suffix {
    font-size: 2rem;
    font-weight: 700;
    color: var(--sn-color, var(--brand-blue, #4A9EFF));
    text-shadow: 0 0 4px var(--sn-glow-1, rgba(74, 158, 255, 0.25)), 0 0 1px var(--sn-glow-3, rgba(74, 158, 255, 0.15));
}
.stat-label {
    display: block;
    font-size: 0.85rem;
    color: #999999;
    margin-top: 4px;
}
.stat-divider {
    width: 1px;
    height: 40px;
    background: linear-gradient(180deg, transparent, var(--sn-glow-1, rgba(74, 158, 255, 0.35)), transparent);
}

/* ==========================================
   区域标题
   ========================================== */
.section-header { text-align: center; margin-bottom: 32px; }
.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--accent-cyan);
    margin-bottom: 16px;
    padding: 6px 16px;
    background: rgba(0, 82, 217, 0.08);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(0, 82, 217, 0.15);
}
.section-title { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; margin-bottom: 8px; letter-spacing: -0.02em; color: var(--st-color, var(--text-primary)); text-shadow: 0 0 4px var(--st-glow-1, rgba(255, 255, 255, 0.3)); }
.section-desc { font-size: 1.1rem; color: var(--text-secondary); max-width: 600px; margin: 0 auto; white-space: pre-wrap; }

/* ==========================================
   平台区域
   ========================================== */
.platform-section { padding: 36px 0; position: relative; z-index: 2; }
/* 所有内容section 上下 padding 对称，避免上方 section 内容穿透到下方section 锚点可视区 */
.services-section, .news-section, .about-section, .contact-section { padding: 30px 0 56px; position: relative; z-index: 2; }
.platform-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }

.platform-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px;
    transition: all 0.4s ease;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.platform-card:hover { background: var(--bg-card-hover); border-color: var(--border-hover); transform: translateY(-4px); box-shadow: 0 8px 40px rgba(0,0,0,0.5); }
.card-glow { position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(ellipse at center, rgba(0, 82, 217, 0.03), transparent 50%); opacity: 0; transition: opacity 0.4s ease; pointer-events: none; }
.platform-card:hover .card-glow { opacity: 1; }
.card-icon { margin-bottom: 24px; display: inline-flex; padding: 16px; background: rgba(0, 82, 217, 0.05); border-radius: var(--radius-md); border: 1px solid rgba(0, 82, 217, 0.1); }
.card-title { font-size: 1.5rem; font-weight: 700; margin-bottom: 12px; }
.card-desc { color: var(--text-secondary); margin-bottom: 24px; line-height: 1.6; white-space: pre-wrap; }
.card-roles { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.role-item { display: flex; align-items: center; gap: 12px; font-size: 0.9rem; color: var(--text-secondary); }
.role-dot { width: 6px; height: 6px; background: var(--brand-blue); border-radius: 50%; flex-shrink: 0; }
.card-btn { display: inline-flex; align-items: center; gap: 8px; width: 100%; justify-content: center; padding: 14px 28px; font-size: 1rem; font-weight: 600; color: var(--text-primary); background: rgba(255, 255, 255, 0.05); border: 1px solid var(--border-color); border-radius: var(--radius-xl); transition: all 0.3s ease; cursor: pointer; }
.card-btn:hover { background: var(--gradient-primary); color: #FFFFFF; border-color: transparent; transform: translateY(-2px); box-shadow: 0 4px 20px rgba(0, 82, 217, 0.25); }

/* ==========================================
   产品服务区域
   ========================================== */
/* ===== 产品服务板块（双栏手风琴布局） ===== */
.services-section { padding: 30px 0 56px; position: relative; z-index: 2; }

.product-dual {
    display: flex;
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: flex-start;
}

.product-card {
    flex: 1;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
    border-color: var(--border-hover);
}

/* 封面图 */
.product-cover {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    background: rgba(255,255,255,0.02);
    overflow: hidden;
}
.product-cover img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.product-cover-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0,82,217,0.08), rgba(64,128,255,0.04));
}

/* 正文区 */
.product-body { padding: 24px 20px 16px; }
.product-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 6px;
}
.product-subtitle {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.5);
    margin-bottom: 12px;
    min-height: 1.2em;
}
.product-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* 按钮 */
.product-footer { padding: 0 20px 20px; }
.product-toggle-btn {
    width: 100%;
    padding: 12px 0;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 600;
    color: #FFFFFF;
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.3s ease;
}
.product-toggle-btn:hover { opacity: 0.9; }

/* 详情面板 */
.product-detail {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    border-top: 1px solid var(--border-color);
}
.product-card.expanded .product-detail {
    max-height: 600px;
    overflow-y: auto;
}
.product-detail-content {
    padding: 24px 20px;
    line-height: 1.75;
    color: var(--text-primary);
    font-size: 0.95rem;
}
.product-detail-content h2 { font-size: 1.25rem; font-weight: 700; margin: 16px 0 12px; color: var(--text-primary); }
.product-detail-content h3 { font-size: 1.1rem; font-weight: 700; margin: 14px 0 10px; }
.product-detail-content p { margin-bottom: 12px; color: var(--text-secondary); }
.product-detail-content ul, .product-detail-content ol { margin: 8px 0 16px 20px; color: var(--text-secondary); }
.product-detail-content li { margin-bottom: 6px; }
.product-detail-content img { max-width: 100%; border-radius: 8px; margin: 12px auto; display: block; cursor: zoom-in; }
.product-detail-content blockquote {
    border-left: 3px solid var(--brand-blue);
    padding: 8px 16px;
    margin: 12px 0;
    background: rgba(0,82,217,0.05);
    color: var(--text-secondary);
    border-radius: 0 8px 8px 0;
}
.product-detail-content hr { border: none; border-top: 1px solid var(--border-color); margin: 16px 0; }

/* 产品详情轮播图集 */
.product-detail-gallery {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    background: rgba(0,0,0,0.3);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 16px;
}
.product-detail-gallery:empty { display: none; }
.pd-gallery-track { width: 100%; height: 100%; position: relative; }
.pd-gallery-track img {
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0; transition: opacity 0.5s;
    cursor: zoom-in;
}
.pd-gallery-track img.active { cursor: zoom-in; }
.pd-gallery-track img.active { opacity: 1; }
.pd-gallery-dots {
    position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%);
    display: flex; gap: 6px; z-index: 2;
}
.pd-gallery-dots span {
    width: 7px; height: 7px; border-radius: 50%;
    background: rgba(255,255,255,0.4); cursor: pointer; transition: all 0.3s;
}
.pd-gallery-dots span.active { background: #fff; width: 20px; border-radius: 4px; }
.pd-gallery-prev, .pd-gallery-next {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: rgba(0,0,0,0.5); color: #fff; border: none;
    width: 30px; height: 30px; border-radius: 50%;
    cursor: pointer; font-size: 0.9rem; z-index: 2;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: opacity 0.3s;
}
.product-detail-gallery:hover .pd-gallery-prev,
.product-detail-gallery:hover .pd-gallery-next { opacity: 1; }
.pd-gallery-prev { left: 8px; } .pd-gallery-next { right: 8px; }

/* 图片灯箱（前台产品详情） */
.img-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
    animation: lightboxIn 0.2s ease;
}
@keyframes lightboxIn { from { opacity: 0; } to { opacity: 1; } }
.img-lightbox img {
    max-width: 90vw;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.5);
}

/* 灯箱导航按钮 */
.lb-close, .lb-prev, .lb-next {
    position: absolute; z-index: 10;
    background: rgba(0,0,0,0.5); color: #fff;
    border: none; border-radius: 50%;
    cursor: pointer; font-size: 1.2rem;
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.2s;
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: rgba(0,0,0,0.8); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
.lb-counter {
    position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
    background: rgba(0,0,0,0.5); color: #fff;
    padding: 4px 14px; border-radius: 12px; font-size: 0.85rem; z-index: 10;
}

@media (max-width: 768px) {
    .lb-close, .lb-prev, .lb-next { width: 34px; height: 34px; font-size: 1rem; }
    .lb-prev { left: 8px; } .lb-next { right: 8px; }
}

/* 展开/收起时按钮文字变化 */
.product-card.expanded .product-toggle-btn::after { content: ' ▲'; font-size: 0.7rem; }
.product-card:not(.expanded) .product-toggle-btn::after { content: ' ▼'; font-size: 0.7rem; }

/* 响应式 */
@media (max-width: 768px) {
    .product-dual { flex-direction: column; }
    .product-card { width: 100%; }
}

/* ==========================================
   产业资讯区域
   ========================================== */
.news-section { padding: 30px 0 56px; position: relative; z-index: 2; }
.news-section .container { max-width: 800px; }

/* 紧凑列表式布局：适配每日多条资讯 */
.news-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--bg-card);
    backdrop-filter: blur(10px);
}

.news-loading {
    text-align: center;
    padding: 80px 0;
    color: var(--text-muted);
}

.news-loading-spinner {
    width: 40px; height: 40px;
    border: 3px solid var(--border-color);
    border-top-color: var(--brand-blue, #0052D9);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 16px;
}

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

.news-empty {
    text-align: center;
    padding: 80px 0;
    color: var(--text-muted);
}

.news-more-wrap {
    text-align: center;
    padding: 32px 0;
    display: flex;
    justify-content: center;
}

/* 资讯列表页容器宽度 */
.news-list-section .container { max-width: 800px; }

/* 资讯列表页返回按钮（防 SVG 默认 300x150）*/
.news-back-btn { display: inline-flex; align-items: center; gap: 6px; color: var(--text-secondary, rgba(255,255,255,0.7)); font-size: 0.9rem; text-decoration: none; padding: 8px 0; transition: color 0.2s; }
.news-back-btn:hover { color: var(--brand-blue, #0052D9); }
.news-back-btn svg { width: 18px !important; height: 18px !important; flex-shrink: 0; }

/* 单条资讯：横向紧凑排列 */
.news-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    border-bottom: 1px solid var(--border-color);
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
}

.news-item:last-child { border-bottom: none; }

.news-item:hover {
    background: var(--bg-card-hover);
}

.news-item-date {
    font-size: 0.78rem;
    color: var(--brand-blue, #0052D9);
    white-space: nowrap;
    min-width: 90px;
    flex-shrink: 0;
}

.news-item-title {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text, #e0e0e0);
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.4;
}

.news-item:hover .news-item-title {
    color: #ffffff;
}

.news-item-badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    background: rgba(0, 82, 217, 0.12);
    color: var(--brand-blue, #0052D9);
    border-radius: 4px;
    font-size: 0.7rem;
    flex-shrink: 0;
}

.news-item-arrow {
    font-size: 0.9rem;
    color: var(--text-muted);
    flex-shrink: 0;
    transition: all 0.25s ease;
}

.news-item:hover .news-item-arrow {
    color: var(--brand-blue, #0052D9);
    transform: translateX(4px);
}

/* 旧卡片样式已废弃（改用紧凑列表布局） */
.news-card { display: none; }

/* ==========================================
   关于我们
   ========================================== */
.about-section { padding: 30px 0 56px; position: relative; z-index: 2; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-text { font-size: 1rem; color: var(--text-secondary); line-height: 1.8; margin-bottom: 20px; }
.about-features { display: flex; flex-direction: column; gap: 16px; margin-top: 32px; }
.feature-item { display: flex; align-items: center; gap: 12px; font-size: 0.95rem; }
.feature-check { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; background: rgba(0, 82, 217, 0.1); border-radius: 50%; flex-shrink: 0; }

.about-visual { display: flex; align-items: center; justify-content: center; }

/* 关于我们右侧轮播 */
.about-carousel {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255,255,255,0.02);
}
.about-carousel-track {
    width: 100%;
    height: 100%;
    position: relative;
}
.about-carousel-track img {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.8s ease;
    border-radius: 12px;
}
.about-carousel-track img.active { opacity: 1; }
.about-carousel-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
}
.about-carousel-dots span {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: all 0.3s;
}
.about-carousel-dots span.active { background: #FFFFFF; width: 24px; border-radius: 4px; }
.about-carousel-prev, .about-carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.4);
    color: #fff;
    border: none;
    font-size: 1.2rem;
    width: 36px; height: 36px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 2;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
}
.about-carousel:hover .about-carousel-prev,
.about-carousel:hover .about-carousel-next { opacity: 1; }
.about-carousel-prev { left: 10px; }
.about-carousel-next { right: 10px; }
.about-carousel-prev:hover, .about-carousel-next:hover { background: rgba(0,0,0,0.6); }

/* 移动端轮播适配 */
@media (max-width: 768px) {
    .about-carousel { width: 100%; }
    .about-carousel-prev, .about-carousel-next { opacity: 1; width: 30px; height: 30px; font-size: 1rem; }
}

@keyframes orb-float {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.05); }
}
@keyframes ring-rotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* ==========================================
   联系我们
   ========================================== */
.contact-section { padding: 30px 0 56px; position: relative; z-index: 2; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 20px; }

.contact-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.contact-card:hover { background: var(--bg-card-hover); border-color: var(--border-hover); transform: translateX(4px); }
.contact-icon { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; background: rgba(0, 82, 217, 0.05); border-radius: var(--radius-sm); border: 1px solid rgba(0, 82, 217, 0.1); flex-shrink: 0; }
.contact-card h4 { font-size: 0.85rem; font-weight: 600; color: var(--text-secondary); margin-bottom: 4px; }
.contact-card p { font-size: 0.95rem; color: var(--text-primary); }

/* 微信咨询卡片：图标顶部对齐 */
.wechat-card { align-items: flex-start !important; }

.contact-form { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-lg); padding: 40px; backdrop-filter: blur(10px); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 500; color: var(--text-secondary); margin-bottom: 8px; }
.form-group input, .form-group textarea {
    width: 100%;
    padding: 14px 16px;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
    outline: none;
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--accent-cyan); background: rgba(0, 82, 217, 0.03); box-shadow: 0 0 0 3px rgba(0, 82, 217, 0.08); }
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-muted); }
.form-group textarea { resize: vertical; min-height: 120px; }

/* ==========================================
   页脚
   ========================================== */
.footer { padding: 20px 0; position: relative; z-index: 2; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 60px; margin-bottom: 60px; }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-desc { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.6; }
.footer-links h4 { font-size: 0.9rem; font-weight: 600; margin-bottom: 20px; color: var(--text-primary); }
.footer-links a { display: block; font-size: 0.85rem; color: var(--text-secondary); padding: 6px 0; transition: all 0.3s ease; }
.footer-links a:hover { color: var(--accent-cyan); transform: translateX(4px); }
.footer-bottom { text-align: center; }
.footer-bottom p { font-size: 0.85rem; color: var(--text-muted); }
.footer-bottom a { color: var(--text-secondary); transition: color 0.3s ease; }
.footer-bottom a:hover { color: var(--accent-cyan); }

.footer-beian {
    margin-top: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
    font-size: 0.75rem;
    color: var(--text-muted);
}
.footer-beian a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}
.footer-beian a:hover { color: var(--accent-cyan); }
.beian-gap {
    color: rgba(255,255,255,0.15);
    user-select: none;
}
.beian-police {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
/* 公网安备图标通过 ::before 伪元素显示，绕过 img 标签布局限制 */
.beian-police::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
}
/* 从 data-icon 属性读取图标 URL */
.beian-police[data-icon]:not([data-icon=""])::before {
    background-image: var(--ps-icon);
}
.beian-police img {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    opacity: 1;
    vertical-align: middle;
}

/* ==========================================
   弹窗
   ========================================== */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 20px;
}

.modal-overlay.active { opacity: 1; visibility: visible; }

.modal-content {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 48px;
    max-width: 420px;
    width: 100%;
    text-align: center;
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: all 0.3s ease;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-overlay.active .modal-content { transform: scale(1) translateY(0); }

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    border-radius: 50%;
    border: 1px solid transparent;
    background: transparent;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
}

.modal-close:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.12);
    transform: scale(1.1);
}

.modal-close:active {
    transform: scale(0.9);
    background: rgba(255, 255, 255, 0.12);
}

.modal-icon { display: inline-flex; padding: 16px; background: rgba(0, 82, 217, 0.05); border-radius: var(--radius-md); border: 1px solid rgba(0, 82, 217, 0.1); margin-bottom: 24px; }
.modal-title { font-size: 1.5rem; font-weight: 700; margin-bottom: 8px; }
.modal-desc { font-size: 0.9rem; color: var(--text-secondary); margin-bottom: 32px; }

.qr-code-placeholder { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.qr-pattern { width: 200px; height: 200px; position: relative; border: 2px solid var(--border-color); border-radius: var(--radius-sm); background: rgba(255, 255, 255, 0.02); display: flex; align-items: center; justify-content: center; }
.qr-corner { position: absolute; width: 30px; height: 30px; border: 2px solid var(--accent-cyan); border-radius: 4px; }
.qr-tl { top: 8px; left: 8px; border-right: none; border-bottom: none; }
.qr-tr { top: 8px; right: 8px; border-left: none; border-bottom: none; }
.qr-bl { bottom: 8px; left: 8px; border-right: none; border-top: none; }
.qr-dots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.qr-dots span { width: 12px; height: 12px; background: var(--accent-cyan); border-radius: 2px; opacity: 0.6; }
.qr-center { position: absolute; animation: qr-spin 3s linear infinite; }
@keyframes qr-spin { to { transform: rotate(360deg); } }
.qr-tip { font-size: 0.85rem; color: var(--text-muted); }

/* 资讯详情弹窗 */
.news-modal-content {
    max-width: 800px;
    text-align: left;
    padding: 0;
}

.news-modal-header {
    padding: 32px 40px 20px;
    border-bottom: 1px solid var(--border-color);
}

.news-modal-date {
    font-size: 0.85rem;
    color: var(--accent-cyan);
    margin-bottom: 8px;
}

.news-modal-title {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.4;
}

.news-modal-body-content {
    padding: 24px 40px 40px;
    line-height: 1.8;
    font-size: 0.95rem;
    color: var(--text-secondary);
    max-height: 50vh;
    overflow-y: auto;
}

.news-modal-body-content h3 { font-size: 1.2rem; font-weight: 700; margin: 20px 0 10px; color: var(--text-primary); }
.news-modal-body-content p { margin-bottom: 12px; }
.news-modal-body-content img { max-width: 100%; border-radius: 8px; margin: 12px 0; }
.news-modal-body-content a { color: var(--accent-cyan); text-decoration: underline; }
.news-modal-body-content ul, .news-modal-body-content ol { padding-left: 24px; margin-bottom: 12px; }

.news-modal-iframe-wrap {
    padding: 0;
    overflow: hidden;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.news-modal-iframe-wrap iframe {
    width: 100%;
    height: 60vh;
    border: none;
}

.news-modal-external-link {
    padding: 16px 40px;
    background: rgba(139, 92, 246, 0.05);
    border-top: 1px solid var(--border-color);
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.news-modal-external-link a {
    color: var(--accent-purple);
    text-decoration: underline;
}

/* ==========================================
   Toast 提示
   ========================================== */
.toast {
    position: fixed;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    padding: 14px 28px;
    background: rgba(10, 11, 26, 0.95);
    border: 1px solid var(--border-hover);
    border-radius: 10px;
    font-size: 0.9rem;
    color: var(--text-primary);
    backdrop-filter: blur(20px);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.toast.show { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.toast.success { border-color: #10b981; }
.toast.error { border-color: #ef4444; }

/* ==========================================
   动画
   ========================================== */
[data-animate]:not(.fallback-animated) { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
[data-animate].animated, [data-animate].fallback-animated { opacity: 1; transform: translateY(0); }
/* JS 加载失败/未运行兜底：2 秒后全部显示 */
[data-animate]:not(.animated):not(.fallback-animated) { animation: animate-fallback 0.1s 2s forwards; }
@keyframes animate-fallback { to { opacity: 1; transform: translateY(0); } }

/* ==========================================
   响应式设计（五级断点：1199↓/900↓/768↓/480↓/375↓）
   移动端重点适配 320px-428px 范围
   ========================================== */

/* 全局防横向溢出 */
html, body { overflow-x: hidden; max-width: 100vw; -webkit-overflow-scrolling: touch; touch-action: manipulation; }
body.menu-open { position: fixed; width: 100%; }

/* ---- 平板端：768px - 1199px ---- */
@media (max-width: 1199px) {
    .container { padding: 0 20px; }
    .nav-container { gap: 16px; }
    .logo-text { font-size: 1.1rem; }
    .logo-icon { width: 28px; height: 28px; }
    .logo-icon img { width: 28px !important; height: 28px !important; }
    .nav-link { font-size: 0.85rem; padding: 6px 12px; }
    .nav-cta { padding: 6px 14px; font-size: 0.82rem; }
    .nav-cta-group { gap: 6px; }
    .nav-links { gap: 4px; }
    .nav-right { gap: 8px; }
    .hero { padding: 120px 20px 80px; }
    .platform-section, .services-section, .news-section, .about-section, .contact-section { padding: 80px 0 30px; }
    .section-header { margin-bottom: 24px; }
}

/* ---- 小平板/大手机：769px - 900px ---- */
@media (max-width: 900px) {
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .platform-card { padding: 32px; }
    .product-dual { flex-direction: column; gap: 20px; }
    .product-card { width: 100%; }
    .hero { padding: 100px 16px 60px; }
    .hero-title { font-size: clamp(1.8rem, 7vw, 3rem); }
    .hero-stats { gap: 24px; }
    .stat-number { font-size: 2rem; }
}

/* ---- 手机端：<768px ---- */
@media (max-width: 768px) {
    .container { padding: 0 16px; }

    /* 移动端禁用统计数字粒子的持续轨道动画，避免弱机闪烁/卡顿 */
    .stat-particles, .stat-particle { display: none !important; }

    /* 移动端冻结宇宙背景装饰层的无限动画与滤镜：这些纯装饰的动画在弱机上
       持续占用合成线程，导致滚动掉帧、菜单/弹窗卡慢。改为静止态（仅保留静态渐变底），
       视觉几乎无差但滚动流畅度大幅提升 */
    .cosmic-sun,
    .cosmic-light-beam,
    .cosmic-light-beam-2,
    .cosmic-light-rays,
    .cosmic-light-rays::before,
    .cosmic-light-rays::after,
    .cosmic-nebula,
    .nebula-1, .nebula-2, .nebula-3, .nebula-4,
    .cosmic-galaxy-band,
    .cosmic-galaxy-dust,
    .cosmic-particles {
        animation: none !important;
        filter: none !important;
        opacity: 0.5 !important;
    }

    /* ===== 导航栏移动端 — 右侧抽屉式汉堡菜单 ===== */
    /* 去掉 navbar 的 backdrop-filter，否则会给后代 position:fixed 抽屉创建包含块，锁在 64px 高度 */
    .navbar { backdrop-filter: none !important; background: rgba(10, 11, 26, 0.95) !important; }
    .nav-toggle {
        display: flex; flex-direction: column; gap: 4px;
        padding: 12px; min-width: 44px; min-height: 44px;
        align-items: center; justify-content: center;
        z-index: 1002; cursor: pointer;
        background: rgba(0, 82, 217, 0.08);
        border: 1px solid rgba(0, 82, 217, 0.2);
        border-radius: 10px;
        transition: all 0.3s;
    }
    .nav-toggle:active { transform: scale(0.95); }
    .nav-toggle span {
        display: block; width: 22px; height: 2px;
        background: rgba(255,255,255,0.9); border-radius: 2px;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .nav-toggle.active {
        background: rgba(245, 200, 66, 0.12);
        border-color: rgba(245, 200, 66, 0.4);
    }
    .nav-toggle.active span { background: #f5c842; }
    .nav-toggle.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
    .nav-toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
    .nav-toggle.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

    /* 默认隐藏抽屉；JS 加 .open 类后才会显示 */
    .nav-right { display: none !important; }

    /* 抽屉打开态（由 JS .open class 触发） */
    .nav-right.open {
        display: flex !important;
        flex-direction: column;
        position: fixed;
        top: 12px; right: 12px; bottom: 12px;
        width: 300px; max-width: 86vw;
        z-index: 1001;
        background: linear-gradient(165deg, #0a1530 0%, #0f1f3f 50%, #0a1530 100%);
        border: 1px solid rgba(0, 82, 217, 0.3);
        border-radius: 18px;
        padding: 70px 18px 24px;
        box-shadow:
            0 0 0 1px rgba(245, 200, 66, 0.12),
            0 0 60px rgba(0, 82, 217, 0.25),
            0 20px 60px rgba(0, 0, 0, 0.7),
            inset 0 1px 0 rgba(255, 255, 255, 0.06);
        overflow-y: auto; overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        animation: drawerSlideIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        /* 移动端去掉 backdrop-filter：在星空背景上做模糊合成极耗性能，
           导致菜单打开慢、下滑卡。背景本身已是不透明渐变，去掉模糊视觉无损但显著提速 */
    }
    .nav-right.open::before {
        content: '';
        position: absolute;
        top: 0; left: 0; right: 0; height: 56px;
        background: linear-gradient(180deg, rgba(10, 21, 48, 0.95) 0%, rgba(10, 21, 48, 0) 100%);
        border-bottom: 1px solid rgba(255, 255, 255, 0.04);
        pointer-events: none;
    }
    .nav-right.open::after {
        content: 'MENU';
        position: absolute;
        top: 22px; left: 24px;
        font-size: 0.7rem; font-weight: 700; letter-spacing: 0.2em;
        color: rgba(245, 200, 66, 0.7);
        pointer-events: none;
    }
    @keyframes drawerSlideIn {
        from { opacity: 0; transform: translateX(20px) scale(0.96); }
        to { opacity: 1; transform: translateX(0) scale(1); }
    }

    /* 抽屉内导航链接容器（覆盖基础样式的横向 flex） */
    .nav-right.open .nav-links {
        display: flex !important;
        flex-direction: column !important;
        flex-wrap: nowrap !important;
        gap: 0 !important;
        align-items: stretch !important;
        width: 100% !important;
    }

    /* 抽屉内每个导航项 */
    .nav-right.open .nav-link {
        display: block !important;
        width: 100% !important;
        box-sizing: border-box;
        padding: 14px 16px;
        font-size: 0.95rem;
        color: var(--text-primary, #fff);
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.04);
        border-radius: 10px;
        text-decoration: none;
        margin: 0 0 8px 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        transition: all 0.2s;
        position: relative;
    }
    .nav-right.open .nav-link::before {
        content: '';
        position: absolute;
        left: 6px; top: 50%; transform: translateY(-50%);
        width: 3px; height: 0; border-radius: 2px;
        background: linear-gradient(180deg, #0052D9, #4080FF);
        transition: height 0.2s;
    }
    .nav-right.open .nav-link:hover,
    .nav-right.open .nav-link.active {
        background: rgba(0, 82, 217, 0.12);
        border-color: rgba(0, 82, 217, 0.4);
        color: #fff;
        transform: translateX(2px);
    }
    .nav-right.open .nav-link:hover::before,
    .nav-right.open .nav-link.active::before { height: 60%; }

    /* 抽屉内 CTA 分组 */
    .nav-right.open .nav-cta-group {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-top: 20px;
        padding-top: 18px;
        border-top: 1px solid rgba(255, 255, 255, 0.06);
    }
    .nav-right.open .nav-cta-group::before {
        content: 'AI TOOLS';
        display: block;
        font-size: 0.65rem; font-weight: 700; letter-spacing: 0.2em;
        color: rgba(245, 200, 66, 0.6);
        margin-bottom: 4px;
    }
    .nav-right.open .nav-cta {
        display: block;
        width: 100%;
        margin: 0 !important;
        padding: 12px 16px;
        font-size: 0.9rem;
        text-align: center;
        background: linear-gradient(135deg, rgba(0, 82, 217, 0.18) 0%, rgba(64, 128, 255, 0.18) 100%);
        border: 1px solid rgba(0, 82, 217, 0.3);
        border-radius: 10px;
        color: #fff;
        text-decoration: none;
        opacity: 1 !important;
        visibility: visible !important;
        transition: all 0.2s;
    }
    .nav-right.open .nav-cta:hover {
        background: linear-gradient(135deg, #0052D9 0%, #4080FF 100%);
        border-color: transparent;
        transform: translateY(-1px);
        box-shadow: 0 4px 16px rgba(0, 82, 217, 0.4);
    }

    /* 遮罩层 */
    .nav-backdrop {
        position: fixed; inset: 0;
        background: rgba(0,0,0,0.5);
        z-index: 998;
        opacity: 0; visibility: hidden;
        transition: opacity 0.3s;
    }
    .nav-backdrop.active { opacity: 1; visibility: visible; }

    /* Hero */
    .hero { padding: 100px 16px 60px; min-height: auto; }
    .hero-title { font-size: clamp(1.6rem, 7vw, 2.4rem); }
    .hero-title-main { font-size: clamp(1.4rem, 5.5vw, 1.8rem); }
    .gradient-text { font-size: clamp(1.2rem, 4vw, 1.6rem); }
    .hero-subtitle { font-size: clamp(0.85rem, 3.5vw, 0.95rem); max-width: 100%; }
    .hero-buttons { flex-direction: column; gap: 12px; }
    .hero-buttons .btn { width: 100%; justify-content: center; min-height: 44px; }
    .hero-badge { font-size: 0.75rem; padding: 6px 14px; }
    .hero-stats { flex-direction: column; gap: 20px; }
    .stat-divider { width: 40px; height: 1px; }
    .stat-number { font-size: clamp(1.5rem, 6vw, 2rem); }
    .stat-suffix { font-size: clamp(1.2rem, 5vw, 1.6rem); }
    .stat-label { font-size: 0.75rem; }
    .stat-item { padding: 4px 8px; }

    /* 板块标题 */
    .section-header { margin-bottom: 20px; }
    .section-tag { font-size: 0.7rem; padding: 4px 12px; }
    .section-title { font-size: clamp(1.5rem, 5vw, 2rem); }
    .section-desc { font-size: clamp(0.85rem, 3.5vw, 1rem); max-width: 100%; padding: 0 8px; }

    /* 板块间距 */
    .platform-section, .services-section, .news-section, .about-section { padding: 50px 0 20px; }
    .contact-section { padding: 50px 0 16px; }

    /* 平台卡片 */
    .platform-grid { grid-template-columns: 1fr; gap: 20px; }
    .platform-card { padding: 24px 20px; }
    .card-title { font-size: 1.2rem; }
    .card-desc { font-size: 0.85rem; }
    .card-btn { padding: 12px 20px; font-size: 0.9rem; min-height: 44px; }

    /* 关于我们 */
    .about-grid { grid-template-columns: 1fr; gap: 30px; }
    .about-text { font-size: 0.9rem; line-height: 1.65; }
    .feature-item { font-size: 0.85rem; }

    /* 产品卡片 */
    .product-body { padding: 16px 14px 12px; }
    .product-footer { padding: 0 14px 16px; }
    .product-title { font-size: 1.1rem; }
    .product-subtitle { font-size: 0.8rem; }
    .product-desc { font-size: 0.85rem; line-height: 1.6; }
    .product-toggle-btn { padding: 10px 0; font-size: 0.9rem; min-height: 44px; }
    .product-detail-content { padding: 16px 14px; font-size: 0.85rem; }

    /* 资讯列表 */
    .news-section .container { max-width: 100%; padding: 0 12px; }
    .news-item { padding: 12px 14px; gap: 8px; flex-wrap: wrap; }
    .news-item-date { font-size: 0.72rem; min-width: 70px; }
    .news-item-title { font-size: 0.85rem; white-space: normal !important; }
    .news-item-badge { font-size: 0.65rem; padding: 1px 6px; }
    .news-item-arrow { font-size: 0.8rem; }

    /* 联系我们 */
    .contact-grid { grid-template-columns: 1fr; gap: 28px; }
    .contact-card { padding: 14px; gap: 12px; }
    .contact-card h4 { font-size: 0.78rem; }
    .contact-card p { font-size: 0.85rem; }
    .contact-icon { width: 38px; height: 38px; min-width: 38px; }
    .contact-form { padding: 20px 16px; }
    .form-group { margin-bottom: 14px; }
    .form-group label { font-size: 0.8rem; }
    .form-group input, .form-group textarea { padding: 12px 14px; font-size: 0.9rem; min-height: 44px; }
    .form-group textarea { min-height: 100px; }

    /* 页脚 */
    .footer { padding: 16px 0; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px 16px; }
    .footer-logo { font-size: 0.9rem; }
    .footer-desc { font-size: 0.8rem; }
    .footer-links h4 { font-size: 0.82rem; margin-bottom: 12px; }
    .footer-links a { font-size: 0.78rem; padding: 4px 0; }
    .footer-bottom p { font-size: 0.75rem; }

    /* 弹窗 */
    .modal-overlay { padding: 12px; align-items: flex-start; padding-top: 40px; }
    .modal-content { padding: 28px 20px; max-width: 100%; max-height: 85vh; }
    .modal-title { font-size: 1.2rem; }
    .modal-desc { font-size: 0.82rem; }
    .modal-close { top: 8px; right: 8px; width: 44px; height: 44px; }

    /* 资讯详情弹窗 */
    .news-modal-content { max-width: 100%; }
    .news-modal-header { padding: 20px 16px; }
    .news-modal-title { font-size: 1.15rem; }
    .news-modal-date { font-size: 0.75rem; }
    .news-modal-body-content { padding: 16px 16px 24px; font-size: 0.85rem; max-height: 55vh; }
    .news-modal-external-link { padding: 12px 16px; font-size: 0.75rem; }
    .news-modal-iframe-wrap iframe { height: 50vh; }

    /* Toast */
    .toast { bottom: 20px; left: 16px; right: 16px; transform: translateY(20px); text-align: center; font-size: 0.82rem; padding: 12px 20px; }
    .toast.show { transform: translateY(0); }

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

    /* 文字换行 */
    h1, h2, h3, h4, p, span, a, label { word-wrap: break-word; overflow-wrap: break-word; }

    /* 确保所有按钮最低触摸尺寸 */
    .btn { min-height: 44px; padding: 12px 22px; font-size: 0.9rem; }
    .btn-secondary { min-height: 44px; }
    .card-btn { min-height: 44px; }
}

/* ---- 小屏手机 <480px（320px - 428px 核心区间）---- */
@media (max-width: 480px) {
    body { -webkit-text-size-adjust: 100%; }

    .container { padding: 0 12px; }
    .navbar { padding: 8px 0; }
    .navbar.scrolled { padding: 6px 0; }
    .nav-logo { gap: 6px; font-size: 1rem; }
    .logo-icon { width: 24px; height: 24px; }
    .logo-icon img { width: 24px !important; height: 24px !important; }
    .logo-text { font-size: 0.95rem; }
    .nav-toggle { padding: 10px; margin: 0; }

    /* 抽屉在更小屏占更多宽度 */
    .nav-right.open { width: 320px; max-width: 88vw; top: 8px; right: 8px; bottom: 8px; padding: 64px 16px 20px; }

    .hero { padding: 80px 12px 40px; }
    .hero-title { font-size: clamp(1.4rem, 7.5vw, 1.8rem); }
    .hero-title-main { font-size: clamp(1.2rem, 6vw, 1.5rem); }
    .gradient-text { font-size: clamp(1.05rem, 5vw, 1.3rem); }
    .hero-subtitle { font-size: 0.8rem; line-height: 1.55; }
    .hero-badge { font-size: 0.7rem; padding: 4px 12px; margin-bottom: 20px; }
    .hero-buttons { gap: 8px; }
    .hero-stats { gap: 14px; }
    .stat-number { font-size: 1.6rem; }
    .stat-suffix { font-size: 1.3rem; }
    .stat-label { font-size: 0.7rem; }

    .platform-card { padding: 20px 16px; }
    .card-title { font-size: 1.1rem; }
    .card-desc { font-size: 0.8rem; }
    .card-btn { padding: 10px 16px; font-size: 0.85rem; }
    .role-item { font-size: 0.78rem; gap: 8px; }

    .product-card { border-radius: var(--radius-sm); }
    .product-cover { padding-top: 48%; }
    .product-body { padding: 12px 10px; }
    .product-title { font-size: 1rem; }
    .product-desc { font-size: 0.8rem; }
    .product-toggle-btn { font-size: 0.85rem; padding: 10px 0; }
    .product-detail-content { padding: 12px 10px; font-size: 0.8rem; }

    .news-item { padding: 10px 12px; }
    .news-item-date { font-size: 0.68rem; min-width: 60px; }
    .news-item-title { font-size: 0.8rem; }

    .about-grid { gap: 24px; }
    .about-text { font-size: 0.82rem; }
    .feature-item { font-size: 0.78rem; gap: 8px; }
    .feature-check { width: 22px; height: 22px; min-width: 22px; }

    .contact-grid { gap: 16px; }
    .contact-card { padding: 10px 14px; }
    .contact-icon { width: 32px; height: 32px; min-width: 32px; }
    .contact-form { padding: 16px 12px; border-radius: var(--radius-sm); }
    .form-group label { font-size: 0.75rem; }
    .form-group input, .form-group textarea { padding: 10px 12px; font-size: 0.85rem; font-size: max(0.85rem, 12px); }

    .footer-grid { grid-template-columns: 1fr; gap: 16px; }
    .footer-links h4 { font-size: 0.78rem; margin-bottom: 8px; }
    .footer-links a { font-size: 0.75rem; }

    .modal-overlay { padding: 8px; padding-top: 24px; }
    .modal-content { padding: 24px 16px; border-radius: var(--radius-sm); }
    .modal-title { font-size: 1.1rem; }
    .modal-desc { font-size: 0.78rem; margin-bottom: 20px; }
    .modal-close { width: 40px; height: 40px; top: 6px; right: 6px; }
    .qr-pattern { width: 160px; height: 160px; }
    .news-modal-header { padding: 16px 12px; }
    .news-modal-title { font-size: 1.05rem; }
    .news-modal-body-content { padding: 12px 12px 20px; font-size: 0.8rem; }

    #sync-indicator { bottom: 12px; right: 8px; padding: 6px 12px; font-size: 0.68rem; }
}

/* ---- 超小屏 <375px ---- */
@media (max-width: 375px) {
    .hero-title { font-size: 1.3rem; }
    .hero-title-main { font-size: 1.1rem; }
    .gradient-text { font-size: 1rem; }
    .product-cover { padding-top: 44%; }
    .news-item-title { font-size: 0.75rem; }
    .contact-form { padding: 14px 10px; }
    .modal-content { padding: 20px 12px; }
    .modal-close { width: 36px; height: 36px; }
}

/* 滚动条 */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.1); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.2); }

::selection { background: rgba(0, 82, 217, 0.2); color: var(--text-primary); }

/* ==========================================
   数据同步指示器
   ========================================== */
#sync-indicator {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(15, 20, 40, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 8px 16px;
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
    font-size: 0.75rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

#sync-indicator:hover {
    border-color: var(--brand-blue);
    box-shadow: 0 4px 32px rgba(0, 82, 217, 0.2);
}

.sync-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
    transition: background 0.3s ease;
}

.sync-dot.sync-synced {
    background: #00c853;
    box-shadow: 0 0 8px rgba(0, 200, 83, 0.4);
}

.sync-dot.sync-checking {
    background: #ffab00;
    box-shadow: 0 0 8px rgba(255, 171, 0, 0.4);
    animation: sync-pulse 0.8s ease-in-out infinite;
}

.sync-dot.sync-error {
    background: #ff1744;
    box-shadow: 0 0 8px rgba(255, 23, 68, 0.4);
}

.sync-text {
    color: rgba(255, 255, 255, 0.7);
    white-space: nowrap;
    font-size: 0.75rem;
}

@keyframes sync-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}
