/* ==========================================================================
   Crest · 山径 — Alpine Telemetry Landing Page Styles
   ========================================================================== */

:root {
  --bg: #070a10;
  --bg-elevated: #0d121d;
  --bg-card: rgba(16, 22, 34, 0.72);
  --bg-card-solid: #101622;
  --border: rgba(255, 255, 255, 0.085);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #f5f7fa;
  --text-secondary: #a5b1c2;
  --text-muted: #6f7c91;

  --accent: #fc4c02;
  --accent-bright: #ff6929;
  --accent-glow: rgba(252, 76, 2, 0.34);
  --emerald: #22c55e;
  --amber: #eab308;
  --orange: #f97316;
  --rose: #f43f5e;
  --sky: #38bdf8;

  --climb-gradient: linear-gradient(95deg, #22c55e 0%, #eab308 38%, #f97316 74%, #fc4c02 100%);
  --font-sans:
    -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', 'PingFang SC',
    'Microsoft YaHei UI', 'Noto Sans CJK SC', system-ui, sans-serif;
  --font-mono:
    ui-monospace, 'SF Mono', 'JetBrains Mono', 'Cascadia Code', Menlo, Consolas, monospace;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 28px;
  --container: 1160px;
}

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

html {
  color-scheme: dark;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--bg);
}

h1,
h2,
h3,
p,
ul,
ol {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

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

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

code {
  font-family: var(--font-mono);
  font-size: 0.88em;
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: #e2e8f0;
}

.font-num {
  font-variant-numeric: lining-nums tabular-nums;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

/* ==========================================================================
   Ambient Topographic Background
   ========================================================================== */

.ambient-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(1200px 620px at 50% -10%, rgba(28, 39, 59, 0.52), transparent 70%),
    linear-gradient(180deg, #070a10 0%, #090d16 55%, #070a10 100%);
}

.ambient-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(110px);
  opacity: 0.42;
}

.ambient-orb--orange {
  width: 560px;
  height: 460px;
  top: -120px;
  right: 8%;
  background: radial-gradient(circle, rgba(252, 76, 2, 0.34), transparent 70%);
}

.ambient-orb--emerald {
  width: 500px;
  height: 420px;
  top: 220px;
  left: -120px;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.16), transparent 70%);
}

.ambient-orb--sky {
  width: 620px;
  height: 480px;
  bottom: -140px;
  right: -120px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.14), transparent 70%);
}

.topo-mesh {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.85;
}

.topo-ridge-highlight {
  stroke-dasharray: 1800;
  stroke-dashoffset: 1800;
  animation: drawRidge 2.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes drawRidge {
  to {
    stroke-dashoffset: 0;
  }
}

/* ==========================================================================
   Sticky Header
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition:
    background-color 220ms ease,
    border-color 220ms ease,
    backdrop-filter 220ms ease;
}

.site-header.is-scrolled {
  background: rgba(8, 12, 20, 0.78);
  border-bottom-color: rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  backdrop-filter: blur(18px) saturate(1.3);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 70px;
}

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

.brand-icon {
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(252, 76, 2, 0.28);
}

.brand-name {
  font-size: 20px;
  font-weight: 760;
  letter-spacing: -0.04em;
  color: #ffffff;
}

.brand-sub {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  padding-left: 8px;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

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

.main-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 160ms ease;
}

.main-nav a:hover {
  color: #ffffff;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
}

.lang-pill {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 9px;
  border-radius: 999px;
  color: var(--text-muted);
  transition:
    background-color 160ms ease,
    color 160ms ease;
}

.lang-pill.is-active {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 999px;
  font-weight: 620;
  font-size: 14px;
  padding: 10px 20px;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition:
    transform 180ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 220ms ease,
    background-color 180ms ease,
    border-color 180ms ease;
}

.btn:focus-visible,
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent-bright);
  outline-offset: 3px;
}

.btn-sm {
  font-size: 13px;
  padding: 8px 16px;
}

.btn-lg {
  font-size: 15px;
  padding: 14px 26px;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, #ff5e1a 0%, #fc4c02 58%, #e23c00 100%);
  color: #ffffff;
  border-color: rgba(255, 160, 115, 0.35);
  box-shadow:
    0 10px 30px -6px rgba(252, 76, 2, 0.52),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 16px 38px -6px rgba(252, 76, 2, 0.68),
    inset 0 1px 0 rgba(255, 255, 255, 0.34);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.06);
  color: #f8fafc;
  border-color: rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.btn-glass:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(255, 255, 255, 0.24);
}

.btn-shine {
  overflow: hidden;
}

.btn-shine::after {
  content: '';
  position: absolute;
  inset: -40% auto -40% -90%;
  width: 55%;
  transform: skewX(-24deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 650ms cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.btn-shine:hover::after {
  left: 145%;
}

.btn-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn-arrow {
  transition: transform 180ms ease;
}

.btn:hover .btn-arrow {
  transform: translateX(3px);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
  padding: 56px 0 44px;
}

.hero-copy {
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 560;
  color: #dbe3ee;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.11);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.eyebrow-version {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
  color: #ff9a6c;
  background: rgba(252, 76, 2, 0.16);
  border: 1px solid rgba(252, 76, 2, 0.28);
}

.beacon-dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
}

.beacon-dot::after {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 999px;
  border: 1.5px solid rgba(252, 76, 2, 0.55);
  animation: pulseRing 2s ease-out infinite;
}

@keyframes pulseRing {
  0% {
    transform: scale(0.7);
    opacity: 0.9;
  }
  100% {
    transform: scale(1.9);
    opacity: 0;
  }
}

.hero-title {
  margin-top: 24px;
  font-size: clamp(2.55rem, 6.2vw, 4.7rem);
  font-weight: 800;
  line-height: 1.07;
  letter-spacing: -0.042em;
  color: #ffffff;
  text-wrap: balance;
}

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

.hero-lead {
  margin: 22px auto 0;
  max-width: 650px;
  font-size: clamp(1rem, 1.8vw, 1.16rem);
  line-height: 1.72;
  color: var(--text-secondary);
}

.hero-cta-row {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.hero-footnote {
  margin-top: 14px;
  font-size: 13px;
  color: var(--text-muted);
}

.hero-stats {
  margin: 40px auto 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  max-width: 780px;
  padding: 16px 22px;
  border-radius: var(--radius-lg);
  background: rgba(16, 22, 34, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: center;
}

.hero-stat strong {
  font-size: 17px;
  font-weight: 720;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.hero-stat span {
  font-size: 12px;
  color: var(--text-muted);
}

.hero-stat-divider {
  width: 1px;
  height: 28px;
  background: rgba(255, 255, 255, 0.1);
}

/* ==========================================================================
   Interactive Showcase Stage (3D Tilt + Live Modes)
   ========================================================================== */

.showcase-wrapper {
  margin-top: 52px;
}

.showcase-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 22px;
}

.showcase-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(16, 22, 34, 0.72);
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 580;
  cursor: pointer;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.showcase-tab:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.22);
}

.showcase-tab.is-active {
  color: #ffffff;
  background: linear-gradient(135deg, rgba(252, 76, 2, 0.22), rgba(255, 255, 255, 0.08));
  border-color: rgba(252, 76, 2, 0.56);
  box-shadow: 0 8px 24px -8px rgba(252, 76, 2, 0.45);
}

.tab-index {
  font-size: 11px;
  font-weight: 700;
  color: #ff8c5a;
}

.tab-live-pill {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.16);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: #4ade80;
}

.device-stage {
  perspective: 1400px;
}

.device-frame {
  position: relative;
  border-radius: 22px;
  background: #101623;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 36px 100px -20px rgba(0, 0, 0, 0.82),
    0 0 0 1px rgba(255, 255, 255, 0.04),
    0 -1px 40px -10px rgba(252, 76, 2, 0.22);
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.device-frame::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: var(--climb-gradient);
  opacity: 0.92;
  z-index: 4;
}

.device-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px;
  background: linear-gradient(180deg, #172031, #111827);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.window-dots {
  display: flex;
  gap: 7px;
}

.window-dots span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}

.window-dots span:nth-child(1) {
  background: #ef4444;
  opacity: 0.78;
}
.window-dots span:nth-child(2) {
  background: #eab308;
  opacity: 0.78;
}
.window-dots span:nth-child(3) {
  background: #22c55e;
  opacity: 0.78;
}

.window-address {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #cbd5e1;
  background: rgba(0, 0, 0, 0.28);
  padding: 5px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.status-dot-green {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--emerald);
  box-shadow: 0 0 8px var(--emerald);
  flex-shrink: 0;
}

.address-sep {
  color: var(--text-muted);
}

.window-pill {
  font-size: 11px;
  font-weight: 700;
  color: #94a3b8;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.showcase-panel {
  display: none;
  animation: panelFadeIn 320ms ease;
}

.showcase-panel.is-active {
  display: block;
}

@keyframes panelFadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.screenshot-wrap {
  position: relative;
  background: #f6f5f2;
  max-height: 680px;
  overflow: hidden;
}

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

.showcase-caption-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 14px;
  padding: 13px 18px;
  background: linear-gradient(180deg, #111827, #0c121e);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.caption-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 13px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  color: #e6edf6;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.callout-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  flex-shrink: 0;
}

.callout-dot--orange {
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}

.callout-dot--green {
  background: var(--emerald);
  box-shadow: 0 0 10px var(--emerald);
}

.callout-dot--amber {
  background: var(--amber);
  box-shadow: 0 0 10px var(--amber);
}

.callout-dot--rose {
  background: var(--rose);
  box-shadow: 0 0 10px var(--rose);
}

/* ==========================================================================
   Interactive Jietaisi Climb & ERG Simulator (Panel 03)
   ========================================================================== */

.sim-stage {
  padding: 28px;
  background:
    radial-gradient(620px 300px at 88% 0%, rgba(252, 76, 2, 0.13), transparent 70%),
    radial-gradient(500px 260px at 10% 100%, rgba(34, 197, 94, 0.09), transparent 70%),
    #0b1019;
}

.sim-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.sim-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(252, 76, 2, 0.16);
  color: #ff9466;
  border: 1px solid rgba(252, 76, 2, 0.3);
}

.sim-route-meta h3 {
  margin-top: 6px;
  font-size: 22px;
  font-weight: 740;
  letter-spacing: -0.025em;
}

.sim-route-meta p {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 2px;
}

.sim-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.sim-mode-group {
  display: inline-flex;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.sim-mode-btn {
  border: 0;
  background: transparent;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition:
    background-color 160ms ease,
    color 160ms ease;
}

.sim-mode-btn.is-active {
  background: #ffffff;
  color: #0b1019;
}

.sim-play-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid rgba(252, 76, 2, 0.5);
  background: rgba(252, 76, 2, 0.18);
  color: #ffffff;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
  transition:
    background-color 160ms ease,
    transform 160ms ease;
}

.sim-play-btn:hover {
  background: rgba(252, 76, 2, 0.3);
  transform: translateY(-1px);
}

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

.sim-metric-card {
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.085);
}

.sim-metric-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.sim-metric-label {
  font-size: 12.5px;
  font-weight: 550;
  color: var(--text-muted);
}

.sim-zone-badge,
.sim-chip-orange,
.sim-chip-rose {
  font-size: 11.5px;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 999px;
}

.sim-zone-badge {
  background: rgba(234, 179, 8, 0.18);
  color: #facc15;
}

.sim-chip-orange {
  background: rgba(252, 76, 2, 0.18);
  color: #ff8c5a;
}

.sim-chip-rose {
  background: rgba(244, 63, 94, 0.18);
  color: #fb7185;
}

.sim-metric-value {
  margin-top: 10px;
  font-size: clamp(1.9rem, 3vw, 2.45rem);
  font-weight: 780;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #ffffff;
  display: flex;
  align-items: baseline;
  gap: 5px;
}

.sim-metric-value small {
  font-size: 0.44em;
  font-weight: 600;
  color: var(--text-muted);
}

.sim-sub-num {
  margin-left: auto;
  font-size: 0.64em;
  color: #cbd5e1;
}

.sim-metric-sub {
  margin-top: 10px;
  font-size: 12.5px;
  color: var(--text-secondary);
}

.sim-zone-bar {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 5px;
  height: 6px;
}

.sim-zone-bar span {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  transition: background-color 200ms ease, opacity 200ms ease;
}

.sim-chart-box {
  margin-top: 18px;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.sim-chart-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 12.5px;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.grade-legend {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11.5px;
}

.grade-legend span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.g-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  display: inline-block;
}

.g1 { background: #22c55e; }
.g2 { background: #eab308; }
.g3 { background: #f97316; }
.g4 { background: #ef4444; }

.sim-svg-wrap {
  position: relative;
  height: 185px;
  cursor: ew-resize;
  user-select: none;
  border-radius: 10px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    rgba(0, 0, 0, 0.22);
  background-size: 100% 46px;
}

#sim-profile-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.sim-cursor {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 51%;
  transform: translateX(-50%);
  pointer-events: none;
}

.sim-cursor-line {
  width: 2px;
  height: 100%;
  margin-inline: auto;
  background: linear-gradient(180deg, rgba(252, 76, 2, 0.15), #fc4c02, rgba(252, 76, 2, 0.85));
}

.sim-cursor-beacon {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  transform: translate(-50%, -50%);
  background: var(--accent);
  border: 2.5px solid #ffffff;
  box-shadow: 0 0 0 6px rgba(252, 76, 2, 0.26), 0 0 18px var(--accent);
}

.sim-scrubber-row {
  margin-top: 14px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  color: var(--text-muted);
}

#sim-scrubber {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  outline: none;
  cursor: pointer;
}

#sim-scrubber::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--accent);
  border: 2.5px solid #ffffff;
  box-shadow: 0 2px 10px rgba(252, 76, 2, 0.65);
}

#sim-scrubber::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--accent);
  border: 2.5px solid #ffffff;
  box-shadow: 0 2px 10px rgba(252, 76, 2, 0.65);
}

/* ==========================================================================
   Generic Section Rhythm & Spotlight Cards
   ========================================================================== */

.section {
  padding: 84px 0;
}

.section-header {
  max-width: 680px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-kicker {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ff8b59;
}

.section-title {
  margin-top: 12px;
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  font-weight: 780;
  line-height: 1.14;
  letter-spacing: -0.036em;
  color: #ffffff;
  text-wrap: balance;
}

.section-desc {
  margin-top: 14px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
}

.spotlight-card {
  position: relative;
  overflow: hidden;
  --mx: 50%;
  --my: 50%;
}

.spotlight-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    360px circle at var(--mx) var(--my),
    rgba(252, 76, 2, 0.14),
    transparent 65%
  );
  opacity: 0;
  transition: opacity 240ms ease;
  pointer-events: none;
}

.spotlight-card:hover::before {
  opacity: 1;
}

/* ==========================================================================
   Value Contrast Strip
   ========================================================================== */

.contrast-section {
  padding-top: 40px;
}

.contrast-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.contrast-card {
  padding: 32px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
}

.contrast-card--old {
  background: rgba(13, 18, 29, 0.56);
}

.contrast-card--crest {
  background:
    radial-gradient(460px 260px at 100% 0%, rgba(252, 76, 2, 0.14), transparent 65%),
    rgba(16, 23, 36, 0.88);
  border-color: rgba(252, 76, 2, 0.34);
  box-shadow: 0 24px 60px -24px rgba(252, 76, 2, 0.28);
}

.contrast-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 11px;
  border-radius: 999px;
}

.contrast-tag--muted {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
}

.contrast-tag--crest {
  background: rgba(252, 76, 2, 0.18);
  color: #ff9466;
  border: 1px solid rgba(252, 76, 2, 0.34);
}

.contrast-head h2 {
  margin-top: 14px;
  font-size: clamp(1.3rem, 2.3vw, 1.65rem);
  font-weight: 740;
  line-height: 1.28;
  letter-spacing: -0.025em;
}

.contrast-list {
  margin-top: 22px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 13px;
}

.contrast-list li {
  position: relative;
  padding-left: 26px;
  font-size: 14.5px;
  color: var(--text-secondary);
}

.contrast-card--old .contrast-list li::before {
  content: '✕';
  position: absolute;
  left: 0;
  top: 0;
  color: #64748b;
  font-weight: 700;
}

.contrast-card--crest .contrast-list li {
  color: #e6edf6;
}

.contrast-card--crest .contrast-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--emerald);
  font-weight: 800;
}

/* ==========================================================================
   Bento Feature Grid
   ========================================================================== */

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.bento-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
  padding: 28px;
  border-radius: var(--radius-xl);
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition:
    border-color 220ms ease,
    transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.bento-card:hover {
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-3px);
}

.bento-span-2 {
  grid-column: span 2;
}

.bento-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}

.bento-icon svg {
  width: 21px;
  height: 21px;
}

.bento-icon--orange { background: rgba(252, 76, 2, 0.16); color: #ff824d; }
.bento-icon--amber { background: rgba(234, 179, 8, 0.16); color: #facc15; }
.bento-icon--sky { background: rgba(56, 189, 248, 0.15); color: #38bdf8; }
.bento-icon--rose { background: rgba(244, 63, 94, 0.15); color: #fb7185; }
.bento-icon--emerald { background: rgba(34, 197, 94, 0.15); color: #4ade80; }
.bento-icon--slate { background: rgba(148, 163, 184, 0.15); color: #cbd5e1; }

.bento-content h3 {
  font-size: 20px;
  font-weight: 720;
  letter-spacing: -0.025em;
  color: #ffffff;
}

.bento-content p {
  margin-top: 10px;
  font-size: 14.5px;
  line-height: 1.68;
  color: var(--text-secondary);
}

.bento-visual {
  padding: 16px;
  border-radius: var(--radius-md);
  background: rgba(7, 10, 16, 0.66);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

/* Bento 1: Mini Climb */
.mini-climb-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: #cbd5e1;
  margin-bottom: 8px;
}

.mini-climb-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent);
}

.mini-climb-grade {
  margin-left: auto;
  font-weight: 700;
  color: #ff8552;
}

.mini-climb-svg {
  width: 100%;
  height: 82px;
}

.mini-climb-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.mini-climb-pills span {
  font-size: 11.5px;
  color: var(--text-secondary);
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Bento 2: Interactive ERG Bars */
.erg-readout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.erg-readout strong {
  color: #facc15;
  font-size: 14px;
}

.erg-bars {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  align-items: end;
  gap: 5px;
  height: 84px;
}

.erg-bar {
  height: var(--bar-h);
  border-radius: 5px 5px 2px 2px;
  background: var(--bar-color);
  opacity: 0.78;
  border: 0;
  padding: 0;
  cursor: pointer;
  transition:
    opacity 150ms ease,
    transform 150ms ease,
    box-shadow 150ms ease;
}

.erg-bar:hover,
.erg-bar.is-selected {
  opacity: 1;
  transform: scaleY(1.06);
  transform-origin: bottom;
  box-shadow: 0 0 14px var(--bar-color);
}

/* Bento 3: LAN Diagram */
.lan-diagram {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
}

.lan-node {
  padding: 12px 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.lan-node--accent {
  border-color: rgba(56, 189, 248, 0.38);
  background: rgba(56, 189, 248, 0.08);
}

.lan-node-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--sky);
  margin-bottom: 4px;
}

.lan-node strong {
  display: block;
  font-size: 13px;
}

.lan-node small {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  color: var(--text-muted);
}

.lan-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  color: var(--text-muted);
}

.lan-pulse {
  width: 28px;
  height: 2px;
  background: linear-gradient(90deg, var(--emerald), var(--sky));
  border-radius: 999px;
}

/* Bento 4: Analytics Mini Dashboard */
.mini-kpi-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.mini-kpi {
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.mini-kpi span {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
}

.mini-kpi strong {
  font-size: 14px;
  color: #ffffff;
}

.c-emerald { color: #4ade80 !important; }
.c-sky { color: #38bdf8 !important; }
.c-amber { color: #facc15 !important; }
.c-rose { color: #fb7185 !important; }

.mini-charts-pair {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.mini-poincare,
.mini-mmp {
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.mini-chart-label {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.mini-mmp-bars {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  align-items: end;
  gap: 6px;
  height: 58px;
  padding-top: 8px;
}

.mini-mmp-bars span {
  position: relative;
  height: var(--h);
  border-radius: 4px 4px 1px 1px;
  background: linear-gradient(180deg, #64748b, #1e293b);
}

.mini-mmp-bars span i {
  position: absolute;
  left: 50%;
  bottom: -16px;
  transform: translateX(-50%);
  font-style: normal;
  font-size: 9px;
  color: var(--text-muted);
}

.mini-mmp {
  padding-bottom: 20px;
}

/* Bento 5: Sensor Pills */
.sensor-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sensor-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 12.5px;
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.s-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--emerald);
  box-shadow: 0 0 8px var(--emerald);
}

/* Bento 6: Local First */
.local-path {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: #cbd5e1;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.local-tags {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.local-tags span {
  font-size: 11.5px;
  padding: 3px 9px;
  border-radius: 999px;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.05);
}

/* ==========================================================================
   Pricing Section
   ========================================================================== */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 920px;
  margin-inline: auto;
  align-items: stretch;
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 34px;
  border-radius: var(--radius-xl);
  background: rgba(15, 21, 33, 0.78);
  border: 1px solid var(--border);
}

.pricing-card--featured {
  overflow: hidden;
  background:
    radial-gradient(480px 260px at 85% 0%, rgba(252, 76, 2, 0.18), transparent 68%),
    linear-gradient(180deg, #141c2c 0%, #0d1320 100%);
  border-color: rgba(252, 76, 2, 0.5);
  box-shadow:
    0 32px 80px -22px rgba(252, 76, 2, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.pricing-glow-border {
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  background: var(--climb-gradient);
}

.plan-head-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.plan-name {
  font-size: 21px;
  font-weight: 740;
  letter-spacing: -0.025em;
  color: #ffffff;
}

.plan-badge {
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(252, 76, 2, 0.2);
  color: #ff9c6e;
  border: 1px solid rgba(252, 76, 2, 0.42);
}

.plan-sub {
  margin-top: 8px;
  font-size: 14px;
  color: var(--text-secondary);
}

.plan-price {
  margin-top: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.price-currency {
  font-size: 22px;
  font-weight: 700;
  color: #cbd5e1;
}

.price-amount {
  font-size: 48px;
  font-weight: 820;
  line-height: 1;
  letter-spacing: -0.04em;
  color: #ffffff;
}

.price-strike {
  margin-left: 8px;
  font-size: 18px;
  color: var(--text-muted);
  text-decoration: line-through;
}

.price-unit {
  margin-left: 6px;
  font-size: 14px;
  color: var(--text-muted);
}

.plan-features {
  margin: 24px 0 30px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 13px;
  flex: 1;
}

.plan-features li {
  position: relative;
  padding-left: 26px;
  font-size: 14.5px;
  color: #dbe4f0;
}

.plan-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--emerald);
  font-weight: 800;
}

.pricing-card--featured .plan-features li::before {
  color: #ff7c43;
}

.plan-guarantee {
  margin-top: 12px;
  text-align: center;
  font-size: 12.5px;
  color: var(--text-muted);
}

/* ==========================================================================
   Windows Flagship Download Section
   ========================================================================== */

.download-flagship {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.85fr);
  align-items: center;
  gap: 32px;
  max-width: 960px;
  margin-inline: auto;
  padding: 36px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(520px 260px at 0% 0%, rgba(252, 76, 2, 0.14), transparent 68%),
    linear-gradient(180deg, #131b2c 0%, #0d1320 100%);
  border: 1px solid rgba(252, 76, 2, 0.42);
  box-shadow:
    0 28px 72px -24px rgba(252, 76, 2, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.flagship-main {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.platform-head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.platform-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  flex-shrink: 0;
}

.platform-icon--lg {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(252, 76, 2, 0.16);
  border-color: rgba(252, 76, 2, 0.35);
  color: #ff9466;
}

.platform-icon svg {
  width: 24px;
  height: 24px;
}

.platform-head h3 {
  font-size: 22px;
  font-weight: 760;
  letter-spacing: -0.025em;
}

.platform-meta {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 2px;
}

.platform-note {
  font-size: 15px;
  line-height: 1.72;
  color: var(--text-secondary);
}

.flagship-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.flagship-pills span {
  font-size: 12.5px;
  font-weight: 560;
  padding: 5px 12px;
  border-radius: 999px;
  color: #dbe4f0;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.flagship-cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.flagship-roadmap {
  margin-top: 4px;
  text-align: center;
  font-size: 12.5px;
  color: var(--text-muted);
}

.quickstart-grid {
  margin: 22px auto 0;
  max-width: 960px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

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

.step-num {
  display: inline-block;
  font-size: 12px;
  font-weight: 760;
  color: #ff8c5a;
  padding: 2px 9px;
  border-radius: 999px;
  background: rgba(252, 76, 2, 0.14);
  border: 1px solid rgba(252, 76, 2, 0.28);
  margin-bottom: 12px;
}

.quickstart-step strong {
  display: block;
  font-size: 15.5px;
  font-weight: 700;
  color: #ffffff;
}

.quickstart-step p {
  margin-top: 8px;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--text-secondary);
}

.copy-btn {
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: #e2e8f0;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease;
}

.copy-btn:hover {
  background: rgba(255, 255, 255, 0.14);
}

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */

.faq-container {
  max-width: 820px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color 180ms ease;
}

.faq-item[open] {
  border-color: rgba(255, 255, 255, 0.18);
}

.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 650;
  color: #ffffff;
  cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 22px;
  font-weight: 400;
  color: var(--text-muted);
  transition: transform 200ms ease, color 200ms ease;
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
  color: var(--accent-bright);
}

.faq-item p {
  padding: 0 24px 22px;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--text-secondary);
}

/* ==========================================================================
   Final CTA Banner
   ========================================================================== */

.final-cta-section {
  padding-top: 24px;
  padding-bottom: 92px;
}

.final-cta-card {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 64px 32px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(560px 260px at 50% 0%, rgba(252, 76, 2, 0.22), transparent 70%),
    linear-gradient(180deg, #131b2b 0%, #0b1019 100%);
  border: 1px solid rgba(252, 76, 2, 0.34);
  box-shadow: 0 36px 90px -28px rgba(0, 0, 0, 0.85);
}

.final-logo {
  margin: 0 auto 20px;
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(252, 76, 2, 0.35);
}

.final-cta-card h2 {
  font-size: clamp(1.85rem, 4.2vw, 2.85rem);
  font-weight: 800;
  letter-spacing: -0.038em;
  color: #ffffff;
}

.final-cta-card p {
  margin: 14px auto 0;
  max-width: 540px;
  font-size: 16px;
  color: var(--text-secondary);
}

.final-cta-actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 28px 0 42px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 13.5px;
  color: var(--text-muted);
}

.footer-brand {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.footer-brand strong {
  color: #ffffff;
  font-size: 15px;
}

.footer-sep {
  opacity: 0.45;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
}

.footer-links a:hover {
  color: #ffffff;
}

/* ==========================================================================
   License Modal Dialog
   ========================================================================== */

.license-dialog {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  max-width: 540px;
  width: calc(100% - 28px);
  overflow: visible;
}

.license-dialog::backdrop {
  background: rgba(4, 7, 13, 0.72);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.dialog-shell {
  border-radius: 22px;
  background: linear-gradient(180deg, #131b2a, #0c111b);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.78);
  overflow: hidden;
}

.dialog-header,
.dialog-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 24px;
}

.dialog-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.dialog-brand h2 {
  font-size: 17px;
  font-weight: 720;
}

.dialog-close {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  cursor: pointer;
}

.dialog-close:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}

.dialog-body {
  padding: 22px 24px;
  display: grid;
  gap: 18px;
}

.modal-price-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(252, 76, 2, 0.11);
  border: 1px solid rgba(252, 76, 2, 0.34);
}

.modal-plan-label {
  display: block;
  font-size: 14.5px;
  font-weight: 700;
  color: #ffffff;
}

.modal-plan-sub {
  margin-top: 3px;
  font-size: 12.5px;
  color: #d6dfe9;
}

.modal-price {
  font-size: 18px;
  color: #ff9c6e;
  white-space: nowrap;
}

.modal-price strong {
  font-size: 32px;
  font-weight: 800;
  color: #ffffff;
}

.modal-note {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
}

.modal-contact-box {
  display: grid;
  gap: 10px;
}

.contact-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.contact-label {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
}

.contact-row strong {
  font-size: 15px;
  color: #ffffff;
}

.modal-steps {
  padding-top: 4px;
}

.modal-steps h3 {
  font-size: 13.5px;
  font-weight: 700;
  color: #e2e8f0;
  margin-bottom: 10px;
}

.modal-steps ol {
  padding-left: 18px;
  display: grid;
  gap: 6px;
  font-size: 13.5px;
  color: var(--text-secondary);
}

.dialog-footer {
  justify-content: flex-end;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.16);
}

/* ==========================================================================
   Scroll Reveal Motion
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 620ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 620ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .beacon-dot::after,
  .topo-ridge-highlight {
    animation: none;
    stroke-dashoffset: 0;
  }
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 1024px) {
  .bento-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .bento-span-2 {
    grid-column: span 2;
  }
  .download-flagship,
  .quickstart-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .main-nav {
    display: none;
  }
  .hero {
    padding-top: 34px;
  }
  .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
  .hero-stat-divider {
    display: none;
  }
  .contrast-grid,
  .pricing-grid,
  .sim-hud-grid,
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .bento-span-2 {
    grid-column: span 1;
  }
  .showcase-caption-bar {
    justify-content: flex-start;
    padding: 12px 14px;
  }
  .caption-pill {
    font-size: 12px;
  }
  .mini-kpi-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .mini-charts-pair {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .container {
    width: calc(100% - 28px);
  }
  .header-cta {
    display: none;
  }
  .sim-stage {
    padding: 18px;
  }
  .pricing-card,
  .contrast-card,
  .bento-card,
  .download-flagship {
    padding: 22px;
  }
  .window-pill,
  .address-sep,
  #window-mode-badge {
    display: none;
  }
  .final-cta-card {
    padding: 44px 20px;
  }
  .footer-sep {
    display: none;
  }
  .footer-tagline {
    flex-basis: 100%;
  }
}
