:root {
  --hero-bg: #07111f;
  --hero-surface: rgba(255, 255, 255, 0.06);
  --hero-border: rgba(255, 255, 255, 0.1);

  --bg: #f3f7fb;
  --surface: #ffffff;
  --surface-2: #e9f0f7;
  --surface-3: #d9e4f1;
  --border: rgba(15, 23, 42, 0.08);
  --border-strong: rgba(15, 23, 42, 0.14);

  --ink: #0f172a;
  --muted: #64748b;
  --subtle: #94a3b8;

  --accent: #1277d3;
  --accent-deep: #0b5fb0;
  --accent-light: #e8f4ff;
  --accent-glow: rgba(18, 119, 211, 0.24);
  --accent-warm: #f59e0b;

  --green: #10b981;
  --green-light: rgba(16, 185, 129, 0.12);

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08), 0 1px 4px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 20px 48px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.06);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-2xl: 28px;
  --radius-pill: 999px;

  --container: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Instrument Sans", "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  background-image:
    radial-gradient(circle at top left, rgba(18, 119, 211, 0.08), transparent 28%),
    linear-gradient(180deg, #eef5fb 0%, #f7fafd 28%, #f3f7fb 100%);
  -webkit-font-smoothing: antialiased;
}
html[lang="zh-Hant"] body {
  font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.page-shell { width: min(calc(100% - 40px), var(--container)); margin: 0 auto; }
.hero {
  position: relative;
  overflow: hidden;
  background: var(--hero-bg);
  background-image:
    linear-gradient(180deg, rgba(3, 10, 24, 0.72), rgba(3, 10, 24, 0.72)),
    radial-gradient(ellipse 80% 60% at 10% 0%, rgba(18, 119, 211, 0.24), transparent 60%),
    radial-gradient(ellipse 70% 55% at 100% 100%, rgba(245, 158, 11, 0.14), transparent 60%);
  padding-bottom: 80px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent 85%);
  pointer-events: none;
}
.hero .page-shell { position: relative; z-index: 1; padding-top: 20px; }
.topbar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 14px 20px;
  border: 1px solid var(--hero-border);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  margin-bottom: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--accent), #49a4f0);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}
.brand-name {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  font-family: "Space Grotesk", "Instrument Sans", sans-serif;
}
html[lang="zh-Hant"] .brand-name {
  font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.topbar-links {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}
.topbar-links a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  transition: color 150ms ease;
}
.topbar-links a:hover { color: #fff; }
.topbar-note {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.875rem;
  font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  text-align: right;
}
.topbar-meta { display: grid; justify-items: end; gap: 10px; }
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.06);
}
.lang-switch-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  min-height: 32px;
  padding: 0 12px;
  border-radius: var(--radius-pill);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  transition: background 150ms ease, color 150ms ease;
}
.lang-switch-link:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }
.lang-switch-link.is-active { color: #fff; background: rgba(18, 119, 211, 0.32); }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 20px;
  padding: 5px 12px;
  border: 1px solid rgba(18, 119, 211, 0.34);
  border-radius: var(--radius-pill);
  background: rgba(18, 119, 211, 0.14);
  color: #9fd2ff;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
h1, h2, h3 { margin: 0; line-height: 1.1; }
h1, h2 { font-family: "Space Grotesk", "Instrument Sans", sans-serif; }
html[lang="zh-Hant"] h1,
html[lang="zh-Hant"] h2,
html[lang="zh-Hant"] h3 {
  font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  letter-spacing: -0.02em;
}
h1 {
  font-size: clamp(2.4rem, 4.5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #fff;
  max-width: 14ch;
  line-height: 1.05;
}
html[lang="zh-Hant"] h1 { line-height: 1.15; }
h2 {
  font-size: clamp(1.8rem, 3vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  max-width: 16ch;
}
html[lang="zh-Hant"] h2 { line-height: 1.2; }
h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
html[lang="zh-Hant"] .hero-text,
html[lang="zh-Hant"] .audience-card p,
html[lang="zh-Hant"] .feature-card p,
html[lang="zh-Hant"] .workflow-step p,
html[lang="zh-Hant"] .screen-copy p,
html[lang="zh-Hant"] .deployment-copy p,
html[lang="zh-Hant"] .faq-card p,
html[lang="zh-Hant"] .comparison-panel li,
html[lang="zh-Hant"] .benefit-panel li,
html[lang="zh-Hant"] .quick-answer-card p,
html[lang="zh-Hant"] .final-cta-copy p:last-child {
  line-height: 1.8;
}
.hero-text {
  margin: 20px 0 0;
  max-width: 52ch;
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.72);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 28px; }
.share-button { cursor: pointer; font: inherit; }
.share-button.is-copied {
  border-color: rgba(255, 196, 110, 0.68);
  box-shadow: 0 10px 24px rgba(255, 196, 110, 0.18);
}
.share-feedback {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 14px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 160ms ease, transform 160ms ease;
  pointer-events: none;
}
.share-feedback.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.share-feedback-dark {
  background: rgba(15, 23, 42, 0.08);
  color: rgba(15, 23, 42, 0.78);
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  transition: transform 150ms ease, box-shadow 150ms ease, border-color 150ms ease;
}
.button:hover { transform: translateY(-1px); }
.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), #3ea1f2);
  box-shadow: 0 12px 28px rgba(18, 119, 211, 0.28);
}
.button-secondary {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
}
.button-secondary-dark {
  color: var(--ink);
  border-color: rgba(15, 23, 42, 0.1);
  background: rgba(15, 23, 42, 0.04);
}
.hero-points {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}
.hero-points li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: rgba(255, 255, 255, 0.8);
}
.hero-points li::before {
  content: "";
  width: 10px;
  height: 10px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--accent-warm);
  flex: 0 0 auto;
}
.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 32px;
}
.hero-metrics div,
.stat-card,
.hero-aside div,
.proof-strip div,
.quick-answer-card,
.audience-card,
.feature-card,
.workflow-step,
.screen-card,
.benefit-panel,
.comparison-panel,
.deployment-layout,
.faq-card,
.final-cta {
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}
.hero-metrics div {
  padding: 16px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.06);
}
.hero-metrics strong {
  display: block;
  color: #fff;
  font-size: 1rem;
  margin-bottom: 6px;
}
.hero-metrics span { color: rgba(255, 255, 255, 0.62); font-size: 0.92rem; }
.hero-visual { display: grid; gap: 20px; }
.stat-card,
.hero-aside div {
  border-radius: var(--radius-xl);
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}
.stat-card-accent {
  border-color: rgba(18, 119, 211, 0.38);
  background: linear-gradient(135deg, rgba(18, 119, 211, 0.22), rgba(255, 255, 255, 0.04));
}
.stat-label,
.aside-kicker {
  display: block;
  margin-bottom: 8px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.62);
}
.hero-shot {
  overflow: hidden;
  border-radius: var(--radius-2xl);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-lg);
}
.hero-shot img { width: 100%; height: auto; }
.hero-aside { display: grid; gap: 16px; }
main { padding: 72px 0 88px; }
section + section { margin-top: 72px; }
.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.proof-strip div,
.quick-answer-card,
.audience-card,
.feature-card,
.workflow-step,
.benefit-panel,
.comparison-panel,
.faq-card {
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: 24px;
}
.proof-strip strong,
.benefit-panel h3,
.comparison-panel h3 { display: block; margin-bottom: 8px; }
.proof-strip span,
.quick-answer-card p,
.audience-card p,
.feature-card p,
.workflow-step p,
.screen-copy p,
.benefit-panel li,
.comparison-panel li,
.deployment-copy p,
.faq-card p,
.footer span,
.final-cta-copy p:last-child {
  color: var(--muted);
}
.section-heading {
  display: grid;
  gap: 12px;
  margin-bottom: 28px;
}
.section-heading .eyebrow {
  color: var(--accent-deep);
  background: var(--accent-light);
  border-color: rgba(18, 119, 211, 0.12);
}
.quick-answer-grid,
.audience-grid,
.feature-grid,
.workflow-grid,
.benefits-grid,
.comparison-grid,
.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.workflow-step span {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--accent);
  font-family: "IBM Plex Mono", monospace;
  font-weight: 500;
}
.screens-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.screen-card {
  overflow: hidden;
  border-radius: var(--radius-2xl);
  background: var(--surface);
}
.screen-card-wide { grid-column: span 2; }
.screen-copy { padding: 24px 24px 8px; }
.screen-card img { width: 100%; border-top: 1px solid var(--border); }
.comparison-panel-muted { background: #f8fafc; }
.comparison-panel-accent {
  background: linear-gradient(180deg, #f0f7ff 0%, #e7f2ff 100%);
  border-color: rgba(18, 119, 211, 0.18);
}
.benefit-panel ul,
.comparison-panel ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 10px;
}
.deployment-layout {
  display: grid;
  grid-template-columns: minmax(280px, 420px) 1fr;
  gap: 28px;
  padding: 28px;
  border-radius: var(--radius-2xl);
  background: linear-gradient(180deg, rgba(18, 119, 211, 0.04), rgba(15, 23, 42, 0.02));
}
.code-panel {
  border-radius: var(--radius-xl);
  background: #07111f;
  color: #dbeafe;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}
.code-panel pre { margin: 0; padding: 26px; overflow: auto; }
.code-panel code {
  font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 0.95rem;
  line-height: 1.75;
}
.deployment-checklist {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}
.deployment-checklist div {
  padding: 14px 16px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--muted);
}
.final-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: end;
  padding: 32px;
  border-radius: var(--radius-2xl);
  background: linear-gradient(135deg, #f0f7ff 0%, #fff8eb 100%);
}
.final-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}
.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 28px 0 48px;
  color: var(--muted);
  border-top: 1px solid var(--border);
}
.footer strong { display: block; color: var(--ink); margin-bottom: 6px; }
@media (max-width: 1040px) {
  .topbar,
  .hero-grid,
  .hero-metrics,
  .proof-strip,
  .quick-answer-grid,
  .audience-grid,
  .feature-grid,
  .workflow-grid,
  .benefits-grid,
  .comparison-grid,
  .faq-grid,
  .deployment-layout,
  .final-cta {
    grid-template-columns: 1fr;
  }
  .topbar-links { display: none; }
  .screen-card-wide { grid-column: auto; }
  .screens-grid { grid-template-columns: 1fr; }
  .final-cta-actions { justify-content: flex-start; }
}
@media (max-width: 720px) {
  .page-shell { width: min(calc(100% - 24px), var(--container)); }
  .topbar {
    grid-template-columns: 1fr;
    justify-items: start;
    padding: 16px;
    border-radius: var(--radius-xl);
  }
  .topbar-meta { justify-items: start; }
  .hero { padding-bottom: 56px; }
  main { padding: 56px 0 72px; }
  section + section { margin-top: 56px; }
  .screen-copy,
  .proof-strip div,
  .quick-answer-card,
  .audience-card,
  .feature-card,
  .workflow-step,
  .benefit-panel,
  .comparison-panel,
  .faq-card,
  .final-cta,
  .deployment-layout {
    padding: 20px;
  }
  .hero-actions,
  .final-cta-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .button,
  .share-feedback { width: 100%; }
  .footer {
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 36px;
  }
}
