/* LMTester 官网主样式 — 国内 B 端审美
   视觉参考:阿里云 / 火山引擎 / Sealos / Ones / TAPD
   - 白底为主,浅灰切分 section
   - 冷色调蓝(沿用 logo 深蓝 #003564 + 青色 #2DA3BC)
   - 无衬线字体(Inter + PingFang SC / Microsoft YaHei)
   - 杜绝斜体 / serif / emoji
   - 圆角适中(8-12px)
   - 干净专业,不过度装饰
*/

:root {
  /* === Backgrounds === */
  --bg: #FFFFFF;
  --bg-elev: #F8FAFC;
  --bg-elev2: #F1F5F9;
  --bg-tint: #E5EEF7;        /* 浅蓝灰,切分 section(加深一档增强对比) */

  /* === Dark surfaces(CTA / footer 反色块)=== */
  --bg-dark: #002B52;        /* 深一档的 logo 蓝 */
  --bg-dark-elev: #0A3D6B;
  --text-on-dark: #E8F0F8;
  --text-on-dark-dim: #A8BFD4;

  /* === Borders === */
  --border: #E2E8F0;
  --border-subtle: #EDF2F7;
  --border-strong: #CBD5E0;

  /* === Text === */
  --text: #1A202C;
  --text-strong: #0D1521;
  --text-dim: #4A5568;
  --text-faint: #5F6B7E;  /* 加深以满足 WCAG AA 4.5:1 对比度(原 #718096 约 3.4:1 不达标) */

  /* === Brand (沿用 logo)=== */
  --brand: #003564;           /* logo 主深蓝 */
  --brand-strong: #002544;
  --brand-soft: #E6EFF7;
  --brand-bright: #1677FF;    /* 更明亮的 CTA 蓝 */
  --brand-bright-strong: #0958D9;

  --accent: #2DA3BC;          /* logo 青色 */
  --accent-soft: #DBF1F5;
  --accent-strong: #1C8499;

  --good: #10B981;
  --good-soft: #D1FAE5;
  --warn: #F59E0B;
  --warn-soft: #FEF3C7;
  --danger: #EF4444;
  --danger-soft: #FEE2E2;

  --max-width: 1200px;
  --nav-height: 64px;

  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 20px 40px rgba(15, 23, 42, 0.08), 0 6px 14px rgba(15, 23, 42, 0.05);

  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", Arial, sans-serif;
  --font-mono: "SF Mono", "Menlo", "Monaco", "JetBrains Mono", "Courier New", monospace;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  /* 锚点跳转时给 fixed nav 让出空间,内容不被遮挡 */
  scroll-padding-top: calc(var(--nav-height) + 16px);
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* 中英文混排时让支持 palt 的字体(PingFang / Hiragino)自动微调字符间距,
     不支持的字体(Inter)忽略,无副作用 */
  font-feature-settings: "palt", "kern";
}

/* 防止内层装饰元素(背景渐变 / 阴影)在小屏触发横向滚动 */
body { overflow-x: clip; }

/* === Scroll-triggered fade-in === */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.75s cubic-bezier(0.32, 0.72, 0.32, 1),
              transform 0.75s cubic-bezier(0.32, 0.72, 0.32, 1);
  will-change: opacity, transform;
}

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

@media (prefers-reduced-motion: reduce) {
  .fade-in {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}

/* === Navigation === */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--border-subtle);
  backdrop-filter: saturate(180%) blur(8px);
  -webkit-backdrop-filter: saturate(180%) blur(8px);
}

body { padding-top: var(--nav-height); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.nav-brand-logo {
  width: 28px;
  height: 28px;
}

.nav-brand .brand-text {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-strong);
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  position: relative;
  color: var(--text-dim);
  font-size: 14px;
  font-weight: 500;
  padding: 4px 0;
  transition: color 0.15s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--brand);
}

/* active 项底部蓝色 indicator(只在桌面端 nav 显示,移动抽屉里不需要) */
@media (min-width: 769px) {
  .nav-links a.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -22px;
    height: 2px;
    background: var(--brand);
    border-radius: 1px;
  }
}

.nav-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

/* === Mobile hamburger toggle === */
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.nav-toggle:hover {
  border-color: var(--border-strong);
  background: var(--bg-elev);
}

.nav-toggle-bar {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-mobile-actions {
  display: none;
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 18px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.18s ease;
  white-space: nowrap;
  line-height: 1.4;
}

.btn-primary {
  background: var(--brand);
  color: #FFFFFF;
}
.btn-primary:hover {
  background: var(--brand-strong);
  box-shadow: 0 4px 12px rgba(0, 53, 100, 0.25);
}
.btn-primary:active {
  background: var(--brand-strong);
  box-shadow: 0 1px 3px rgba(0, 53, 100, 0.30) inset, 0 1px 2px rgba(0, 53, 100, 0.15);
}

.btn:active {
  transform: scale(0.97);
  transition: transform 0.08s ease, background 0.1s ease, box-shadow 0.1s ease;
}

.btn-ghost:active {
  background: var(--bg-elev2);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06) inset;
}

.btn-ghost {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--text);
}
.btn-ghost:hover {
  background: var(--bg-elev);
  border-color: var(--brand);
  color: var(--brand);
}

.btn-lg {
  padding: 12px 26px;
  font-size: 15px;
  border-radius: var(--radius-md);
}

.btn-arrow::after {
  content: "→";
  margin-left: 2px;
  transition: transform 0.18s ease;
}
.btn-arrow:hover::after { transform: translateX(3px); }

/* === Hero === */
.hero {
  padding: 80px 0 64px;
  position: relative;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(22, 119, 255, 0.06), transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 20%, rgba(45, 163, 188, 0.05), transparent 60%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  background: var(--brand-soft);
  border: 1px solid #C7DBEC;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--brand);
  margin: 0 auto 28px;
  width: fit-content;
}

.hero-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.hero-title {
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 700;
  color: var(--text-strong);
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin: 0 0 24px;
  max-width: 20ch;
  text-align: center;
}

.hero-title-accent {
  color: var(--brand-bright);
  font-weight: 700;
}

.hero-subtitle {
  font-size: clamp(16px, 1.7vw, 18px);
  color: var(--text-dim);
  max-width: 640px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.hero-note {
  font-size: 13px;
  color: var(--text-faint);
  margin: 0 0 64px;
}

/* === Hero product UI mockup === */
.hero-mock {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
}

.hero-mock::before {
  content: "";
  position: absolute;
  inset: -3% -5% 0 -5%;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(22, 119, 255, 0.10), transparent 70%);
  filter: blur(20px);
  z-index: -1;
}

.mock-window {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.mock-titlebar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 18px;
  background: var(--bg-elev);
  border-bottom: 1px solid var(--border-subtle);
}

.mock-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-strong);
}
.mock-dot:nth-child(1) { background: #FF5F57; }
.mock-dot:nth-child(2) { background: #FEBC2E; }
.mock-dot:nth-child(3) { background: #28C840; }

.mock-url {
  margin-left: 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-faint);
}

.mock-body {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 420px;
}

.mock-sidebar {
  padding: 20px 14px;
  background: var(--bg-elev);
  border-right: 1px solid var(--border-subtle);
  font-size: 13px;
}

.mock-sidebar-label {
  font-size: 11px;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 12px;
  padding: 0 8px;
  font-weight: 600;
}

.mock-sidebar-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 6px;
  color: var(--text-dim);
  margin-bottom: 2px;
}

.mock-sidebar-item.active {
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 500;
}

.mock-sidebar-item .status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.status-dot.good { background: var(--good); }
.status-dot.warn { background: var(--warn); }
.status-dot.fail { background: var(--danger); }

.mock-main {
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: var(--bg);
}

.mock-hero-row {
  display: flex;
  align-items: center;
  gap: 18px;
}

.mock-verdict {
  font-size: 40px;
  font-weight: 700;
  color: var(--good);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  line-height: 1;
}

.mock-runmeta {
  flex: 1;
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.55;
}

.mock-runmeta strong {
  color: var(--text-strong);
  font-weight: 600;
}

.mock-steps {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mock-step {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px 14px;
  background: var(--bg-elev);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  font-size: 13px;
}

.mock-step-2col {
  grid-template-columns: 28px 1fr;
}

.mock-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 5px;
  background: var(--brand-soft);
  color: var(--brand);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
}

.mock-step-text { color: var(--text); }

.mock-step-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--brand-strong);  /* 深蓝 #002544 对比度 ≈ 14:1,11px 极小字需高对比 */
  padding: 2px 7px;
  background: var(--accent-soft);
  border-radius: 4px;
}

.mock-keyframes {
  display: flex;
  gap: 8px;
}

.mock-thumb {
  flex: 1;
  height: 64px;
  background: linear-gradient(135deg, var(--bg-elev2), var(--bg-elev));
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  position: relative;
}

.mock-thumb::after {
  content: "";
  position: absolute;
  inset: 8px;
  background:
    linear-gradient(180deg, transparent 0%, transparent 65%, rgba(22, 119, 255, 0.10) 100%),
    repeating-linear-gradient(90deg, transparent 0 9px, rgba(15, 23, 42, 0.05) 9px 10px);
  border-radius: 3px;
}

@media (max-width: 900px) {
  .mock-body { grid-template-columns: 1fr; }
  .mock-sidebar { display: none; }
}

/* === Sections === */
section {
  padding: 96px 0;
  position: relative;
}

section.hero { padding-top: 64px; }

/* 节奏微调:相邻同色 section 会显得过满,缩短一档 padding 制造呼吸感 */
section.video-section + section,
section.section-tint + section.section-tint {
  padding-top: 80px;
}

/* 关键节点 section(对比表 / CTA)padding 加大,制造视觉重音 */
section.comparison-section,
section.cta-section {
  padding: 112px 0;
}

.section-tint {
  background:
    radial-gradient(ellipse 50% 60% at 20% 0%, rgba(22, 119, 255, 0.06), transparent 65%),
    radial-gradient(ellipse 60% 50% at 100% 100%, rgba(45, 163, 188, 0.05), transparent 70%),
    var(--bg-tint);
}
.section-elev { background: var(--bg-elev); }

.section-dark {
  background:
    radial-gradient(ellipse 60% 80% at 20% 0%, rgba(22, 119, 255, 0.18), transparent 60%),
    radial-gradient(ellipse 50% 60% at 100% 100%, rgba(45, 163, 188, 0.15), transparent 65%),
    var(--bg-dark);
  color: var(--text-on-dark);
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}

.statement-narrow {
  max-width: 760px;
  text-align: center;
}

.statement-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  color: var(--text-on-dark);
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin: 0 0 20px;
}

.statement-subtitle {
  font-size: clamp(16px, 1.6vw, 18px);
  color: var(--text-on-dark-dim);
  line-height: 1.65;
  margin: 0;
  max-width: 640px;
  margin: 0 auto;
}

/* === Video section / placeholder === */
.video-section {
  padding: 96px 0 64px;
}

.video-section .section-title,
.video-section .section-subtitle {
  margin-bottom: 0;
}

.video-section .section-subtitle {
  margin-bottom: 48px;
}

.video-frame {
  max-width: 960px;
  margin: 0 auto;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--bg-dark);
  aspect-ratio: 16 / 9;
  position: relative;
}

.video-frame video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.video-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background:
    radial-gradient(ellipse 60% 80% at 50% 50%, rgba(22, 119, 255, 0.22), transparent 65%),
    var(--bg-dark);
  cursor: pointer;
}

.video-play-btn {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--brand);
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-left: 4px;
  cursor: pointer;
  transition: transform 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.video-play-btn:hover {
  transform: scale(1.08);
  background: #fff;
  box-shadow: 0 16px 40px rgba(22, 119, 255, 0.45);
}

.video-placeholder-label {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-on-dark);
  margin: 0;
  letter-spacing: 0.02em;
}

.video-placeholder-hint {
  font-size: 13px;
  color: var(--text-on-dark-dim);
  margin: 0;
}

.section-eyebrow {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-bright-strong);  /* WCAG AA: #0958D9 on white ≈ 6.4:1 */
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-align: center;
  margin: 0 0 14px;
}

.section-title {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  color: var(--text-strong);
  letter-spacing: -0.025em;
  text-align: center;
  margin: 0 0 18px;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-dim);
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
  line-height: 1.6;
}

/* === Features grid === */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--bg);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
  border-color: #B8D5EC;
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(22, 119, 255, 0.10), 0 4px 12px rgba(22, 119, 255, 0.06);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  margin: 0 0 20px;
  transition: background 0.25s ease, transform 0.25s ease;
}

.feature-card:hover .feature-icon {
  background: var(--accent);
  color: #FFFFFF;
  transform: scale(1.06);
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-strong);
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}

.feature-card p {
  font-size: 14.5px;
  color: var(--text-dim);
  line-height: 1.65;
  margin: 0;
}

/* === Code showcase === */
.code-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.code-showcase-text h3 {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-strong);
  margin: 0 0 16px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.code-showcase-text p {
  font-size: 15.5px;
  color: var(--text-dim);
  line-height: 1.65;
  margin: 0 0 16px;
}

.code-block {
  background: #0F1B2D;
  border: 1px solid #1B2940;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.code-block-header {
  padding: 10px 16px;
  background: #1A2740;
  border-bottom: 1px solid #243250;
  font-family: var(--font-mono);
  font-size: 12px;
  color: #8EA0BD;
  display: flex;
  align-items: center;
  gap: 8px;
}

.code-block-header .mock-dot { width: 9px; height: 9px; }

.code-block-body {
  padding: 20px 22px;
  font-family: var(--font-mono);
  font-size: 13.5px;
  line-height: 1.75;
  color: #D4DFF0;
  overflow-x: auto;
  white-space: pre;
}

.code-key { color: #79B8FF; }
.code-str { color: #85E89D; }
.code-comment { color: #6A737D; }
.code-num { color: #FFAB70; }

@media (max-width: 900px) {
  .code-showcase { grid-template-columns: 1fr; gap: 28px; }
  .features-grid { grid-template-columns: 1fr; }
}

/* === Usecase card (替代 code block 展示中文用例)=== */
.usecase-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.usecase-card-header {
  padding: 22px 24px 20px;
  background: var(--bg-elev);
  border-bottom: 1px solid var(--border-subtle);
}

.usecase-tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--brand);
  background: var(--brand-soft);
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}

.usecase-title {
  font-size: 19px;
  font-weight: 600;
  color: var(--text-strong);
  margin: 0;
  letter-spacing: -0.015em;
  line-height: 1.3;
}

.usecase-body {
  padding: 4px 24px 20px;
}

.usecase-field {
  padding: 18px 0;
  border-bottom: 1px solid var(--border-subtle);
}
.usecase-field:last-child { border-bottom: none; padding-bottom: 8px; }

.usecase-label {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.usecase-url {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--brand);
  word-break: break-all;
}

.usecase-instruction {
  font-size: 15px;
  color: var(--text);
  margin: 0;
  line-height: 1.7;
}

.usecase-checks {
  list-style: none;
  padding: 0;
  margin: 0;
}

.usecase-checks li {
  font-size: 14px;
  color: var(--text);
  padding: 6px 0 6px 26px;
  position: relative;
  line-height: 1.55;
}

.usecase-checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231677FF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

/* === Comparison table === */
.comparison-section {
  background: var(--bg-elev);
}

.compare-table {
  max-width: 920px;
  margin: 0 auto;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.compare-row {
  display: grid;
  grid-template-columns: 1.2fr 1.4fr 1.4fr;
  border-bottom: 1px solid var(--border-subtle);
}

.compare-row:last-child { border-bottom: none; }

.compare-cell {
  padding: 18px 24px;
  font-size: 14.5px;
  color: var(--text);
  line-height: 1.55;
  border-right: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
}

.compare-cell:last-child { border-right: none; }

.compare-head .compare-cell {
  background: var(--bg-elev);
  font-weight: 600;
  font-size: 14px;
  color: var(--text-strong);
  padding: 16px 24px;
}

.compare-head .compare-old {
  color: var(--text-dim);
  font-weight: 500;
}

.compare-head .compare-new {
  color: var(--brand);
  font-weight: 600;
}

.compare-label {
  background: var(--bg-elev);
  font-weight: 500;
  color: var(--text-strong);
  font-size: 14px;
}

.compare-old {
  color: var(--text-dim);
  font-size: 14px;
}

.compare-new {
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  background: linear-gradient(90deg, transparent, rgba(22, 119, 255, 0.04));
}

@media (max-width: 768px) {
  .compare-row {
    grid-template-columns: 1fr;
  }
  .compare-cell {
    border-right: none;
    border-bottom: 1px solid var(--border-subtle);
    padding: 12px 18px;
  }
  .compare-row:last-child .compare-cell:last-child {
    border-bottom: none;
  }
}

/* === Steps === */
.steps {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 14px;
  max-width: 760px;
  margin: 0 auto;
}

.step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 20px;
  align-items: flex-start;
  padding: 22px 26px;
  background: var(--bg);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  transition: border-color 0.2s ease;
}

.step:hover {
  border-color: #B8D5EC;
  box-shadow: var(--shadow-sm);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: var(--brand-soft);
  color: var(--brand);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
}

.step-body h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-strong);
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}

.step-body p {
  font-size: 14.5px;
  color: var(--text-dim);
  margin: 0;
  line-height: 1.65;
}

/* === CTA Section (深蓝色块,跟 logo 主色一致)=== */
.cta-section { padding: 96px 0; }

.cta-inner {
  padding: 64px 48px;
  background: var(--bg-dark);
  color: var(--text-on-dark);
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(45, 163, 188, 0.20), transparent 65%),
    radial-gradient(ellipse 60% 50% at 50% 100%, rgba(22, 119, 255, 0.15), transparent 60%);
  pointer-events: none;
}

.cta-inner > * { position: relative; z-index: 1; }

.cta-inner h2 {
  font-size: clamp(28px, 3.5vw, 38px);
  font-weight: 700;
  color: var(--text-on-dark);
  margin: 0 0 18px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.cta-inner p {
  font-size: 16px;
  color: var(--text-on-dark-dim);
  max-width: 560px;
  margin: 0 auto 32px;
}

.cta-section .btn-primary {
  background: var(--brand-bright);
  color: #FFFFFF;
}
.cta-section .btn-primary:hover {
  background: var(--brand-bright-strong);
  box-shadow: 0 6px 16px rgba(22, 119, 255, 0.45);
}

/* === Content pages === */
.page-header {
  padding: 80px 0 40px;
  text-align: center;
  background: var(--bg);
}

.page-header h1 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  color: var(--text-strong);
  letter-spacing: -0.025em;
  margin: 0 0 16px;
  line-height: 1.2;
}

.page-header p {
  font-size: 17px;
  color: var(--text-dim);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.55;
}

.page-body { padding: 32px 0 96px; }

.page-body .container { max-width: 760px; }

.page-body h2 {
  font-size: 26px;
  font-weight: 700;
  color: var(--text-strong);
  margin: 56px 0 16px;
  letter-spacing: -0.015em;
}
.page-body h2:first-child { margin-top: 0; }

.page-body h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-strong);
  margin: 32px 0 12px;
}

.page-body p {
  font-size: 15.5px;
  color: var(--text);
  line-height: 1.75;
  margin: 0 0 16px;
}

.page-body ul, .page-body ol {
  font-size: 15.5px;
  color: var(--text);
  line-height: 1.75;
  padding-left: 24px;
  margin: 0 0 16px;
}

.page-body li { margin-bottom: 6px; }

.page-body code {
  background: var(--bg-elev2);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  padding: 2px 6px;
  font-family: var(--font-mono);
  font-size: 0.9em;
  color: var(--brand);
}

/* === Pricing cards === */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin: 32px 0;
}

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

@media (max-width: 560px) {
  .card-grid { grid-template-columns: 1fr; }
}

.info-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
}

.info-card.featured {
  border-color: var(--brand-bright);
  background: linear-gradient(180deg, #EBF4FF, var(--bg) 30%);
  box-shadow: 0 0 0 1px #C7DBEC, var(--shadow-md);
}

.info-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 6px;
  color: var(--text-strong);
}

.info-card .price {
  font-size: 36px;
  font-weight: 700;
  color: var(--text-strong);
  margin: 18px 0 4px;
  letter-spacing: -0.025em;
  line-height: 1;
}

.info-card .price-note {
  font-size: 13px;
  color: var(--text-dim);
  margin: 0 0 24px;
}

.info-card ul { list-style: none; padding: 0; margin: 0 0 24px; }

.info-card ul li {
  font-size: 14px;
  color: var(--text);
  padding: 9px 0;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  gap: 10px;
}

.info-card ul li::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231677FF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.info-card ul li:last-child { border-bottom: none; }

/* === FAQ === */
.faq-item {
  border-bottom: 1px solid var(--border-subtle);
  padding: 24px 0;
}

.faq-item:first-child { border-top: 1px solid var(--border-subtle); }

.faq-q {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-strong);
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}

.faq-a {
  font-size: 15px;
  color: var(--text-dim);
  margin: 0;
  line-height: 1.7;
}

/* === Footer === */
.site-footer {
  padding: 64px 0 40px;
  background: var(--bg-dark);
  color: var(--text-on-dark);
  margin-top: 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 2.5fr;
  gap: 64px;
}

.footer-brand .brand-text {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-on-dark);
  letter-spacing: -0.01em;
}

.footer-tagline {
  font-size: 14px;
  color: var(--text-on-dark-dim);
  margin: 14px 0 12px;
  max-width: 280px;
  line-height: 1.55;
}

.footer-mail {
  margin: 0;
}

.footer-mail a {
  font-family: var(--font-mono);
  font-size: 13.5px;
  color: var(--text-on-dark);
  border-bottom: 1px solid rgba(232, 240, 248, 0.2);
  padding-bottom: 1px;
  transition: border-color 0.18s ease;
}

.footer-mail a:hover {
  border-bottom-color: rgba(232, 240, 248, 0.6);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-on-dark);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 18px;
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--text-on-dark-dim);
  margin-bottom: 10px;
  transition: color 0.18s ease;
}

.footer-col a:hover { color: var(--text-on-dark); }

.footer-text { font-size: 14px; color: var(--text-on-dark-dim); margin: 0 0 4px; }

.footer-legal {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(232, 240, 248, 0.08);
  text-align: center;
}

.footer-legal p {
  font-size: 13px;
  color: var(--text-on-dark-dim);
  margin: 0 0 6px;
  line-height: 1.7;
}

.footer-legal a {
  color: var(--text-on-dark-dim);
  border-bottom: 1px solid transparent;
  text-decoration: none;
  transition: color 0.15s ease, border-color 0.18s ease;
}

.footer-legal a:hover {
  color: var(--text-on-dark);
  border-bottom-color: rgba(232, 240, 248, 0.5);
}

.footer-sep {
  margin: 0 10px;
  opacity: 0.4;
}

/* === Animations === */
@keyframes gentle-fade {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-badge,
.hero-title,
.hero-subtitle,
.hero-cta,
.hero-note,
.hero-mock {
  animation: gentle-fade 0.6s cubic-bezier(0.32, 0.72, 0.32, 1) both;
}

.hero-title { animation-delay: 0.05s; }
.hero-subtitle { animation-delay: 0.12s; }
.hero-cta { animation-delay: 0.2s; }
.hero-note { animation-delay: 0.28s; }
.hero-mock { animation-delay: 0.38s; }

/* ============================================
   内页通用:page-header + page-eyebrow
   ============================================ */
.page-header-tint {
  background: linear-gradient(180deg, var(--bg-tint), var(--bg) 100%);
  padding: 88px 0 64px;
}

.page-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-bright-strong);  /* WCAG AA: #0958D9 on bg-tint ≈ 6.0:1 */
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 18px;
}

.page-header h1 br {
  display: block;
}

/* ============================================
   私有化部署:deploy 卡片 / 组件卡 / 合规卡 / 时间轴
   ============================================ */
.deploy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.deploy-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.deploy-card:hover {
  transform: translateY(-3px);
  border-color: #B8D5EC;
  box-shadow: 0 12px 32px rgba(22, 119, 255, 0.10), 0 4px 12px rgba(22, 119, 255, 0.06);
}

.deploy-card-featured {
  border-color: var(--brand);
  background: linear-gradient(180deg, #EBF4FF, var(--bg) 30%);
  box-shadow: 0 0 0 1px var(--brand-soft);
}

.deploy-card-label {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-faint);
  background: var(--bg-elev);
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
  width: fit-content;
}

.deploy-card-featured .deploy-card-label {
  background: var(--brand-soft);
  color: var(--brand);
}

.deploy-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-strong);
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}

.deploy-card-desc {
  font-size: 14.5px;
  color: var(--text-dim);
  line-height: 1.65;
  margin: 0 0 20px;
}

.deploy-card-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.deploy-card-list li {
  font-size: 14px;
  color: var(--text);
  padding: 7px 0 7px 22px;
  position: relative;
}

.deploy-card-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-bright);
}

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

.component-card {
  background: var(--bg);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
}

.component-card-num {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-bright-strong);  /* WCAG AA */
  margin-bottom: 14px;
}

.component-card h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-strong);
  margin: 0 0 10px;
}

.component-card p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.6;
  margin: 0;
}

.spec-table {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  max-width: 1000px;
  margin: 0 auto;
}

.spec-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-bottom: 1px solid var(--border-subtle);
}

.spec-row:last-child { border-bottom: none; }

.spec-cell {
  padding: 16px 20px;
  font-size: 14px;
  color: var(--text);
  display: flex;
  align-items: center;
  border-right: 1px solid var(--border-subtle);
}

.spec-cell:last-child { border-right: none; }

.spec-head .spec-cell {
  background: var(--bg-elev);
  font-weight: 600;
  font-size: 13px;
  color: var(--text-strong);
  letter-spacing: 0.02em;
}

.spec-label {
  background: var(--bg-elev);
  font-weight: 600;
  color: var(--text-strong);
  font-size: 13.5px;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.spec-label span {
  font-size: 12px;
  font-weight: 400;
  color: var(--text-dim);
}

.spec-check::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231677FF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

/* pricing 用 5 列 spec-table */
.section-tint .spec-table {
  background: var(--bg);
}

.section-tint .spec-row {
  grid-template-columns: 1.1fr 1fr 1fr 1fr 1fr;
}

.spec-table > .spec-row:not(.spec-head) > .spec-cell:not(.spec-label) {
  font-size: 14px;
}

/* 当 spec-table 在 pricing(4 列)时 override 上面的 5 列 */
.spec-table .spec-row[class*="spec-head"]:has(> *:nth-child(4)):not(:has(> *:nth-child(5))) {
  grid-template-columns: 1fr 1fr 1fr 1fr;
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.security-card {
  background: var(--bg);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
}

.security-card h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-strong);
  margin: 0 0 10px;
  padding-left: 18px;
  position: relative;
}

.security-card h4::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 6px;
  height: 12px;
  background: var(--brand-bright);
  border-radius: 2px;
}

.security-card p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.65;
  margin: 0;
}

.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 820px;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 18px;
  bottom: 18px;
  width: 2px;
  background: linear-gradient(180deg, var(--brand-bright), var(--accent));
  opacity: 0.3;
}

.timeline-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 24px;
  padding: 14px 0 28px;
  position: relative;
}

.timeline-marker {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--bg);
  border: 2px solid var(--brand-bright);
  color: var(--brand-bright);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 6px var(--bg);
}

.section-tint .timeline-marker { box-shadow: 0 0 0 6px var(--bg-elev); }

.timeline-body {
  padding-top: 4px;
}

.timeline-phase {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--brand-bright);
  background: var(--brand-soft);
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 8px;
}

.timeline-body h4 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-strong);
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}

.timeline-body p {
  font-size: 14.5px;
  color: var(--text-dim);
  line-height: 1.65;
  margin: 0;
}

/* ============================================
   Pricing 补充
   ============================================ */
.info-card-desc {
  font-size: 14px;
  color: var(--text-dim);
  margin: 0 0 4px;
}

.info-card-badge {
  position: absolute;
  top: -10px;
  right: 24px;
  background: var(--brand);  /* 深蓝 #003564,白字对比度 ≈ 12:1 达 WCAG AA */
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.04em;
}

.info-card { position: relative; }

.price-unit {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-dim);
  margin-left: 4px;
}

.btn-block {
  width: 100%;
  justify-content: center;
}

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

.addon-card {
  background: var(--bg);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px 22px;
}

.addon-card h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-strong);
  margin: 0 0 10px;
}

.addon-card p {
  font-size: 13.5px;
  color: var(--text-dim);
  line-height: 1.6;
  margin: 0;
}

.faq-narrow {
  max-width: 840px;
}

/* ============================================
   Cases:profile 卡 / benefit 卡
   ============================================ */
.profile-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.profile-card {
  background: var(--bg);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.profile-card:hover {
  border-color: #B8D5EC;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.profile-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.profile-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--brand-soft);
  color: var(--brand);
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}

.profile-card h4 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-strong);
  margin: 0;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.profile-card p {
  font-size: 14.5px;
  color: var(--text-dim);
  line-height: 1.65;
  margin: 0;
}

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

.benefit-card {
  background: var(--bg);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: border-color 0.2s ease;
}

.benefit-card:hover { border-color: #B8D5EC; }

.benefit-card h4 {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-strong);
  margin: 0 0 10px;
  padding-left: 16px;
  position: relative;
  letter-spacing: -0.01em;
}

.benefit-card h4::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 4px;
  background: var(--brand-bright);
  border-radius: 2px;
}

.benefit-card p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.65;
  margin: 0;
}

/* ============================================
   FAQ:nav 锚点 + faq-card
   ============================================ */
.faq-nav {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 32px;
  flex-wrap: wrap;
}

.faq-nav-link {
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dim);
  background: var(--bg);
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  transition: all 0.18s ease;
}

.faq-nav-link:hover {
  color: var(--brand);
  border-color: var(--brand-soft);
  background: var(--brand-soft);
}

.faq-section {
  padding: 80px 0;
  scroll-margin-top: 80px;
}

.faq-section-title {
  font-size: 26px;
  font-weight: 700;
  color: var(--text-strong);
  letter-spacing: -0.02em;
  margin: 0 0 32px;
}

.faq-card {
  background: var(--bg);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  margin-bottom: 12px;
  transition: border-color 0.2s ease;
}

.faq-card:hover { border-color: var(--border); }

.faq-card .faq-q {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-strong);
  margin: 0 0 10px;
  letter-spacing: -0.005em;
}

.faq-card .faq-a {
  font-size: 14.5px;
  color: var(--text-dim);
  margin: 0;
  line-height: 1.75;
}

.faq-card .faq-a a {
  color: var(--brand);
  text-decoration: underline;
  text-decoration-color: rgba(0, 53, 100, 0.35);
  text-underline-offset: 3px;
  transition: color 0.15s ease, text-decoration-color 0.18s ease;
}

.faq-card .faq-a a:hover {
  color: var(--brand-bright);
  text-decoration-color: var(--brand-bright);
}

/* ============================================
   Contact:联系卡 + 表单 + 响应承诺
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.contact-card {
  background: var(--bg);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.contact-card:hover {
  transform: translateY(-3px);
  border-color: #B8D5EC;
  box-shadow: var(--shadow-md);
}

.contact-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--brand-soft);
  color: var(--brand);
  margin-bottom: 18px;
}

.contact-card h4 {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-strong);
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}

.contact-card-desc {
  font-size: 13.5px;
  color: var(--text-dim);
  margin: 0 0 14px;
  line-height: 1.55;
}

.contact-card-mail {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 13.5px;
  color: var(--brand);
  word-break: break-all;
  transition: color 0.15s ease;
}

.contact-card-mail:hover { color: var(--brand-strong); }

/* === 企业微信二维码卡 === */
.contact-card-qr {
  text-align: center;
}

.contact-card-qr h4 {
  margin: 0 0 16px;
}

.wechat-qr-placeholder,
.wechat-qr-img {
  display: inline-block;
  width: 140px;
  height: 140px;
  border-radius: 10px;
  margin: 0 auto 14px;
}

.wechat-qr-placeholder {
  background: var(--bg-elev);
  border: 1.5px dashed var(--border-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-faint);
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
}

.wechat-qr-img {
  background: var(--bg);
  object-fit: contain;
  border: 1px solid var(--border-subtle);
  padding: 6px;
}

.wechat-qr-hint {
  font-size: 13px;
  color: var(--text-dim);
  margin: 0;
}

.form-narrow {
  max-width: 720px;
}

.lead-form {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: var(--shadow-sm);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-field {
  display: flex;
  flex-direction: column;
}

.form-field-full {
  display: flex;
  flex-direction: column;
  margin-bottom: 24px;
}

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

.form-label em {
  color: var(--danger);
  font-style: normal;
  font-weight: 600;
  margin-left: 2px;
}

.form-input {
  width: 100%;
  padding: 11px 14px;
  font-family: var(--font-sans);
  font-size: 14.5px;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
  resize: vertical;
}

.form-input:focus {
  outline: none;
  border-color: var(--brand-bright);
  box-shadow: 0 0 0 3px rgba(22, 119, 255, 0.12);
}

.form-input::placeholder {
  color: var(--text-faint);
}

.form-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-note {
  font-size: 13px;
  color: var(--text-faint);
  margin: 0;
}

.form-note a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-hero {
  text-align: center;
  margin-bottom: 36px;
}

.form-hero .section-eyebrow { margin-bottom: 14px; }
.form-hero .section-title { margin-bottom: 12px; }
.form-hero .section-subtitle { margin-bottom: 0; }

.form-feedback {
  margin-top: 20px;
  padding: 20px 24px;
  border-radius: var(--radius-md);
  font-size: 14.5px;
  line-height: 1.6;
}

.form-feedback h4 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 600;
}

.form-feedback p { margin: 0; }

.form-feedback a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-success {
  background: #E8F7EE;
  border: 1px solid #B8E5C8;
  color: #1A6938;
}

.form-error {
  background: #FDECEC;
  border: 1px solid #F5C2C2;
  color: #9B2C2C;
}

button[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}

.response-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 980px;
  margin: 0 auto;
}

.response-card {
  background: var(--bg);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  text-align: center;
}

.response-num {
  font-size: 44px;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: -0.025em;
  margin: 0 0 8px;
  line-height: 1;
}

.response-label {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-strong);
  margin: 0 0 8px;
}

.response-desc {
  font-size: 13.5px;
  color: var(--text-dim);
  line-height: 1.55;
  margin: 0;
}

/* ============================================
   内页 responsive
   ============================================ */
@media (max-width: 900px) {
  .deploy-grid,
  .component-grid,
  .benefit-grid,
  .addon-grid,
  .contact-grid,
  .response-grid,
  .security-grid {
    grid-template-columns: 1fr 1fr;
  }
  .profile-grid { grid-template-columns: 1fr; }
  .spec-row { grid-template-columns: 1fr; }
  .spec-cell {
    border-right: none;
    border-bottom: 1px solid var(--border-subtle);
  }
  .spec-row:last-child .spec-cell:last-child { border-bottom: none; }
}

@media (max-width: 600px) {
  .deploy-grid,
  .component-grid,
  .benefit-grid,
  .addon-grid,
  .contact-grid,
  .response-grid,
  .security-grid {
    grid-template-columns: 1fr;
  }
  .form-row { grid-template-columns: 1fr; }
  .lead-form { padding: 28px 22px; }
  .timeline-item { grid-template-columns: 44px 1fr; gap: 16px; }
  .timeline-marker { width: 44px; height: 44px; font-size: 13px; }
  .timeline::before { left: 21px; }
  .profile-card { padding: 24px 20px; }
  .profile-num { width: 36px; height: 36px; font-size: 13px; }
  .profile-head { gap: 12px; margin-bottom: 12px; }
}

/* === Responsive === */
@media (max-width: 1024px) {
  .container { padding: 0 20px; }
  .nav-links { gap: 24px; }
}

@media (max-width: 768px) {
  .container { padding: 0 16px; }
  .features-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .nav-actions { display: none; }
  .nav-toggle { display: inline-flex; }

  /* 抽屉:从顶部下拉,占满宽度,固定在 nav 下方 */
  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: saturate(180%) blur(10px);
    -webkit-backdrop-filter: saturate(180%) blur(10px);
    border-bottom: 1px solid var(--border-subtle);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
    flex-direction: column;
    gap: 0;
    padding: 12px 16px 20px;
    max-height: calc(100vh - var(--nav-height));
    overflow-y: auto;
  }

  .nav-links.open {
    display: flex;
    animation: nav-drawer-in 0.22s ease;
  }

  .nav-links a:not(.btn) {
    display: block;
    padding: 14px 12px;
    font-size: 15px;
    border-radius: 8px;
  }

  .nav-links a:not(.btn):hover {
    background: var(--bg-elev);
  }

  .nav-mobile-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px 4px 4px;
    margin-top: 8px;
    border-top: 1px solid var(--border-subtle);
  }

  @keyframes nav-drawer-in {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .hero { padding: 56px 0 40px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  section { padding: 64px 0; }
  .mock-main { padding: 18px 16px; gap: 16px; }
  .mock-titlebar { padding: 10px 14px; }
  .mock-url {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-left: 10px;
    font-size: 11px;
  }
  .mock-verdict { font-size: 32px; }
  .step { grid-template-columns: 40px 1fr; gap: 14px; padding: 18px; }
  .step-num { width: 36px; height: 36px; font-size: 12px; }
  .cta-inner { padding: 48px 24px; }
  .cta-section { padding: 64px 0; }
  .feature-card { padding: 24px 22px; }
  .usecase-card-header { padding: 18px 20px 16px; }
  .usecase-body { padding: 4px 20px 16px; }
  .compare-cell { font-size: 13.5px; padding: 14px 16px; }
}

@media (max-width: 480px) {
  .footer-links { grid-template-columns: 1fr; gap: 28px; }
  .hero-title { font-size: 32px; }
  .section-title { font-size: 26px; }
  .nav-inner { height: 56px; }
  .nav-brand .brand-text { font-size: 16px; }
  .nav-brand-logo { width: 24px; height: 24px; }
  body { padding-top: 56px; }  /* 对齐 mobile nav 高度 */
}
