/* 跳过导航链接：默认隐藏，键盘焦点出现时浮到顶部 */
.skip-link {
    position: absolute;
    left: 16px;
    top: -100px;
    z-index: 200;
    padding: 10px 18px;
    background: var(--c-cyan);
    color: var(--t-inverse);
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-float);
    text-decoration: none;
    transition: top 0.25s var(--ease);
}
.skip-link:focus,
.skip-link:focus-visible {
    top: 16px;
    outline: 2px solid var(--t-1);
    outline-offset: 2px;
}

/* 键盘焦点可达：移除默认 outline 的元素必须提供替代 */
:focus-visible {
    outline: 2px solid var(--c-cyan);
    outline-offset: 2px;
    border-radius: 4px;
}

/* ==========================================================================
   重庆迅图科技有限公司 官网 — 全局样式
   设计基调：深空底 + 流体网格 + 粒子网络，青蓝主色，玻璃拟态卡片
   ========================================================================== */

/* ---------- 1. 设计令牌 ---------- */

/* 1.1 主题无关令牌：几何 / 尺寸 / 动效 / 字体 / 功能性固有色
   —— 这些值不随明暗主题变化，两套主题共用。 */
:root {
    /* 几何 */
    --radius: 16px;
    --radius-lg: 22px;
    --radius-pill: 999px;

    /* 尺寸 */
    --nav-h: 72px;
    --maxw: 1220px;
    --gutter: 24px;

    /* 动效 */
    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --theme-dur: 0.32s;

    /* 字体 */
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
        "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC",
        "Noto Sans CJK SC", sans-serif;
    --font-mono: "SF Mono", "JetBrains Mono", Menlo, Consolas, "Courier New", monospace;

    /* 功能性固有色（非主题色，两套主题下必须保持一致）
       --mask-solid : 遮罩用的「不透明白」，mask 只取 alpha 通道，颜色本身不参与渲染
       --qr-bg      : 二维码载体必须保持纯白底，否则深色模块无法被扫码识别
       --print-*    : 打印介质自有色彩规则，与屏幕主题无关 */
    --mask-solid: #000;
    --qr-bg: #ffffff;
    --print-bg: #ffffff;
    --print-fg: #000000;
}

/* 1.2 深色主题（默认）
   :root 与 [data-theme="dark"] 同规则声明：未标记主题时即为深色。
   两套主题使用完全相同的变量名，组件层只引用变量，不出现任何颜色字面量。 */
:root,
[data-theme="dark"] {
    color-scheme: dark;

    /* 底色层级 */
    --bg-base: #05070d;
    --bg-deep: #03050a;
    --bg-elevated: #0a0e18;

    /* 品牌色（完整值） */
    --c-cyan: #00e5ff;
    --c-blue: #4f7cff;
    --c-purple: #a855f7;
    --c-violet: #7c5cff;

    /* 品牌色 RGB 三元组：供 rgba(var(--x-rgb), α) 合成任意透明度的描边/光晕/叠色，
       色相由令牌决定，α 由组件按语义给定 */
    --acc-rgb: 0, 229, 255;
    --c-blue-rgb: 79, 124, 255;
    --c-purple-rgb: 168, 85, 247;
    --c-violet-rgb: 124, 92, 255;
    --err-rgb: 255, 122, 144;
    --ok-rgb: 74, 222, 128;

    /* 叠色基色：深色主题用白色提亮，浅色主题用墨色压暗 */
    --ink-rgb: 255, 255, 255;

    /* 画布专用三元组：Canvas 画不出 var()，由 background.js 读出后合成 rgba()。
       与其它令牌同源，主题切换时随之改变。 */
    --canvas-dim-rgb: 150, 180, 220;   /* 中性粒子 */
    --canvas-core-rgb: 214, 248, 255;  /* 光标引力核心高光 */
    --canvas-grid-rgb: 120, 160, 255;  /* 横向网格线（比主色略偏蓝紫） */

    /* 文本四级（均已核验 ≥ 4.5:1） */
    --t-1: #eaf0fb;          /* 主标题 */
    --t-2: #a9b6ce;          /* 正文 */
    --t-3: #8b9ab5;          /* 辅助 / 说明 */
    --t-4: #737f9c;          /* 极弱标签 */
    --t-inverse: #041018;    /* 压在主色实底上的文字 */

    /* 状态色 */
    --err: #ff7a90;
    --ok: #4ade80;
    --status-fg: #a5ecff;    /* 提示条文字（深色底上） */

    /* 渐变 */
    --grad-primary: linear-gradient(120deg, #00e5ff 0%, #4f7cff 52%, #a855f7 100%);
    /* 文字渐变（深底亮 / 浅底暗，为对比度优化过），用于 .hero__title .grad /
       .title .grad / .page-hero__title .grad；与 --grad-primary（品牌色，
       用于按钮填充、导航下划线）分工，勿混用。 */
    --grad-text: linear-gradient(100deg, #ffffff 0%, #b8e6ff 40%, #9db8ff 100%);

    /* 玻璃拟态 */
    --glass-bg: rgba(255, 255, 255, 0.038);
    --glass-bg-hover: rgba(255, 255, 255, 0.062);
    --glass-border: rgba(255, 255, 255, 0.09);
    --glass-blur: 18px;

    /* 线条 / 网格 */
    --line: rgba(255, 255, 255, 0.07);
    --line-strong: rgba(0, 229, 255, 0.28);

    /* 表面 / 遮罩 */
    --surface-solid: rgba(8, 11, 20, 0.72);
    --nav-bg: rgba(5, 7, 13, 0.72);
    --drawer-bg: rgba(5, 7, 13, 0.96);
    --scrim: rgba(3, 5, 10, 0.6);
    --input-bg: rgba(255, 255, 255, 0.035);

    /* 氛围光 */
    --aura-cyan: rgba(0, 229, 255, 0.20);
    --aura-violet: rgba(124, 92, 255, 0.20);

    /* 光晕（分三级强度，浅色主题下整体收敛） */
    --glow-cyan: 0 0 40px rgba(0, 229, 255, 0.35);
    --glow-c2: rgba(0, 229, 255, 0.65);
    --glow-c3: rgba(0, 229, 255, 0.85);

    /* 阴影 */
    --shadow-card: 0 18px 50px -22px rgba(0, 0, 0, 0.9);
    --shadow-float: 0 30px 70px -30px rgba(0, 229, 255, 0.45);

    /* 玻璃卡扫光带（三档色标） */
    --sweep-a: rgba(255, 255, 255, 0.10);
    --sweep-b: rgba(255, 255, 255, 0.40);
    --sweep-c: rgba(0, 229, 255, 0.26);

    /* 滚动条 */
    --scroll-track: rgba(255, 255, 255, 0.13);
    --scroll-thumb-hover: rgba(0, 229, 255, 0.42);

    /* 文本选中 */
    --sel-bg: rgba(0, 229, 255, 0.28);
    --sel-fg: #ffffff;
}

/* 1.3 浅色主题
   与深色主题严格同名的变量集合：切换 data-theme 后所有组件自动换肤。
   同特异性下后定义者胜出，因此 [data-theme="light"] 覆盖 :root。 */
[data-theme="light"] {
    color-scheme: light;

    /* 底色层级 */
    --bg-base: #f4f7fc;
    --bg-deep: #e9edf5;
    --bg-elevated: #ffffff;

    /* 品牌色（整体压暗以在浅底上保证 ≥4.5:1） */
    --c-cyan: #0c6b85;
    --c-blue: #1d4ed8;
    --c-purple: #6d28d9;
    --c-violet: #5b46c8;

    --acc-rgb: 12, 107, 133;
    --c-blue-rgb: 29, 78, 216;
    --c-purple-rgb: 109, 40, 217;
    --c-violet-rgb: 91, 70, 200;
    --err-rgb: 185, 28, 60;
    --ok-rgb: 21, 128, 61;

    --ink-rgb: 13, 22, 38;

    /* 画布专用三元组：浅底上需要压暗，否则淡色粒子不可见 */
    --canvas-dim-rgb: 91, 109, 133;
    --canvas-core-rgb: 12, 107, 133;
    --canvas-grid-rgb: 96, 125, 180;

    /* 文本四级（均已核验 ≥ 4.5:1） */
    --t-1: #0d1626;
    --t-2: #3c4a5e;
    --t-3: #4a5a70;
    --t-4: #566477;
    --t-inverse: #ffffff;

    --err: #b91c3c;
    --ok: #15803d;
    --status-fg: #0c6b85;

    --grad-primary: linear-gradient(120deg, #0c6b85 0%, #1d4ed8 52%, #6d28d9 100%);
    /* 文字渐变（深底亮 / 浅底暗，为对比度优化过），用于 .hero__title .grad /
       .title .grad / .page-hero__title .grad；与 --grad-primary（品牌色，
       用于按钮填充、导航下划线）分工，勿混用。 */
    --grad-text: linear-gradient(100deg, #0d1626 0%, #0c6b85 40%, #1d4ed8 100%);

    /* 玻璃拟态：浅色下卡片比底色更亮，形成「浮起」的白卡 */
    --glass-bg: rgba(255, 255, 255, 0.78);
    --glass-bg-hover: rgba(255, 255, 255, 0.95);
    --glass-border: rgba(13, 22, 38, 0.10);
    --glass-blur: 18px;

    --line: rgba(13, 22, 38, 0.10);
    --line-strong: rgba(12, 107, 133, 0.35);

    --surface-solid: rgba(255, 255, 255, 0.85);
    --nav-bg: rgba(244, 247, 252, 0.82);
    --drawer-bg: rgba(249, 251, 254, 0.97);
    --scrim: rgba(13, 22, 38, 0.35);
    --input-bg: rgba(255, 255, 255, 0.9);

    --aura-cyan: rgba(12, 107, 133, 0.10);
    --aura-violet: rgba(109, 40, 217, 0.08);

    --glow-cyan: 0 0 40px rgba(12, 107, 133, 0.18);
    --glow-c2: rgba(12, 107, 133, 0.26);
    --glow-c3: rgba(12, 107, 133, 0.34);

    --shadow-card: 0 18px 50px -22px rgba(13, 22, 38, 0.28);
    --shadow-float: 0 30px 70px -30px rgba(12, 107, 133, 0.35);

    /* 浅色下白色扫光不可见，改用「墨色掠影」保持同样的掠过动效 */
    --sweep-a: rgba(13, 22, 38, 0.05);
    --sweep-b: rgba(13, 22, 38, 0.14);
    --sweep-c: rgba(12, 107, 133, 0.20);

    --scroll-track: rgba(13, 22, 38, 0.16);
    --scroll-thumb-hover: rgba(12, 107, 133, 0.55);

    --sel-bg: rgba(12, 107, 133, 0.18);
    --sel-fg: #0d1626;
}

/* 1.4 主题切换过渡层
   仅过渡「颜色相关」属性（background-color / border-color / color / box-shadow / fill / stroke /
   text-decoration-color），不碰 transform、opacity、background-position，因此不会与卡片上浮、
   扫光掠过、抽屉滑入等自身过渡冲突。
   用 :where() 把特异性降到 0：组件类上的 transition 仍优先（如 .btn 的 transform+box-shadow），
   无自身过渡的被动文本 / 容器则获得平滑换肤。reduced-motion 偏好下由文末 @media 统一关闭。
   首帧由 <head> 内联脚本在绘制前设定 data-theme，故加载时无过渡闪烁。 */
:where(body, body *):not(.reveal) {
    transition: background-color var(--theme-dur) var(--ease),
                border-color var(--theme-dur) var(--ease),
                color var(--theme-dur) var(--ease),
                box-shadow var(--theme-dur) var(--ease),
                text-decoration-color var(--theme-dur) var(--ease),
                fill var(--theme-dur) var(--ease),
                stroke var(--theme-dur) var(--ease);
}

/* ---------- 2. 重置 ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--nav-h) + 20px);
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    min-height: 100vh;
    background: var(--bg-base);
    color: var(--t-2);
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

/* 主题切换过渡
   全局颜色过渡由上方 :where(body, body *):not(.reveal) 统一驱动（特异性 0，
   不干扰组件自身的 transform / opacity 过渡），无需 JS 挂载 class。
   减弱动效偏好下由下方 @media (prefers-reduced-motion: reduce) 的 * 规则兜底关闭。 */

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.25s var(--ease);
}

button,
input,
textarea,
select {
    font: inherit;
    color: inherit;
}

h1, h2, h3, h4, h5 {
    color: var(--t-1);
    line-height: 1.25;
    margin: 0;
    font-weight: 700;
    letter-spacing: -0.01em;
}

p {
    margin: 0;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

:focus-visible {
    outline: 2px solid var(--c-cyan);
    outline-offset: 3px;
    border-radius: 4px;
}

::selection {
    background: var(--sel-bg);
    color: var(--sel-fg);
}

/* 滚动条 */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-deep);
}
::-webkit-scrollbar-thumb {
    background: var(--scroll-track);
    border-radius: 10px;
    border: 2px solid var(--bg-deep);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--scroll-thumb-hover);
}

/* ---------- 3. 背景层 ---------- */
.bg-canvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    display: block;
}

/* 静态氛围光（不依赖 canvas，弱化时依然有层次） */
.bg-aura {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}
.bg-aura::before,
.bg-aura::after {
    content: "";
    position: absolute;
    width: 60vw;
    height: 60vw;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.5;
}
.bg-aura::before {
    top: -22vw;
    left: -14vw;
    background: radial-gradient(circle, var(--aura-cyan), transparent 68%);
}
.bg-aura::after {
    bottom: -26vw;
    right: -16vw;
    background: radial-gradient(circle, var(--aura-violet), transparent 68%);
}

/* 细网格纹理 */
.bg-grid {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(var(--ink-rgb), 0.028) 1px, transparent 1px),
        linear-gradient(90deg, rgba(var(--ink-rgb), 0.028) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, var(--mask-solid) 20%, transparent 78%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, var(--mask-solid) 20%, transparent 78%);
}

/* ---------- 4. 布局 ---------- */
.shell {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.wrap {
    width: 100%;
    max-width: var(--maxw);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

main {
    flex: 1 0 auto;
}

.section {
    position: relative;
    padding: clamp(72px, 9vw, 128px) 0;
}

.section--tight {
    padding: clamp(52px, 6vw, 84px) 0;
}

/* ---------- 5. 通用文字组件 ---------- */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--c-cyan);
    margin-bottom: 18px;
    font-family: var(--font-mono);
}
.eyebrow::before {
    content: "";
    width: 26px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--c-cyan));
}

.section-head {
    max-width: 720px;
    margin-bottom: clamp(40px, 5vw, 64px);
}
.section-head--center {
    margin-inline: auto;
    text-align: center;
}
.section-head--center .eyebrow::before {
    display: none;
}

.title {
    font-size: clamp(28px, 3.6vw, 44px);
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}
.title .grad {
    background: var(--grad-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.lead {
    font-size: clamp(15px, 1.25vw, 17px);
    color: var(--t-2);
    line-height: 1.9;
}

.muted {
    color: var(--t-3);
}

.divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--line), transparent);
    border: 0;
    margin: 0;
}

/* ---------- 6. 按钮 ---------- */
.btn {
    --btn-bg: transparent;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 13px 28px;
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-pill);
    background: var(--btn-bg);
    color: var(--t-1);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.3s var(--ease-out), box-shadow 0.35s var(--ease),
        border-color 0.3s var(--ease), background 0.3s var(--ease),
        color 0.3s var(--ease);
    -webkit-tap-highlight-color: transparent;
}
.btn:hover {
    transform: translateY(-2px);
}
.btn:active {
    transform: translateY(0);
}

.btn--primary {
    background: var(--grad-primary);
    border-color: transparent;
    color: var(--t-inverse);
    box-shadow: 0 12px 34px -14px var(--glow-c3);
}
.btn--primary:hover {
    box-shadow: 0 18px 44px -14px var(--glow-c3), var(--glow-cyan);
}

.btn--ghost {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.btn--ghost:hover {
    border-color: var(--line-strong);
    background: var(--glass-bg-hover);
    box-shadow: 0 10px 30px -18px var(--glow-c2);
}

.btn--sm {
    padding: 9px 20px;
    font-size: 14px;
}

.btn-arrow {
    transition: transform 0.3s var(--ease-out), color var(--theme-dur) var(--ease);
}
.btn:hover .btn-arrow {
    transform: translateX(4px);
}

/* 文字链接 */
.link-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--c-cyan);
    font-size: 14.5px;
    font-weight: 600;
}
.link-more:hover {
    gap: 12px;
}

/* ---------- 7. 导航栏 ---------- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: var(--nav-h);
    display: flex;
    align-items: center;
    transition: background 0.4s var(--ease), border-color 0.4s var(--ease),
        backdrop-filter 0.4s var(--ease), height 0.3s var(--ease);
    border-bottom: 1px solid transparent;
}

.nav.is-stuck {
    height: 64px;
    background: var(--nav-bg);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border-bottom-color: var(--line);
}

.nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: 100%;
}

/* Logo */
.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    flex-shrink: 0;
}
.brand__mark {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
}
.brand__text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}
.brand__name {
    font-size: 17px;
    font-weight: 700;
    color: var(--t-1);
    letter-spacing: 0.02em;
}
.brand__sub {
    font-size: 9.5px;
    font-weight: 500;
    letter-spacing: 0.26em;
    color: var(--t-4);
    text-transform: uppercase;
    font-family: var(--font-mono);
}

/* 菜单 */
.nav__menu {
    display: flex;
    align-items: center;
    gap: 6px;
}
.nav__link {
    position: relative;
    padding: 9px 16px;
    font-size: 15px;
    font-weight: 500;
    color: var(--t-2);
    border-radius: var(--radius-pill);
    transition: color 0.25s var(--ease), background 0.25s var(--ease);
}
.nav__link::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 2px;
    width: 0;
    height: 2px;
    border-radius: 2px;
    background: var(--grad-primary);
    transform: translateX(-50%);
    transition: width 0.32s var(--ease-out);
}
.nav__link:hover {
    color: var(--t-1);
    background: rgba(var(--ink-rgb), 0.045);
}
.nav__link.is-active {
    color: var(--c-cyan);
}
.nav__link.is-active::after {
    width: 20px;
}

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

/* 汉堡按钮 */
.nav__toggle {
    display: none;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    background: var(--glass-bg);
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
}
.nav__toggle span {
    position: absolute;
    left: 50%;
    width: 18px;
    height: 1.5px;
    background: var(--t-1);
    border-radius: 2px;
    transform: translateX(-50%);
    transition: transform 0.32s var(--ease-out), opacity 0.2s var(--ease),
        background-color var(--theme-dur) var(--ease);
}
.nav__toggle span:nth-child(1) { top: 14px; }
.nav__toggle span:nth-child(2) { top: 20px; }
.nav__toggle span:nth-child(3) { top: 26px; }

.nav__toggle.is-open span:nth-child(1) {
    top: 20px;
    transform: translateX(-50%) rotate(45deg);
}
.nav__toggle.is-open span:nth-child(2) {
    opacity: 0;
    transform: translateX(-50%) scaleX(0.3);
}
.nav__toggle.is-open span:nth-child(3) {
    top: 20px;
    transform: translateX(-50%) rotate(-45deg);
}

/* 移动端抽屉 */
.nav__drawer {
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    z-index: 99;
    padding: 12px var(--gutter) 28px;
    background: var(--drawer-bg);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    border-bottom: 1px solid var(--line);
    transform: translateY(-14px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s var(--ease), transform 0.34s var(--ease-out),
        visibility 0.3s, background-color var(--theme-dur) var(--ease);
}
.nav__drawer.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.nav__drawer .nav__link {
    display: block;
    padding: 15px 4px;
    font-size: 17px;
    border-radius: 0;
    border-bottom: 1px solid var(--line);
}
.nav__drawer .nav__link::after {
    display: none;
}
.nav__drawer .btn {
    width: 100%;
    margin-top: 20px;
}

.nav__scrim {
    position: fixed;
    inset: 0;
    z-index: 98;
    background: var(--scrim);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s var(--ease), visibility 0.3s;
}
.nav__scrim.is-open {
    opacity: 1;
    visibility: visible;
}

/* ---------- 8. Hero ---------- */
.hero {
    position: relative;
    padding: calc(var(--nav-h) + clamp(56px, 8vw, 104px)) 0 clamp(64px, 8vw, 110px);
    overflow: hidden;
}
.hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: clamp(36px, 5vw, 72px);
    align-items: center;
}

.hero__title {
    font-size: clamp(34px, 5.4vw, 66px);
    line-height: 1.12;
    letter-spacing: -0.03em;
    margin-bottom: 22px;
}
.hero__title .grad {
    background: var(--grad-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.hero__title .thin {
    display: block;
    font-weight: 300;
    color: var(--t-2);
}

.hero__desc {
    font-size: clamp(15px, 1.3vw, 17.5px);
    line-height: 1.95;
    color: var(--t-2);
    max-width: 56ch;
    margin-bottom: 34px;
}

.hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 44px;
}

/* 数据统计 */
.stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
}
.stat {
    padding: 20px 18px;
    background: var(--surface-solid);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.stat__num {
    font-size: clamp(22px, 2.4vw, 32px);
    font-weight: 700;
    color: var(--t-1);
    font-family: var(--font-mono);
    line-height: 1.2;
    letter-spacing: -0.02em;
}
.stat__num em {
    font-style: normal;
    font-size: 0.6em;
    color: var(--c-cyan);
    margin-left: 2px;
}
.stat__label {
    font-size: 12.5px;
    color: var(--t-3);
    margin-top: 4px;
    letter-spacing: 0.04em;
}

/* Hero 右侧：地球/轨道 可视化 */
.orbit {
    position: relative;
    aspect-ratio: 1;
    width: 100%;
    max-width: 460px;
    margin-inline: auto;
    display: grid;
    place-items: center;
}
.orbit__ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid var(--glass-border);
    inset: 0;
}
.orbit__ring--2 { inset: 12%; border-color: rgba(var(--acc-rgb), 0.14); }
.orbit__ring--3 { inset: 26%; border-color: rgba(var(--c-purple-rgb), 0.14); }

.orbit__globe {
    position: absolute;
    inset: 26%;
    border-radius: 50%;
    background:
        radial-gradient(circle at 32% 28%, rgba(var(--acc-rgb), 0.30), transparent 58%),
        radial-gradient(circle at 70% 76%, rgba(var(--c-violet-rgb), 0.28), transparent 60%),
        linear-gradient(160deg, rgba(var(--ink-rgb), 0.07), rgba(var(--ink-rgb), 0.015));
    box-shadow: inset 0 0 60px rgba(var(--acc-rgb), 0.20), 0 0 70px -20px var(--glow-c2);
    overflow: hidden;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
/* 经纬线 */
.orbit__globe::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(0deg, rgba(var(--ink-rgb), 0.10) 0 1px, transparent 1px 15px),
        repeating-linear-gradient(90deg, rgba(var(--ink-rgb), 0.10) 0 1px, transparent 1px 15px);
    border-radius: 50%;
}
/* 扫描线 */
.orbit__globe::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 34%;
    background: linear-gradient(180deg, transparent, rgba(var(--acc-rgb), 0.28), transparent);
    animation: scan 4.6s linear infinite;
}
@keyframes scan {
    0% { top: -34%; }
    100% { top: 100%; }
}

.orbit__sat {
    position: absolute;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: var(--c-cyan);
    box-shadow: 0 0 16px 3px var(--glow-c3);
    transform-origin: center;
}
.orbit__sat--b {
    background: var(--c-purple);
    box-shadow: 0 0 16px 3px rgba(var(--c-purple-rgb), 0.7);
    width: 9px;
    height: 9px;
}
.orbit__spin {
    position: absolute;
    inset: 0;
    animation: spin 22s linear infinite;
}
.orbit__spin--rev {
    inset: 12%;
    animation: spin 16s linear infinite reverse;
}
.orbit__spin .orbit__sat { top: -5px; left: 50%; }
.orbit__spin--rev .orbit__sat { top: -4px; left: 50%; }
@keyframes spin {
    to { transform: rotate(360deg); }
}

.orbit__chips {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.chip-float {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 13px;
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-pill);
    background: var(--surface-solid);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    font-size: 12px;
    color: var(--t-2);
    white-space: nowrap;
    box-shadow: var(--shadow-card);
}
.chip-float i {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--c-cyan);
    box-shadow: 0 0 8px var(--c-cyan);
    flex-shrink: 0;
}
.chip-float:nth-child(2) i { background: var(--c-purple); box-shadow: 0 0 8px var(--c-purple); }
.chip-float:nth-child(3) i { background: var(--c-blue); box-shadow: 0 0 8px var(--c-blue); }
.chip-float:nth-child(4) i { background: var(--c-cyan); box-shadow: 0 0 8px var(--c-cyan); }
.chip-float--1 { top: 8%; left: -4%; animation: bob 6s ease-in-out infinite; }
.chip-float--2 { bottom: 16%; right: -6%; animation: bob 7.5s ease-in-out 0.6s infinite; }
.chip-float--3 { top: 46%; right: -10%; animation: bob 6.8s ease-in-out 1.2s infinite; }
.chip-float--4 { bottom: 12%; left: -8%; animation: bob 7.2s ease-in-out 1.8s infinite; }
@keyframes bob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-9px); }
}

/* ---------- 9. 玻璃卡片基类 ---------- */
.glass {
    position: relative;
    border-radius: var(--radius-lg);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(var(--glass-blur)) saturate(150%);
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(150%);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease),
        background 0.35s var(--ease);
}

/* 渐变描边（mask 技巧） */
.glass::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(
        140deg,
        rgba(var(--acc-rgb), 0.42),
        rgba(var(--ink-rgb), 0.06) 42%,
        rgba(var(--c-purple-rgb), 0.32)
    );
    -webkit-mask: linear-gradient(var(--mask-solid) 0 0) content-box, linear-gradient(var(--mask-solid) 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(var(--mask-solid) 0 0) content-box, linear-gradient(var(--mask-solid) 0 0);
    mask-composite: exclude;
    opacity: 0.55;
    pointer-events: none;
    transition: opacity 0.4s var(--ease);
}

/* 光标跟随高光 */
.glass::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(
        340px circle at var(--mx, 50%) var(--my, 0%),
        rgba(var(--acc-rgb), 0.14),
        transparent 62%
    );
    opacity: 0;
    transition: opacity 0.4s var(--ease);
    pointer-events: none;
}

.glass:hover {
    transform: translateY(-8px);
    background: var(--glass-bg-hover);
    box-shadow: var(--shadow-float), 0 0 0 1px rgba(var(--acc-rgb), 0.18) inset;
}
.glass:hover::before { opacity: 1; }
.glass:hover::after { opacity: 1; }

/* ---------- 9.1 玻璃卡扫光（仅 .section--glass 区块内启用） ----------
   ::before 原为渐变描边，此处改作扫光带；
   渐变描边整体迁到 ::after，光标跟随高光并入 ::before 的底层背景层。
   三者在 hover 时协同：上浮位移 + 青色描边提亮 + 光带 0.85s 掠过。 */
.section--glass .pcard::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 0;
    border-radius: inherit;
    -webkit-mask: none;
    mask: none;
    background-image:
        linear-gradient(
            105deg,
            transparent 38%,
            var(--sweep-a) 44%,
            var(--sweep-b) 49%,
            var(--sweep-c) 55%,
            transparent 63%
        ),
        radial-gradient(
            340px circle at var(--mx, 50%) var(--my, 0%),
            rgba(var(--acc-rgb), 0.14),
            transparent 62%
        );
    background-repeat: no-repeat, no-repeat;
    background-size: 260% 100%, 100% 100%;
    /* 光带停在卡片左侧之外；第二层为光标高光，位置固定 */
    background-position: 100% 0, 0 0;
    opacity: 0;
    pointer-events: none;
    z-index: 1;
    /* 离开时只淡出，不回放光带（hover 规则里才声明位移过渡） */
    transition: opacity 0.25s var(--ease);
}

.section--glass .pcard:hover::before {
    opacity: 1;
    /* 100% → 0：光带自左侧掠到右侧 */
    background-position: 0 0, 0 0;
    transition: background-position 0.85s cubic-bezier(0.22, 0.61, 0.36, 1),
        opacity 0.25s var(--ease);
}

/* 渐变描边（原 ::before 的实现，迁至 ::after） */
.section--glass .pcard::after {
    content: "";
    position: absolute;
    inset: 0;
    padding: 1px;
    border-radius: inherit;
    background: linear-gradient(
        140deg,
        rgba(var(--acc-rgb), 0.42),
        rgba(var(--ink-rgb), 0.06) 42%,
        rgba(var(--c-purple-rgb), 0.32)
    );
    -webkit-mask: linear-gradient(var(--mask-solid) 0 0) content-box, linear-gradient(var(--mask-solid) 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(var(--mask-solid) 0 0) content-box, linear-gradient(var(--mask-solid) 0 0);
    mask-composite: exclude;
    opacity: 0.55;
    pointer-events: none;
    transition: opacity 0.4s var(--ease);
}
.section--glass .pcard:hover::after { opacity: 1; }

/* ---------- 10. 产品卡片 ---------- */
.grid-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}
.grid-cards--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pcard {
    display: flex;
    flex-direction: column;
    padding: 30px 28px 28px;
    min-height: 300px;
}

.pcard__icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    margin-bottom: 22px;
    background: linear-gradient(140deg, rgba(var(--acc-rgb), 0.18), rgba(var(--c-blue-rgb), 0.10));
    border: 1px solid rgba(var(--acc-rgb), 0.24);
    color: var(--c-cyan);
    box-shadow: 0 8px 26px -14px var(--glow-c3);
    transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease),
        background-color var(--theme-dur) var(--ease), border-color var(--theme-dur) var(--ease),
        color var(--theme-dur) var(--ease);
}
.pcard:hover .pcard__icon {
    transform: translateY(-3px) scale(1.06);
    box-shadow: 0 14px 34px -12px var(--glow-c3);
}
.pcard__icon svg {
    width: 25px;
    height: 25px;
}

/* 产品截图占位图：插在图标之后、标题之前；自包含深色，深浅主题均自洽 */
.pcard__shot {
    display: block;
    width: 100%;
    height: auto;         /* 自适应图片比例：由 img 的 width/height 属性推导，不写死 16:9 */
    flex: none;          /* 不参与 flex 伸缩，保持图片自身的固有高度 */
    min-height: 0;       /* 关键：解除 flex item 自动最小尺寸（img intrinsic height=450 会顶高容器） */
    margin: 2px 0 20px;
    border-radius: 14px;
    background: #222b3a;
    border: 1px solid var(--line);
    object-fit: contain;  /* 兜底：HTML 属性比例与实际图不符时留边，绝不裁切 */
    box-shadow: 0 12px 30px -20px rgba(0, 0, 0, 0.55);
    transition: border-color 0.3s var(--ease), transform 0.45s var(--ease-out);
}
.pcard:hover .pcard__shot {
    border-color: rgba(var(--acc-rgb), 0.42);
    transform: translateY(-2px);
}

.pcard__tag {
    position: absolute;
    top: 24px;
    right: 24px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    padding: 4px 11px;
    border-radius: var(--radius-pill);
    background: rgba(var(--acc-rgb), 0.10);
    border: 1px solid rgba(var(--acc-rgb), 0.26);
    color: var(--c-cyan);
    font-family: var(--font-mono);
}

.pcard__title {
    font-size: 20px;
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}
.pcard__en {
    font-size: 11.5px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--t-4);
    font-family: var(--font-mono);
    margin-bottom: 16px;
}
.pcard__desc {
    font-size: 14.5px;
    line-height: 1.85;
    color: var(--t-2);
    margin-bottom: 20px;
}

.pcard__feats {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}
.pcard__feats li {
    font-size: 12.5px;
    padding: 4px 11px;
    border-radius: 7px;
    background: rgba(var(--ink-rgb), 0.045);
    border: 1px solid var(--line);
    color: var(--t-3);
    transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.pcard:hover .pcard__feats li {
    color: var(--t-2);
    border-color: rgba(var(--acc-rgb), 0.20);
}

/* ---------- 11. 能力 / 技术栈 ---------- */
.grid-feat {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.feat {
    padding: 26px 22px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: linear-gradient(170deg, rgba(var(--ink-rgb), 0.042), rgba(var(--ink-rgb), 0.012));
    transition: transform 0.4s var(--ease-out), border-color 0.35s var(--ease),
        background 0.35s var(--ease);
}
.feat:hover {
    transform: translateY(-5px);
    border-color: rgba(var(--acc-rgb), 0.30);
    background: linear-gradient(170deg, rgba(var(--acc-rgb), 0.075), rgba(var(--ink-rgb), 0.014));
}
.feat__num {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--c-cyan);
    letter-spacing: 0.14em;
    margin-bottom: 14px;
}
.feat__title {
    font-size: 16.5px;
    margin-bottom: 10px;
}
.feat__desc {
    font-size: 14px;
    line-height: 1.8;
    color: var(--t-3);
}

/* ---------- 12. 技术栈走马灯 ---------- */
.marquee {
    position: relative;
    overflow: hidden;
    padding: 22px 0;
    mask-image: linear-gradient(90deg, transparent, var(--mask-solid) 12%, var(--mask-solid) 88%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, var(--mask-solid) 12%, var(--mask-solid) 88%, transparent);
}
.marquee__track {
    display: flex;
    gap: 14px;
    width: max-content;
    animation: slide 34s linear infinite;
}
.marquee:hover .marquee__track {
    animation-play-state: paused;
}
@keyframes slide {
    to { transform: translateX(-50%); }
}
.tech-pill {
    padding: 9px 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius-pill);
    background: rgba(var(--ink-rgb), 0.03);
    font-size: 13.5px;
    color: var(--t-3);
    white-space: nowrap;
    font-family: var(--font-mono);
    letter-spacing: 0.03em;
    transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.tech-pill:hover {
    color: var(--c-cyan);
    border-color: rgba(var(--acc-rgb), 0.35);
}

/* 多源时空数据标签（已并入技术能力 marquee 滚动条） */
.src-pill {
    padding: 9px 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius-pill);
    background: rgba(var(--ink-rgb), 0.03);
    font-size: 13.5px;
    color: var(--t-2);
    white-space: nowrap;
    font-family: var(--font-mono);
    letter-spacing: 0.03em;
    transition: color 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.src-pill:hover {
    color: var(--c-cyan);
    border-color: rgba(var(--acc-rgb), 0.35);
    background: rgba(var(--acc-rgb), 0.08);
}

/* ---------- 13. 时间线（关于我们） ---------- */
.timeline {
    position: relative;
    padding-left: 30px;
}
.timeline::before {
    content: "";
    position: absolute;
    left: 5px;
    top: 6px;
    bottom: 6px;
    width: 1px;
    background: linear-gradient(180deg, var(--c-cyan), rgba(var(--c-purple-rgb), 0.5), transparent);
}
.tl-item {
    position: relative;
    padding-bottom: 38px;
}
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
    content: "";
    position: absolute;
    left: -30px;
    top: 7px;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: var(--bg-base);
    border: 2px solid var(--c-cyan);
    box-shadow: 0 0 14px var(--glow-c2);
}
.tl-item__year {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--c-cyan);
    letter-spacing: 0.12em;
    margin-bottom: 8px;
}
.tl-item__title {
    font-size: 18px;
    margin-bottom: 8px;
}
.tl-item__desc {
    font-size: 14.5px;
    line-height: 1.85;
    color: var(--t-3);
    max-width: 62ch;
}

/* ---------- 14. 价值观 ---------- */
.value {
    padding: 28px 24px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: rgba(var(--ink-rgb), 0.028);
    height: 100%;
    transition: border-color 0.35s var(--ease), transform 0.4s var(--ease-out);
}
.value:hover {
    border-color: rgba(var(--acc-rgb), 0.28);
    transform: translateY(-4px);
}
.value__idx {
    font-family: var(--font-mono);
    font-size: 26px;
    font-weight: 700;
    color: transparent;
    -webkit-text-stroke: 1px rgba(var(--acc-rgb), 0.42);
    margin-bottom: 14px;
    line-height: 1;
}
.value__title {
    font-size: 17px;
    margin-bottom: 10px;
}
.value__desc {
    font-size: 14px;
    line-height: 1.8;
    color: var(--t-3);
}

/* ---------- 15. 服务流程 ---------- */
.steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    position: relative;
}
.step {
    position: relative;
    padding: 0 22px;
}
.step::after {
    content: "";
    position: absolute;
    top: 21px;
    right: 0;
    width: 100%;
    height: 1px;
    background: repeating-linear-gradient(90deg, rgba(var(--ink-rgb), 0.16) 0 5px, transparent 5px 10px);
}
.step:last-child::after { display: none; }
.step__dot {
    position: relative;
    z-index: 1;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 1px solid rgba(var(--acc-rgb), 0.30);
    background: var(--bg-elevated);
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: 600;
    color: var(--c-cyan);
    margin-bottom: 18px;
}
.step__title {
    font-size: 16px;
    margin-bottom: 8px;
}
.step__desc {
    font-size: 13.5px;
    line-height: 1.8;
    color: var(--t-3);
}

/* ---------- 16. 联系页 ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 26px;
    align-items: start;
}

.info-card {
    display: flex;
    gap: 16px;
    padding: 22px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: rgba(var(--ink-rgb), 0.028);
    transition: border-color 0.35s var(--ease), background 0.35s var(--ease),
        transform 0.4s var(--ease-out);
}
.info-card:hover {
    border-color: rgba(var(--acc-rgb), 0.28);
    background: rgba(var(--acc-rgb), 0.045);
    transform: translateX(5px);
}
.info-card__icon {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: rgba(var(--acc-rgb), 0.10);
    border: 1px solid rgba(var(--acc-rgb), 0.22);
    color: var(--c-cyan);
}
.info-card__icon svg { width: 19px; height: 19px; }
.info-card__label {
    font-size: 12.5px;
    color: var(--t-3);
    letter-spacing: 0.08em;
    margin-bottom: 5px;
    font-family: var(--font-mono);
}
.info-card__value {
    font-size: 15.5px;
    color: var(--t-1);
    font-weight: 500;
    line-height: 1.6;
    word-break: break-word;
}
.info-card__value a:hover { color: var(--c-cyan); }
.info-card__note {
    font-size: 12.5px;
    color: var(--t-4);
    margin-top: 4px;
}

/* 表单 */
.form {
    padding: clamp(26px, 3.4vw, 40px);
}
.form__row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}
.field {
    margin-bottom: 18px;
}
.field__label {
    display: block;
    font-size: 13.5px;
    color: var(--t-2);
    margin-bottom: 8px;
    font-weight: 500;
}
.field__label i {
    color: var(--c-cyan);
    font-style: normal;
    margin-left: 3px;
}
.field__control {
    width: 100%;
    padding: 12px 15px;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    background: var(--input-bg);
    color: var(--t-1);
    font-size: 14.5px;
    transition: border-color 0.3s var(--ease), background 0.3s var(--ease),
        box-shadow 0.3s var(--ease);
}
.field__control::placeholder {
    color: var(--t-4);
}
.field__control:focus {
    outline: none;
    border-color: var(--c-cyan);
    background: rgba(var(--acc-rgb), 0.05);
    box-shadow: 0 0 0 3px rgba(var(--acc-rgb), 0.10);
}
textarea.field__control {
    min-height: 128px;
    resize: vertical;
    line-height: 1.75;
}

/* 下拉菜单（咨询类型）
   A) 回退样式：JS 未加载（或初始化失败）时仍是原生 <select>，弹层由浏览器绘制，
      CSS 只能控制 option 的底色与文字色 —— 这里先保证「至少看得清」。
      原生控件底色是半透明白（--input-bg），弹层会沿用，因此 option 必须显式
      指定不透明底色，否则深色主题下会出现「浅底浅字」。
   B) 主题化样式：assets/js/select.js 渐进增强接管后（见下方 .select__*），
      原生控件隐藏，弹层改由页面绘制，边框 / 圆角 / 箭头 / 滚动条全部跟随主题。 */
select.field__control {
    cursor: pointer;
    padding-right: 38px;   /* 给原生下拉箭头留位，避免文字压在箭头上 */
}
select.field__control option {
    background-color: var(--bg-elevated);   /* 必须不透明，半透明会让弹层底色不可控 */
    color: var(--t-1);
}
select.field__control option:hover,
select.field__control option:focus,
select.field__control option:checked {
    background-color: rgba(var(--acc-rgb), 0.18);
    color: var(--t-1);
}

/* ---------- B) 自定义下拉（由 select.js 生成，主题化观感） ---------- */
.select {
    position: relative;
}
/* 原生控件保留在表单内（name / 校验 / FormData 都依赖它），仅退出视觉与点击 */
.select > select.field__control {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    opacity: 0;
    pointer-events: none;
}
.select__trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    font-family: var(--font-sans);
    font-size: 14.5px;
    text-align: left;
    cursor: pointer;
}
.select__value {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
/* 箭头用两条边框拼成 chevron，颜色走主题令牌，避免引入图片资源 */
.select__arrow {
    flex: none;
    width: 8px;
    height: 8px;
    margin-right: 2px;
    border-right: 2px solid var(--t-2);
    border-bottom: 2px solid var(--t-2);
    transform: rotate(45deg) translate(-1px, -2px);
    transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.select.is-open .select__trigger {
    border-color: var(--c-cyan);
    background: rgba(var(--acc-rgb), 0.05);
    box-shadow: 0 0 0 3px rgba(var(--acc-rgb), 0.10);
}
.select.is-open .select__arrow {
    transform: rotate(225deg) translate(-2px, -2px);
    border-color: var(--c-cyan);
}
/* 弹层挂到 body + fixed 定位：表单卡片 .glass 有 overflow:hidden，
   留在卡片内会被裁掉；挂到 body 同时避开祖先层叠上下文的限制。 */
.select__list {
    position: fixed;
    z-index: 1000;
    margin: 0;
    padding: 6px;
    list-style: none;
    overflow-y: auto;
    overscroll-behavior: contain;
    border: 1px solid rgba(var(--acc-rgb), 0.24);
    border-radius: 14px;
    background: var(--bg-elevated);   /* 不透明实底：与下方卡片拉开层次，不透出背景 */
    box-shadow: var(--shadow-float), 0 24px 50px -30px rgba(0, 0, 0, 0.55);
    scrollbar-width: thin;
    scrollbar-color: rgba(var(--acc-rgb), 0.32) transparent;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px) scale(0.985);
    transform-origin: top center;
    transition: opacity 0.2s var(--ease), transform 0.22s var(--ease-out),
        visibility 0.2s var(--ease);
}
.select__list.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
}
/* 下方空间不足时向上弹出，展开方向随之翻转 */
.select__list.is-dropup {
    transform: translateY(6px) scale(0.985);
    transform-origin: bottom center;
}
.select__list::-webkit-scrollbar {
    width: 8px;
}
.select__list::-webkit-scrollbar-track {
    background: transparent;
}
.select__list::-webkit-scrollbar-thumb {
    background: rgba(var(--acc-rgb), 0.28);
    border-radius: var(--radius-pill);
}
.select__list::-webkit-scrollbar-thumb:hover {
    background: rgba(var(--acc-rgb), 0.45);
}
.select__option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 14.5px;
    line-height: 1.5;
    color: var(--t-2);
    cursor: pointer;
    transition: background 0.18s var(--ease), color 0.18s var(--ease);
}
.select__option.is-active,
.select__option:hover {
    background: rgba(var(--acc-rgb), 0.14);
    color: var(--t-1);
}
.select__option[aria-selected="true"] {
    background: rgba(var(--acc-rgb), 0.10);
    color: var(--c-cyan);
    font-weight: 600;
}
/* 选中项右侧打勾，同样用边框拼出，跟随当前文字色 */
.select__option[aria-selected="true"]::after {
    content: "";
    flex: none;
    width: 5px;
    height: 9px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-1px);
    opacity: 0.9;
}
.field__error {
    display: none;
    font-size: 12.5px;
    color: var(--err);
    margin-top: 6px;
}
.field.is-invalid .field__control {
    border-color: rgba(var(--err-rgb), 0.6);
}
.field.is-invalid .field__error {
    display: block;
}

.form__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 6px;
}
.form__hint {
    font-size: 12.5px;
    color: var(--t-4);
    max-width: 34ch;
    line-height: 1.7;
}

.form__status {
    display: none;
    margin-top: 16px;
    padding: 13px 16px;
    border-radius: 12px;
    font-size: 14px;
    border: 1px solid rgba(var(--acc-rgb), 0.32);
    background: rgba(var(--acc-rgb), 0.08);
    color: var(--status-fg);
}
.form__status.is-visible { display: block; }
.form__status.is-error {
    color: var(--err);
    border-color: rgba(var(--err-rgb), 0.45);
    background: rgba(var(--err-rgb), 0.08);
}
.form__status.is-ok {
    color: var(--ok);
    border-color: rgba(var(--ok-rgb), 0.45);
    background: rgba(var(--ok-rgb), 0.08);
}

/* 二维码 */
.qr-card {
    padding: 22px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: rgba(var(--ink-rgb), 0.028);
    text-align: center;
}
.qr-card__img {
    width: 100%;
    max-width: 148px;
    margin: 0 auto 12px;
    border-radius: 12px;
    background: var(--qr-bg);
    padding: 7px;
}
.qr-card__label {
    font-size: 13.5px;
    color: var(--t-2);
}
.qr-fallback {
    display: grid;
    place-items: center;
    aspect-ratio: 1;
    max-width: 148px;
    margin: 0 auto 12px;
    border-radius: 12px;
    border: 1px dashed rgba(var(--acc-rgb), 0.3);
    background: rgba(var(--acc-rgb), 0.05);
    font-size: 12px;
    color: var(--t-3);
    padding: 12px;
    text-align: center;
    line-height: 1.6;
}

/* ---------- 17. CTA 横幅 ---------- */
.cta-band {
    position: relative;
    padding: clamp(46px, 6vw, 76px) clamp(28px, 5vw, 64px);
    border-radius: var(--radius-lg);
    border: 1px solid var(--glass-border);
    background:
        radial-gradient(ellipse 70% 130% at 12% 0%, rgba(var(--acc-rgb), 0.16), transparent 62%),
        radial-gradient(ellipse 70% 130% at 92% 100%, rgba(var(--c-purple-rgb), 0.16), transparent 62%),
        rgba(var(--ink-rgb), 0.032);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    overflow: hidden;
    text-align: center;
}
.cta-band::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(var(--ink-rgb), 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(var(--ink-rgb), 0.035) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: radial-gradient(ellipse 70% 90% at 50% 50%, var(--mask-solid), transparent 76%);
    -webkit-mask-image: radial-gradient(ellipse 70% 90% at 50% 50%, var(--mask-solid), transparent 76%);
    pointer-events: none;
}
.cta-band > * { position: relative; }
.cta-band__title {
    font-size: clamp(24px, 3vw, 36px);
    margin-bottom: 14px;
}
.cta-band__desc {
    font-size: 15.5px;
    color: var(--t-2);
    max-width: 56ch;
    margin: 0 auto 30px;
    line-height: 1.9;
}
.cta-band__actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

/* ---------- 18. 页脚 ---------- */
.footer {
    position: relative;
    border-top: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(var(--ink-rgb), 0.018), transparent);
    padding: clamp(48px, 6vw, 72px) 0 28px;
    margin-top: auto;
}
.footer__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
    gap: 36px 28px;
    padding-bottom: 40px;
}
.footer__about {
    max-width: 40ch;
}
.footer__desc {
    font-size: 14px;
    line-height: 1.9;
    color: var(--t-3);
    margin-top: 18px;
}
.footer__col-title {
    font-size: 14px;
    color: var(--t-1);
    margin-bottom: 18px;
    letter-spacing: 0.04em;
}
.footer__list li {
    margin-bottom: 11px;
}
.footer__list a,
.footer__list span {
    font-size: 14px;
    color: var(--t-3);
}
.footer__list a:hover {
    color: var(--c-cyan);
}

.footer__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    font-size: 13px;
    color: var(--t-4);
}
.footer__links {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.footer__links a:hover { color: var(--c-cyan); }
.footer__links span { color: var(--t-4); opacity: 0.6; }

/* ---------- 18.5 内页页头 ---------- */
.page-hero {
    position: relative;
    padding: calc(var(--nav-h) + clamp(40px, 6vw, 76px)) 0 clamp(32px, 4.5vw, 52px);
    text-align: center;
}
.page-hero__title {
    font-size: clamp(30px, 4.6vw, 54px);
    letter-spacing: -0.03em;
    line-height: 1.18;
    margin-bottom: 18px;
}
.page-hero__title .grad {
    background: var(--grad-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.page-hero__lead {
    font-size: clamp(15px, 1.25vw, 17px);
    color: var(--t-2);
    line-height: 1.9;
    max-width: 62ch;
    margin-inline: auto;
}

.crumbs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font-size: 13px;
    color: var(--t-4);
    margin-bottom: 22px;
    font-family: var(--font-mono);
    letter-spacing: 0.04em;
}
.crumbs a:hover { color: var(--c-cyan); }

/* ---------- 18.6 关于我们：公司简介正文 ---------- */
.prose-col {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
}
.prose-col > * {
    width: 100%;
    max-width: 880px;
}

.prose {
    font-size: 15.5px;
    line-height: 2.05;
    color: var(--t-2);
    margin-bottom: 20px;
    text-align: justify;
}
.prose:last-child { margin-bottom: 0; }

/* 愿景引用 */
.vision {
    position: relative;
    margin: 0;
    padding: clamp(34px, 5vw, 58px) clamp(26px, 5vw, 64px);
    border-radius: var(--radius-lg);
    border: 1px solid var(--glass-border);
    background:
        radial-gradient(ellipse 60% 130% at 20% 0%, rgba(var(--acc-rgb), 0.10), transparent 65%),
        radial-gradient(ellipse 60% 130% at 85% 100%, rgba(var(--c-purple-rgb), 0.10), transparent 65%),
        rgba(var(--ink-rgb), 0.03);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    text-align: center;
    overflow: hidden;
}
.vision__mark {
    position: absolute;
    top: -18px;
    left: 22px;
    font-size: 120px;
    line-height: 1;
    font-family: Georgia, "Times New Roman", serif;
    color: rgba(var(--acc-rgb), 0.14);
    pointer-events: none;
}
.vision__text {
    position: relative;
    font-size: clamp(18px, 2.4vw, 27px);
    line-height: 1.75;
    font-weight: 600;
    color: var(--t-1);
    letter-spacing: -0.01em;
    max-width: 34ch;
    margin-inline: auto;
}
.vision__src {
    position: relative;
    margin-top: 20px;
    font-size: 13.5px;
    color: var(--c-cyan);
    font-family: var(--font-mono);
    letter-spacing: 0.08em;
}

/* ---------- 18.7 联系页附加 ---------- */
.info-stack {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.qr-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 22px;
}

/* ---------- 19. 滚动揭示动画 ----------
   默认可见：CSS-only fallback（JS 未加载/失败时元素直接可见，避免整页空白）。
   仅当 <html class="has-js">（由 <head> 内联脚本同步添加，在首帧绘制前就生效）
   时才施加初始隐藏态，因此不会产生「先可见→淡出→淡入」的首屏闪烁。
   !important 已移除：特异性 (0,2,1) 足以覆盖默认 (0,1,1)。 */
.reveal {
    transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
    will-change: opacity, transform;
}
html.has-js .reveal {
    opacity: 0;
    transform: translateY(26px);
}
html.has-js .reveal.is-in {
    opacity: 1;
    transform: none;
}
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }
.reveal[data-delay="5"] { transition-delay: 0.40s; }

/* ---------- 20. 响应式 ----------
   三个断点：992 / 768 / 520。
   - 992 是主折叠线（导航/英雄区/网格均在此处重组），footer 也同步从 4 列折为 2 列
   - 768 是大手机到竖屏平板的过渡，stats/卡片堆叠成单列
   - 520 是窄屏终极细化，按钮全宽、qr 单列、字距收紧
   之前曾在 1080 处单独处理 footer（仅 88px 窗口），与 992 重复且收益微弱，已合并。 */
@media (max-width: 992px) {
    .nav__menu { display: none; }
    .nav__toggle { display: block; }
    .nav__actions .btn--desktop { display: none; }
    /* 桌面导航栏主题按钮移到抽屉内，避免重复 */
    .nav__actions .theme-switch { display: none; }

    .hero__inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .hero__inner .orbit { order: -1; max-width: 340px; }
    .hero__desc { max-width: none; }

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

    .contact-grid { grid-template-columns: 1fr; }
    .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 0; }
    .step::after { display: none; }

    .footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .footer__about {
        grid-column: 1 / -1;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    :root { --gutter: 18px; }

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

    .grid-cards,
    .grid-cards--2 { grid-template-columns: 1fr; }

    .pcard { min-height: 0; padding: 26px 22px 22px; }

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

    .footer__bar {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .chip-float--3,
    .chip-float--4 { display: none; }
    .chip-float--1 { left: -2%; }
    .chip-float--2 { right: -2%; }
}

@media (max-width: 520px) {
    .grid-feat { grid-template-columns: 1fr; }
    .steps { grid-template-columns: 1fr; }
    .stats { grid-template-columns: 1fr; }
    .hero__cta .btn { width: 100%; }
    .cta-band__actions .btn { width: 100%; }
    .footer__grid { grid-template-columns: 1fr; }

    .qr-row { grid-template-columns: 1fr; }
    .vision__mark { font-size: 84px; }
    .form__foot .btn { width: 100%; }
    .info-card { padding: 18px; }
}

/* ---------- 22. 主题切换控件 ---------- */
.theme-switch {
    position: relative;
    display: inline-flex;
}
.theme-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    -webkit-backdrop-filter: blur(var(--glass-blur));
    backdrop-filter: blur(var(--glass-blur));
    color: var(--t-2);
    cursor: pointer;
    transition: color var(--theme-dur) var(--ease), background var(--theme-dur) var(--ease),
        border-color var(--theme-dur) var(--ease), box-shadow var(--theme-dur) var(--ease);
}
.theme-btn:hover {
    color: var(--c-cyan);
    border-color: var(--line-strong);
    box-shadow: 0 0 0 3px rgba(var(--acc-rgb), 0.12);
}
.theme-btn svg { width: 19px; height: 19px; display: block; }
.theme-btn:focus-visible { outline: 2px solid var(--c-cyan); outline-offset: 2px; }

.theme-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 172px;
    padding: 7px;
    border-radius: 14px;
    border: 1px solid var(--glass-border);
    background: var(--surface-solid);
    -webkit-backdrop-filter: blur(18px) saturate(150%);
    backdrop-filter: blur(18px) saturate(150%);
    box-shadow: var(--shadow-card);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.22s var(--ease), transform 0.22s var(--ease-out), visibility 0.22s;
    z-index: 60;
}
.theme-menu.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.theme-menu__item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 9px 11px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: var(--t-2);
    font-size: 14px;
    text-align: left;
    cursor: pointer;
    transition: background var(--theme-dur) var(--ease), color var(--theme-dur) var(--ease);
}
.theme-menu__item:hover { background: rgba(var(--acc-rgb), 0.10); color: var(--t-1); }
.theme-menu__item.is-active { color: var(--c-cyan); }
.theme-menu__item:focus-visible { outline: 2px solid var(--c-cyan); outline-offset: -2px; }
.theme-menu__icon { display: inline-flex; }
.theme-menu__icon svg { width: 17px; height: 17px; display: block; }
.theme-menu__label { flex: 1; }
.theme-menu__check { margin-left: auto; opacity: 0; color: var(--c-cyan); font-size: 13px; }
.theme-menu__item.is-active .theme-menu__check { opacity: 1; }

/* 抽屉内的主题控件：占满宽度、靠左展开 */
.nav__drawer .theme-switch { width: 100%; margin: 6px 0 14px; order: 5; }
.nav__drawer .theme-menu { left: 0; right: auto; }

/* ---------- 21. 无障碍 / 降级 ---------- */
/* 减弱动效偏好下：动画/过渡时间近乎归零；reveal 元素直接显示。
   !important 是 W3C 推荐的标配做法：
   - `*, *::before, *::after` 特异性 (0,0,0)，不加 !important 无法覆盖组件自身的 .75s / .28s 过渡
   - 这里不试图用更高特异性枚举所有组件，统一 `*` + !important 是更稳健的写法
   - 副作用：换肤颜色过渡也被关掉（--theme-dur 0.28s 失效），但 reduced-motion 本就不希望有过渡，体验可接受 */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
    html.has-js .reveal { opacity: 1; transform: none; }
    /* 扫光带与打字机光标：系统减少动效时直接隐藏 / 停止闪烁 */
    .section--glass .pcard::before { display: none; }
    .tw-caret { animation: none; opacity: 1; }
}

/* 打印 */
@media print {
    .bg-canvas, .bg-aura, .bg-grid, .nav, .nav__drawer { display: none; }
    body { background: var(--print-bg); color: var(--print-fg); }
}
