/* ========================================
   全局变量与基础样式
   ======================================== */
:root {
    /* 色彩系统 - 工业风格（深蓝紫 + 冰青强调，全站统一） */
    --color-primary-dark: #1a1a2e;
    /* 奢侈黑 */
    --color-secondary-dark: #16213e;
    /* 深蓝黑 */
    /* 浅内容带：冷灰 slate，与产品/企业 Agent 专页一致 */
    --color-bg-light: #eef2f7;
    --surface-page: #fafbfd;
    /* 页面默认底：极浅冷白，与浅内容带区分层次 */
    --color-white: #FFFFFF;
    --color-industrial-blue: #0f3460;
    /* 工业蓝 */
    --color-primary-blue: #10b0fc;
    /* 主蓝 */
    --color-nble-yellow: #e07800;
    /* 贵族黄 */
    --color-noble-yellow: var(--color-nble-yellow);
    --color-luxury-black: #1a1a2e;
    /* 奢侈黑 */

    /* 深色面（Hero / 公司简介 / CTA 等）：同一套渐变可复用 */
    --gradient-surface-dark: linear-gradient(135deg, var(--color-luxury-black) 0%, var(--color-industrial-blue) 100%);
    --gradient-surface-dark-reverse: linear-gradient(135deg, var(--color-industrial-blue) 0%, var(--color-luxury-black) 100%);
    /* 页脚竖向渐变节点 */
    --color-footer-surface-top: #161a32;
    --color-footer-surface-mid: #0e1022;
    --color-footer-surface-bottom: #0a0c18;
    /* 固定导航：与主色同色相的半透明幕 */
    --color-navbar-scrim: rgba(26, 26, 46, 0.88);

    /* 兼容旧变量名 */
    --color-brand-blue: var(--color-industrial-blue);
    --color-accent-orange: var(--color-primary-blue);
    --color-accent-green: var(--color-primary-blue);

    /* Ant Design图标样式 */
    --icon-stroke-width: 1.5;

    /* 字体系统 */
    --font-chinese: 'Source Han Sans CN', 'Alibaba PuHuiTi', sans-serif;
    --font-english: 'SF Pro Display', 'Inter', sans-serif;

    /* 排版尺度（全站统一字号层级 — 禁止在组件中硬编码 px/rem/clamp） */
    --font-size-3xs: 10px;
    --font-size-2xs: 11px;
    --font-size-xs: 12px;
    --font-size-compact: 13px;
    --font-size-sm: 14px;
    --font-size-nav: 15px;
    --font-size-btn: 15px;
    --font-size-body: 16px;
    --font-size-lead: 17px;
    --font-size-tagline: 18px;
    --font-size-subheading: 20px;
    --font-size-card-title: 22px;
    --font-size-brand-lockup: 24px;
    --font-size-panel-title: 24px;
    --font-size-block-heading: 28px;
    --font-size-icon-xl: 28px;
    --font-size-contact-display: 32px;
    --font-size-detail-section-title: 32px;
    --font-size-h2-page: 36px;
    --font-size-section-title: 42px;
    --font-size-h1-section: 48px;
    --font-size-display-lg: 60px;
    --font-size-hero-title: 56px;
    --font-size-display-xl: 80px;

    /* 派生字号（相对基础尺度，避免散落 calc） */
    --font-size-body-tight: calc(var(--font-size-body) * 0.95);
    --font-size-btn-tight: calc(var(--font-size-btn) * 0.98);
    --font-size-ratio-code: 0.86;

    /* 流体字号（响应式标题/副标题，统一在此定义） */
    --font-size-hero-title-fluid: clamp(2rem, 1.1rem + 2.6vw, 4.5rem);
    --font-size-hero-subtitle-fluid: clamp(1.05rem, 0.82rem + 0.55vw, 1.45rem);
    --font-size-hero-title-mobile: clamp(1.65rem, 6vw, 2.25rem);
    --font-size-section-title-md: clamp(1.65rem, 3.6vw, 2.25rem);
    --font-size-block-heading-md: clamp(1.35rem, 3vw, 1.75rem);
    --font-size-detail-hero-md: clamp(1.75rem, 4vw, 2.25rem);
    --font-size-detail-hero-sm: clamp(1.5rem, 6vw, 2rem);
    --font-size-challenge-title: clamp(1.8rem, 2.4vw, 2.8rem);
    --font-size-challenge-title-sm: clamp(1.35rem, 5vw, 1.85rem);
    --font-size-stat-number: clamp(1.75rem, 9vw, var(--font-size-section-title));
    --font-size-product-detail-h2: clamp(1.5rem, 4vw, var(--font-size-h2-page));
    --font-size-h1-section-md: clamp(1.75rem, 4vw, var(--font-size-h1-section));

    /* 企业 Agent 专页流体字号 */
    --font-size-ea-eyebrow: clamp(0.75rem, 1.1vw, 0.8125rem);
    --font-size-ea-hero-title: clamp(2.5rem, 6.5vw, 4.25rem);
    --font-size-ea-hero-subtitle: clamp(1.05rem, 2.2vw, 1.35rem);
    --font-size-ea-hero-lead: clamp(1.02rem, 1.45vw, 1.2rem);
    --font-size-ea-metric-val: clamp(1.05rem, 2.1vw, 1.2rem);
    --font-size-ea-metric-lab: clamp(0.75rem, 1.2vw, 0.8125rem);
    --font-size-ea-band-kicker: clamp(0.75rem, 1vw, 0.8125rem);
    --font-size-ea-band-h2: clamp(1.9rem, 3.8vw, 2.65rem);
    --font-size-ea-band-lead: clamp(1.05rem, 1.35vw, 1.2rem);
    --font-size-ea-pillar-h3: clamp(1.1rem, 1.35vw, 1.28rem);
    --font-size-ea-pillar-p: clamp(0.98rem, 1.1vw, 1.05rem);
    --font-size-ea-stack-tag: clamp(0.65rem, 0.9vw, 0.72rem);
    --font-size-ea-stack-h3: clamp(1.05rem, 1.2vw, 1.18rem);
    --font-size-ea-stack-p: clamp(0.95rem, 1.05vw, 1.02rem);
    --font-size-ea-legend-tag: clamp(0.68rem, 0.85vw, 0.75rem);
    --font-size-ea-legend-p: clamp(1rem, 1.12vw, 1.1rem);
    --font-size-ea-split-h2: clamp(1.65rem, 3vw, 2.15rem);
    --font-size-ea-split-p: clamp(1.05rem, 1.35vw, 1.15rem);
    --font-size-ea-deliver-li: clamp(1.02rem, 1.15vw, 1.12rem);
    --font-size-ea-phase-badge: clamp(0.7rem, 0.9vw, 0.75rem);
    --font-size-ea-phase-h3: clamp(1.12rem, 1.35vw, 1.28rem);
    --font-size-ea-phase-lead: clamp(0.98rem, 1.1vw, 1.05rem);
    --font-size-ea-phase-list: clamp(0.95rem, 1.05vw, 1.02rem);
    --font-size-ea-phase-tag: clamp(0.65rem, 0.85vw, 0.72rem);

    /* 浅色背景字色（正文偏 slate，标题更深，易读且偏科技感） */
    --color-text-heading: #0f172a;
    --color-text-body: #334155;
    --color-text-muted: #64748b;
    --color-text-soft: #64748b;
    --color-text-hint: #94a3b8;

    /* 深色背景字色（英雄区、公司简介卡片等） */
    --color-text-on-dark-heading: #e8f4ff;
    --color-text-on-dark-body: rgba(230, 242, 255, 0.93);
    --color-text-on-dark-muted: rgba(125, 211, 252, 0.95);
    --color-text-on-dark-tag: #b8e7ff;

    /* 行高 */
    --leading-snug: 1.35;
    --leading-normal: 1.6;
    --leading-relaxed: 1.75;
    --leading-loose: 1.85;

    /* 间距系统 */
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 48px;
    --spacing-xl: 80px;

    /* 过渡动画 */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* 固定导航栏占位：Hero 顶内边距与抽屉菜单 top 共用（约 padding + logo） */
    --nav-offset: 72px;

    /* 全站滚动条（与深蓝/冰青科技风统一） */
    --scrollbar-track: rgba(15, 23, 42, 0.55);
    --scrollbar-thumb: rgba(56, 189, 248, 0.42);
    --scrollbar-thumb-hover: rgba(125, 211, 252, 0.72);
    --scrollbar-thumb-border: rgba(15, 23, 42, 0.65);
}

/*
 * 大屏 / 高分辨率：固定 px 在「视口很宽、物理像素很细」的电脑上会显得整体偏小。
 * 以下用 clamp（首屏标题）+ 断点放大 :root 字号变量，避免其它 PC 上「字小到失真」。
 */
html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    /* 横向溢出只在根裁剪；纵向滚动仅挂在 html，避免出现 html + body 双滚动条 */
    overflow-x: hidden;
    overflow-y: auto;
    max-width: 100%;
    scrollbar-gutter: stable;
    scrollbar-width: thin;
    scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
}

html::-webkit-scrollbar {
    width: 10px;
}

html::-webkit-scrollbar-track {
    background: var(--scrollbar-track);
}

html::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--scrollbar-thumb), rgba(14, 165, 233, 0.35));
    border-radius: 999px;
    border: 2px solid var(--scrollbar-thumb-border);
}

html::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--scrollbar-thumb-hover), rgba(56, 189, 248, 0.45));
}

@media (min-width: 1536px) {
    :root {
        --font-size-nav: 16px;
        --font-size-body: 17px;
        --font-size-btn: 16px;
        --font-size-sm: 15px;
        --font-size-compact: 14px;
        --font-size-tagline: 19px;
        --font-size-subheading: 21px;
        --font-size-card-title: 23px;
        --font-size-brand-lockup: 26px;
        --font-size-panel-title: 26px;
        --font-size-h2-page: 38px;
        --font-size-section-title: 44px;
        --font-size-h1-section: 52px;
        --font-size-hero-title: 62px;
        --font-size-block-heading: 30px;
        --font-size-lead: 18px;
        --font-size-display-lg: 64px;
        --font-size-display-xl: 84px;
        --spacing-lg: 52px;
        --spacing-xl: 88px;
    }
}

@media (min-width: 2100px) {
    :root {
        --font-size-nav: 17px;
        --font-size-body: 18px;
        --font-size-btn: 17px;
        --font-size-sm: 16px;
        --font-size-compact: 15px;
        --font-size-tagline: 20px;
        --font-size-subheading: 22px;
        --font-size-card-title: 24px;
        --font-size-brand-lockup: 28px;
        --font-size-panel-title: 28px;
        --font-size-h2-page: 42px;
        --font-size-section-title: 48px;
        --font-size-h1-section: 56px;
        --font-size-hero-title: 72px;
        --font-size-block-heading: 32px;
        --font-size-lead: 19px;
        --font-size-contact-display: 34px;
        --font-size-detail-section-title: 34px;
        --font-size-display-lg: 68px;
        --font-size-display-xl: 88px;
        --spacing-lg: 56px;
        --spacing-xl: 96px;
    }
}

/* Ant Design风格SVG图标 */
.adicon {
    display: inline-block;
    width: 1em;
    height: 1em;
    vertical-align: -0.125em;
}

.adicon svg {
    width: 100%;
    height: 100%;
    transition: transform 0.3s ease;
}

.adicon:hover svg {
    transform: scale(1.1);
}

/* 大图标 */
.adicon.icon-large {
    width: 100px;
    height: 100px;
}

.adicon.icon-medium {
    width: 60px;
    height: 60px;
}

.adicon.icon-small {
    width: 32px;
    height: 32px;
}

/* 内联 SVG 图解文案（用语义类替代 font-size 属性硬编码） */
.svg-text {
    font-family: var(--font-chinese), var(--font-english), system-ui, sans-serif;
}

.svg-text--lead { font-size: var(--font-size-lead); }
.svg-text--body { font-size: var(--font-size-body); }
.svg-text--nav { font-size: var(--font-size-nav); }
.svg-text--sm { font-size: var(--font-size-sm); }
.svg-text--compact { font-size: var(--font-size-compact); }
.svg-text--xs { font-size: var(--font-size-xs); }
.svg-text--display { font-size: var(--font-size-contact-display); }

/* 产品卡片中的图标 */
.product-image .adicon {
    width: 100px;
    height: 100px;
}

/* 卡片图标 */
.card-icon .adicon {
    width: 60px;
    height: 60px;
}

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

body {
    font-family: var(--font-chinese), var(--font-english);
    font-size: var(--font-size-body);
    color: var(--color-text-body);
    background-color: var(--surface-page);
    line-height: var(--leading-normal);
    /* 勿设 overflow-x: hidden：会与 overflow-y:visible 组合成另一纵向滚动容器，产生双滚动条 */
    max-width: 100%;
}

/* 首页首屏与 body 同色，极端情况下 1px 级缝隙也不显白 */
body.page-home {
    background-color: var(--color-luxury-black);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--color-text-heading);
}

/* 深色通栏 / 深色卡片内标题用浅色（覆盖全局 h 的浅色底标题色，保证对比度） */
.hero :is(h1, h2, h3, h4, h5, h6),
.company-intro :is(h1, h2, h3, h4, h5, h6),
.cta-section :is(h1, h2, h3, h4, h5, h6),
.contact-highlight :is(h1, h2, h3, h4, h5, h6),
.detail-hero :is(h1, h2, h3, h4, h5, h6),
.case-detail-hero :is(h1, h2, h3, h4, h5, h6),
.challenge-section :is(h1, h2, h3, h4, h5, h6),
.quick-actions :is(h1, h2, h3, h4, h5, h6),
.map-section :is(h1, h2, h3, h4, h5, h6),
.deployment-modes :is(h1, h2, h3, h4, h5, h6),
.solution-overlay :is(h1, h2, h3, h4, h5, h6),
.section--on-dark :is(h1, h2, h3, h4, h5, h6) {
    color: var(--color-text-on-dark-heading);
}

/* 深色区副标题：不用默认 --color-text-muted（偏灰蓝、在深蓝底上发糊） */
.challenge-section .section-subtitle,
.map-section .section-subtitle,
.quick-actions .section-subtitle,
.section--on-dark .section-subtitle {
    color: rgba(226, 238, 255, 0.9);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

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

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

.section {
    padding: var(--spacing-xl) 0;
}

/* ========================================
   导航栏样式
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    z-index: 1000;
    background: var(--color-navbar-scrim);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: var(--transition-normal);
}

.navbar.hidden {
    transform: translateY(-100%);
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-sm);
    width: 100%;
    max-width: 1200px;
    min-width: 0;
    margin: 0 auto;
    padding: var(--spacing-sm) max(var(--spacing-md), env(safe-area-inset-left, 0px)) var(--spacing-sm)
        max(var(--spacing-md), env(safe-area-inset-right, 0px));
    box-sizing: border-box;
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    font-size: var(--font-size-brand-lockup);
    font-weight: 700;
    color: var(--color-white);
}

.navbar-logo img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

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

.navbar-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-lg);
}

.navbar-menu a {
    color: var(--color-white);
    font-size: var(--font-size-nav);
    font-weight: 500;
    position: relative;
    padding: var(--spacing-xs) 0;
}

.navbar-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary-blue), #5ce1ff);
    box-shadow: 0 0 10px rgba(16, 176, 252, 0.55);
    transition: var(--transition-normal);
}

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

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--color-white);
    transition: var(--transition-fast);
}

/* ========================================
   按钮样式
   ======================================== */
.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 4px;
    font-weight: 600;
    font-size: var(--font-size-btn);
    cursor: pointer;
    transition: var(--transition-normal);
    border: none;
    outline: none;
}

.btn-primary {
    background: var(--color-industrial-blue);
    color: var(--color-white);
}

.btn-primary:hover {
    background: #0a2647;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(15, 52, 96, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--color-white);
    border: 2px solid var(--color-white);
}

.btn-secondary:hover {
    background: var(--color-white);
    color: var(--color-luxury-black);
}

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

.btn-accent:hover {
    background: #0891d4;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(16, 176, 252, 0.35);
}

/* ========================================
   Hero区域
   ======================================== */
.hero {
    width: 100%;
    max-width: 100%;
    /* svh/dvh 优先；--vh 由脚本按 innerHeight/visualViewport 写入，消除底部细白条 */
    min-height: 100svh;
    min-height: 100dvh;
    min-height: calc(var(--vh, 1vh) * 100);
    background: var(--color-luxury-black);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    /* 避免首屏标题被固定导航遮挡；刘海屏用 safe-area */
    padding-top: calc(var(--nav-offset) + env(safe-area-inset-top, 0px));
    box-sizing: border-box;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(15, 52, 96, 0.32) 0%, transparent 52%),
        radial-gradient(circle at 80% 80%, rgba(16, 176, 252, 0.14) 0%, transparent 50%);
    animation: particleFlow 20s ease-in-out infinite;
}

@keyframes particleFlow {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--color-white);
    max-width: 800px;
}

.hero-title {
    /* 流体标题：随视口变宽略放大，上限避免超大屏失控 */
    font-size: var(--font-size-hero-title-fluid);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

/* 仅首页：与企业 Agent「企业Agent」同系 — 浅青网格底 + 冰青渐变字面 + 外发光与层次阴影 */
.page-home .hero {
    isolation: isolate;
}

.page-home .hero::before {
    z-index: 0;
}

.page-home .hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0.28;
    background-image:
        linear-gradient(rgba(125, 211, 252, 0.09) 1px, transparent 1px),
        linear-gradient(90deg, rgba(125, 211, 252, 0.09) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 85% 70% at 50% 40%, black 15%, transparent 72%);
}

/* 首页首屏：内联 SVG 高科技底纹（电路 / 电流 / 机械臂轮廓），置于网格之下、文案之上 */
.page-home .hero-tech-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 100%;
    z-index: 2;
    pointer-events: none;
    opacity: 0.62;
}

.page-home .hero > .container {
    position: relative;
    z-index: 3;
}

.page-home .hero-tech-flow-path {
    stroke-dasharray: 12 20;
    stroke-dashoffset: 0;
    animation: heroTechFlowDash 4.8s linear infinite;
}

.page-home .hero-tech-flow-path--2 {
    animation-duration: 6.2s;
    animation-direction: reverse;
    opacity: 0.55;
}

@keyframes heroTechFlowDash {
    to {
        stroke-dashoffset: -256;
    }
}

@media (prefers-reduced-motion: reduce) {
    .page-home .hero-tech-flow-path {
        animation: none;
        stroke-dasharray: 10 16;
    }
}

/* 首屏主按钮：提高与深色底的分离度 */
.page-home .hero .btn-primary {
    border: 1px solid rgba(125, 211, 252, 0.42);
    box-shadow:
        0 0 0 1px rgba(15, 52, 96, 0.35),
        0 6px 28px rgba(16, 176, 252, 0.38),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.page-home .hero .btn-primary:hover {
    box-shadow:
        0 0 0 1px rgba(125, 211, 252, 0.25),
        0 10px 36px rgba(16, 176, 252, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.page-home .hero-title {
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.15;
    color: #f0f9ff;
    text-shadow:
        0 0 1px rgba(240, 253, 255, 0.9),
        0 0 42px rgba(56, 189, 248, 0.38),
        0 1px 0 rgba(255, 255, 255, 0.22),
        0 3px 0 rgba(0, 0, 0, 0.45),
        0 12px 28px rgba(0, 0, 0, 0.35);
}

.page-home .hero-title__face {
    display: inline;
    background: linear-gradient(165deg, #f0fdff 0%, #bae6fd 38%, #38bdf8 72%, #0ea5e9 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
    .page-home .hero-title__face {
        background: none;
        color: #e0f2fe;
    }
}

.hero-subtitle {
    font-size: var(--font-size-hero-subtitle-fluid);
    margin-bottom: var(--spacing-lg);
    opacity: 0.9;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.2s forwards;
}

.hero-cta {
    display: flex;
    gap: var(--spacing-md);
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.4s forwards;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   卡片组件
   ======================================== */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.card {
    background: var(--color-white);
    border-radius: 8px;
    padding: var(--spacing-lg);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition-normal);
    cursor: pointer;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color-industrial-blue), var(--color-primary-blue));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
    font-size: var(--font-size-icon-xl);
    color: var(--color-white);
}

.card-title {
    font-size: var(--font-size-card-title);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.card-description {
    color: var(--color-text-muted);
    line-height: var(--leading-loose);
}

/* ========================================
   页脚（深蓝底 + 冰青标题与分隔，与全站主色统一）
   ======================================== */
.footer {
    background: linear-gradient(
        180deg,
        var(--color-footer-surface-top) 0%,
        var(--color-footer-surface-mid) 45%,
        var(--color-footer-surface-bottom) 100%
    );
    color: var(--color-white);
    padding: var(--spacing-xl) 0 var(--spacing-lg);
    border-top: 1px solid rgba(94, 225, 255, 0.12);
    box-shadow: inset 0 1px 0 rgba(125, 211, 252, 0.06);
    overflow-x: hidden;
    overflow-x: clip;
}

.footer-content {
    display: grid;
    /* 桌面端固定四列：关于 / 核心产品 / 快速链接 / 联系方式（避免 auto-fit 仅排 3 列导致第 4 块叠在第一列下方） */
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    align-items: start;
}

.footer-section h3,
.footer-section .footer-title {
    font-size: var(--font-size-body);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    margin-top: 0;
    letter-spacing: 0.06em;
    color: #b8e6ff;
    text-shadow: 0 0 24px rgba(56, 189, 248, 0.18);
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(125, 211, 252, 0.28);
}

.footer-section p {
    margin: 0 0 var(--spacing-xs);
    line-height: var(--leading-relaxed);
    color: rgba(230, 242, 255, 0.82);
}

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

.footer-section ul li {
    margin-bottom: var(--spacing-xs);
}

.footer-section a {
    color: rgba(220, 236, 255, 0.88);
    transition: color 0.2s ease, text-shadow 0.2s ease;
}

.footer-section a:hover {
    color: #7ee9ff;
    text-shadow: 0 0 12px rgba(56, 189, 248, 0.35);
}

.footer-section strong {
    color: #7ee9ff;
    font-weight: 700;
}

.footer-section a[href^='tel:'] {
    color: #7ee9ff;
}

.footer-bottom {
    position: relative;
    border-top: none;
    padding-top: var(--spacing-md);
    text-align: center;
    color: rgba(180, 205, 230, 0.55);
    font-size: var(--font-size-sm);
}

/* 版权区上方的分隔线：拉满视口宽度（.footer-bottom 在 .container 内，border-top 原本只与版心同宽） */
.footer-bottom::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    width: 100vw;
    height: 1px;
    transform: translateX(-50%);
    background: rgba(125, 211, 252, 0.14);
    box-shadow: 0 0 10px rgba(125, 211, 252, 0.1);
    pointer-events: none;
}

/* ========================================
   响应式设计（平板 / 手机 / 安全区）
   ======================================== */

@media (max-width: 1024px) {
    .section {
        padding: var(--spacing-lg) 0;
    }

    .section-title {
        font-size: var(--font-size-section-title-md);
        padding: 0 var(--spacing-xs);
    }

    .section-subtitle {
        font-size: var(--font-size-body);
        padding: 0 var(--spacing-xs);
    }

    .heading-block-center {
        font-size: var(--font-size-block-heading-md);
        padding: 0 var(--spacing-xs);
    }

    .footer-content {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .navbar-menu {
        gap: var(--spacing-md);
    }

    .cta-section {
        padding: var(--spacing-lg) var(--spacing-md);
        margin-top: var(--spacing-md);
    }

    .detail-hero__title,
    .case-detail-hero__title {
        font-size: var(--font-size-detail-hero-md);
        padding: 0 var(--spacing-sm);
    }
}

@media (max-width: 768px) {
    .navbar-menu {
        position: fixed;
        top: var(--nav-offset);
        left: -100%;
        width: 100%;
        height: calc(100dvh - var(--nav-offset));
        max-height: calc(100vh - var(--nav-offset));
        background: var(--color-primary-dark);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: var(--spacing-lg) var(--spacing-md) max(var(--spacing-xl), env(safe-area-inset-bottom));
        transition: var(--transition-normal);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        scrollbar-color: var(--scrollbar-thumb) rgba(15, 23, 42, 0.5);
    }

    .navbar-menu::-webkit-scrollbar {
        width: 8px;
    }

    .navbar-menu::-webkit-scrollbar-track {
        background: rgba(15, 23, 42, 0.45);
    }

    .navbar-menu::-webkit-scrollbar-thumb {
        background: var(--scrollbar-thumb);
        border-radius: 999px;
    }

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

    .navbar-menu a {
        padding: 14px 12px;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .mobile-menu-toggle {
        display: flex;
        flex-shrink: 0;
        min-width: 44px;
        min-height: 44px;
        align-items: center;
        justify-content: center;
    }

    /* 小屏不用 100vw 拉线，避免与 html 宽度不一致导致整页右偏露白 */
    .footer-bottom::before {
        left: 0;
        width: 100%;
        transform: none;
    }

    .hero .container {
        padding-bottom: env(safe-area-inset-bottom, 0);
    }

    .hero-title {
        font-size: var(--font-size-hero-title-mobile);
    }

    .hero-subtitle {
        font-size: var(--font-size-body);
    }

    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-cta .btn {
        width: 100%;
        text-align: center;
    }

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

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

    .btn {
        min-height: 44px;
        padding-top: 12px;
        padding-bottom: 12px;
    }
}

@media (max-width: 480px) {
    .container {
        padding-left: max(14px, env(safe-area-inset-left, 0px));
        padding-right: max(14px, env(safe-area-inset-right, 0px));
    }

    .section {
        padding: var(--spacing-md) 0;
    }

    .navbar-container {
        padding-left: max(12px, env(safe-area-inset-left, 0px));
        padding-right: max(12px, env(safe-area-inset-right, 0px));
    }

    .navbar-logo-text {
        font-size: var(--font-size-tagline);
    }

    .navbar-logo img {
        width: 36px;
        height: 36px;
    }
}

/* ========================================
   工具类
   ======================================== */
.text-center {
    text-align: center;
}

.section-title {
    font-size: var(--font-size-section-title);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
}

.section-subtitle {
    font-size: var(--font-size-tagline);
    color: var(--color-text-muted);
    max-width: 700px;
    margin: 0 auto var(--spacing-lg);
}

/* 公用排版类（替代 HTML 内联 font-size） */
.heading-block-center {
    text-align: center;
    margin-bottom: 32px;
    font-size: var(--font-size-block-heading);
}

.footer-contact-strong {
    font-size: var(--font-size-body);
}

.footer-contact-phone-link {
    font-weight: 700;
    font-size: var(--font-size-tagline);
}

.detail-hero__title {
    font-size: var(--font-size-h1-section);
    margin-bottom: 24px;
}

.detail-hero__subtitle {
    font-size: var(--font-size-subheading);
    opacity: 0.9;
}

.case-detail-hero__title {
    font-size: var(--font-size-section-title);
    margin-bottom: 24px;
}

.case-detail-hero__subtitle {
    font-size: var(--font-size-tagline);
    opacity: 0.9;
}

.case-quote {
    font-style: italic;
    font-size: var(--font-size-tagline);
    margin-bottom: 16px;
}

.cta-section {
    background: var(--gradient-surface-dark);
    color: var(--color-white);
    padding: 48px;
    text-align: center;
    border-radius: 12px;
    margin-top: 48px;
}

.cta-section h3 {
    font-size: var(--font-size-block-heading);
    margin-bottom: 16px;
    color: var(--color-white);
}

.cta-section .cta-lead {
    font-size: var(--font-size-tagline);
    opacity: 0.9;
}

.cta-section .cta-meta {
    margin-top: 24px;
    font-size: var(--font-size-body);
    opacity: 0.8;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 24px;
    flex-wrap: wrap;
}

/* 多页底部 CTA 通栏（首页 / 解决方案 / 案例等；勿仅放在 home.css，否则子页无渐变底） */
.quick-actions {
    background: linear-gradient(135deg, var(--color-industrial-blue), var(--color-primary-blue));
    color: var(--color-white);
}

.action-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

.btn--lg {
    font-size: var(--font-size-tagline);
    padding: 16px 40px;
}

.contact-highlight {
    margin-bottom: var(--spacing-lg);
    padding: var(--spacing-lg);
    background: var(--gradient-surface-dark-reverse);
    border-radius: 12px;
    color: var(--color-white);
}

.contact-highlight__label {
    margin: 0 0 6px;
    font-size: var(--font-size-tagline);
    font-weight: 600;
    letter-spacing: 0.06em;
    color: rgba(125, 211, 252, 0.95);
}

.contact-highlight__name {
    margin: 0 0 14px;
    font-size: var(--font-size-panel-title);
    font-weight: 700;
    line-height: var(--leading-snug);
    color: var(--color-white);
}

.contact-highlight__phone {
    font-size: var(--font-size-block-heading);
    font-weight: 700;
    color: var(--color-primary-blue);
    text-decoration: none;
    display: inline-block;
    padding: 10px 28px;
    border: 2px solid var(--color-primary-blue);
    border-radius: 8px;
    transition:
        background-color var(--transition-normal),
        color var(--transition-normal);
}

.contact-highlight__phone:hover {
    background-color: var(--color-primary-blue);
    color: var(--color-luxury-black);
}

.contact-highlight__meta {
    margin: 10px 0 0;
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: rgba(230, 242, 255, 0.75);
}

.form-error {
    color: #ff4444;
    font-size: var(--font-size-sm);
    margin-top: 4px;
}

.fade-in {
    opacity: 0;
    transform: translateY(36px);
    transition:
        opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   整站内容带（浅底节奏，按需加在 section 上）
   ======================================== */
.section-band--muted {
    background: var(--color-bg-light);
}

.section-band--white {
    background: var(--color-white);
}

.section-band--page {
    background: var(--surface-page);
}