@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

/* =================================================================
   中科DPU 官方网站 · 设计系统
   Hong Kong Zhongke Hangxing Technology Co., Limited — ZK-DPU
   设计语言继承自项目既有 Apple System 视觉（apple_style.py）：
   近黑 Ink、System Blue、克制辅色、大留白、发丝线、圆角卡片。
   ================================================================= */

:root {
  /* —— 主色板（Apple System Colors）—— */
  --ink: #1d1d1f;
  --ink-soft: #6e6e73;
  --ink-faint: #86868b;
  --hairline: #d2d2d7;
  --grid: #e8e8ed;
  --panel: #fbfbfd;
  --panel-2: #f5f5f7;
  --white: #ffffff;

  --blue: #0a84ff;
  --blue-deep: #0066d6;
  --indigo: #5e5ce6;
  --teal: #30b0c7;
  --green: #34c759;
  --orange: #ff9f0a;
  --pink: #ff375f;
  --purple: #bf5af2;

  /* —— 深色 hero / 区块 —— */
  --night: #0a0a0f;
  --night-2: #14141c;
  --night-3: #1c1c28;
  --night-line: rgba(255, 255, 255, 0.12);

  /* —— 语义 —— */
  --accent: var(--blue);
  --accent-grad: linear-gradient(120deg, #0a84ff 0%, #5e5ce6 100%);
  --accent-grad-soft: linear-gradient(120deg, rgba(10, 132, 255, 0.12), rgba(94, 92, 230, 0.12));

  /* —— 排版 —— */
  --font-cjk: "PingFang SC", "Microsoft YaHei", "Source Han Sans CN", "Hiragino Sans GB", sans-serif;
  --font-latin: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, sans-serif;
  --font: var(--font-latin), var(--font-cjk);

  /* —— 间距与圆角 —— */
  --radius-s: 10px;
  --radius: 18px;
  --radius-l: 28px;
  --maxw: 1200px;
  --gut: 24px;

  --shadow-s: 0 1px 2px rgba(0, 0, 0, 0.04), 0 4px 12px rgba(0, 0, 0, 0.04);
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.05), 0 18px 48px rgba(0, 0, 0, 0.08);
  --shadow-l: 0 12px 32px rgba(0, 0, 0, 0.10), 0 40px 90px rgba(0, 0, 0, 0.14);

  --nav-h: 60px;
}

/* —— Reset —— */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s ease; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -0.02em; line-height: 1.12; }
p { margin: 0; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* —— 容器 —— */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut); }
.wrap-narrow { max-width: 880px; margin: 0 auto; padding: 0 var(--gut); }
.section { padding: 100px 0; }
.section-sm { padding: 64px 0; }
.section.alt { background: var(--panel); }
.section.dark { background: var(--night); color: #f5f5f7; }
.center { text-align: center; }

/* —— 文字层级 —— */
.eyebrow {
  display: inline-block;
  font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 16px;
}
.dark .eyebrow { color: #6cb6ff; }
.display { font-size: clamp(34px, 5.4vw, 60px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.06; }
.h-sec { font-size: clamp(28px, 3.6vw, 44px); font-weight: 700; letter-spacing: -0.025em; }
.h-card { font-size: 21px; font-weight: 650; }
.lead { font-size: clamp(17px, 1.6vw, 21px); color: var(--ink-soft); line-height: 1.6; }
.dark .lead { color: #b8b8c0; }
.muted { color: var(--ink-soft); }
.kicker-line { width: 44px; height: 3px; border-radius: 2px; background: var(--accent-grad); margin: 18px auto 0; }
.grad-text {
  background: var(--accent-grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* —— 按钮 —— */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: 980px;
  font-size: 15px; font-weight: 600;
  transition: transform .18s ease, box-shadow .25s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 6px 18px rgba(10, 132, 255, .35); }
.btn-primary:hover { background: var(--blue-deep); box-shadow: 0 10px 26px rgba(10, 132, 255, .45); }
.btn-ghost { background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.25); }
.btn-ghost:hover { background: rgba(255,255,255,.16); }
.btn-line { background: transparent; color: var(--blue); border: 1px solid var(--hairline); }
.btn-line:hover { border-color: var(--blue); background: rgba(10,132,255,.05); }
.btn-text { color: var(--blue); font-weight: 600; font-size: 15px; display: inline-flex; align-items: center; gap: 6px; }
.btn-text .arr { transition: transform .2s ease; }
.btn-text:hover .arr { transform: translateX(4px); }

/* =================================================================
   导航栏
   ================================================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  background: rgba(251, 251, 253, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease;
}
.nav.scrolled { border-bottom-color: var(--hairline); }
.nav-inner { max-width: 1280px; margin: 0 auto; padding: 0 28px; height: 100%; display: flex; align-items: center; gap: 28px; }
.nav-logo { display: flex; align-items: center; gap: 9px; flex-shrink: 0; }
.nav-logo svg, .nav-logo img { height: 28px; width: auto; display: block; }
.nav-logo .wordmark { font-size: 19px; font-weight: 700; letter-spacing: -.01em; color: var(--ink); }
.nav.training .nav-logo .wordmark { color: var(--indigo); }
.footer .f-logo .wordmark { font-size: 19px; font-weight: 700; letter-spacing: -.01em; color: var(--ink); }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: 8px; flex: 1; }
.nav-links a {
  font-size: 13.5px; font-weight: 500; color: var(--ink); padding: 8px 11px; border-radius: 8px; white-space: nowrap;
  position: relative; transition: background .2s ease, color .2s ease;
}
.nav-links a:hover { background: rgba(0,0,0,.05); }
.nav-links a.active { color: var(--blue); }
.nav-right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-lang {
  font-size: 13px; font-weight: 600; color: var(--ink-soft);
  border: 1px solid var(--hairline); border-radius: 980px; padding: 6px 14px;
  transition: all .2s ease;
}
.nav-lang:hover { border-color: var(--blue); color: var(--blue); }
.nav-cta { font-size: 13.5px; font-weight: 600; padding: 8px 18px; border-radius: 980px; background: var(--blue); color: #fff; }
.nav-cta:hover { background: var(--blue-deep); }
.nav-burger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-burger span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s; }

/* 培训子站导航强调 */
.nav.training .nav-logo .sub { color: var(--indigo); }
.nav.training .nav-links a.active { color: var(--indigo); }

/* —— 移动端抽屉 —— */
.mobile-menu {
  position: fixed; inset: var(--nav-h) 0 0; z-index: 999;
  background: rgba(251,251,253,.98); backdrop-filter: blur(20px);
  padding: 24px 28px; transform: translateX(100%); transition: transform .32s cubic-bezier(.4,0,.2,1);
  overflow-y: auto;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a { display: block; font-size: 22px; font-weight: 600; padding: 16px 0; border-bottom: 1px solid var(--hairline); }

/* =================================================================
   Hero（深色）
   ================================================================= */
.hero {
  position: relative; background: var(--night); color: #f5f5f7;
  padding: calc(var(--nav-h) + 92px) 0 96px; overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(900px 460px at 78% -8%, rgba(94, 92, 230, .38), transparent 60%),
    radial-gradient(820px 520px at 10% 8%, rgba(10, 132, 255, .34), transparent 58%),
    radial-gradient(600px 600px at 60% 110%, rgba(48, 176, 199, .18), transparent 60%);
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 50% 35%, #000, transparent 78%);
  -webkit-mask-image: radial-gradient(circle at 50% 35%, #000, transparent 78%);
}
.hero .wrap { position: relative; z-index: 2; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 500; color: #cfe1ff;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
  padding: 7px 16px; border-radius: 980px; margin-bottom: 26px;
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(52,199,89,.25); }
.hero h1 { font-size: clamp(38px, 6.4vw, 76px); line-height: 1.04; letter-spacing: -0.035em; max-width: 16ch; }
.hero .lead { color: #c5c5d0; max-width: 60ch; margin-top: 24px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.hero-note { margin-top: 22px; font-size: 12.5px; color: #8a8a98; }

/* hero 指标条 */
.hero-metrics {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  margin-top: 64px; border: 1px solid var(--night-line); border-radius: var(--radius);
  overflow: hidden; background: var(--night-line);
}
.hero-metrics .m { background: rgba(20,20,28,.6); padding: 26px 22px; backdrop-filter: blur(4px); }
.hero-metrics .v { font-size: clamp(26px, 3vw, 38px); font-weight: 700; letter-spacing: -.02em; }
.hero-metrics .v .grad-text { background: linear-gradient(120deg,#6cb6ff,#a9a7ff); -webkit-background-clip:text; background-clip:text; color:transparent;}
.hero-metrics .k { font-size: 13px; color: #b8b8c0; margin-top: 6px; }
.hero-metrics .src { font-size: 11px; color: #6e6e7a; margin-top: 4px; }

/* =================================================================
   通用网格 / 卡片
   ================================================================= */
.grid { display: grid; gap: 22px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }

.sec-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.sec-head.left { margin-left: 0; text-align: left; }
.sec-head p { margin-top: 16px; }

.card {
  background: var(--white); border: 1px solid var(--grid); border-radius: var(--radius);
  padding: 30px; transition: transform .25s ease, box-shadow .3s ease, border-color .3s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card .ico {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--accent-grad-soft); color: var(--blue); margin-bottom: 18px;
}
.card .ico svg { width: 24px; height: 24px; }
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { color: var(--ink-soft); font-size: 15px; }
.dark .card { background: var(--night-2); border-color: var(--night-line); }
.dark .card p { color: #b0b0bc; }
.dark .card h3 { color: #fff; }

/* metric 卡片网格 */
.metrics { display: grid; gap: 18px; }
.metric {
  background: var(--white); border: 1px solid var(--grid); border-radius: var(--radius);
  padding: 28px 24px; text-align: left;
}
.metric .v { font-size: clamp(30px, 3.4vw, 42px); font-weight: 700; letter-spacing: -.025em; line-height: 1; }
.metric .k { font-size: 15px; font-weight: 600; margin-top: 12px; }
.metric .d { font-size: 13px; color: var(--ink-faint); margin-top: 5px; }
.metric.hl { background: var(--night-2); color: #fff; border-color: transparent; }
.metric.hl .v { color: #6cb6ff; }
.metric.hl .d { color: #9a9aa6; }

/* feature 大图文 */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.feature.rev .ft-media { order: 2; }
.feature .ft-body h2 { font-size: clamp(26px, 3vw, 38px); margin-bottom: 18px; }
.feature .ft-body p { color: var(--ink-soft); font-size: 16px; }
.feature .ft-list { margin-top: 22px; display: grid; gap: 14px; }
.feature .ft-list li { display: flex; gap: 12px; font-size: 15px; }
.feature .ft-list .ck { flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; background: rgba(52,199,89,.14); color: var(--green); display: grid; place-items: center; font-size: 12px; margin-top: 1px; }
.dark .feature .ft-body p { color: #b8b8c0; }

/* —— 表格 —— */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--grid); }
table.data { width: 100%; border-collapse: collapse; font-size: 14.5px; background: var(--white); }
table.data th, table.data td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--grid); }
table.data thead th { background: var(--panel-2); font-weight: 650; font-size: 13px; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .04em; }
table.data tbody tr:last-child td { border-bottom: none; }
table.data tbody tr:hover { background: var(--panel); }
table.data td.num, table.data th.num { text-align: center; font-variant-numeric: tabular-nums; }
table.data .pos { color: var(--green); font-weight: 650; }
table.data tr.hl td { background: rgba(10,132,255,.06); font-weight: 600; }

/* —— chips / tags —— */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { font-size: 13.5px; font-weight: 500; padding: 8px 16px; border-radius: 980px; background: var(--panel-2); border: 1px solid var(--grid); color: var(--ink); }
.dark .chip { background: rgba(255,255,255,.07); border-color: var(--night-line); color: #e0e0e8; }

/* —— callout —— */
.callout { border-radius: var(--radius); padding: 26px 28px; border: 1px solid var(--grid); background: var(--panel); }
.callout.good { border-color: rgba(52,199,89,.3); background: rgba(52,199,89,.06); }
.callout.warn { border-color: rgba(255,159,10,.3); background: rgba(255,159,10,.07); }
.callout.info { border-color: rgba(10,132,255,.25); background: rgba(10,132,255,.05); }
.callout h4 { font-size: 16px; margin-bottom: 8px; }
.callout p { font-size: 14.5px; color: var(--ink-soft); }

/* —— 来源标注 —— */
.src-tag { font-size: 11.5px; color: var(--ink-faint); }
sup.cite { color: var(--blue); font-size: 11px; font-weight: 600; cursor: help; }

/* —— logo 行 —— */
.logos { display: flex; flex-wrap: wrap; gap: 14px 40px; align-items: center; justify-content: center; }
.logos .lg { font-size: 15px; font-weight: 600; color: var(--ink-soft); opacity: .85; }
.dark .logos .lg { color: #c5c5d0; }

/* =================================================================
   时间轴 / 里程碑
   ================================================================= */
.timeline { position: relative; }
.timeline::before { content: ""; position: absolute; left: 19px; top: 8px; bottom: 8px; width: 2px; background: var(--grid); }
.timeline .tl-item { position: relative; padding: 0 0 34px 56px; }
.timeline .tl-item:last-child { padding-bottom: 0; }
.timeline .tl-dot { position: absolute; left: 10px; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 3px solid var(--blue); }
.timeline .tl-item:nth-child(2) .tl-dot { border-color: var(--indigo); }
.timeline .tl-item:nth-child(3) .tl-dot { border-color: var(--teal); }
.timeline .tl-item:nth-child(4) .tl-dot { border-color: var(--green); }
.timeline .tl-item:nth-child(5) .tl-dot { border-color: var(--orange); }
.timeline .tl-tag { font-size: 13px; font-weight: 700; color: var(--blue); letter-spacing: .02em; }
.timeline .tl-h { font-size: 18px; font-weight: 650; margin: 4px 0 6px; }
.timeline .tl-p { font-size: 14.5px; color: var(--ink-soft); }

/* =================================================================
   CTA 区
   ================================================================= */
.cta {
  position: relative; background: var(--night); color: #fff; border-radius: var(--radius-l);
  padding: 72px 56px; text-align: center; overflow: hidden;
}
.cta::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(700px 360px at 50% -20%, rgba(94,92,230,.42), transparent 60%),
              radial-gradient(600px 360px at 50% 120%, rgba(10,132,255,.32), transparent 60%);
}
.cta > * { position: relative; z-index: 2; }
.cta h2 { font-size: clamp(28px, 3.6vw, 46px); margin-bottom: 16px; }
.cta p { color: #c5c5d0; max-width: 54ch; margin: 0 auto 30px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* =================================================================
   页脚
   ================================================================= */
.footer { background: var(--panel); border-top: 1px solid var(--hairline); padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; }
.footer .f-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer .f-logo svg, .footer .f-logo img { height: 28px; width: auto; display: block; }
.footer .f-desc { font-size: 14px; color: var(--ink-soft); max-width: 40ch; }
.footer .f-contact { margin-top: 18px; font-size: 13.5px; color: var(--ink-soft); display: grid; gap: 6px; }
.footer .f-contact a:hover { color: var(--blue); }
.footer h5 { font-size: 13px; font-weight: 650; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-faint); margin-bottom: 16px; }
.footer .f-col a { display: block; font-size: 14px; color: var(--ink-soft); padding: 6px 0; }
.footer .f-col a:hover { color: var(--ink); }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--hairline); display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; font-size: 12.5px; color: var(--ink-faint); }
.footer-bottom a:hover { color: var(--ink); }
.footer-disc { font-size: 11.5px; color: var(--ink-faint); margin-top: 14px; line-height: 1.6; }

/* =================================================================
   架构图（纯 CSS/SVG）
   ================================================================= */
.arch { display: grid; grid-template-columns: 1fr auto 1fr; gap: 0; align-items: stretch; }
.arch-col { border: 1px solid var(--grid); border-radius: var(--radius); padding: 24px; background: var(--white); }
.arch-col h4 { font-size: 16px; margin-bottom: 14px; text-align: center; }
.arch-node { background: var(--panel-2); border: 1px solid var(--grid); border-radius: 12px; padding: 12px 14px; font-size: 13.5px; text-align: center; margin-bottom: 10px; font-weight: 500; }
.arch-node.gpu { background: rgba(94,92,230,.08); border-color: rgba(94,92,230,.25); }
.arch-node.flash { background: rgba(10,132,255,.07); border-color: rgba(10,132,255,.22); }
.arch-link { display: grid; place-items: center; padding: 0 18px; }
.arch-link .pipe { writing-mode: vertical-rl; font-size: 12px; font-weight: 600; color: var(--blue); letter-spacing: .1em; padding: 16px 0; position: relative; }
.arch-link .pipe::before, .arch-link .pipe::after { content: "⟷"; display: block; text-align: center; color: var(--teal); font-size: 18px; }

/* =================================================================
   课程（培训子站）
   ================================================================= */
.course-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.course-card {
  display: flex; flex-direction: column; gap: 0; background: var(--white); border: 1px solid var(--grid);
  border-radius: var(--radius); padding: 28px; transition: transform .25s ease, box-shadow .3s ease, border-color .3s;
  position: relative; overflow: hidden;
}
.course-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.course-card .num { font-size: 13px; font-weight: 700; color: var(--indigo); letter-spacing: .08em; }
.course-card h3 { font-size: 20px; margin: 8px 0 10px; }
.course-card p { font-size: 14.5px; color: var(--ink-soft); flex: 1; }
.course-card .meta { display: flex; gap: 16px; margin-top: 18px; font-size: 12.5px; color: var(--ink-faint); }
.course-card .meta b { color: var(--ink); font-weight: 600; }
.course-card .bar { position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(180deg, var(--indigo), var(--blue)); opacity: 0; transition: opacity .3s; }
.course-card:hover .bar { opacity: 1; }

/* 培训 hero 专属色 */
.hero.training::before {
  background: radial-gradient(900px 460px at 80% -10%, rgba(94,92,230,.5), transparent 60%),
             radial-gradient(820px 520px at 5% 10%, rgba(48,176,199,.32), transparent 58%);
}
.badge-accent { background: var(--accent-grad); color: #fff; padding: 4px 12px; border-radius: 980px; font-size: 12px; font-weight: 600; }

/* 大纲列表 */
.outline { display: grid; gap: 2px; }
.outline li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--grid); font-size: 15px; }
.outline li:last-child { border-bottom: none; }
.outline .n { flex-shrink: 0; width: 28px; height: 28px; border-radius: 8px; background: var(--accent-grad-soft); color: var(--indigo); display: grid; place-items: center; font-size: 13px; font-weight: 700; }

/* —— 表单 —— */
.form { display: grid; gap: 18px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; }
.field label { font-size: 13.5px; font-weight: 600; }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: 15px; padding: 13px 15px; border: 1px solid var(--hairline);
  border-radius: var(--radius-s); background: var(--white); color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(10,132,255,.15); }
.field textarea { resize: vertical; min-height: 110px; }

/* =================================================================
   进场动画
   ================================================================= */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* —— 杂项页头（内页 hero 简版）—— */
.pagehead { background: var(--night); color: #fff; padding: calc(var(--nav-h) + 72px) 0 76px; position: relative; overflow: hidden; }
.pagehead::before { content:""; position:absolute; inset:0; background: radial-gradient(800px 400px at 75% -10%, rgba(94,92,230,.34), transparent 60%), radial-gradient(700px 420px at 8% 6%, rgba(10,132,255,.3), transparent 58%); }
.pagehead .wrap { position: relative; z-index: 2; }
.pagehead h1 { font-size: clamp(32px, 4.6vw, 56px); }
.pagehead p { color: #c5c5d0; max-width: 60ch; margin-top: 18px; font-size: clamp(16px,1.6vw,20px); }
.breadcrumb { font-size: 13px; color: #8a8a98; margin-bottom: 18px; }
.breadcrumb a:hover { color: #fff; }

/* prose */
.prose p { color: var(--ink-soft); font-size: 16px; margin-bottom: 18px; }
.prose h2 { font-size: 26px; margin: 40px 0 16px; }
.prose h3 { font-size: 20px; margin: 28px 0 12px; }
.prose ul.bullets { display: grid; gap: 12px; margin: 16px 0; }
.prose ul.bullets li { display: flex; gap: 12px; font-size: 15.5px; color: var(--ink-soft); }
.prose ul.bullets .ck { color: var(--blue); flex-shrink: 0; }

/* news */
.news-card { display: grid; gap: 0; }
.news-card .tag { font-size: 12px; font-weight: 600; color: var(--blue); letter-spacing: .04em; text-transform: uppercase; }
.news-card .date { font-size: 13px; color: var(--ink-faint); margin-bottom: 10px; }
.news-card h3 { font-size: 19px; margin-bottom: 10px; }

/* =================================================================
   响应式
   ================================================================= */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .nav-cta { display: none; }
  .feature, .feature.rev { grid-template-columns: 1fr; gap: 36px; }
  .feature.rev .ft-media { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .hero-metrics { grid-template-columns: repeat(2, 1fr); }
  .arch { grid-template-columns: 1fr; gap: 16px; }
  .arch-link .pipe { writing-mode: horizontal-tb; }
}
@media (max-width: 680px) {
  .section { padding: 64px 0; }
  .g2, .g3, .g4, .course-grid, .metrics.g4, .metrics.g3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form .row { grid-template-columns: 1fr; }
  .cta { padding: 48px 24px; }
  .hero-metrics { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* =================================================================
   ★ v2 视觉升级层 — 世界级商务官网（动态光效 / 精致微交互 / 高级排版）
   覆盖式增强，保留既有结构。Enhancements layered on top.
   ================================================================= */

/* —— 全局精修：选区、滚动条、字体特性 —— */
::selection { background: rgba(10,132,255,.22); color: var(--ink); }
.dark ::selection, .hero ::selection, .pagehead ::selection, .cta ::selection { background: rgba(108,182,255,.32); color:#fff; }
html { scrollbar-color: var(--hairline) transparent; }
body { font-feature-settings: "ss01","cv01","cv02","liga","kern"; }
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-thumb { background: #c7c7cf; border: 3px solid var(--white); border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: #a9a9b3; }

/* —— 顶部滚动进度条 —— */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  z-index: 1100; background: var(--accent-grad);
  box-shadow: 0 0 12px rgba(10,132,255,.6); transition: width .1s linear;
}

/* —— 导航：滚动后更精致的玻璃质感 —— */
.nav { transition: border-color .3s ease, background .3s ease, box-shadow .3s ease, backdrop-filter .3s ease; }
.nav.scrolled { background: rgba(251,251,253,.82); box-shadow: 0 1px 0 var(--hairline), 0 8px 30px rgba(0,0,0,.06); }
.nav-logo img { transition: transform .35s cubic-bezier(.22,.61,.36,1), filter .3s; }
.nav-logo:hover img { transform: scale(1.04); }
.nav-links a { transition: color .2s ease; }
.nav-links a::after {
  content: ""; position: absolute; left: 11px; right: 11px; bottom: 3px; height: 2px;
  border-radius: 2px; background: var(--accent-grad); transform: scaleX(0); transform-origin: left;
  transition: transform .28s cubic-bezier(.22,.61,.36,1); opacity: 0;
}
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); opacity: 1; }
.nav-links a:hover { background: transparent; }
.nav-cta { box-shadow: 0 4px 14px rgba(10,132,255,.32); transition: transform .18s ease, box-shadow .25s ease, background .2s; }
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(10,132,255,.45); }

/* —— Hero：流动极光（呼吸 + 指针视差）+ 漂移网格 —— */
.hero::before {
  transform: translate3d(var(--px, 0px), var(--py, 0px), 0) scale(1.06);
  transition: transform .5s cubic-bezier(.22,.61,.36,1);
  animation: auroraPulse 12s ease-in-out infinite alternate; will-change: transform, opacity;
}
.hero::after  { animation: gridDrift 60s linear infinite; }
.hero.training::before { animation: auroraPulse 10s ease-in-out infinite alternate; }
@keyframes auroraPulse { from { opacity: .82; } to { opacity: 1; } }
@keyframes auroraDrift {
  0%   { transform: translate3d(0,0,0) scale(1); opacity: .92; }
  50%  { transform: translate3d(-3%, 2%, 0) scale(1.08); opacity: 1; }
  100% { transform: translate3d(3%, -2%, 0) scale(1.04); opacity: .9; }
}
@keyframes gridDrift { from { background-position: 0 0, 0 0; } to { background-position: 56px 56px, 56px 56px; } }

/* hero 顶部高光带 */
.hero, .pagehead, .cta { isolation: isolate; }
.hero .wrap > * { position: relative; }
.hero h1 { text-wrap: balance; }
.hero .lead { text-wrap: pretty; }

/* 流动渐变标题 */
.grad-text {
  background: linear-gradient(110deg, #0a84ff 0%, #5e5ce6 38%, #30b0c7 70%, #0a84ff 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: sheen 8s ease-in-out infinite;
}
.hero-metrics .v .grad-text { background: linear-gradient(110deg,#6cb6ff,#a9a7ff,#7fe3f0,#6cb6ff); background-size:220% 100%; -webkit-background-clip:text; background-clip:text; color:transparent; animation: sheen 7s ease-in-out infinite; }
@keyframes sheen { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@media (prefers-reduced-motion: reduce) {
  .hero::before, .hero::after, .grad-text, .hero-metrics .v .grad-text { animation: none !important; }
}

/* —— 按钮：高级渐变 + 光泽扫过 —— */
.btn-primary {
  background: linear-gradient(120deg, #0a84ff, #4f8bff 55%, #5e5ce6);
  background-size: 180% 100%; background-position: 0% 50%;
  position: relative; overflow: hidden; isolation: isolate;
  box-shadow: 0 8px 22px rgba(10,132,255,.38), inset 0 1px 0 rgba(255,255,255,.25);
  transition: transform .2s ease, box-shadow .3s ease, background-position .5s ease;
}
.btn-primary:hover { background-position: 100% 50%; box-shadow: 0 14px 34px rgba(10,132,255,.5), inset 0 1px 0 rgba(255,255,255,.3); }
.btn-primary::after {
  content: ""; position: absolute; top: 0; left: -120%; width: 60%; height: 100%; z-index: -1;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent);
  transform: skewX(-18deg); transition: left .6s cubic-bezier(.22,.61,.36,1);
}
.btn-primary:hover::after { left: 130%; }
.btn .arr { transition: transform .25s ease; }
.btn:hover .arr { transform: translateX(4px); }
.btn-ghost { backdrop-filter: blur(6px); }
.btn-line { transition: transform .18s ease, border-color .2s, background .2s, box-shadow .25s; }
.btn-line:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(10,132,255,.16); }

/* —— 卡片：渐变描边光晕 + 上浮 —— */
.card { position: relative; overflow: hidden; background-clip: padding-box; }
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; opacity: 0;
  background: linear-gradient(135deg, rgba(10,132,255,.55), rgba(94,92,230,.45), rgba(48,176,199,.4));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  transition: opacity .35s ease; pointer-events: none;
}
.card:hover::before { opacity: 1; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-l); }
.card .ico { transition: transform .35s cubic-bezier(.22,.61,.36,1), background .3s; }
.card:hover .ico { transform: translateY(-2px) scale(1.06); }

/* —— metric 卡：顶部渐变线 + 上浮 —— */
.metric { position: relative; overflow: hidden; transition: transform .25s ease, box-shadow .3s ease, border-color .3s; }
.metric::after { content:""; position:absolute; left:0; right:0; top:0; height:3px; background: var(--accent-grad); transform: scaleX(0); transform-origin:left; transition: transform .4s cubic-bezier(.22,.61,.36,1); }
.metric:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.metric:hover::after { transform: scaleX(1); }
.metric.hl { background: linear-gradient(150deg, var(--night-2), #181826 60%, var(--night-3)); box-shadow: var(--shadow-l); }
.metric.hl::after { background: linear-gradient(90deg, #6cb6ff, #a9a7ff); }

/* hero 指标格悬浮 */
.hero-metrics .m { transition: background .3s ease, transform .3s ease; }
.hero-metrics .m:hover { background: rgba(30,30,42,.85); }

/* —— eyebrow：前置渐变小标 —— */
.eyebrow { position: relative; }
.sec-head .eyebrow::before { content:""; display:inline-block; width:20px; height:2px; border-radius:2px; background: var(--accent-grad); vertical-align: middle; margin-right: 9px; transform: translateY(-2px); }
.sec-head.left .eyebrow::before { display: inline-block; }

/* —— 表格：精致化 —— */
table.data thead th { background: linear-gradient(180deg, var(--panel-2), var(--panel)); }
table.data tbody tr { transition: background .2s ease; }
table.data tbody tr:hover { background: rgba(10,132,255,.04); }
table.data .pos { background: rgba(52,199,89,.1); padding: 2px 8px; border-radius: 6px; }

/* —— callout：左侧强调条 —— */
.callout { position: relative; padding-left: 30px; }
.callout::before { content:""; position:absolute; left:0; top:14px; bottom:14px; width:4px; border-radius:4px; background: var(--blue); }
.callout.good::before { background: var(--green); }
.callout.warn::before { background: var(--orange); }
.callout.info::before { background: var(--blue); }

/* —— 时间轴：连接线渐变 + 节点光晕 —— */
.timeline::before { background: linear-gradient(180deg, var(--blue), var(--indigo), var(--teal), var(--green), var(--orange)); opacity: .5; }
.timeline .tl-dot { box-shadow: 0 0 0 5px rgba(10,132,255,.1); transition: box-shadow .3s, transform .3s; }
.timeline .tl-item:hover .tl-dot { transform: scale(1.15); }

/* —— CTA：缓慢呼吸光晕 —— */
.cta::before { animation: ctaGlow 9s ease-in-out infinite alternate; }
@keyframes ctaGlow { from { opacity: .75; transform: scale(1); } to { opacity: 1; transform: scale(1.06); } }
.cta::after {
  content:""; position:absolute; inset:0; opacity:.4; pointer-events:none;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 48px 48px; mask-image: radial-gradient(circle at 50% 50%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000, transparent 75%);
}
@media (prefers-reduced-motion: reduce) { .cta::before { animation: none; } }

/* —— 课程卡：序号渐变 + 左侧条常显微光 —— */
.course-card { position: relative; }
.course-card::before { content:""; position:absolute; inset:0; border-radius:inherit; padding:1px; opacity:0; background: linear-gradient(135deg, rgba(94,92,230,.55), rgba(10,132,255,.45)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; transition: opacity .35s; pointer-events:none; }
.course-card:hover::before { opacity: 1; }
.course-card:hover { box-shadow: var(--shadow-l); }
.course-card .num { background: linear-gradient(120deg,var(--indigo),var(--blue)); -webkit-background-clip:text; background-clip:text; color:transparent; }

/* —— logo 行：灰显→点亮 —— */
.logos .lg { transition: opacity .3s ease, color .3s ease, transform .3s ease; cursor: default; }
.logos .lg:hover { opacity: 1; color: var(--ink); transform: translateY(-2px); }
.dark .logos .lg:hover { color: #fff; }

/* —— reveal：加入轻微缩放与模糊，更高级 —— */
.reveal { filter: blur(6px); transition: opacity .8s cubic-bezier(.22,.61,.36,1), transform .8s cubic-bezier(.22,.61,.36,1), filter .8s ease; }
.reveal.in { filter: blur(0); }
@media (prefers-reduced-motion: reduce) { .reveal { filter: none; } }

/* —— 架构图：管线动态流光 —— */
.arch-col { transition: transform .3s ease, box-shadow .3s ease; }
.arch-col:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.arch-link .pipe { background: linear-gradient(180deg, rgba(10,132,255,.06), rgba(48,176,199,.06)); border-radius: 999px; }

/* —— pagehead：动态极光 —— */
.pagehead::before { animation: auroraDrift 24s ease-in-out infinite alternate; }
@media (prefers-reduced-motion: reduce) { .pagehead::before { animation: none; } }

/* —— 标题排版优化 —— */
.h-sec { text-wrap: balance; }
.section .sec-head .lead { text-wrap: pretty; }

/* —— 更大屏的呼吸感 —— */
@media (min-width: 1440px) { :root { --maxw: 1240px; } .section { padding: 116px 0; } }

/* —— 目标客户清单 —— */
.seg-toggle { display: inline-flex; gap: 4px; padding: 4px; border: 1px solid var(--grid); border-radius: 980px; background: var(--panel-2); }
.seg-toggle a { font-size: 14px; font-weight: 600; color: var(--ink-soft); padding: 8px 22px; border-radius: 980px; transition: background .2s, color .2s; }
.seg-toggle a.active { background: var(--blue); color: #fff; box-shadow: 0 4px 12px rgba(10,132,255,.3); }
.seg-toggle a:hover:not(.active) { color: var(--ink); }
.cust-cat { border: 1px solid var(--grid); border-radius: var(--radius-l); padding: 30px; background: var(--white); margin-bottom: 18px; transition: box-shadow .3s ease, transform .3s ease; }
.cust-cat:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.cust-cat .cat-head { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; }
.cust-cat .cat-ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-grad-soft); color: var(--blue); flex-shrink: 0; }
.cust-cat .cat-ico svg { width: 22px; height: 22px; }
.cust-cat h3 { font-size: 20px; flex: 1; }
.cust-cat .cnt { font-size: 12.5px; font-weight: 700; color: var(--blue); background: var(--accent-grad-soft); padding: 5px 13px; border-radius: 980px; white-space: nowrap; }
.cust-cat .cat-desc { font-size: 14.5px; color: var(--ink-soft); margin: 0 0 18px; max-width: 78ch; line-height: 1.6; }
.cust-cat .chips { gap: 8px; }
.cust-cat .chip { font-size: 13px; padding: 6px 13px; }
.cust-cat .more { font-size: 12.5px; color: var(--ink-faint); align-self: center; padding: 6px 2px; }
.region-map { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; max-width: 880px; margin: 0 auto; }

/* —— 课件嵌入 —— */
.deck-frame { width: 100%; aspect-ratio: 16 / 10; border: 1px solid var(--grid); border-radius: var(--radius-l); overflow: hidden; background: #0a0a0f; box-shadow: 0 24px 60px rgba(0,0,0,.16); }
.deck-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.deck-outline { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.deck-ch { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border: 1px solid var(--grid); border-radius: 16px; background: var(--white); transition: box-shadow .3s, transform .3s; }
.deck-ch:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.deck-ch .n { font-size: 13px; font-weight: 800; color: transparent; background: linear-gradient(120deg,var(--indigo),var(--blue)); -webkit-background-clip: text; background-clip: text; flex-shrink: 0; min-width: 24px; }
.deck-ch .t { font-size: 14.5px; font-weight: 600; color: var(--ink); line-height: 1.4; }
.deck-ch .t small { display: block; font-weight: 500; color: var(--ink-faint); font-size: 12px; margin-top: 3px; letter-spacing: .03em; }

/* —— 首席科学家聚焦 —— */
.leader { display: grid; grid-template-columns: 280px 1fr; gap: 44px; align-items: start; max-width: 1000px; margin: 0 auto; }
.leader-photo { margin: 0; border-radius: var(--radius-l); overflow: hidden; border: 1px solid var(--grid); background: var(--panel-2); box-shadow: var(--shadow); }
.leader-photo img { width: 100%; height: auto; display: block; }
.leader-body { min-width: 0; }
.leader-name { font-size: 27px; letter-spacing: -.02em; margin: 0 0 6px; }
.leader-role { font-size: 14.5px; font-weight: 600; color: var(--blue); margin: 0 0 20px; line-height: 1.55; }
.leader-body p { color: var(--ink-soft); font-size: 15.5px; line-height: 1.74; margin: 0 0 14px; }
.leader-body p strong { color: var(--ink); font-weight: 650; }
.leader-body .chips { margin-top: 22px; }
@media (max-width: 760px) { .leader { grid-template-columns: 1fr; gap: 24px; } .leader-photo { max-width: 240px; } }

/* —— 总经理名片 —— */
.bizcard { margin: 0; border-radius: var(--radius-l); overflow: hidden; border: 1px solid var(--grid); background: var(--white); box-shadow: var(--shadow); }
.bizcard img { width: 100%; height: auto; display: block; }
.leader .bizcard { align-self: start; }
@media (max-width: 760px) { .leader .bizcard { max-width: 420px; } }

/* =================================================================
   ★ v3 移动端适配层 — 手机端优先体验
   置于文件末尾以覆盖前面所有规则。
   ================================================================= */

/* —— 汉堡按钮 → X 形态（依赖 site.js 的 aria-expanded）—— */
.nav-burger span { transition: transform .3s cubic-bezier(.22,.61,.36,1), opacity .25s ease; }
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* —— 防横向溢出：网格子项允许收缩（含内嵌可滚动表格的列）—— */
.grid > *, .feature > *, .footer-grid > *, .leader > * { min-width: 0; }
.table-wrap { max-width: 100%; }
/* 表单控件可收缩（长 option 文案不得撑破布局） */
.form > *, .form .row > *, .field { min-width: 0; }
.field input, .field select, .field textarea { width: 100%; min-width: 0; }

/* —— 触屏设备：去除悬浮位移，避免 iOS 粘滞 hover —— */
@media (hover: none) and (pointer: coarse) {
  .card:hover, .metric:hover, .course-card:hover, .cust-cat:hover,
  .deck-ch:hover, .arch-col:hover, .btn:hover, .btn-line:hover,
  .nav-cta:hover, .logos .lg:hover, .timeline .tl-item:hover .tl-dot { transform: none; }
  .btn-primary:hover::after { left: -120%; }
}

/* —— 平板及以下（≤980px）—— */
@media (max-width: 980px) {
  .nav-inner {
    gap: 14px;
    padding: 0 max(16px, env(safe-area-inset-right)) 0 max(20px, env(safe-area-inset-left));
  }
  /* 触控热区 ≥ 44px */
  .nav-burger { padding: 11px 10px; margin-right: -8px; }
  .mobile-menu {
    padding: 18px max(28px, env(safe-area-inset-right)) calc(40px + env(safe-area-inset-bottom)) max(28px, env(safe-area-inset-left));
  }
  .mobile-menu a { font-size: 19px; padding: 15px 0; }
  .hero { padding: calc(var(--nav-h) + 64px) 0 72px; }
  .pagehead { padding: calc(var(--nav-h) + 56px) 0 60px; }
  .cta { padding: 56px 32px; }
  .table-wrap { -webkit-overflow-scrolling: touch; }
}

/* —— 手机（≤680px）—— */
@media (max-width: 680px) {
  :root { --gut: 20px; --radius-l: 22px; }

  /* 版式节奏收紧 */
  .section { padding: 52px 0; }
  .section-sm { padding: 40px 0; }
  .sec-head { margin-bottom: 36px; }
  .grid { gap: 14px; }
  .metrics { gap: 12px; }

  /* 字阶（针对小屏微调，clamp 下限再降一档） */
  .display { font-size: clamp(30px, 8.6vw, 38px); }
  .h-sec { font-size: clamp(23px, 6.6vw, 30px); }
  .lead { font-size: 16px; }
  .eyebrow { font-size: 12px; margin-bottom: 12px; }

  /* Hero */
  .hero { padding: calc(var(--nav-h) + 44px) 0 56px; }
  .hero h1 { font-size: clamp(31px, 10vw, 44px); max-width: none; }
  .hero .lead { margin-top: 18px; font-size: 16px; }
  .hero-badge { font-size: 12px; padding: 6px 13px; margin-bottom: 20px; }
  .hero-note { font-size: 12px; }
  .hero-actions { margin-top: 28px; gap: 12px; }
  .hero-actions .btn, .cta-actions .btn { width: 100%; justify-content: center; white-space: normal; text-align: center; }
  .hero-metrics { margin-top: 40px; }
  .hero-metrics .m { padding: 18px 16px; }
  .hero-metrics .v { font-size: 23px; }
  .hero-metrics .k { font-size: 12px; }
  .hero-metrics .src { font-size: 10px; }

  /* 内页头 */
  .pagehead { padding: calc(var(--nav-h) + 40px) 0 48px; }
  .pagehead h1 { font-size: clamp(28px, 8.6vw, 40px); }
  .pagehead p { font-size: 15.5px; margin-top: 14px; }
  .breadcrumb { font-size: 12px; margin-bottom: 14px; }

  /* 卡片与组件 */
  .card { padding: 24px 20px; }
  .card h3 { font-size: 18px; }
  .metric { padding: 22px 20px; }
  .metric .v { font-size: clamp(27px, 8vw, 34px); }
  .course-card { padding: 22px 18px; }
  .callout { padding: 20px 20px 20px 26px; }
  .cta { padding: 44px 22px; }
  .cta p { font-size: 15px; }
  .btn { padding: 12px 22px; font-size: 14.5px; }

  /* 表格：保留横向滚动，整体收紧 */
  table.data { font-size: 13px; min-width: 540px; }
  table.data th, table.data td { padding: 11px 12px; }

  /* 时间轴 */
  .timeline::before { left: 13px; }
  .timeline .tl-item { padding-left: 44px; padding-bottom: 28px; }
  .timeline .tl-dot { left: 4px; width: 18px; height: 18px; }

  /* 客户清单 / 分段切换 */
  .seg-toggle { display: flex; flex-wrap: wrap; justify-content: center; max-width: 100%; }
  .seg-toggle a { flex: 1 1 auto; text-align: center; padding: 8px 14px; font-size: 13px; }
  .cust-cat { padding: 22px 18px; }
  .cust-cat h3 { font-size: 17px; }
  .cust-cat .cat-head { flex-wrap: wrap; gap: 10px; }
  .chip { font-size: 12.5px; padding: 6px 12px; }

  /* 表单：16px 防止 iOS 聚焦自动放大 */
  .field input, .field select, .field textarea { font-size: 16px; }

  /* 架构图 / 课件 / 其他 */
  .arch-col { padding: 18px; }
  .deck-outline { grid-template-columns: 1fr; }
  .outline li { font-size: 14px; }
  .logos { gap: 10px 22px; }
  .logos .lg { font-size: 13.5px; }
  .prose h2 { font-size: 22px; }
  .prose p { font-size: 15px; }
  .leader-name { font-size: 23px; }

  /* 页脚 */
  .footer { padding: 48px 0 calc(24px + env(safe-area-inset-bottom)); }
  .footer-grid { gap: 28px; }
  .footer-bottom { margin-top: 36px; }
}

/* —— 小屏手机（≤400px）—— */
@media (max-width: 400px) {
  :root { --gut: 16px; }
  .nav-logo .wordmark { font-size: 17px; }
  .nav-lang { padding: 5px 11px; font-size: 12px; }
  .hero-metrics .v { font-size: 20px; }
  .hero-metrics .m { padding: 15px 13px; }
  .cta { padding: 38px 18px; }
}
