/* ========================================
   广东恒纳智能设备有限公司 - 企业官网样式
   风格：简约大气、工业风、外贸定位
   v2.0 - 全面优化版
   ======================================== */

/* ========================================
   CSS设计系统 v4.0 — 深空科技暗色主题
   包含：色彩体系 / Type Scale / 间距 / 圆角 / 阴影 / 动画 / 科技光效
   WCAG 2.1 AA 合规 | 蓝-青-紫 冷色调高亮
   ======================================== */

/* ---- 深空科技色彩体系 ---- */
:root {
    /* === 主背景色（深空黑蓝） === */
    --bg-deep:    #070b14;      /* 最深背景 */
    --bg:         #0b0f1c;      /* 页面主背景 */
    --bg-alt:     #0e1324;      /* 次背景（区块交替） */
    --bg-section: #111827;      /* 区块卡片背景 */
    --bg-surface: #151b2e;      /* 悬浮面板背景 */
    --bg-elevated:#1a2035;      /* 更高层级（卡片hover等） */

    /* === 品牌色（保留金色品牌识别） === */
    --primary:       #050812;   /* 最深色（导航/页脚/CTA背景） */
    --primary-light: #0e1324;
    --primary-rgb:   5, 8, 18;

    /* === 强调色（金色品牌） === */
    --accent:        #c9a227;           /* 主强调色 */
    --accent-dark:   #a8891b;
    --accent-light:  #e0c44a;
    --accent-rgb:    201, 162, 39;

    /* === 科技冷色调高亮 === */
    --tech-cyan:     #06b6d4;           /* 青蓝色科技高亮 */
    --tech-cyan-dark:#0891b2;
    --tech-cyan-light:#22d3ee;
    --tech-cyan-rgb: 6, 182, 212;

    --tech-blue:     #3b82f6;           /* 蓝色科技高亮 */
    --tech-blue-dark:#2563eb;
    --tech-blue-rgb: 59, 130, 246;

    --tech-purple:   #8b5cf6;           /* 紫色科技点缀 */
    --tech-purple-rgb:139, 92, 246;

    /* === 文字色（高对比度浅色系） === */
    --text:           #e2e8f0;          /* 主文字，WCAG AAA on bg */
    --text-secondary: #94a3b8;          /* 次文字 */
    --text-muted:     #64748b;          /* 辅助文字 */
    --text-on-dark:   #f1f5f9;          /* 深色背景上的亮文字 */
    --text-on-dark-muted: rgba(241,245,249,0.75);

    /* === 功能色 === */
    --color-success:    #22c55e;
    --color-warning:    #f59e0b;
    --color-error:      #ef4444;
    --color-info:       #3b82f6;
    --color-success-bg: rgba(34,197,94,0.08);
    --color-warning-bg: rgba(245,158,11,0.08);
    --color-error-bg:   rgba(239,68,68,0.08);
    --color-info-bg:    rgba(59,130,246,0.08);

    /* === 边框系统（微发光科技感） === */
    --border:          rgba(148,163,184,0.12);
    --border-light:    rgba(148,163,184,0.08);
    --border-accent:   rgba(201,162,39,0.18);
    --border-cyan:     rgba(6,182,212,0.18);
    --border-cyan-strong: rgba(6,182,212,0.30);
    --border-glow:     rgba(6,182,212,0.12);

    /* === Type Scale === */
    --text-xs:    0.75rem;
    --text-sm:    0.8125rem;
    --text-base:  0.9375rem;
    --text-md:    1rem;
    --text-lg:    1.125rem;
    --text-xl:    1.25rem;
    --text-2xl:   1.5rem;
    --text-3xl:   1.875rem;
    --text-4xl:   2.25rem;
    --text-5xl:   3rem;

    /* 行高 */
    --leading-tight:  1.25;
    --leading-normal: 1.6;
    --leading-relaxed:1.75;

    /* 字重 */
    --font-light:    300;
    --font-normal:   400;
    --font-medium:   500;
    --font-semibold: 600;
    --font-bold:     700;

    /* === 间距系统（4px基准） === */
    --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;

    /* === 圆角 Token === */
    --radius-none: 0;
    --radius-xs:   4px;
    --radius-sm:   6px;
    --radius-md:   8px;
    --radius-lg:   12px;
    --radius-xl:   16px;
    --radius-2xl:  24px;
    --radius-full: 9999px;

    /* === 阴影 Token（深色主题适配） === */
    --shadow-xs:      0 1px 2px rgba(0,0,0,0.30);
    --shadow-sm:      0 1px 3px rgba(0,0,0,0.40), 0 1px 2px rgba(0,0,0,0.20);
    --shadow-md:      0 4px 16px rgba(0,0,0,0.45), 0 2px 4px rgba(0,0,0,0.25);
    --shadow-lg:      0 12px 32px rgba(0,0,0,0.50), 0 4px 12px rgba(0,0,0,0.30);
    --shadow-xl:      0 24px 56px rgba(0,0,0,0.55), 0 8px 24px rgba(0,0,0,0.30);

    /* === 科技光效阴影 === */
    --shadow-glow-gold:   0 4px 20px rgba(201,162,39,0.20);
    --shadow-glow-gold-lg:0 8px 36px rgba(201,162,39,0.30);
    --shadow-glow-cyan:   0 4px 20px rgba(6,182,212,0.20);
    --shadow-glow-cyan-lg:0 8px 36px rgba(6,182,212,0.30);
    --shadow-glow-blue:   0 4px 20px rgba(59,130,246,0.20);
    --shadow-glow-purple: 0 4px 20px rgba(139,92,246,0.18);

    /* === 动画 Token === */
    --ease-out:      cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out:   cubic-bezier(0.65, 0, 0.35, 1);
    --ease-spring:   cubic-bezier(0.34, 1.56, 0.64, 1);
    --duration-fast: 150ms;
    --duration-normal:300ms;
    --duration-slow: 500ms;
    --duration-page: 800ms;
    --transition-fast: all var(--duration-fast) var(--ease-out);
    --transition:      all var(--duration-normal) var(--ease-out);
    --transition-slow: all var(--duration-slow) var(--ease-out);

    /* 布局 */
    --container: 1200px;
    --navbar-h:  72px;
}

/* ---- 深色主题（强制启用） ---- */
:root {
    color-scheme: dark;
}

/* ---- 减少动画（无障碍） ---- */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: var(--text);
    line-height: 1.6;
    background:
        linear-gradient(rgba(6,182,212,0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(6,182,212,0.015) 1px, transparent 1px),
        var(--bg);
    background-size: 60px 60px;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    text-underline-offset: 4px;
}

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

/* 跳过导航（可访问性） */
.skip-link {
    position: absolute;
    top: -100px;
    left: 16px;
    z-index: 9999;
    padding: 12px 24px;
    background: var(--accent);
    color: var(--primary);
    font-weight: 600;
    border-radius: 0 0 4px 4px;
    transition: top 0.2s ease;
    font-size: 14px;
}

.skip-link:focus {
    top: 0;
    outline: none;
}

/* 全局焦点样式 */
:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* 容器 */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

/* 语言切换 */
.lang-switch {
    display: flex;
    align-items: center;
    gap: 4px;
}

.lang-switch a {
    color: rgba(255,255,255,0.92);
    font-size: 13px;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 4px;
    transition: var(--transition);
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.lang-switch a:hover,
.lang-switch a.active {
    color: var(--accent);
    background: rgba(var(--accent-rgb), 0.1);
}

.lang-switch .lang-divider {
    color: rgba(255,255,255,0.3);
    font-size: 12px;
}

/* ========================================
   导航栏
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(7, 11, 20, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(6, 182, 212, 0.10);
    transition: var(--transition);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--navbar-h);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--accent);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    border-radius: var(--radius-md);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-main {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 2px;
}

.logo-sub {
    color: var(--accent);
    font-size: 10px;
    letter-spacing: 1px;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-menu {
    display: flex;
    gap: 40px;
}

.nav-menu a {
    color: rgba(255,255,255,0.9);
    font-size: 15px;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--accent);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}

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

/* ---- Mega Menu 下拉导航 ---- */
.nav-menu .has-mega {
    position: relative;
}
.nav-menu .has-mega > a::after {
    content: ' ▾';
    font-size: 10px;
    position: static;
    width: auto;
    height: auto;
    background: none;
    display: inline;
}
.nav-menu .has-mega > a:hover::after,
.nav-menu .has-mega > a.active::after {
    color: var(--accent);
}

.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    background: #0f172a;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-lg);
    padding: 24px;
    min-width: 560px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--duration-normal) var(--ease-out),
                transform var(--duration-normal) var(--ease-out),
                visibility var(--duration-normal);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    z-index: 999;
    pointer-events: none;
}
.has-mega:hover .mega-menu,
.has-mega:focus-within .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}
.mega-col h4 {
    color: var(--accent);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
    text-transform: uppercase;
}
.mega-col a {
    display: block;
    color: rgba(255,255,255,0.75) !important;
    font-size: 13px !important;
    padding: 5px 0;
    transition: color var(--duration-fast) var(--ease-out);
}
.mega-col a:hover {
    color: var(--accent) !important;
}
@media (max-width: 768px) {
    .mega-menu {
        position: static;
        transform: none;
        min-width: auto;
        grid-template-columns: 1fr;
        padding: 16px;
        opacity: 1;
        visibility: visible;
        display: none;
        background: rgba(255,255,255,0.04);
        border: none;
        box-shadow: none;
        margin-top: 4px;
    }
    .has-mega.active .mega-menu { display: grid; }
    .has-mega > a::after { display: none; }
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    width: 24px;
    height: 24px;
    position: relative;
    z-index: 1001;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: #fff;
    transition: var(--transition);
    transform-origin: center;
    display: block;
}

/* ========================================
   导航栏CTA按钮
   ======================================== */
.nav-cta {
    display: inline-flex;
    align-items: center;
    padding: 10px 24px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    white-space: nowrap;
}

.nav-cta:hover {
    background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent) 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(var(--accent-rgb), 0.40);
    color: var(--primary);
}

/* 汉堡菜单X动画 */
.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ========================================
   Hero区域
   ======================================== */
.hero {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 0;
    background: linear-gradient(135deg, #0a0e1a 0%, var(--primary) 40%, #0f3460 70%, #0a1628 100%);
    overflow: hidden;
}

/* Hero 视频背景 */
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
}

/* Hero 动态科技网格 — 深空蓝紫调 */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(rgba(6,182,212,0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(6,182,212,0.06) 1px, transparent 1px);
    background-size: 80px 80px;
    animation: gridShift 25s linear infinite;
    z-index: 2;
}

/* Hero 光晕粒子 — 蓝紫渐变 */
.hero::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(circle at 20% 30%, rgba(6,182,212,0.10) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139,92,246,0.08) 0%, transparent 50%),
        radial-gradient(circle at 60% 70%, rgba(59,130,246,0.06) 0%, transparent 45%),
        radial-gradient(circle at 40% 80%, rgba(6,182,212,0.05) 0%, transparent 50%);
    animation: glowPulseTech 10s ease-in-out infinite;
    z-index: 2;
}

@keyframes glowPulseTech {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.9; transform: scale(1.06); }
}

/* 浮动科技光点 */
.hero-particles {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 2;
    pointer-events: none;
}

.hero-particle {
    position: absolute;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0;
    animation: particleFloat linear infinite;
}

.hero-particle:nth-child(1) { width: 2px; height: 2px; left: 15%; top: 25%; animation-duration: 18s; animation-delay: 0s; }
.hero-particle:nth-child(2) { width: 1px; height: 1px; left: 35%; top: 60%; animation-duration: 22s; animation-delay: 3s; }
.hero-particle:nth-child(3) { width: 2px; height: 2px; left: 55%; top: 20%; animation-duration: 20s; animation-delay: 5s; }
.hero-particle:nth-child(4) { width: 1px; height: 1px; left: 70%; top: 70%; animation-duration: 24s; animation-delay: 2s; }
.hero-particle:nth-child(5) { width: 2px; height: 2px; left: 85%; top: 35%; animation-duration: 21s; animation-delay: 7s; }
.hero-particle:nth-child(6) { width: 1px; height: 1px; left: 25%; top: 45%; animation-duration: 19s; animation-delay: 4s; }
.hero-particle:nth-child(7) { width: 2px; height: 2px; left: 45%; top: 80%; animation-duration: 23s; animation-delay: 6s; }
.hero-particle:nth-child(8) { width: 1px; height: 1px; left: 65%; top: 15%; animation-duration: 17s; animation-delay: 1s; }

@keyframes particleFloat {
    0% { opacity: 0; transform: translateY(0) translateX(0); }
    10% { opacity: 0.6; }
    90% { opacity: 0.6; }
    100% { opacity: 0; transform: translateY(-200px) translateX(30px); }
}

/* Hero齿轮装饰 */
.hero-gear {
    position: absolute;
    opacity: 0.06;
    animation: gearRotate 60s linear infinite;
    z-index: 2;
    color: var(--accent);
}
.hero-gear:hover {
    opacity: 0.12;
    transition: opacity 0.8s ease;
}

.hero-gear-1 {
    width: 400px;
    height: 400px;
    top: -100px;
    right: -100px;
}

.hero-gear-2 {
    width: 300px;
    height: 300px;
    bottom: -80px;
    left: -80px;
    animation-direction: reverse;
    animation-duration: 45s;
}

.hero-gear-3 {
    width: 200px;
    height: 200px;
    top: 30%;
    left: 10%;
    animation-duration: 50s;
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.55) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: #fff;
    padding: 48px 40px;
    max-width: 800px;
    background: rgba(7, 11, 20, 0.08);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(6,182,212,0.12);
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.25), inset 0 1px 0 rgba(6,182,212,0.06);
    animation: fadeInUp 0.8s ease;
}

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

.hero-title {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 4px;
    animation: fadeInUp 1s ease;
    background: linear-gradient(180deg, #ffffff 0%, #c9d5e8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 30px rgba(6,182,212,0.20));
}

/* ========================================
   骨架屏 Shimmer 加载动画
   ======================================== */
.shimmer-bg {
    background: linear-gradient(90deg, var(--bg-section) 25%, var(--bg-elevated) 50%, var(--bg-section) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

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

.product-card-thumb.shimmer-bg {
    background-size: 200% 100%;
}

/* 品牌图标占位SVG */
.brand-icon-svg {
    width: 64px;
    height: 64px;
    color: var(--accent);
    opacity: 0.6;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.product-card:hover .brand-icon-svg,
.product-card-item:hover .brand-icon-svg {
    opacity: 0.9;
    transform: scale(1.08);
}

@media (max-width: 768px) {
    .brand-icon-svg {
        width: 48px;
        height: 48px;
    }
}

.hero-subtitle {
    font-size: clamp(16px, 2vw, 20px);
    color: rgba(255,255,255,0.92);
    margin-bottom: 40px;
    font-weight: 300;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-en-subtitle {
    font-size: 14px;
    color: rgba(255,255,255,0.65);
    margin-bottom: 40px;
    font-weight: 300;
    letter-spacing: 2px;
    animation: fadeInUp 1s ease 0.3s both;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    animation: fadeInUp 1s ease 0.4s both;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.6);
    font-size: 12px;
    text-align: center;
    animation: bounce 2s infinite;
    z-index: 3;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid rgba(255,255,255,0.6);
    border-bottom: 2px solid rgba(255,255,255,0.6);
    transform: rotate(45deg);
    margin: 10px auto 0;
}

/* ========================================
   按钮
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 36px;
    font-size: 15px;
    font-weight: 500;
    border-radius: 4px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: inherit;
}

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

.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(var(--accent-rgb), 0.3);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.3);
}

.btn-outline:hover {
    border-color: var(--tech-cyan);
    color: var(--tech-cyan);
    box-shadow: 0 0 12px rgba(6,182,212,0.15);
}

.btn-large {
    padding: 16px 48px;
    font-size: 16px;
}

/* ========================================
   通用区块
   ======================================== */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header.light {
    color: #fff;
}

.section-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 3px;
    color: var(--accent);
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 700;
    color: var(--text);
}

.section-header.light .section-title {
    color: #fff;
}

/* ========================================
   首页 - 关于预览
   ======================================== */
.about-preview {
    background: var(--bg);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.8;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    color: var(--accent);
    font-weight: 500;
    transition: var(--transition);
    gap: 4px;
}

.link-arrow:hover {
    gap: 8px;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.stat-item {
    text-align: center;
    padding: 30px;
    background: rgba(15, 19, 36, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-cyan);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}

/* 悬停时顶部青色科技光条 */
.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20%;
    right: 20%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--tech-cyan), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.stat-item:hover::before {
    opacity: 0.8;
}

.stat-item:hover {
    transform: translateY(-4px);
    box-shadow:
        0 12px 30px rgba(0,0,0,0.40),
        0 0 0 1px rgba(6,182,212,0.20),
        0 0 30px rgba(6,182,212,0.08);
    background: rgba(18, 24, 42, 0.75);
}

.stat-number {
    display: block;
    font-size: 42px;
    font-weight: 700;
    color: var(--tech-cyan);
    margin-bottom: 8px;
}

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

/* ========================================
   首页 - 产品分类
   ======================================== */
.products-section {
    background: var(--bg-alt);
    position: relative;
    overflow: hidden;
}

.products-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(6,182,212,0.04) 0%, transparent 50%),
        radial-gradient(circle at 80% 30%, rgba(139,92,246,0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.products-section .container {
    position: relative;
    z-index: 1;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.product-card {
    background: rgba(14, 19, 36, 0.55);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid rgba(6,182,212,0.08);
    position: relative;
    overflow: hidden;
}

/* 渐变边框发光 */
.product-card:hover {
    transform: translateY(-8px);
    box-shadow:
        0 20px 40px rgba(0,0,0,0.40),
        0 0 0 1px rgba(6,182,212,0.20),
        0 0 30px rgba(6,182,212,0.06);
    border-color: rgba(6,182,212,0.25);
    background: rgba(18, 24, 42, 0.70);
}

/* 流光扫过效果 */
.product-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(6,182,212,0.08),
        transparent
    );
    transform: skewX(-15deg);
    transition: left 0.6s ease;
    pointer-events: none;
    z-index: 1;
}

.product-card:hover::after {
    left: 150%;
}

.product-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    color: var(--accent);
}

.product-icon svg {
    width: 100%;
    height: 100%;
}

.product-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text);
}

.product-card p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

/* ========================================
   首页 - 客户案例区 / 出口数据
   ======================================== */
.clients-section {
    background: var(--bg);
}

.clients-subtitle {
    text-align: center;
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 48px;
}

.regions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

.region-card {
    text-align: center;
    padding: 36px 24px;
    border-radius: var(--radius-lg);
    background: var(--bg-section);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.region-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow-cyan);
    border-color: var(--tech-cyan);
}

.region-flag {
    margin-bottom: 16px;
}
.region-flag svg {
    width: 48px;
    height: 48px;
    color: var(--accent);
    display: block;
    margin: 0 auto;
}

.region-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
}

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

/* 客户Logo滚动轨道 — 深色适配 */
.client-logos-wrapper {
    overflow: hidden;
    padding: 20px 0;
    position: relative;
}

.client-logos-wrapper::before,
.client-logos-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 2;
    pointer-events: none;
}

.client-logos-wrapper::before {
    left: 0;
    background: linear-gradient(to right, var(--bg), transparent);
}

.client-logos-wrapper::after {
    right: 0;
    background: linear-gradient(to left, var(--bg), transparent);
}

.client-logos {
    display: flex;
    align-items: center;
    gap: 48px;
    animation: logoScroll 30s linear infinite;
    width: max-content;
    opacity: 0.5;
}

.client-logos:hover {
    animation-play-state: paused;
}

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

.client-logo-placeholder {
    font-size: 14px;
    color: var(--text-muted);
    padding: 12px 24px;
    border: 1px dashed var(--border);
    border-radius: var(--radius-md);
    white-space: nowrap;
    flex-shrink: 0;
}

/* ========================================
   首页 - 特色优势
   ======================================== */
.features-section {
    background: linear-gradient(135deg, #060d1f 0%, #0b1530 50%, #0a1228 100%);
    position: relative;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
    z-index: 1;
}

.feature-item {
    text-align: center;
    color: #fff;
    padding: 20px;
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-item h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.feature-item p {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
}

/* ========================================
   服务流程模块
   ======================================== */
.process-section {
    background: var(--bg-alt);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    position: relative;
}

.process-step {
    text-align: center;
    position: relative;
    z-index: 1;
}

.process-step-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--bg-section);
    border: 2px solid var(--tech-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: var(--tech-cyan);
    transition: var(--transition);
}
.process-step-icon svg {
    width: 28px;
    height: 28px;
}

.process-step:hover .process-step-icon {
    background: var(--tech-cyan);
    color: #050812;
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(6,182,212,0.35);
}

.process-step-number {
    position: absolute;
    top: -4px;
    right: calc(50% - 40px);
    width: 24px;
    height: 24px;
    background: var(--bg-deep);
    color: var(--tech-cyan);
    font-size: 12px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(6,182,212,0.3);
}

.process-step h3 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
}

.process-step p {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* 流程连接线 */
.process-steps::before {
    content: '';
    position: absolute;
    top: 36px;
    left: calc(100% / 12);
    right: calc(100% / 12);
    height: 2px;
    background: linear-gradient(to right, var(--tech-cyan), rgba(148,163,184,0.15));
    z-index: 0;
}

/* ========================================
   FAQ常见问题模块
   ======================================== */
.faq-section {
    background: var(--bg-alt);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-section);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--tech-cyan);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    color: var(--text);
    gap: 16px;
    transition: var(--transition);
    user-select: none;
}

.faq-question:hover {
    color: var(--tech-cyan);
}

.faq-question-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: transform 0.3s ease;
    color: var(--tech-cyan);
}

.faq-item.active .faq-question-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer-inner {
    padding: 0 24px 20px;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ========================================
   首页 - CTA
   ======================================== */
.cta-section {
    background: linear-gradient(135deg, #040916 0%, #071530 50%, #0a1535 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
    z-index: 0;
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: clamp(16px, 2vw, 18px);
    color: rgba(255,255,255,0.85);
    margin-bottom: 32px;
}

.cta-section .btn-primary {
    background: var(--accent);
    color: var(--primary);
    box-shadow: 0 4px 20px rgba(var(--accent-rgb), 0.3);
}

.cta-section .btn-primary:hover {
    background: var(--accent-dark);
    box-shadow: 0 8px 30px rgba(var(--accent-rgb), 0.4);
}

/* ========================================
   WhatsApp浮动按钮
   ======================================== */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 999;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
    text-decoration: none;
    animation: whatsappPulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    fill: #fff;
}

@keyframes whatsappPulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ========================================
   回到顶部按钮
   ======================================== */
.back-to-top {
    position: fixed;
    bottom: 28px;
    right: 100px;
    z-index: 999;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    transition: var(--transition);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    border: 2px solid var(--accent);
}

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

.back-to-top:hover {
    background: var(--accent);
    color: var(--primary);
    transform: translateY(-2px);
}

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

/* ========================================
   页脚
   ======================================== */
.footer {
    background: var(--primary);
    color: rgba(255,255,255,0.8);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.6;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-size: 14px;
}

.footer-social a:hover {
    border-color: var(--accent);
    background: var(--accent);
    color: var(--primary);
}

.footer-links h4,
.footer-contact h4 {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links a {
    font-size: 14px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-contact p {
    font-size: 14px;
    margin-bottom: 8px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
}

.footer-bottom .icp {
    margin-left: 16px;
    color: rgba(255,255,255,0.45);
}

.footer-bottom a {
    color: rgba(255,255,255,0.6);
}

.footer-bottom a:hover {
    color: var(--accent);
    text-decoration: underline;
}

/* Logo 在footer中不受通用下划线影响 */
.footer-brand .logo:hover,
.footer-brand a:hover {
    text-decoration: none;
}

/* ========================================
   页面标题
   ======================================== */
.page-header {
    background: linear-gradient(135deg, #040916 0%, #081530 50%, #0b1230 100%);
    padding: 160px 0 80px;
    text-align: center;
    color: #fff;
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 12px;
}

.page-header .breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.page-header .breadcrumb a {
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
}

.page-header .breadcrumb a:hover {
    color: var(--accent);
    text-decoration: none;
}

.page-header .breadcrumb .separator {
    color: rgba(255,255,255,0.3);
}

.page-header p {
    font-size: 18px;
    color: rgba(255,255,255,0.8);
}

/* ========================================
   关于我们页面
   ======================================== */
.about-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.image-placeholder {
    background: linear-gradient(135deg, var(--bg-section) 0%, #151e35 100%);
    border-radius: var(--radius-lg);
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 18px;
    border: 2px dashed var(--border);
}

.about-text-content h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 24px;
}

.about-text-content p {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.8;
}

/* 团队/厂房展示 */
.showcase-section {
    background: var(--bg-alt);
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.showcase-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    height: 260px;
    background: var(--bg-section);
    border: 2px dashed var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
    color: var(--text-muted);
    font-size: 14px;
    transition: var(--transition);
}

.showcase-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--tech-cyan);
}

.showcase-item .showcase-icon {
    font-size: 32px;
}

/* 企业文化 */
.culture-section {
    background: var(--bg-alt);
}

.culture-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.culture-card {
    background: var(--bg-section);
    padding: 48px 32px;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border);
}

.culture-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow-cyan);
    border-color: var(--tech-cyan);
}

.culture-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.culture-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text);
}

.culture-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* 发展历程 */
.timeline-section {
    position: relative;
}

.timeline {
    position: relative;
    max-width: 960px;
    margin: 0 auto;
    padding: 20px 0 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 100%;
    background: linear-gradient(to bottom, var(--accent) 0%, var(--tech-cyan) 50%, rgba(6, 182, 212, 0.15) 100%);
    border-radius: 3px;
    opacity: 0.8;
}

.timeline-item {
    display: flex;
    justify-content: flex-end;
    padding-right: calc(50% + 60px);
    position: relative;
    margin-bottom: 60px;
}

.timeline-item:nth-child(even) {
    justify-content: flex-start;
    padding-right: 0;
    padding-left: calc(50% + 60px);
}

.timeline-year {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 80px;
    background: var(--accent);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    z-index: 2;
    box-shadow: 0 0 0 8px rgba(201, 162, 39, 0.15), 0 0 0 16px rgba(201, 162, 39, 0.05);
}

.year-main {
    font-size: 16px;
    line-height: 1;
    margin-bottom: 2px;
}

.year-sub {
    font-size: 10px;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.9;
}

.timeline-content {
    background: var(--bg-section);
    padding: 28px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    max-width: 400px;
    min-height: 200px;
    border: 1px solid var(--border);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.timeline-item:nth-child(odd) .timeline-content {
    border-right: 3px solid var(--accent);
}

.timeline-item:nth-child(even) .timeline-content {
    border-left: 3px solid var(--tech-cyan);
}

.timeline-content:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(201, 162, 39, 0.3);
}

.timeline-icon {
    width: 44px;
    height: 44px;
    background: rgba(201, 162, 39, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    color: var(--accent);
}

.timeline-icon svg {
    width: 24px;
    height: 24px;
    stroke-width: 2;
}

.timeline-content h3 {
    font-size: 19px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text);
}

.timeline-content p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.timeline-highlight {
    color: var(--accent);
    font-weight: 700;
}

.timeline-tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    background: rgba(201, 162, 39, 0.1);
    color: var(--accent);
    border: 1px solid rgba(201, 162, 39, 0.2);
}

.timeline-item:nth-child(even) .timeline-tag {
    background: rgba(6, 182, 212, 0.1);
    color: var(--tech-cyan);
    border-color: rgba(6, 182, 212, 0.2);
}

.timeline-footer {
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
    padding: 40px 32px;
    background: var(--bg-section);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    position: relative;
}

.timeline-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, transparent, var(--accent), transparent);
}

.timeline-footer p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
}

.timeline-footer .btn {
    min-width: 160px;
}

/* 资质认证 */
.certificates-section {
    background: var(--bg-alt);
    position: relative;
    overflow: hidden;
}

.certificates-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(6,182,212,0.04) 0%, transparent 50%),
        radial-gradient(circle at 80% 30%, rgba(139,92,246,0.03) 0%, transparent 50%);
    pointer-events: none;
}

.certificates-section .container {
    position: relative;
    z-index: 1;
}

.certificates-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.certificate-item {
    background: rgba(14, 19, 36, 0.55);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 40px 24px;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid rgba(6,182,212,0.08);
    position: relative;
    overflow: hidden;
}

/* 流光扫过 */
.certificate-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(6,182,212,0.06),
        transparent
    );
    transform: skewX(-15deg);
    transition: left 0.6s ease;
    pointer-events: none;
}

.certificate-item:hover::after {
    left: 150%;
}

.certificate-item:hover {
    transform: translateY(-4px);
    box-shadow:
        0 12px 30px rgba(0,0,0,0.35),
        0 0 0 1px rgba(6,182,212,0.15);
    border-color: rgba(6,182,212,0.2);
    background: rgba(18, 24, 42, 0.70);
}

.certificate-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.certificate-item h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text);
}

.certificate-item p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* ========================================
   产品服务页面
   ======================================== */

/* 产品搜索 */
.product-search {
    background: var(--bg-section);
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
}

.product-search-inner {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.product-search-inner input {
    width: 100%;
    padding: 12px 48px 12px 48px;
    border: 1px solid var(--border);
    border-radius: 40px;
    font-size: 15px;
    font-family: inherit;
    transition: var(--transition);
    background: var(--bg-elevated);
    color: var(--text);
}

.product-search-inner input:focus {
    outline: none;
    border-color: var(--tech-cyan);
    box-shadow: 0 0 0 3px rgba(6,182,212,0.12), 0 0 16px rgba(6,182,212,0.08);
    background: var(--bg-elevated);
}

.product-search-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    width: 20px;
    height: 20px;
    pointer-events: none;
}

.product-search-clear {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--bg-elevated);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--text-secondary);
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
}

.product-search-clear.visible {
    opacity: 1;
    visibility: visible;
}

.product-search-clear:hover {
    background: var(--text-muted);
    color: #fff;
}

.product-search .no-results {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-muted);
    font-size: 15px;
    display: none;
}

.product-search .no-results.visible {
    display: block;
}

/* 产品分类导航 */
.product-nav {
    background: var(--bg-section);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: var(--navbar-h);
    z-index: 100;
}

.product-nav-list {
    display: flex;
    gap: 0;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    position: relative;
}

.product-nav-list::before,
.product-nav-list::after {
    content: '';
    position: sticky;
    top: 0;
    width: 40px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-nav-list::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-section) 0%, transparent 100%);
}

.product-nav-list::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-section) 0%, transparent 100%);
}

.product-nav-list.can-scroll-left::before,
.product-nav-list.can-scroll-right::after {
    opacity: 1;
}

.product-nav-item {
    padding: 20px 32px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
    border-bottom: 3px solid transparent;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
}

.product-nav-item .nav-count {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 400;
    background: var(--bg-elevated);
    padding: 1px 8px;
    border-radius: 10px;
    transition: var(--transition);
}

.product-nav-item:hover .nav-count,
.product-nav-item.active .nav-count {
    background: rgba(6,182,212,0.12);
    color: var(--tech-cyan);
}

.product-nav-item:hover,
.product-nav-item.active {
    color: var(--tech-cyan);
    border-bottom-color: var(--tech-cyan);
}

.product-category {
    padding: 80px 0;
}

.product-category.alt-bg {
    background: var(--bg-alt);
    position: relative;
    overflow: hidden;
}

.product-category.alt-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(6,182,212,0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 30%, rgba(139,92,246,0.02) 0%, transparent 50%);
    pointer-events: none;
}

.product-category.alt-bg .container {
    position: relative;
    z-index: 1;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 48px;
}

.category-number {
    font-size: 72px;
    font-weight: 700;
    color: var(--tech-cyan);
    line-height: 1;
    opacity: 0.5;
}

.category-title h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px;
}

.category-title p {
    font-size: 14px;
    color: var(--text-muted);
    letter-spacing: 1px;
}

/* 产品卡片网格 */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.product-card-item {
    background: rgba(14, 19, 36, 0.55);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(6,182,212,0.08);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
}

.product-card-item:hover {
    transform: translateY(-8px);
    box-shadow:
        0 20px 40px rgba(0,0,0,0.40),
        0 0 0 1px rgba(6,182,212,0.20),
        0 0 30px rgba(6,182,212,0.06);
    border-color: rgba(6,182,212,0.25);
    background: rgba(18, 24, 42, 0.70);
}

.product-card-item:hover .product-card-thumb .thumb-icon {
    transform: scale(1.15);
    opacity: 0.5;
}

.product-card-item:hover .inquiry-btn,
.product-card-item:hover .wizard-btn {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 4px 15px rgba(var(--accent-rgb), 0.15);
}

.product-card-thumb {
    height: 200px;
    background: linear-gradient(135deg, rgba(14,19,36,0.8) 0%, rgba(18,24,42,0.6) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 14px;
    border-bottom: 1px solid rgba(6,182,212,0.08);
    position: relative;
    overflow: hidden;
}

/* 流光扫过 */
.product-card-thumb::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(6,182,212,0.10),
        transparent
    );
    transform: skewX(-15deg);
    transition: left 0.8s ease;
    pointer-events: none;
}

.product-card-item:hover .product-card-thumb::after {
    left: 150%;
}

.product-card-thumb .thumb-icon {
    opacity: 0.25;
    transition: all 0.4s ease;
}
.product-card-thumb .thumb-icon svg {
    width: 48px;
    height: 48px;
    color: var(--tech-cyan);
}

/* 产品参数标签 */
.product-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
    margin-bottom: 14px;
}

.product-spec-tag {
    display: inline-block;
    font-size: 11px;
    padding: 3px 10px;
    background: rgba(6,182,212,0.06);
    color: var(--text-secondary);
    border-radius: 20px;
    border: 1px solid rgba(148,163,184,0.12);
    transition: var(--transition);
}

.product-card-item:hover .product-spec-tag {
    background: rgba(6,182,212,0.10);
    border-color: rgba(6,182,212,0.25);
    color: var(--tech-cyan);
}

.product-card-thumb .thumb-label {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(5,8,18,0.85);
    color: var(--tech-cyan);
    font-size: 11px;
    font-weight: 600;
    padding: 2px 10px;
    border-radius: 4px;
    border: 1px solid rgba(6,182,212,0.15);
}

.product-card-body {
    padding: 24px;
    background: rgba(14, 19, 36, 0.4);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

/* ========================================
   产品视频区域
   ======================================== */
.product-card-thumb.has-video {
    height: auto;
    padding: 0;
    background: #000;
    border-bottom: none;
}

.product-card-thumb.has-video video {
    display: block;
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 0;
}

/* 视频播放提示覆盖层（hover 显示播放图标，click 全屏播放） */
.product-card-thumb.has-video .video-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.25);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: auto;   /* 允许点击 */
    cursor: pointer;
    z-index: 2;
}

.product-card-item:hover .product-card-thumb.has-video .video-overlay {
    opacity: 1;
}

.video-overlay svg {
    width: 48px;
    height: 48px;
    color: #fff;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5));
    transition: transform 0.2s ease;
}

.video-overlay:hover svg {
    transform: scale(1.15);
}

.product-card-body h3 {
    font-size: 17px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
}

.product-card-body .product-en {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 12px;
    font-style: italic;
}

.product-card-body .product-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.product-card-body .inquiry-btn {
    display: inline-block;
    margin-top: 16px;
    padding: 9px 22px;
    background: linear-gradient(135deg, rgba(201,162,39,0.15) 0%, rgba(201,162,39,0.08) 100%);
    color: var(--accent);
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(var(--accent-rgb), 0.20);
    letter-spacing: 0.5px;
}

.product-card-body .inquiry-btn:hover {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: #050812;
    border-color: var(--accent);
    box-shadow: 0 4px 20px rgba(var(--accent-rgb), 0.30);
    transform: translateY(-1px);
}

.product-card-body .wizard-btn {
    display: inline-block;
    margin-top: 16px;
    padding: 9px 22px;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.15) 0%, rgba(6, 182, 212, 0.08) 100%);
    color: var(--tech-cyan);
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(var(--tech-cyan-rgb), 0.20);
    letter-spacing: 0.5px;
}

.product-card-body .wizard-btn:hover {
    background: linear-gradient(135deg, var(--tech-cyan) 0%, var(--tech-cyan-dark) 100%);
    color: #050812;
    border-color: var(--tech-cyan);
    box-shadow: 0 4px 20px rgba(var(--tech-cyan-rgb), 0.30);
    transform: translateY(-1px);
}

/* 产品卡片双按钮 */
.product-card-actions {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.product-card-body .specs-btn {
    display: inline-block;
    padding: 9px 22px;
    background: transparent;
    color: var(--text-secondary);
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid var(--border);
    letter-spacing: 0.5px;
}

.product-card-body .specs-btn:hover {
    color: var(--tech-cyan);
    border-color: var(--tech-cyan);
    text-decoration: none;
}

.product-card-actions .inquiry-btn,
.product-card-actions .wizard-btn {
    margin-top: 0;
}

/* 搜索结果隐藏 */
.product-card-item.hidden {
    display: none;
}

.product-category.hidden {
    display: none;
}

/* ========================================
   联系我们页面
   ======================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
}

.contact-info-panel h2,
.contact-form-panel h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 32px;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--bg-section);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tech-cyan);
    flex-shrink: 0;
    border: 1px solid rgba(6,182,212,0.12);
}
.contact-icon svg {
    width: 24px;
    height: 24px;
}

.contact-detail h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
}

.contact-detail p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* WhatsApp联系 */
.whatsapp-contact {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 32px;
    padding: 16px 24px;
    background: #25D366;
    color: #fff;
    border-radius: var(--radius-md);
    font-weight: 500;
    transition: var(--transition);
}

.whatsapp-contact:hover {
    background: #1eb954;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
}

.whatsapp-contact svg {
    width: 24px;
    height: 24px;
    fill: #fff;
}

/* 联系表单 */
.contact-form-panel {
    background: var(--bg-section);
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 14px;
    font-family: inherit;
    transition: var(--transition);
    background: var(--bg-elevated);
    color: var(--text);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--tech-cyan);
    box-shadow: 0 0 0 3px rgba(6,182,212,0.12), 0 0 16px rgba(6,182,212,0.06);
}

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

.form-group .field-error {
    font-size: 12px;
    color: #e74c3c;
    margin-top: 4px;
    display: none;
}

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.form-group.error .field-error {
    display: block;
}

.form-group.error .field-error::before {
    content: '⚠ '; 
}

/* 字符计数 */
.char-count {
    display: block;
    text-align: right;
    font-size: var(--text-xs);
    color: var(--text-muted);
    margin-top: 4px;
}

/* 防重复提交状态 */
.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.btn-submit {
    width: 100%;
    padding: 16px;
    font-size: 16px;
}

.form-success {
    display: none;
    text-align: center;
    padding: 40px 20px;
}

.form-success.visible {
    display: block;
}

.form-success .success-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.form-success h3 {
    font-size: 24px;
    color: var(--text);
    margin-bottom: 8px;
}

.form-success p {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

/* 地图 */
.map-section {
    padding-top: 0;
}

.map-placeholder {
    background: var(--bg-section);
    border-radius: var(--radius-lg);
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed var(--border);
}

.map-content {
    text-align: center;
    color: var(--text-muted);
}

.map-icon {
    display: block;
    margin-bottom: 12px;
    color: var(--text-muted);
}
.map-icon svg {
    width: 48px;
    height: 48px;
}

.map-hint {
    font-size: 13px;
    margin-top: 8px;
}

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ========================================
   响应式设计
   ======================================== */
@media (max-width: 1200px) {
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .process-steps { grid-template-columns: repeat(3, 1fr); gap: 24px; }
    .process-steps::before { display: none; }
}

@media (max-width: 1024px) {
    .certificates-grid,
    .regions-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-stats {
        max-width: 500px;
        margin: 0 auto;
    }

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

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

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

@media (max-width: 768px) {
    /* 移动端遮罩层 */
    .nav-overlay {
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        background: rgba(0,0,0,0.5);
        z-index: 998;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }

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

    .nav-menu {
        position: fixed;
        top: var(--navbar-h);
        left: 0;
        right: 0;
        background: var(--primary);
        flex-direction: column;
        padding: 24px;
        gap: 0;
        transform: translateY(-12px);
        opacity: 0;
        visibility: hidden;
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, visibility 0.3s ease;
        box-shadow: 0 8px 32px rgba(0,0,0,0.3);
        z-index: 999;
    }

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

    .nav-menu li {
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .nav-menu a {
        display: block;
        padding: 16px 0;
    }

    .nav-right {
        gap: 16px;
    }

    .hamburger {
        display: flex;
    }

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

    .section {
        padding: 60px 0;
    }

    .products-grid,
    .features-grid,
    .certificates-grid,
    .culture-grid,
    .regions-grid,
    .showcase-grid {
        grid-template-columns: 1fr;
    }

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

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

    .image-placeholder {
        height: 250px;
    }

    .timeline {
        padding-left: 20px;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item,
    .timeline-item:nth-child(even) {
        padding-left: 60px;
        padding-right: 0;
        justify-content: flex-start;
        margin-bottom: 40px;
    }

    .timeline-year {
        left: 20px;
        width: 64px;
        height: 64px;
        box-shadow: 0 0 0 6px rgba(201, 162, 39, 0.15);
    }

    .year-main {
        font-size: 14px;
    }

    .year-sub {
        font-size: 9px;
    }

    .timeline-content {
        max-width: 100%;
        min-height: auto;
        padding: 22px;
    }

    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        border-right: none;
        border-left: 3px solid var(--accent);
    }

    .timeline-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 12px;
    }

    .timeline-footer {
        padding: 30px 20px;
    }

    .category-header {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .category-number {
        font-size: 48px;
    }

    .product-nav-list {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .product-nav-item {
        padding: 16px 20px;
        font-size: 14px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    .process-steps {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }

    .process-steps::before {
        display: none;
    }

    .contact-form-panel {
        padding: 24px;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 52px;
        height: 52px;
    }

    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }

    .back-to-top {
        bottom: 80px;
        right: 20px;
        width: 40px;
        height: 40px;
    }

    .back-to-top.small-fix {
        right: 20px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
        letter-spacing: 2px;
    }

    .hero-content {
        padding: 32px 20px;
        border-radius: 16px;
        margin: 0 16px;
    }

    .hero-en-subtitle {
        font-size: 12px;
    }

    .hero-video {
        opacity: 0.7;
    }

    .hero-overlay {
        background: radial-gradient(ellipse at center, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.6) 100%);
    }

    .stat-number {
        font-size: 32px;
    }

    .page-header h1 {
        font-size: 32px;
    }

    .category-title h2 {
        font-size: 24px;
    }

    .lang-switch a {
        font-size: 12px;
        padding: 4px 8px;
        min-width: 36px;
        min-height: 36px;
    }

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

    .back-to-top {
        bottom: 76px;
    }
}

/* ========================================
   首页 — 设备轮播展示
   ======================================== */
.equipment-showcase {
    background: var(--bg-alt);
    padding: 80px 0 100px;
}

.equipment-showcase .section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: var(--text-base);
    margin-top: 12px;
    margin-bottom: 48px;
}

/* ---- Carousel 容器 ---- */
.carousel {
    position: relative;
    max-width: 960px;
    margin: 0 auto;
}

.carousel:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
    border-radius: var(--radius-lg);
}

/* ---- 视口 ---- */
.carousel-viewport {
    overflow: hidden;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

/* ---- 轨道（flex 布局 + translateX 滑动） ---- */
.carousel-track {
    display: flex;
    transition: transform var(--duration-slow) var(--ease-in-out);
    will-change: transform;
}

/* 无动画模式（克隆跳转时使用） */
.carousel-track.no-transition {
    transition: none;
}

/* ---- 单张幻灯片 ---- */
.carousel-slide {
    flex: 0 0 100%;
    min-width: 0;
}

.slide-inner {
    display: flex;
    align-items: stretch;
    min-height: 360px;
    background: var(--bg-section);
    border: 1px solid var(--border);
}

/* ---- 视觉区（图标/图片） ---- */
.slide-visual {
    flex: 0 0 42%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg,
        rgba(6,182,212,0.06) 0%,
        rgba(139,92,246,0.05) 50%,
        rgba(6,182,212,0.04) 100%);
    position: relative;
    overflow: hidden;
}

/* 背景装饰几何 */
.slide-visual::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border: 2px solid rgba(6,182,212,0.10);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.slide-visual::after {
    content: '';
    position: absolute;
    width: 140px;
    height: 140px;
    border: 1px solid rgba(139,92,246,0.08);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}

.slide-visual svg {
    width: 96px;
    height: 96px;
    color: var(--tech-cyan);
    opacity: 0.30;
    position: relative;
    z-index: 1;
    transition: all var(--duration-normal) var(--ease-out);
}

.carousel-slide:hover .slide-visual svg {
    opacity: 0.50;
    transform: scale(1.08);
}

/* ---- 信息区 ---- */
.slide-info {
    flex: 1;
    padding: var(--space-10) var(--space-12);
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(to right,
        rgba(14,20,36,0.4) 0%,
        rgba(14,20,36,0) 100%);
}

.slide-series {
    display: inline-block;
    font-size: var(--text-xs);
    font-weight: var(--font-semibold);
    letter-spacing: 2px;
    color: var(--tech-cyan);
    text-transform: uppercase;
    margin-bottom: var(--space-2);
    background: rgba(6,182,212,0.10);
    padding: 3px 10px;
    border-radius: var(--radius-xs);
    align-self: flex-start;
}

.slide-name {
    font-size: var(--text-2xl);
    font-weight: var(--font-bold);
    color: var(--text);
    margin-bottom: var(--space-1);
    line-height: var(--leading-tight);
}

.slide-en {
    font-size: var(--text-sm);
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: var(--space-6);
}

.slide-specs {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    margin-bottom: var(--space-6);
}

.slide-spec-tag {
    display: inline-block;
    padding: 4px 12px;
    font-size: var(--text-xs);
    font-weight: var(--font-medium);
    color: var(--text-secondary);
    background: rgba(6,182,212,0.06);
    border: 1px solid rgba(148,163,184,0.10);
    border-radius: var(--radius-full);
    white-space: nowrap;
    transition: var(--transition-fast);
}

.carousel-slide:hover .slide-spec-tag {
    background: rgba(6,182,212,0.10);
    border-color: rgba(6,182,212,0.20);
    color: var(--tech-cyan);
}

.slide-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: var(--text-base);
    font-weight: var(--font-semibold);
    color: var(--accent);
    align-self: flex-start;
    transition: var(--transition-fast);
}

.slide-link:hover {
    color: var(--accent-dark);
    text-decoration: none;
    gap: 10px;
}

/* ---- 箭头按钮 ---- */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    color: var(--text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-fast);
    z-index: 10;
    opacity: 0;
}

.carousel:hover .carousel-arrow,
.carousel:focus-within .carousel-arrow,
.carousel-arrow:focus-visible {
    opacity: 1;
}

.carousel-arrow svg {
    width: 20px;
    height: 20px;
}

.carousel-arrow:hover {
    background: var(--tech-cyan);
    color: #050812;
    border-color: var(--tech-cyan);
    box-shadow: 0 0 16px rgba(6,182,212,0.30);
}

.carousel-arrow:active {
    transform: translateY(-50%) scale(0.95);
}

.carousel-prev {
    left: -22px;
}

.carousel-next {
    right: -22px;
}

/* ---- 指示器小圆点 ---- */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: var(--space-6);
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: var(--radius-full);
    background: var(--border);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: var(--transition-fast);
}

.carousel-dot:hover {
    background: var(--accent-light);
}

.carousel-dot.active {
    background: var(--accent);
    width: 28px;
    border-radius: 10px;
}

.carousel-dot:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

/* ---- 减少动画 - 无障碍 ---- */
@media (prefers-reduced-motion: reduce) {
    .carousel-track {
        transition: none;
    }
}

/* ---- 触摸设备：始终显示箭头 ---- */
@media (hover: none) and (pointer: coarse) {
    .carousel-arrow {
        opacity: 0.7;
        width: 36px;
        height: 36px;
    }

    .carousel-prev {
        left: 8px;
    }

    .carousel-next {
        right: 8px;
    }
}

/* ---- 平板端 ---- */
@media (max-width: 900px) {
    .slide-inner {
        flex-direction: column;
        min-height: auto;
    }

    .slide-visual {
        flex: none;
        height: 200px;
    }

    .slide-visual svg {
        width: 72px;
        height: 72px;
    }

    .slide-info {
        padding: var(--space-6) var(--space-8);
    }

    .slide-name {
        font-size: var(--text-xl);
    }

    .carousel {
        max-width: 100%;
    }

    .carousel-prev {
        left: 8px;
    }

    .carousel-next {
        right: 8px;
    }
}

/* ---- 移动端 ---- */
@media (max-width: 640px) {
    .equipment-showcase {
        padding: 60px 0 80px;
    }

    .equipment-showcase .section-subtitle {
        margin-top: -32px;
        margin-bottom: 32px;
        font-size: var(--text-sm);
    }

    .slide-visual {
        height: 160px;
    }

    .slide-visual svg {
        width: 56px;
        height: 56px;
    }

    .slide-visual::before {
        width: 140px;
        height: 140px;
    }

    .slide-visual::after {
        width: 100px;
        height: 100px;
    }

    .slide-info {
        padding: var(--space-5);
    }

    .slide-name {
        font-size: var(--text-lg);
    }

    .slide-en {
        font-size: var(--text-xs);
        margin-bottom: var(--space-4);
    }

    .slide-specs {
        gap: 6px;
        margin-bottom: var(--space-4);
    }

    .slide-spec-tag {
        padding: 3px 10px;
        font-size: 11px;
    }

    .slide-series {
        font-size: 11px;
        padding: 2px 8px;
    }

    .carousel-arrow {
        width: 36px;
        height: 36px;
        opacity: 0.65;
    }

    .carousel-arrow svg {
        width: 18px;
        height: 18px;
    }

    .carousel-prev {
        left: 4px;
    }

    .carousel-next {
        right: 4px;
    }

    .carousel-dots {
        gap: 8px;
        margin-top: var(--space-4);
    }

    .carousel-dot {
        width: 8px;
        height: 8px;
    }

    .carousel-dot.active {
        width: 22px;
    }
}

/* ---- RTL 适配 ---- */
[dir="rtl"] .slide-info {
    background: linear-gradient(to left,
        rgba(14,20,36,0.4) 0%,
        rgba(14,20,36,0) 100%);
}

[dir="rtl"] .carousel-prev {
    left: auto;
    right: -22px;
}

[dir="rtl"] .carousel-next {
    right: auto;
    left: -22px;
}

[dir="rtl"] .carousel-prev svg,
[dir="rtl"] .carousel-next svg {
    transform: scaleX(-1);
}

@media (max-width: 900px) {
    [dir="rtl"] .carousel-prev {
        right: 8px;
        left: auto;
    }

    [dir="rtl"] .carousel-next {
        left: 8px;
        right: auto;
    }
}

@media (max-width: 640px) {
    [dir="rtl"] .carousel-prev {
        right: 4px;
        left: auto;
    }

    [dir="rtl"] .carousel-next {
        left: 4px;
        right: auto;
    }
}

/* ========================================
   3D 冷室压铸机交互模型
   ======================================== */
.machine3d-section {
    background: var(--bg-alt);
    padding: var(--space-16) 0 0;
    overflow: hidden;
}

.machine3d-section .section-header {
    text-align: center;
    margin-bottom: var(--space-10);
}

.machine3d-wrapper {
    display: flex;
    align-items: stretch;
    gap: 0;
    min-height: 600px;
    max-height: 700px;
    position: relative;
}

/* 3D 渲染区 */
.machine3d-canvas-container {
    flex: 1;
    min-width: 0;
    position: relative;
    background: #0c1324;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(6,182,212,0.08);
}

.machine3d-canvas-container canvas {
    display: block;
    width: 100% !important;
    height: 100% !important;
}

/* 加载器 */
.machine3d-loader {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #0c1324;
    z-index: 10;
    transition: opacity 0.6s ease;
    gap: var(--space-4);
}

.machine3d-loader-icon svg {
    width: 64px;
    height: 64px;
    animation: spin3d 3s linear infinite;
}

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

.machine3d-loader-text {
    font-size: var(--text-sm);
    color: rgba(226,232,240,0.5);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.machine3d-progress-wrap {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.machine3d-progress-track {
    width: 200px;
    height: 3px;
    background: rgba(226,232,240,0.08);
    border-radius: 2px;
    overflow: hidden;
}

.machine3d-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--tech-cyan), #22d3ee);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.machine3d-progress-pct {
    font-size: var(--text-xs);
    color: var(--tech-cyan);
    min-width: 36px;
    font-family: monospace;
}

/* 操作提示 */
.machine3d-hint {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(30, 40, 60, 0.75);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(201,162,39,0.3);
    color: rgba(255,255,255,0.85);
    font-size: var(--text-xs);
    padding: 6px 18px;
    border-radius: 9999px;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: 5;
}

/* 部件标签 */
.machine3d-labels {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 4;
}

.m3d-label {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 6px;
    animation: labelFloat 3s ease-in-out infinite;
}

.m3d-label:nth-child(2) { animation-delay: 0.5s; }
.m3d-label:nth-child(3) { animation-delay: 1.0s; }
.m3d-label:nth-child(4) { animation-delay: 1.5s; }
.m3d-label:nth-child(5) { animation-delay: 2.0s; }

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

.m3d-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 8px rgba(201,162,39,0.8);
    flex-shrink: 0;
    position: relative;
}

.m3d-dot::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 1px solid rgba(201,162,39,0.4);
    animation: dotPulse 2s ease-in-out infinite;
}

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

.m3d-text {
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(201,162,39,0.3);
    color: rgba(255,255,255,0.9);
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 4px;
    white-space: nowrap;
    letter-spacing: 0.05em;
}

.m3d-label-right {
    flex-direction: row-reverse;
}

/* 右侧信息面板 */
.machine3d-info {
    width: 300px;
    flex-shrink: 0;
    background: linear-gradient(180deg, #0d1520 0%, #0a101c 100%);
    border-left: 1px solid rgba(201,162,39,0.15);
    padding: var(--space-8) var(--space-6);
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
    overflow-y: auto;
}

.m3d-info-header .m3d-badge {
    display: inline-block;
    background: rgba(201,162,39,0.15);
    color: var(--accent);
    border: 1px solid rgba(201,162,39,0.3);
    font-size: var(--text-xs);
    padding: 3px 10px;
    border-radius: 4px;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-2);
}

.m3d-info-header h3 {
    font-size: var(--text-xl);
    font-weight: var(--weight-bold);
    color: var(--neutral-50);
    margin-bottom: 4px;
    line-height: 1.3;
}

.m3d-info-header p {
    font-size: var(--text-xs);
    color: var(--neutral-400);
    letter-spacing: 0.05em;
}

.m3d-spec-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.m3d-spec-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    font-size: var(--text-xs);
    border-bottom: 1px solid rgba(255,255,255,0.04);
    gap: var(--space-3);
}

.m3d-spec-list li:last-child { border-bottom: none; }
.m3d-spec-list li:nth-child(odd) { background: rgba(255,255,255,0.025); }

.m3d-spec-label {
    color: var(--neutral-400);
    flex-shrink: 0;
}

.m3d-spec-list strong {
    color: var(--neutral-100);
    font-weight: var(--weight-semibold);
    text-align: right;
}

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

.m3d-feature {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: var(--neutral-300);
}

.m3d-feature svg {
    width: 14px;
    height: 14px;
    color: var(--accent);
    flex-shrink: 0;
    fill: var(--accent);
}

.m3d-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 11px 20px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light, #e8bc3a) 100%);
    color: var(--primary);
    font-size: var(--text-sm);
    font-weight: var(--weight-semibold);
    border-radius: var(--radius-sm);
    letter-spacing: 0.03em;
    transition: all var(--duration-fast) var(--ease-out);
    text-decoration: none;
}

.m3d-cta-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(201,162,39,0.4);
    text-decoration: none;
    color: var(--primary);
}

.m3d-inquiry-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    background: transparent;
    color: var(--neutral-200);
    border: 1px solid rgba(255,255,255,0.15);
    font-size: var(--text-sm);
    border-radius: var(--radius-sm);
    letter-spacing: 0.03em;
    transition: all var(--duration-fast) var(--ease-out);
    text-decoration: none;
}

.m3d-inquiry-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
    text-decoration: none;
}

/* 响应式 */
@media (max-width: 900px) {
    .machine3d-wrapper {
        flex-direction: column;
        max-height: unset;
    }

    .machine3d-canvas-container {
        height: 420px;
    }

    .machine3d-info {
        width: 100%;
        border-left: none;
        border-top: 1px solid rgba(201,162,39,0.15);
        padding: var(--space-6) var(--space-6);
    }

    .machine3d-labels {
        display: none;
    }
}

@media (max-width: 640px) {
    .machine3d-canvas-container {
        height: 320px;
    }

    .machine3d-hint {
        font-size: 10px;
        padding: 4px 12px;
    }
}

/* ========================================
   RTL阿拉伯语布局适配
   ======================================== */
[dir="rtl"] {
    font-family: 'Segoe UI', 'Tahoma', 'Noto Sans Arabic', 'Noto Kufi Arabic', 'Arial', sans-serif;
}

[dir="rtl"] .navbar .container {
    flex-direction: row-reverse;
}

[dir="rtl"] .nav-menu {
    flex-direction: row-reverse;
}

[dir="rtl"] .nav-menu a::after {
    left: auto;
    right: 0;
}

[dir="rtl"] .hero-content {
    direction: rtl;
}

[dir="rtl"] .hero-buttons {
    flex-direction: row-reverse;
}

[dir="rtl"] .about-grid {
    direction: rtl;
}

[dir="rtl"] .about-text {
    text-align: right;
}

[dir="rtl"] .link-arrow:hover {
    transform: scaleX(-1);
}

[dir="rtl"] .features-grid {
    direction: rtl;
}

[dir="rtl"] .products-grid {
    direction: rtl;
}

[dir="rtl"] .regions-grid {
    direction: rtl;
}

[dir="rtl"] .client-logos {
    animation: logoScrollRTL 30s linear infinite;
}

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

/* 尊重用户系统偏好：减少动态效果时隐藏英雄区视频，回退到原渐变背景 */
@media (prefers-reduced-motion: reduce) {
    .hero-video {
        display: none;
    }
}

[dir="rtl"] .process-steps {
    direction: rtl;
}

[dir="rtl"] .process-step-number {
    right: auto;
    left: calc(50% - 40px);
}

[dir="rtl"] .process-steps::before {
    background: linear-gradient(to left, var(--accent), var(--border));
}

[dir="rtl"] .about-detail {
    direction: rtl;
}

[dir="rtl"] .about-text-content {
    text-align: right;
}

[dir="rtl"] .showcase-grid {
    direction: rtl;
}

[dir="rtl"] .culture-grid {
    direction: rtl;
}

[dir="rtl"] .timeline::before {
    left: auto;
    right: 50%;
    transform: translateX(50%);
}

[dir="rtl"] .timeline-item {
    justify-content: flex-start;
    padding-right: 0;
    padding-left: calc(50% + 60px);
}

[dir="rtl"] .timeline-item:nth-child(even) {
    justify-content: flex-end;
    padding-left: 0;
    padding-right: calc(50% + 60px);
}

[dir="rtl"] .timeline-year {
    left: auto;
    right: 50%;
    transform: translateX(50%);
}

[dir="rtl"] .timeline-item:nth-child(odd) .timeline-content {
    border-right: none;
    border-left: 3px solid var(--accent);
}

[dir="rtl"] .timeline-item:nth-child(even) .timeline-content {
    border-left: none;
    border-right: 3px solid var(--tech-cyan);
}

[dir="rtl"] .certificates-grid {
    direction: rtl;
}

[dir="rtl"] .product-search-inner input {
    padding: 12px 48px 12px 20px;
}

[dir="rtl"] .product-search-icon {
    left: auto;
    right: 18px;
}

[dir="rtl"] .product-nav-list {
    direction: rtl;
}

[dir="rtl"] .product-grid {
    direction: rtl;
}

[dir="rtl"] .product-card-body {
    text-align: right;
}

[dir="rtl"] .product-card-thumb .thumb-label {
    right: auto;
    left: 12px;
}

[dir="rtl"] .contact-grid {
    direction: rtl;
}

[dir="rtl"] .contact-info-panel,
[dir="rtl"] .contact-form-panel {
    text-align: right;
}

[dir="rtl"] .contact-item {
    flex-direction: row-reverse;
}

[dir="rtl"] .footer-grid {
    direction: rtl;
}

[dir="rtl"] .footer-brand p,
[dir="rtl"] .footer-contact p {
    text-align: right;
}

[dir="rtl"] .footer-bottom {
    direction: rtl;
}

[dir="rtl"] .footer-bottom .icp {
    margin-left: 0;
    margin-right: 16px;
}

[dir="rtl"] .whatsapp-float {
    right: auto;
    left: 28px;
}

[dir="rtl"] .back-to-top {
    right: auto;
    left: 28px;
}

[dir="rtl"] .faq-question {
    flex-direction: row-reverse;
}

[dir="rtl"] .faq-answer-inner {
    text-align: right;
}

[dir="rtl"] .stat-item {
    direction: rtl;
}

[dir="rtl"] .category-header {
    direction: rtl;
}

/* RTL Mobile */
@media (max-width: 768px) {
    [dir="rtl"] .whatsapp-float {
        left: 20px;
    }

    [dir="rtl"] .back-to-top {
        bottom: 80px;
        left: 20px;
    }

    [dir="rtl"] .timeline {
        padding-left: 0;
        padding-right: 20px;
    }

    [dir="rtl"] .timeline::before {
        right: 20px;
        left: auto;
    }

    [dir="rtl"] .timeline-item,
    [dir="rtl"] .timeline-item:nth-child(even) {
        padding-right: 60px;
        padding-left: 0;
        justify-content: flex-start;
    }

    [dir="rtl"] .timeline-year {
        right: 20px;
        left: auto;
        transform: translateX(50%);
    }

    [dir="rtl"] .timeline-item:nth-child(odd) .timeline-content,
    [dir="rtl"] .timeline-item:nth-child(even) .timeline-content {
        border-left: none;
        border-right: 3px solid var(--accent);
    }
}

@media (max-width: 480px) {
    [dir="rtl"] .whatsapp-float {
        left: 20px;
    }

    [dir="rtl"] .back-to-top {
        left: 68px;
    }
}

/* ========================================
   自定义视频模态播放器
   ======================================== */
.video-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(5, 8, 18, 0.88);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.video-modal-backdrop.is-open {
    opacity: 1;
    visibility: visible;
}

.video-modal {
    width: 90%;
    max-width: 820px;
    background: #0d1120;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(var(--accent-rgb), 0.20);
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.04);
    transform: scale(0.94) translateY(16px);
    transition: transform 0.3s cubic-bezier(0.34, 1.2, 0.64, 1);
}

.video-modal-backdrop.is-open .video-modal {
    transform: scale(1) translateY(0);
}

/* 顶部标题栏 */
.video-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    background: rgba(10, 14, 26, 0.95);
    border-bottom: 1px solid rgba(var(--accent-rgb), 0.12);
}

.video-modal-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.video-modal-title-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0.7;
}

.video-modal-title span {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.3px;
}

.video-modal-close {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 16px;
    line-height: 1;
}

.video-modal-close:hover {
    background: rgba(var(--accent-rgb), 0.15);
    border-color: rgba(var(--accent-rgb), 0.30);
    color: var(--accent);
}

/* 视频主体 */
.video-modal-body {
    background: #000;
    position: relative;
}

.video-modal-body video {
    display: block;
    width: 100%;
    max-height: 70vh;
    object-fit: contain;
    background: #000;
}

/* 底部品牌装饰条 */
.video-modal-footer {
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, rgba(201,162,39,0.3) 30%, rgba(201,162,39,0.6) 50%, rgba(201,162,39,0.3) 70%, transparent 100%);
}

/* 移动端适配 */
@media (max-width: 640px) {
    .video-modal {
        width: 95%;
        border-radius: 12px;
    }

    .video-modal-title span {
        font-size: 13px;
    }
}

/* ========================================
   规格表移动端优化（横向滚动）
   ======================================== */
@media (max-width: 768px) {
    .spec-table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin: 0 -20px;
        padding: 0 20px;
    }
    .spec-table-wrapper::after {
        content: '← 滑动查看 →';
        display: block;
        text-align: center;
        font-size: 11px;
        color: var(--text-muted);
        margin-top: 8px;
        animation: fadeHint 2s ease-in-out infinite;
    }
    @keyframes fadeHint {
        0%, 100% { opacity: 0.3; }
        50% { opacity: 1; }
    }
    .spec-table {
        min-width: 600px;
        font-size: 12px;
    }
    .spec-table th,
    .spec-table td {
        padding: 8px 10px;
        white-space: nowrap;
    }
    /* 第一列冻结 */
    .spec-table th:first-child,
    .spec-table td:first-child {
        position: sticky;
        left: 0;
        background: var(--bg);
        z-index: 1;
        box-shadow: 2px 0 4px rgba(0,0,0,0.05);
    }
    .spec-table thead th:first-child {
        background: var(--primary);
        z-index: 2;
    }
}

/* ========================================
   面包屑导航增强
   ======================================== */
.page-header .breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.page-header .breadcrumb a {
    color: rgba(255,255,255,0.75);
    transition: var(--transition-fast);
}

.page-header .breadcrumb a:hover {
    color: var(--accent);
    text-decoration: none;
}

.page-header .breadcrumb .separator {
    color: rgba(255,255,255,0.3);
}

/* ========================================
   404 Page
   ======================================== */
.error-page {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px 80px;
}
.error-code {
    font-size: clamp(80px, 15vw, 160px);
    font-weight: 800;
    color: var(--text);
    line-height: 1;
    margin-bottom: 8px;
}
.error-code .accent-zero {
    color: var(--accent);
}
.error-title {
    font-size: var(--text-2xl);
    font-weight: 600;
    color: var(--text);
    margin-bottom: 12px;
}
.error-desc {
    font-size: var(--text-md);
    color: var(--text-muted);
    margin-bottom: 32px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}
.error-links {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}
.error-quicklinks {
    margin-top: 40px;
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
}
.error-quicklinks a {
    font-size: var(--text-sm);
    color: var(--text-muted);
    transition: var(--transition-fast);
}
.error-quicklinks a:hover {
    color: var(--accent);
}

/* ========================================
   窄屏导航修复（≤560px）
   ----------------------------------------
   原布局在 ≤428px 视口下会把汉堡按钮挤出屏幕右侧：
   实测 390px 视口下按钮右缘达 428px（中文/英文页）~466px（阿语页），
   等于手机访客根本点不到导航按钮、打不开菜单。
   成因是 Logo + 语言切换（三项）+「获取报价」+ 汉堡在窄屏横向撑爆容器。
   这里逐级收缩、不删功能：先压字号与内边距，最窄时才让位给汉堡按钮
   （菜单内仍保留「联系我们」入口）。
   本段只新增规则、不修改任何既有声明，深色主题同样受益。
   修复前后都需实测：探测 .hamburger 的 getBoundingClientRect().right <= innerWidth。
   ======================================== */
@media (max-width: 560px) {
    .navbar .container {
        padding: 0 14px;
    }
    .logo {
        gap: 8px;
        min-width: 0;
    }
    .logo-icon {
        width: 34px;
        height: 34px;
        font-size: 17px;
        flex-shrink: 0;
    }
    .logo-text {
        min-width: 0;
    }
    .logo-main {
        font-size: 15px;
        letter-spacing: 1px;
        white-space: nowrap;
    }
    .logo-sub {
        display: none;
    }
    .nav-right {
        gap: 8px;
        flex-shrink: 0;
    }
    .lang-switch {
        gap: 0;
    }
    .lang-switch a {
        min-width: 32px;
        min-height: 40px;
        padding: 6px 4px;
        font-size: 12px;
    }
    .lang-switch .lang-divider {
        display: none;
    }
    .nav-cta {
        padding: 8px 12px;
        font-size: 12px;
        white-space: nowrap;
    }
    .hamburger {
        flex-shrink: 0;
    }
}

@media (max-width: 420px) {
    .logo-main {
        font-size: 14px;
        letter-spacing: 0.5px;
    }
    .nav-cta {
        display: none;
    }
}
