/* Veloceon marketing site — DESIGN.md dark tokens (#7C97FF / #34C8F0) */

:root {
  /* Aligned with DESIGN.md dark-default (LumenX) */
  --bg-base: #121212;
  --bg-surface: #181c22;
  --bg-elevated: #20252d;
  --bg-card: #181c22;
  --bg-inset: #15181d;
  --text-primary: #f1f5f9;
  --text-secondary: #bcc8d7;
  --text-muted: #8a96a6;
  --glow-purple: #7c97ff;
  --glow-cyan: #34c8f0;
  --primary: #7c97ff;
  --primary-hover: #95abff;
  --accent: #34c8f0;
  --gradient-hero: linear-gradient(135deg, #7c97ff 0%, #34c8f0 100%);
  --gradient-card: linear-gradient(
    145deg,
    rgba(124, 151, 255, 0.1) 0%,
    rgba(52, 200, 240, 0.05) 100%
  );
  --border-subtle: #2a313a;
  --border-default: #3a4552;
  --shadow-glow: 0 0 40px rgba(78, 127, 255, 0.12);
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --font-display: "Space Grotesk", "Noto Sans SC", system-ui, sans-serif;
  --font-body: "Inter", "Noto Sans SC", system-ui, sans-serif;
  --header-h: 72px;
  --container: min(1120px, calc(100% - 48px));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-base);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s, opacity 0.2s;
}

a:hover {
  color: var(--glow-purple);
}

.container {
  width: var(--container);
  margin-inline: auto;
}

/* Background mesh */
.bg-mesh {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 20% -10%, rgba(124, 151, 255, 0.18), transparent),
    radial-gradient(ellipse 60% 40% at 90% 10%, rgba(52, 200, 240, 0.12), transparent),
    radial-gradient(ellipse 50% 30% at 50% 100%, rgba(124, 151, 255, 0.08), transparent),
    var(--bg-base);
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(18, 18, 18, 0.78);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-primary);
  text-decoration: none;
}

.logo-mark {
  width: 36px;
  height: 36px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(52, 200, 240, 0.4)) drop-shadow(0 2px 14px rgba(124, 151, 255, 0.25));
  transition: transform 0.25s ease, filter 0.25s ease;
}

.logo:hover .logo-mark {
  transform: scale(1.06) rotate(-2deg);
  filter: drop-shadow(0 0 16px rgba(52, 200, 240, 0.6)) drop-shadow(0 4px 20px rgba(124, 151, 255, 0.45));
}

.nav-main {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-panels {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
}

.nav-main a {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  font-weight: 500;
}

.nav-main a:hover {
  color: var(--text-primary);
}

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

.lang-toggle {
  min-width: 44px;
  padding-inline: 12px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.platforms-desc {
  margin-inline: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn:active {
  transform: scale(0.98);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
}

.btn-ghost:hover {
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
}

.btn-primary {
  background: var(--gradient-hero);
  color: #07090f;
  box-shadow: 0 4px 24px rgba(124, 151, 255, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 6px 32px rgba(52, 200, 240, 0.45);
  color: #07090f;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1rem;
}

.btn-outline {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  min-width: 44px;
  min-height: 44px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 1px;
}

/* Hero */
.hero {
  padding: calc(var(--header-h) + 64px) 0 80px;
  min-height: min(90vh, 880px);
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  margin-bottom: 20px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--accent);
  background: rgba(52, 200, 240, 0.1);
  border: 1px solid rgba(52, 200, 240, 0.25);
  border-radius: 999px;
}

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

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 20px;
  letter-spacing: -0.02em;
}

.hero h1 .gradient {
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-lead {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 0 32px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.hero-proof {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.hero-proof strong {
  color: var(--text-secondary);
}

/* App mockup */
.hero-visual {
  position: relative;
}

.mockup-frame {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: var(--bg-elevated);
  box-shadow: var(--shadow-glow), 0 24px 80px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.mockup-chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: linear-gradient(180deg, rgba(32, 37, 45, 0.98) 0%, var(--bg-surface) 100%);
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
}

.mockup-chrome::after {
  content: "app.veloceon.studio";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono, ui-monospace, SFMono-Regular, Menlo, monospace);
  font-size: 0.6875rem;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  opacity: 0.85;
  max-width: 46%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  pointer-events: none;
}

.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
}

.mockup-dot:nth-child(1) {
  background: #ff5f57;
}
.mockup-dot:nth-child(2) {
  background: #febc2e;
}
.mockup-dot:nth-child(3) {
  background: #28c840;
}

.mockup-body {
  display: grid;
  grid-template-columns: 56px 1fr;
  min-height: 320px;
}

.mockup-sidebar {
  background: var(--bg-base);
  border-right: 1px solid var(--border-subtle);
  padding: 12px 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mockup-nav-item {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}

.mockup-nav-item.active {
  background: rgba(124, 151, 255, 0.25);
  box-shadow: inset 0 0 0 1px rgba(124, 151, 255, 0.4);
}

.mockup-main {
  padding: 16px;
  background: linear-gradient(180deg, var(--bg-surface) 0%, var(--bg-elevated) 100%);
}

.mockup-title-bar {
  height: 12px;
  width: 40%;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.12);
  margin-bottom: 16px;
}

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

.mockup-card {
  aspect-ratio: 4/3;
  border-radius: var(--radius-sm);
  background: var(--gradient-card);
  border: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
}

.glow-card {
  position: relative;
  background: var(--bg-card);
}

.mockup-card::after {
  content: attr(data-shot);
  position: absolute;
  bottom: 6px;
  left: 8px;
  font-size: 0.65rem;
  color: var(--text-muted);
  font-weight: 600;
}

.mockup-glow {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 151, 255, 0.2), transparent 70%);
  top: -40px;
  right: -40px;
  pointer-events: none;
}

/* Sections */
section {
  padding: 80px 0;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}

.section-desc {
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 0 48px;
  font-size: 1.0625rem;
}

/* Stats */
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 0;
}

.stat-card {
  text-align: center;
  padding: 32px 24px;
  border-radius: var(--radius-md);
  background: var(--gradient-card);
  border: 1px solid var(--border-subtle);
}

.stat-value {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.8vw, 2.1rem);
  font-weight: 700;
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.stat-label {
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.features-grid--5 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.features-grid--6 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.features-grid--5 .feature-card:nth-child(4),
.features-grid--5 .feature-card:nth-child(5) {
  grid-column: span 1;
}

@media (min-width: 901px) {
  .features-grid--5 .feature-card:nth-child(4) {
    grid-column: 1;
  }
  .features-grid--5 .feature-card:nth-child(5) {
    grid-column: 2;
  }
}

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

.feature-card:hover {
  border-color: rgba(124, 151, 255, 0.35);
  box-shadow: 0 12px 48px rgba(124, 151, 255, 0.12);
  transform: translateY(-2px);
}

.feature-thumb {
  margin: 0;
  display: block;
  position: relative;
  aspect-ratio: 16 / 10;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  border: none;
  border-bottom: 1px solid var(--border-subtle);
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(124, 151, 255, 0.16) 0%, transparent 55%),
    var(--bg-base);
  line-height: 0;
}

.feature-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(7, 9, 15, 0.45) 100%);
  z-index: 1;
}

.feature-thumb img {
  width: 100%;
  height: 100%;
  max-height: none;
  display: block;
  object-fit: cover;
  object-position: top center;
  border-radius: 0;
  box-shadow: none;
  transform: scale(1.02);
  transition: transform 0.45s ease;
}

.feature-card:hover .feature-thumb img {
  transform: scale(1.06);
}

.feature-copy {
  padding: 22px 24px 26px;
  flex: 1;
}

.feature-copy h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 0 0 10px;
  letter-spacing: -0.02em;
}

.feature-copy p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.65;
}

/* Product / workflow */
.workflow-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  counter-reset: step;
}

.workflow-steps--5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.workflow-step {
  padding: 24px 20px;
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  position: relative;
}

.workflow-step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  display: block;
  margin-bottom: 12px;
}

.workflow-step h4 {
  font-family: var(--font-display);
  margin: 0 0 8px;
  font-size: 1rem;
}

.workflow-step p {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.showcase-img {
  margin-top: 48px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-glow);
}

/* Platform experience */
.platform-experience {
  text-align: center;
}

.platform-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
  text-align: left;
}

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

.platform-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.platform-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(124, 151, 255, 0.12);
}

.platform-card--soon {
  opacity: 0.92;
}

.platform-device {
  position: relative;
  padding: 0;
  min-height: 220px;
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: stretch;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(124, 151, 255, 0.1) 0%, #0a0c12 100%);
}

.platform-device img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.platform-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.platform-tag {
  display: inline-block;
  align-self: flex-start;
  padding: 4px 10px;
  margin-bottom: 10px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--glow-purple);
  background: rgba(124, 151, 255, 0.12);
  border: 1px solid rgba(124, 151, 255, 0.3);
  border-radius: 6px;
}

.platform-tag--cyan {
  color: var(--accent);
  background: rgba(52, 200, 240, 0.1);
  border-color: rgba(52, 200, 240, 0.3);
}

.platform-tag--muted {
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-subtle);
}

.platform-card-body h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 0 0 10px;
}

.platform-card-body > p {
  margin: 0 0 16px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.platform-points {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  flex: 1;
}

.platform-points li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.platform-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}

.platform-footer {
  margin-top: 40px;
}

.platform-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 16px;
}

.platform-badge {
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  transition: border-color 0.2s, color 0.2s;
}

.platform-badge:hover {
  border-color: rgba(124, 151, 255, 0.4);
  color: var(--text-primary);
}

.platform-footer-note {
  max-width: 640px;
  margin: 0 auto 40px;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.platform-experience .showcase-img {
  margin-top: 16px;
}

.mobile-strip {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 8px 4px 24px;
  margin-top: 8px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.mobile-strip img {
  flex: 0 0 auto;
  width: min(200px, 42vw);
  height: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  scroll-snap-align: center;
}

/* Device preview frames */
.device-frame {
  position: relative;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  overflow: hidden;
}

.device-frame--desktop {
  width: 100%;
  max-width: 280px;
}

.device-frame--web {
  width: 100%;
  max-width: 260px;
}

.device-frame--mobile {
  width: 120px;
  border-radius: 20px;
  padding: 8px 6px 12px;
}

.device-notch {
  width: 40px;
  height: 4px;
  margin: 4px auto 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.12);
}

.device-chrome {
  display: flex;
  gap: 5px;
  padding: 8px 10px;
  border-bottom: 1px solid var(--border-subtle);
}

.device-chrome span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
}

.device-chrome span:nth-child(1) {
  background: #ff5f57;
}
.device-chrome span:nth-child(2) {
  background: #febc2e;
}
.device-chrome span:nth-child(3) {
  background: #28c840;
}

.device-ui {
  padding: 12px;
  min-height: 100px;
}

.device-ui--desktop {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 8px;
}

.device-sidebar {
  border-radius: 4px;
  background: rgba(124, 151, 255, 0.2);
  min-height: 80px;
}

.device-bar {
  height: 8px;
  width: 55%;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.12);
  margin-bottom: 10px;
}

.device-bar--short {
  width: 40%;
}

.device-tiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}

.device-tiles span,
.device-columns span,
.device-stack span {
  aspect-ratio: 16/10;
  border-radius: 4px;
  background: var(--gradient-card);
  border: 1px solid var(--border-subtle);
}

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

.device-stack {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.device-stack span {
  aspect-ratio: auto;
  height: 22px;
}

.btn-disabled {
  pointer-events: none;
  opacity: 0.65;
  cursor: default;
}

/* Start guide */
.section-start .section-desc {
  max-width: 52rem;
}

.start-paths {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.start-path {
  padding: 28px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  overflow: visible;
}

.start-path__head {
  margin-bottom: 16px;
}

.start-path__head h3 {
  font-family: var(--font-display);
  margin: 8px 0 0;
  font-size: 1.125rem;
  line-height: 1.35;
}

.path-badge {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  color: #6ee7b7;
  background: rgba(52, 200, 240, 0.12);
  border: 1px solid rgba(52, 200, 240, 0.35);
}

.path-badge--dev {
  color: #93c5fd;
  background: rgba(124, 151, 255, 0.12);
  border-color: rgba(124, 151, 255, 0.35);
}

.path-badge--ops {
  color: #fcd34d;
  background: rgba(251, 191, 36, 0.1);
  border-color: rgba(251, 191, 36, 0.35);
}

.start-prereq {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin: 0 0 12px;
  line-height: 1.5;
}

.start-steps {
  margin: 0 0 12px;
  padding-left: 1.25rem;
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.55;
}

.start-steps li {
  margin-bottom: 8px;
}

.start-steps li:last-child {
  margin-bottom: 0;
}

.code-block {
  margin: 0 0 16px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid var(--border-subtle);
  overflow-x: auto;
  font-size: 0.75rem;
  line-height: 1.5;
}

.code-block code {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  color: #c8d4ff;
  white-space: pre;
}

.start-path__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
  padding-top: 8px;
}

.start-verify {
  padding: 28px 32px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(124, 151, 255, 0.25);
  overflow: visible;
}

/* 内容卡片：避免 reveal 位移时被 glow-card 裁切 */
.start-path.glow-card,
.start-verify.glow-card,
.pricing-tier.glow-card {
  overflow: visible;
}

.start-verify h3 {
  font-family: var(--font-display);
  margin: 0 0 16px;
  font-size: 1.125rem;
}

.start-checklist {
  margin: 0 0 16px;
  padding-left: 1.25rem;
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.55;
}

.start-checklist li {
  margin-bottom: 8px;
}

.start-verify__web {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin: 0 0 16px;
  line-height: 1.55;
}

code.inline {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.8125rem;
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.35);
  color: var(--accent);
}

/* Pricing */
.section-pricing .section-desc {
  max-width: 52rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.pricing-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

/* Documentation */
.section-docs .section-desc {
  max-width: 52rem;
}

.docs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}

.docs-card--featured {
  border-color: rgba(124, 151, 255, 0.45);
  box-shadow: var(--shadow-glow);
}

.docs-card {
  padding: 28px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
}

.docs-card h3 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  margin: 0 0 12px;
}

.docs-card p {
  flex: 1;
  margin: 0 0 20px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.docs-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.docs-note {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
  max-width: 48rem;
}

.pricing-tier {
  padding: 24px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  text-align: left;
}

.pricing-tier--featured {
  border-color: rgba(124, 151, 255, 0.45);
  box-shadow: var(--shadow-glow);
}

.pricing-tier h3 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  margin: 8px 0 12px;
}

.tier-badge {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  align-self: flex-start;
}

.tier-badge--live {
  color: #6ee7b7;
  background: rgba(52, 200, 240, 0.12);
  border: 1px solid rgba(52, 200, 240, 0.35);
}

.tier-badge--soon {
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
}

.tier-badge--enterprise {
  color: #c4b5fd;
  background: rgba(124, 151, 255, 0.12);
  border: 1px solid rgba(124, 151, 255, 0.35);
}

.tier-price {
  margin: 0 0 12px;
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}

.tier-price__amount {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-primary);
}

.tier-price__period {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.tier-lead {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin: 0 0 16px;
  line-height: 1.55;
}

.tier-features {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  flex: 1;
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.tier-features li {
  position: relative;
  padding-left: 1.1rem;
  margin-bottom: 8px;
}

.tier-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}

.tier-features strong {
  color: var(--text-primary);
  font-weight: 600;
}

.pricing-tier .btn {
  align-self: flex-start;
  margin-top: auto;
}

.pricing-compare__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 0 0 16px;
  text-align: center;
}

.table-scroll {
  overflow-x: auto;
  margin-bottom: 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.pricing-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.pricing-table th,
.pricing-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
}

.pricing-table thead th {
  font-family: var(--font-display);
  color: var(--text-primary);
  background: rgba(0, 0, 0, 0.25);
}

.pricing-table tbody th[scope="row"] {
  color: var(--text-primary);
  font-weight: 500;
  white-space: nowrap;
}

.pricing-table td {
  color: var(--text-secondary);
}

.pricing-footnote {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
  text-align: center;
  max-width: 48rem;
  margin-inline: auto;
}

/* CTA / contact */
.cta-band {
  padding: 64px 0;
  text-align: left;
  border-radius: var(--radius-lg);
  background: var(--gradient-card);
  border: 1px solid var(--border-subtle);
  margin: 0 24px 80px;
  max-width: calc(var(--container) + 48px);
  margin-inline: auto;
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2rem);
  margin: 0 0 12px;
  line-height: 1.25;
}

.cta-band p {
  color: var(--text-secondary);
  margin: 0 0 20px;
}

.cta-band .btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-start;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 40px;
  align-items: start;
}

.contact-bullets {
  margin: 0 0 24px;
  padding-left: 1.15rem;
  color: var(--text-secondary);
}

.contact-bullets li {
  margin-bottom: 8px;
}

.demo-form {
  display: grid;
  gap: 14px;
  padding: 24px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}

.demo-field {
  display: grid;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
}

.demo-field input,
.demo-field textarea {
  width: 100%;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-sm);
  background: var(--bg-inset);
  color: var(--text-primary);
  font: inherit;
  font-weight: 400;
  padding: 10px 12px;
}

.demo-field input:focus,
.demo-field textarea:focus {
  outline: 2px solid rgba(124, 151, 255, 0.45);
  outline-offset: 1px;
}

.demo-form__hint {
  margin: 0;
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 400;
}

.demo-form__status {
  margin: 0;
  font-size: 13px;
  color: var(--accent);
}

.demo-form__status.is-error {
  color: #ff6d7a;
}

.brand-hero {
  font-size: clamp(2.4rem, 6vw, 3.4rem);
  letter-spacing: -0.03em;
}

.hero-title-line {
  display: inline-block;
  margin-top: 0.2em;
  font-size: clamp(1.35rem, 3.2vw, 1.85rem);
  font-weight: 600;
  color: var(--text-primary);
}

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

/* Footer */
.site-footer {
  padding: 48px 0 32px;
  border-top: 1px solid var(--border-subtle);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.875rem;
  max-width: 280px;
  margin: 12px 0 0;
}

.footer-col h4 {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin: 0 0 16px;
}

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

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* Mobile nav */
@media (max-width: 1100px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .workflow-steps--5 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .nav-main {
    gap: 20px;
  }

  .nav-panels {
    gap: 16px;
  }
}

@media (max-width: 960px) {
  .nav-panels {
    display: none;
  }

  .nav-toggle {
    display: flex;
    margin-left: auto;
  }

  .site-header.is-open .nav-panels {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    z-index: 20;
    margin-left: 0;
    padding: 20px 24px 28px;
    background: rgba(7, 9, 15, 0.96);
    border-bottom: 1px solid var(--border-subtle);
    gap: 20px;
  }

  .site-header.is-open .nav-main,
  .site-header.is-open .nav-actions {
    display: flex;
    flex-direction: column;
    position: static;
    width: 100%;
    gap: 12px;
  }

  .site-header.is-open .nav-actions .btn {
    width: 100%;
  }
}

@media (max-width: 900px) {
  .hero {
    min-height: 0;
    align-items: flex-start;
    padding-bottom: 48px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-lead {
    margin-inline: auto;
  }

  .hero-cta {
    justify-content: center;
  }

  /* Keep copy/CTAs first; visual below fold so brand isn't pushed off-screen. */
  .hero-visual {
    order: 0;
    margin-top: 8px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .feature-copy {
    text-align: left;
  }

  .workflow-steps,
  .workflow-steps--5 {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-grid--5,
  .features-grid--6 {
    grid-template-columns: 1fr;
  }

  .stats-row,
  .start-paths,
  .pricing-grid,
  .docs-grid,
  .platform-cards {
    grid-template-columns: 1fr;
  }

  .platform-device {
    min-height: 160px;
  }

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

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

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