/* =========================================================================
   DeskHorizon — Landing Page
   Theme mirrors the app: deep-navy glassmorphism, sky-cyan accent (#8BD3FF),
   blue→cyan→teal gradients, the "horizon arch" motif.
   ========================================================================= */

:root {
  /* Surfaces */
  --bg-0: #060c14;
  --bg-1: #0a0f1a;
  --bg-2: #101522;
  --bg-3: #0b1220;

  /* Glass */
  --glass: rgba(17, 24, 39, 0.55);
  --glass-strong: rgba(15, 21, 34, 0.78);
  --glass-soft: rgba(255, 255, 255, 0.045);
  --stroke: rgba(255, 255, 255, 0.10);
  --stroke-strong: rgba(255, 255, 255, 0.18);

  /* Brand */
  --accent: #8bd3ff;        /* app AccentBrush */
  --accent-blue: #5b9df9;   /* logo blue */
  --accent-teal: #5fe0c8;   /* logo teal */
  --accent-glow: rgba(139, 211, 255, 0.55);
  --signal: #f6b26b;
  --signal-soft: rgba(246, 178, 107, 0.14);

  /* Promo / discount — warm, deliberately different from the teal brand */
  --promo-grad: linear-gradient(120deg, #ffc15a, #ff7a3c);
  --promo-ink: #3a1604;
  --promo-glow: rgba(255, 138, 60, 0.55);

  /* Text */
  --text: #f5f8ff;
  --soft: #ccd8e8;
  --muted: #8290a3;

  --radius: 18px;
  --radius-lg: 26px;
  --maxw: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --font: "Segoe UI Variable", "Segoe UI", sans-serif;
  --display: "Bahnschrift", "Segoe UI Variable Display", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg-0);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Ambient page background — deep navy + soft aurora glows that recall the
   app's gradient + edge glow. Sits behind the WebGL canvas. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(1100px 720px at 78% -8%, rgba(91, 157, 249, 0.18), transparent 60%),
    radial-gradient(900px 680px at 12% 8%, rgba(95, 224, 200, 0.10), transparent 58%),
    radial-gradient(1200px 900px at 50% 120%, rgba(139, 211, 255, 0.10), transparent 62%),
    linear-gradient(160deg, #101522 0%, #07111c 52%, #0b1220 100%);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
[hidden] { display: none !important; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

/* ---------- Layout helpers ---------- */
.container { width: min(calc(100% - 44px), var(--maxw)); margin-inline: auto; }
.section { padding: clamp(68px, 9vw, 108px) 0; position: relative; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 7px 14px;
  border: 1px solid var(--stroke-strong);
  border-radius: 999px;
  background: var(--glass-soft);
  backdrop-filter: blur(8px);
}

.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }

h1, h2, h3 { font-family: var(--display); line-height: 1.04; letter-spacing: -0.025em; font-weight: 700; }

h2.title {
  font-size: clamp(30px, 4.6vw, 52px);
  margin: 18px 0 16px;
}
.section-head p { color: var(--soft); font-size: clamp(15px, 1.7vw, 18px); }

.grad-text {
  background: linear-gradient(100deg, #ffffff 0%, var(--accent) 42%, var(--accent-teal) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  --b-bg: var(--glass-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  padding: 14px 24px;
  border-radius: 14px;
  border: 1px solid var(--stroke-strong);
  background: var(--b-bg);
  cursor: pointer;
  position: relative;
  transition: transform 0.25s var(--ease), box-shadow 0.3s var(--ease),
    border-color 0.3s var(--ease), background 0.3s var(--ease);
  backdrop-filter: blur(10px);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); border-color: var(--stroke-strong); }
.btn svg { width: 18px; height: 18px; }

.btn-primary {
  border: none;
  color: #06202e;
  background: linear-gradient(120deg, var(--accent) 0%, var(--accent-teal) 100%);
  box-shadow: 0 10px 30px -10px var(--accent-glow), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
.btn-primary:hover {
  box-shadow: 0 16px 40px -10px var(--accent-glow), inset 0 1px 0 rgba(255, 255, 255, 0.55);
}
.btn-ghost { background: var(--glass-soft); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.09); }
.btn-lg { padding: 17px 30px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-disabled { opacity: 0.48; cursor: default; pointer-events: none; }
.btn.is-loading { opacity: 0.78; pointer-events: none; }

/* ---------- Scroll progress + minimal brand (no button menu) ---------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  z-index: 60;
  background: rgba(255, 255, 255, 0.05);
}
.scroll-progress span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent), var(--accent-teal));
  box-shadow: 0 0 12px var(--accent-glow);
}
.nav {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  z-index: 50;
}
.nav .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.nav .brand {
  padding: 9px 17px 9px 11px;
  border-radius: 14px;
  border: 1px solid var(--stroke);
  background: rgba(11, 16, 24, 0.42);
  backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 10px 34px -20px rgba(0, 0, 0, 0.8);
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}
.nav .brand:hover { transform: translateY(-1px); }
.nav.scrolled .brand {
  background: rgba(9, 13, 20, 0.8);
  box-shadow: 0 14px 40px -18px rgba(0, 0, 0, 0.9);
}
.brand { display: flex; align-items: center; gap: 11px; font-weight: 700; font-size: 17px; }
.brand img { width: 30px; height: 30px; border-radius: 8px; box-shadow: 0 4px 14px -4px var(--accent-glow); }
.brand span { letter-spacing: -0.02em; }
.brand small {
  display: block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--muted);
  text-transform: uppercase;
}
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  font-size: 14.5px;
  color: var(--soft);
  padding: 9px 14px;
  border-radius: 10px;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: var(--text); background: var(--glass-soft); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; }
.nav-buy { padding: 11px 17px; font-size: 13.5px; }
.nav-feedback { padding: 11px 17px; font-size: 13.5px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  padding-bottom: 60px;
  overflow: hidden;
}
#scene-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0;
  transition: opacity 1.4s ease;
}
#scene-canvas.ready { opacity: 1; }
.hero::after {
  /* fade WebGL into the page bottom */
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 34%;
  background: linear-gradient(to bottom, transparent, var(--bg-0));
  pointer-events: none;
  z-index: -1;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(460px, 1.1fr); gap: clamp(34px, 5vw, 72px); align-items: center; min-width: 0; }
.hero-inner { max-width: 680px; min-width: 0; }
.hero .badge-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--soft);
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: var(--glass-soft);
  backdrop-filter: blur(8px);
}
.chip .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent-teal); box-shadow: 0 0 8px var(--accent-teal); }
.hero h1 {
  font-size: clamp(40px, 6.6vw, 78px);
  margin-bottom: 22px;
}
.hero p.lede {
  font-size: clamp(16px, 2.1vw, 21px);
  color: var(--soft);
  max-width: 620px;
  margin-bottom: 34px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-note { margin-top: 20px; font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.hero-note svg { width: 15px; height: 15px; color: var(--accent-teal); }

.hero-product { min-width: 0; perspective: 1200px; }
.product-shell {
  border: 1px solid var(--stroke-strong);
  border-radius: 24px;
  overflow: hidden;
  background: rgba(7, 13, 23, 0.9);
  box-shadow: 0 42px 100px -44px rgba(0, 0, 0, 0.95), 0 0 60px -35px var(--accent-glow);
  animation: product-arrive 0.9s var(--ease) both;
}
.product-titlebar { height: 46px; display: flex; align-items: center; gap: 12px; padding: 0 15px; border-bottom: 1px solid var(--stroke); background: rgba(255,255,255,0.035); }
.product-titlebar strong { font-family: var(--display); font-size: 13px; }
.product-titlebar small { margin-left: auto; color: var(--muted); font-size: 10.5px; }
.project-tabs { display: flex; gap: 6px; padding: 11px 14px; border-bottom: 1px solid var(--stroke); }
.project-tabs span { color: var(--muted); font-size: 11px; padding: 5px 11px; border-radius: 8px; }
.project-tabs .active { color: #06202e; font-weight: 700; background: linear-gradient(120deg, var(--accent), var(--accent-teal)); }
.product-canvas {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background:
    linear-gradient(rgba(139,211,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139,211,255,0.035) 1px, transparent 1px),
    radial-gradient(circle at 76% 20%, rgba(91,157,249,0.17), transparent 40%),
    #07101b;
  background-size: 30px 30px, 30px 30px, auto, auto;
}
.desk-window { position: absolute; overflow: hidden; border: 1px solid var(--stroke-strong); border-radius: 11px; color: var(--soft); background: rgba(14, 23, 38, 0.94); box-shadow: 0 18px 40px -22px #000; animation: project-restore 0.75s var(--ease) both; }
.win-head { height: 28px; display: flex; align-items: center; justify-content: space-between; padding: 0 9px; border-bottom: 1px solid var(--stroke); color: var(--muted); font: 9px "Cascadia Code", monospace; }
.win-head i { width: 5px; height: 5px; border-radius: 50%; background: var(--accent-teal); box-shadow: 0 0 7px var(--accent-teal); }
.win-browser { left: 5%; top: 8%; width: 53%; height: 49%; }
.browser-bar { margin: 9px; padding: 5px 8px; border-radius: 6px; color: var(--accent); background: rgba(255,255,255,0.05); font: 8px "Cascadia Code", monospace; }
.content-lines { display: grid; gap: 6px; padding: 0 10px; }
.content-lines i { height: 6px; border-radius: 5px; background: rgba(204,216,232,0.18); }
.content-lines i:nth-child(2) { width: 82%; }
.content-lines i:nth-child(3) { width: 60%; background: rgba(139,211,255,0.25); }
.win-terminal { right: 4%; top: 19%; width: 42%; height: 50%; animation-delay: 0.12s; }
.win-terminal code { display: block; padding: 11px; color: var(--soft); font: 8px/1.8 "Cascadia Code", monospace; }
.win-terminal code b { color: var(--accent); }
.win-terminal code em { color: var(--accent-teal); font-style: normal; }
.win-terminal code span { color: var(--muted); }
.win-note { left: 11%; bottom: 7%; width: 38%; height: 34%; animation-delay: 0.2s; }
.win-note p { padding: 10px 10px 2px; color: var(--text); font: 600 11px var(--font); }
.win-note small { padding: 0 10px; color: var(--muted); font-size: 8px; }
.win-focus { right: 8%; bottom: 5%; width: 31%; padding: 11px; display: grid; text-align: center; animation-delay: 0.28s; }
.win-focus span, .win-focus small { color: var(--muted); font-size: 8px; }
.win-focus strong { font-family: var(--display); font-size: 22px; color: var(--accent); }
.product-status { min-height: 46px; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 0 15px; border-top: 1px solid var(--stroke); color: var(--soft); font-size: 11px; }
.product-status span { display: inline-flex; align-items: center; gap: 7px; }
.product-status i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-teal); box-shadow: 0 0 9px var(--accent-teal); }
.product-status b { color: var(--accent); font-size: 10.5px; }
@keyframes product-arrive { from { opacity: 0; transform: translateY(18px) rotateX(2deg); } to { opacity: 1; transform: none; } }
@keyframes project-restore { from { opacity: 0; transform: translateY(14px) scale(0.97); } to { opacity: 1; transform: none; } }

.scroll-hint {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  z-index: 1;
}
.scroll-hint .line { width: 1px; height: 38px; background: linear-gradient(to bottom, var(--accent), transparent); animation: drop 2.2s var(--ease) infinite; }
@keyframes drop { 0% { transform: scaleY(0); transform-origin: top; } 45% { transform: scaleY(1); transform-origin: top; } 55% { transform: scaleY(1); transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- Immediate value ---------- */
.value-strip {
  border-block: 1px solid var(--stroke);
  background: rgba(8, 12, 20, 0.5);
  backdrop-filter: blur(8px);
  padding: 24px 0;
}
.value-strip .container { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value-strip div div { display: grid; gap: 2px; padding-left: 18px; border-left: 2px solid rgba(139, 211, 255, 0.3); }
.value-strip strong { font-family: var(--display); font-size: 15px; color: var(--text); }
.value-strip span { color: var(--muted); font-size: 13px; }

/* ---------- Before / after ---------- */
.transformation { padding-bottom: 0; }
.transform-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 22px; align-items: center; }
.state-card { min-height: 270px; padding: clamp(28px, 4vw, 44px); border: 1px solid var(--stroke); border-radius: var(--radius-lg); background: var(--glass); }
.state-card.before { opacity: 0.7; background: rgba(255,255,255,0.025); }
.state-card.after { border-color: rgba(139,211,255,0.36); background: linear-gradient(145deg, rgba(139,211,255,0.09), rgba(95,224,200,0.035)); box-shadow: 0 30px 70px -48px var(--accent-glow); }
.state-label { display: inline-block; margin-bottom: 18px; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.after .state-label { color: var(--accent); }
.state-card h3 { max-width: 420px; margin-bottom: 22px; font-size: clamp(23px, 3vw, 34px); }
.state-card ul { list-style: none; display: grid; gap: 11px; color: var(--soft); font-size: 14px; }
.state-card li { display: flex; gap: 10px; }
.state-card li::before { content: "×"; color: #ff8a8a; font-weight: 700; }
.state-card.after li::before { content: "✓"; color: var(--accent-teal); }
.transform-arrow { color: var(--accent); font-size: 26px; }

/* ---------- Feature grid ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}
.card {
  position: relative;
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  background: var(--glass);
  backdrop-filter: blur(16px) saturate(130%);
  padding: 30px;
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.card::before {
  /* soft top sheen */
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.22), transparent);
}
/* cursor-follow glow */
.card::after {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, var(--accent-glow), transparent 65%);
  left: var(--mx, 50%);
  top: var(--my, 50%);
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}
.card:hover { transform: translateY(-5px); border-color: var(--stroke-strong); box-shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.8); }
.card:hover::after { opacity: 0.10; }

.card .ico {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  background: linear-gradient(140deg, rgba(139, 211, 255, 0.18), rgba(95, 224, 200, 0.10));
  border: 1px solid var(--stroke-strong);
}
.card .ico svg { width: 25px; height: 25px; color: var(--accent); }
.card h3 { font-size: 20px; margin-bottom: 9px; }
.card p { color: var(--soft); font-size: 14.5px; }
.card .tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.card .tags span { font-size: 11.5px; color: var(--muted); border: 1px solid var(--stroke); border-radius: 7px; padding: 4px 9px; }

.col-6 { grid-column: span 6; }
.col-4 { grid-column: span 4; }
.col-8 { grid-column: span 8; }
.col-12 { grid-column: span 12; }

/* Wide feature card with command bar demo */
.card.feature-hero {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 260px;
  background: rgba(22, 42, 59, 0.78);
  border-color: rgba(139, 211, 255, 0.14);
}
.feature-hero .ico {
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  border-radius: 9px;
  background: rgba(50, 91, 120, 0.65);
  border-color: rgba(139, 211, 255, 0.18);
}
.feature-hero .ico svg { width: 19px; height: 19px; }
.feature-hero h3 { font-size: 20px; margin-bottom: 9px; }
.feature-hero p { max-width: 760px; font-size: 14.5px; line-height: 1.55; }
.cmdbar {
  margin-top: 58px;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 37px;
  padding: 0 12px;
  border-radius: 9px;
  background: rgba(10, 19, 29, 0.86);
  border: 1px solid rgba(139, 211, 255, 0.22);
  font-family: "JetBrains Mono", ui-monospace, "Cascadia Code", monospace;
  font-size: 11px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}
.cmdbar .prompt { color: var(--accent); }
.cmdbar .typed { color: #dbe8f6; font-weight: 600; }
.cmdbar .caret {
  width: 1px;
  height: 13px;
  margin-left: -4px;
  background: rgba(139, 211, 255, 0.8);
  border-radius: 1px;
  animation: blink 1.05s steps(1) infinite;
}
.cmdbar .mic { margin-left: auto; display: flex; gap: 3px; align-items: flex-end; height: 16px; }
.cmdbar .mic i { width: 3px; background: var(--accent-teal); border-radius: 2px; animation: eq 1s ease-in-out infinite; }
.cmdbar .mic i:nth-child(1) { height: 4px; animation-delay: 0s; }
.cmdbar .mic i:nth-child(2) { height: 9px; animation-delay: 0.18s; }
.cmdbar .mic i:nth-child(3) { height: 14px; animation-delay: 0.34s; }
.cmdbar .mic i:nth-child(4) { display: none; }
@keyframes eq { 0%, 100% { transform: scaleY(0.4); } 50% { transform: scaleY(1); } }
@keyframes blink { 50% { opacity: 0; } }

/* Single monitor visualization */
.single-monitor-card {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 1fr);
  gap: clamp(24px, 5vw, 62px);
  align-items: center;
  min-height: 330px;
  background:
    radial-gradient(80% 120% at 88% 14%, rgba(95, 224, 200, 0.13), transparent 56%),
    linear-gradient(145deg, rgba(15, 35, 50, 0.9), rgba(9, 16, 27, 0.84));
  border-color: rgba(139, 211, 255, 0.22);
}
.single-monitor-card > * {
  position: relative;
  z-index: 1;
}
.single-monitor-copy p { max-width: 610px; }
.single-monitor-visual {
  display: grid;
  justify-items: center;
  align-items: end;
  min-height: 254px;
}
.monitor-frame {
  position: relative;
  width: min(100%, 490px);
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid rgba(139, 211, 255, 0.36);
  border-radius: 18px;
  background:
    linear-gradient(rgba(139,211,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139,211,255,0.05) 1px, transparent 1px),
    radial-gradient(circle at 70% 16%, rgba(91, 157, 249, 0.28), transparent 43%),
    #07111d;
  background-size: 28px 28px, 28px 28px, auto, auto;
  box-shadow:
    0 30px 72px -36px rgba(0, 0, 0, 0.95),
    0 0 40px -22px var(--accent-glow),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.monitor-toolbar {
  height: 34px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  border-bottom: 1px solid var(--stroke);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.035);
  font: 10px "Cascadia Code", monospace;
}
.monitor-toolbar span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff6b6b88;
}
.monitor-toolbar span:nth-child(2) { background: #ffd36b88; }
.monitor-toolbar span:nth-child(3) { background: #5fe0c888; }
.monitor-toolbar b {
  margin-left: auto;
  color: var(--accent);
  font-weight: 700;
}
.monitor-space {
  position: absolute;
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 13px;
  border: 1px solid var(--stroke-strong);
  border-radius: 13px;
  background: rgba(12, 22, 35, 0.88);
  box-shadow: 0 18px 44px -26px rgba(0, 0, 0, 0.9);
}
.monitor-space strong {
  color: var(--text);
  font-family: var(--display);
  font-size: 14px;
  line-height: 1;
}
.monitor-space i {
  display: block;
  height: 7px;
  border-radius: 999px;
  background: rgba(204, 216, 232, 0.18);
}
.monitor-space i:nth-of-type(2) { width: 72%; }
.monitor-space i:nth-of-type(3) {
  width: 52%;
  background: rgba(139, 211, 255, 0.25);
}
.space-build {
  top: 19%;
  left: 7%;
  width: 46%;
  height: 43%;
  z-index: 2;
}
.space-research {
  top: 29%;
  right: 6%;
  width: 40%;
  height: 39%;
  z-index: 3;
  border-color: rgba(95, 224, 200, 0.35);
}
.space-focus {
  left: 31%;
  bottom: 16%;
  width: 36%;
  height: 27%;
  z-index: 4;
  background: linear-gradient(145deg, rgba(139, 211, 255, 0.16), rgba(12, 22, 35, 0.92));
}
.space-switcher {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  padding: 6px;
  border: 1px solid rgba(139, 211, 255, 0.24);
  border-radius: 999px;
  background: rgba(4, 10, 18, 0.72);
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 30px -20px #000;
}
.space-switcher span {
  color: var(--soft);
  font-size: 10.5px;
  line-height: 1;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  white-space: nowrap;
}
.space-switcher span:first-child {
  color: #06202e;
  font-weight: 700;
  background: linear-gradient(120deg, var(--accent), var(--accent-teal));
}
.monitor-stand {
  width: min(38%, 180px);
  height: 42px;
  margin-top: -1px;
  border-radius: 0 0 24px 24px;
  background:
    linear-gradient(90deg, transparent 0 22%, rgba(139, 211, 255, 0.25) 22% 78%, transparent 78%),
    linear-gradient(180deg, rgba(139, 211, 255, 0.2), rgba(139, 211, 255, 0));
}

/* ---------- Everything included ---------- */
.all-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.all-item {
  display: flex; gap: 13px; align-items: flex-start;
  padding: 19px 20px;
  border: 1px solid var(--stroke); border-radius: var(--radius);
  background: var(--glass-soft); backdrop-filter: blur(8px);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.all-item:hover { border-color: var(--stroke-strong); transform: translateY(-2px); }
.all-item svg { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.all-item strong { display: block; font-family: var(--display); font-size: 15px; color: var(--text); margin-bottom: 3px; }
.all-item span { color: var(--muted); font-size: 13px; line-height: 1.5; }
.all-item span b, .feature-hero p b {
  color: var(--accent);
  font-family: "JetBrains Mono", ui-monospace, "Cascadia Code", monospace;
  font-size: 0.92em; font-weight: 600;
}
@media (max-width: 980px) { .all-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .all-grid { grid-template-columns: 1fr; } }

/* ---------- Market fit ---------- */
.market-fit { padding-top: 0; }
.fit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.fit-card {
  position: relative;
  min-height: 190px;
  padding: 28px;
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(246, 178, 107, 0.08), transparent 42%),
    var(--glass-soft);
  backdrop-filter: blur(10px);
}
.fit-card::before {
  content: "";
  display: block;
  width: 44px;
  height: 3px;
  margin-bottom: 22px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--signal), var(--accent));
  box-shadow: 0 0 18px var(--signal-soft);
}
.fit-card span {
  display: block;
  margin-bottom: 10px;
  color: var(--text);
  font-family: var(--display);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.15;
}
.fit-card p { color: var(--soft); font-size: 14.5px; }

/* ---------- Showcase split ---------- */
.showcase-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 52px; align-items: center; }
.showcase-list { display: flex; flex-direction: column; gap: 12px; }
.show-item {
  text-align: left;
  border: 1px solid var(--stroke);
  background: var(--glass-soft);
  border-radius: 16px;
  padding: 18px 20px;
  cursor: pointer;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease), transform 0.3s var(--ease);
  color: var(--soft);
}
.show-item:hover { transform: translateX(4px); }
.show-item h4 { font-size: 16.5px; color: var(--text); display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.show-item h4 svg { width: 18px; height: 18px; color: var(--accent); }
.show-item p { font-size: 13.5px; max-height: 0; overflow: hidden; opacity: 0; transition: all 0.4s var(--ease); }
.show-item.active { border-color: rgba(139, 211, 255, 0.5); background: rgba(139, 211, 255, 0.06); box-shadow: 0 0 0 1px rgba(139, 211, 255, 0.2), 0 18px 40px -28px var(--accent-glow); }
.show-item.active p { max-height: 80px; opacity: 1; margin-top: 6px; }

.showcase-stage {
  position: relative;
  aspect-ratio: 16 / 11;
  border-radius: var(--radius-lg);
  border: 1px solid var(--stroke-strong);
  background:
    radial-gradient(120% 120% at 70% 0%, rgba(91, 157, 249, 0.16), transparent 55%),
    linear-gradient(160deg, rgba(16, 21, 34, 0.92), rgba(7, 17, 28, 0.96));
  overflow: hidden;
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.9);
}
.stage-bar { display: flex; align-items: center; gap: 7px; padding: 13px 16px; border-bottom: 1px solid var(--stroke); }
.stage-bar i { width: 11px; height: 11px; border-radius: 50%; background: #2a3547; }
.stage-bar i:nth-child(1) { background: #ff6b6b88; }
.stage-bar i:nth-child(2) { background: #ffd36b88; }
.stage-bar i:nth-child(3) { background: #5fe0c888; }
.stage-bar span { margin-left: 10px; font-size: 12px; color: var(--muted); font-family: "JetBrains Mono", monospace; }
.stage-body { position: relative; height: calc(100% - 45px); }
.stage-panel {
  position: absolute;
  inset: 0;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  opacity: 0;
  transform: scale(0.98) translateY(10px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
  pointer-events: none;
}
.stage-panel.active { opacity: 1; transform: none; }
.stage-panel .big-ico { width: 64px; height: 64px; color: var(--accent); filter: drop-shadow(0 0 18px var(--accent-glow)); }
.stage-panel h3 { font-size: 24px; }
.stage-panel p { color: var(--soft); font-size: 15px; max-width: 90%; }
.float-win {
  position: absolute;
  border: 1px solid var(--stroke-strong);
  border-radius: 12px;
  background: rgba(11, 18, 30, 0.72);
  backdrop-filter: blur(6px);
  box-shadow: 0 20px 50px -24px rgba(0, 0, 0, 0.85);
  animation: floaty 6s ease-in-out infinite;
}
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* ---------- Use-case video gallery (horizontal scroll) ---------- */
.video-rail {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(139, 211, 255, 0.45) transparent;
  padding-bottom: 10px;
}
.video-rail::-webkit-scrollbar { height: 8px; }
.video-rail::-webkit-scrollbar-track { background: transparent; }
.video-rail::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, var(--accent), var(--accent-teal));
  border-radius: 999px;
}
.video-track {
  display: flex;
  gap: 22px;
  width: max-content;
  padding: 6px max(22px, calc((100vw - var(--maxw)) / 2 + 22px));
}
.video-card { flex: 0 0 auto; width: min(80vw, 560px); scroll-snap-align: center; }
.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--stroke-strong);
  background:
    radial-gradient(120% 120% at 70% 0%, rgba(91, 157, 249, 0.16), transparent 55%),
    linear-gradient(160deg, rgba(16, 21, 34, 0.92), rgba(7, 17, 28, 0.96));
  box-shadow: 0 40px 90px -44px rgba(0, 0, 0, 0.9);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.video-card:hover .video-frame { transform: translateY(-4px); box-shadow: 0 50px 100px -44px rgba(0, 0, 0, 0.95); }
.video-frame video,
.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
  background: #05090e;
}
.video-card.placeholder .video-frame svg { width: 56px; height: 56px; color: var(--accent); opacity: 0.9; filter: drop-shadow(0 0 16px var(--accent-glow)); margin-bottom: 6px; }
.video-card.placeholder .video-frame span { color: var(--soft); font-weight: 600; font-size: 15px; }
.video-card.placeholder .video-frame small { font-size: 12px; color: var(--muted); font-family: "JetBrains Mono", monospace; }
.video-cap { padding: 18px 4px 0; }
.video-cap h4 { font-size: 18px; margin-bottom: 5px; }
.video-cap p { color: var(--soft); font-size: 14px; }
.video-hint { text-align: center; color: var(--muted); font-size: 13px; margin-top: 22px; letter-spacing: 0.04em; }
@media (max-width: 560px) { .video-card { width: 86vw; } }

/* ---------- Single demo video (centered) ---------- */
.video-solo { width: min(100%, 880px); margin-inline: auto; }
.video-solo .video-cap { text-align: center; }

/* ---------- Real screenshot in hero shell ---------- */
.product-shot { display: block; width: 100%; height: auto; }

/* ---------- Real-screens gallery (native scroll-snap slider) ---------- */
.gallery { position: relative; }
.gallery-viewport { position: relative; }
.gallery-track {
  display: flex; gap: 22px;
  overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory; scroll-behavior: smooth;
  overscroll-behavior-x: contain;
  padding: 8px 7% 12px;                 /* 7% inline padding centers the edge slides */
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.gallery-track::-webkit-scrollbar { display: none; }
.shot { flex: 0 0 86%; scroll-snap-align: center; margin: 0; }
@media (min-width: 900px) { .shot { flex-basis: 74%; } }
.shot img {
  display: block; width: 100%; height: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--stroke-strong);
  box-shadow: 0 40px 90px -44px rgba(0, 0, 0, 0.9);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  cursor: zoom-in;
}
.shot:hover img { transform: translateY(-4px); box-shadow: 0 55px 110px -44px rgba(0, 0, 0, 0.95); }
.shot figcaption { margin-top: 15px; color: var(--soft); font-size: 15px; text-align: center; }

/* arrows */
.gallery-nav {
  position: absolute; top: 42%; transform: translateY(-50%);
  width: 50px; height: 50px; border-radius: 999px; z-index: 3;
  display: grid; place-items: center;
  color: var(--text); cursor: pointer;
  background: var(--glass-strong); border: 1px solid var(--stroke-strong);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 14px 34px -14px rgba(0, 0, 0, 0.8);
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), opacity 0.25s var(--ease);
}
.gallery-nav:hover { transform: translateY(-50%) scale(1.08); background: var(--glass); }
.gallery-nav:active { transform: translateY(-50%) scale(0.95); }
.gallery-nav svg { width: 23px; height: 23px; }
.gallery-nav.prev { left: 3%; }
.gallery-nav.next { right: 3%; }
.gallery-nav[disabled] { opacity: 0; pointer-events: none; }
@media (max-width: 640px) {
  .gallery-nav { width: 42px; height: 42px; }
  .gallery-nav.prev { left: 8px; } .gallery-nav.next { right: 8px; }
}

/* dots */
.gallery-dots { display: flex; justify-content: center; gap: 9px; margin-top: 24px; }
.gallery-dots button {
  width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--stroke-strong);
  transition: width 0.35s var(--ease), background 0.35s var(--ease);
}
.gallery-dots button[aria-selected="true"] {
  width: 28px; background: linear-gradient(90deg, var(--accent), var(--accent-teal));
}

/* ---------- "Powered by" tech strip (sits under the hero content) ---------- */
.techstrip { margin-top: clamp(30px, 4vw, 56px); display: flex; flex-direction: column; align-items: center; gap: 16px; }
.techstrip-label { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.tech-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 12px; }
.tech-list li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--stroke); background: var(--glass-soft);
  backdrop-filter: blur(8px);
  font-size: 13.5px; font-weight: 500; color: var(--soft);
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
}
.tech-list li:hover { border-color: var(--stroke-strong); color: var(--text); transform: translateY(-2px); }
.tech-list img { width: 18px; height: 18px; display: block; opacity: 0.95; }

/* ---------- Limited-time launch discount (warm promo color) ---------- */
.chip-offer {
  color: var(--promo-ink); font-weight: 700; border: 0;
  background: var(--promo-grad);
  box-shadow: 0 8px 22px -8px var(--promo-glow);
}
.chip-offer s { opacity: 0.72; font-weight: 600; }
/* recolor the "50% off" badges to the warm promo color
   (higher specificity so it wins regardless of source order) */
.tier .tier-ribbon, .tier-price .save-lg {
  background: var(--promo-grad);
  color: var(--promo-ink);
  box-shadow: 0 8px 22px -8px var(--promo-glow);
}
.tier-price .was {
  font-size: 24px; font-weight: 600; color: var(--muted);
  text-decoration: line-through; text-decoration-color: var(--signal);
}
.save-lg { font-size: 12.5px; padding: 5px 11px; align-self: center; }
.offer-deadline {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; color: var(--signal);
  background: var(--signal-soft); border: 1px solid rgba(246, 178, 107, 0.32);
  padding: 8px 14px; border-radius: 999px; margin: 2px 0 22px;
}
.offer-deadline svg { width: 15px; height: 15px; flex-shrink: 0; }
.offer-deadline strong { color: var(--text); font-weight: 700; }
/* ---------- Lightbox (native <dialog>) ---------- */
.lightbox {
  border: 0;
  padding: 0;
  background: transparent;
  /* the global `* { margin: 0 }` reset kills the UA margin:auto that centers a
     modal <dialog>; restore it so the image opens centered, not top-left */
  margin: auto;
  max-width: min(96vw, 1680px);
  max-height: 96vh;
  overflow: visible;
}
.lightbox::backdrop {
  background: rgba(4, 8, 14, 0.88);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity 0.35s var(--ease), overlay 0.35s allow-discrete, display 0.35s allow-discrete;
}
.lightbox[open]::backdrop { opacity: 1; }
@starting-style { .lightbox[open]::backdrop { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .gallery-track { scroll-behavior: auto; }
  .lightbox::backdrop { transition: none; }
}
.lightbox img {
  width: 100%;
  height: auto;
  max-height: 96vh;
  object-fit: contain;
  border-radius: 14px;
  border: 1px solid var(--stroke-strong);
  box-shadow: 0 70px 160px -50px #000;
  cursor: zoom-out;
}
.shot img, .product-shot { cursor: zoom-in; }

/* ---------- Scroll-pinned sections (guided tour + video auto-pan) ---------- */
.pin { position: relative; }
.pin .pin-sticky { padding-block: clamp(64px, 9vw, 120px); }
.pin.is-pinned .pin-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding-block: 0;
}
.pin.is-pinned .section-head { margin-bottom: 30px; }
.pin.is-pinned .video-rail { overflow: hidden; scroll-snap-type: none; }
.pin.is-pinned .video-track { transition: transform 0.14s linear; will-change: transform; }

.stage-count { font-family: "JetBrains Mono", monospace; font-size: 12px; }
.stage-bar .stage-count { margin-left: auto; color: var(--accent); letter-spacing: 0.08em; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat { text-align: center; padding: 30px 18px; border: 1px solid var(--stroke); border-radius: var(--radius); background: var(--glass); }
.stat .num { font-size: clamp(30px, 4vw, 46px); font-weight: 700; }
.stat .lbl { color: var(--muted); font-size: 13px; margin-top: 6px; letter-spacing: 0.02em; }

/* ---------- Pricing ---------- */
.pricing-wrap { display: flex; justify-content: center; }
.price-card {
  position: relative;
  width: min(560px, 100%);
  border-radius: 30px;
  padding: 2px;
  background: linear-gradient(140deg, rgba(139, 211, 255, 0.7), rgba(95, 224, 200, 0.35) 45%, rgba(91, 157, 249, 0.2) 100%);
  box-shadow: 0 50px 110px -50px var(--accent-glow);
}
.price-inner {
  border-radius: 28px;
  padding: clamp(30px, 5vw, 50px);
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(139, 211, 255, 0.1), transparent 60%),
    linear-gradient(180deg, rgba(13, 19, 31, 0.96), rgba(8, 13, 22, 0.98));
  text-align: center;
}
.price-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #06202e;
  background: linear-gradient(120deg, var(--accent), var(--accent-teal));
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.price-card h3 { font-size: 26px; margin-bottom: 6px; }
.price-card .sub { color: var(--muted); font-size: 14.5px; margin-bottom: 26px; }
.price-amount { display: flex; align-items: baseline; justify-content: center; gap: 12px; margin-bottom: 6px; }
.price-amount .now { font-size: clamp(52px, 9vw, 72px); font-weight: 800; letter-spacing: -0.04em; }
.price-amount .was { font-size: 24px; color: var(--muted); text-decoration: line-through; }
.price-card .once { color: var(--soft); font-size: 14px; margin-bottom: 30px; }
.price-card .once b { color: var(--accent); }
.price-features { text-align: left; display: grid; gap: 13px; margin: 30px 0; }
.price-features li { list-style: none; display: flex; align-items: flex-start; gap: 12px; color: var(--soft); font-size: 15px; }
.price-features svg { width: 21px; height: 21px; color: var(--accent-teal); flex-shrink: 0; margin-top: 1px; }
.price-card .guarantee { margin-top: 18px; font-size: 12.5px; color: var(--muted); display: flex; align-items: center; justify-content: center; gap: 8px; }
.price-card .guarantee svg { width: 15px; height: 15px; }
.pay-logos { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 22px; opacity: 0.7; font-size: 12px; color: var(--muted); }

/* ---------- Pricing tiers (team-size based) ---------- */
.pricing-tiers {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: stretch;
  width: min(560px, 100%);
  margin-inline: auto;
}
.tier {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--stroke);
  border-radius: 24px;
  background: var(--glass);
  backdrop-filter: blur(16px) saturate(130%);
  padding: 34px 28px;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.tier:hover { transform: translateY(-5px); border-color: var(--stroke-strong); box-shadow: 0 30px 70px -36px rgba(0, 0, 0, 0.85); }
.tier.popular {
  border: 1px solid transparent;
  background:
    linear-gradient(var(--bg-3), var(--bg-3)) padding-box,
    linear-gradient(140deg, rgba(139, 211, 255, 0.85), rgba(95, 224, 200, 0.45) 50%, rgba(91, 157, 249, 0.35)) border-box;
  box-shadow: 0 44px 96px -46px var(--accent-glow);
  transform: none;
}
.tier.popular:hover { transform: translateY(-4px); }

.tier-ribbon {
  position: absolute;
  top: -13px; left: 50%; transform: translateX(-50%);
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: #06202e;
  background: linear-gradient(120deg, var(--accent), var(--accent-teal));
  padding: 6px 16px; border-radius: 999px;
  box-shadow: 0 8px 22px -8px var(--accent-glow);
  white-space: nowrap;
}
.tier-tag {
  position: absolute; top: 18px; right: 18px;
  font-size: 10.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent-teal);
  border: 1px solid var(--stroke-strong); border-radius: 999px; padding: 4px 11px;
}
.seat-range {
  display: inline-block;
  font-size: 12.5px; font-weight: 600;
  color: var(--accent);
  background: rgba(139, 211, 255, 0.10);
  border: 1px solid var(--stroke);
  padding: 5px 13px; border-radius: 999px;
  margin-bottom: 16px;
}
.tier-head h3 { font-size: 23px; margin-bottom: 7px; }
.tier-sub { color: var(--muted); font-size: 14px; min-height: 42px; }
.tier-price { display: flex; align-items: baseline; gap: 8px; margin-top: 22px; }
.tier-price .amt { font-size: clamp(44px, 7vw, 54px); font-weight: 800; letter-spacing: -0.04em; }
.tier-price .per { color: var(--soft); font-size: 16px; font-weight: 500; }
.tier-billed { color: var(--muted); font-size: 13px; margin: 5px 0 24px; display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.save { color: #06202e; background: linear-gradient(120deg, var(--accent), var(--accent-teal)); font-weight: 700; font-size: 11px; padding: 3px 9px; border-radius: 999px; }
.tier-features { list-style: none; display: grid; gap: 12px; margin-top: 26px; }
.tier-features li { display: flex; align-items: flex-start; gap: 11px; color: var(--soft); font-size: 14px; }
.tier-features svg { width: 19px; height: 19px; color: var(--accent-teal); flex-shrink: 0; margin-top: 1px; }

/* bottom-align the CTA across all three cards */
.tier .btn-block { margin-top: auto; }

/* founding-tier scarcity line */
.scarcity {
  display: flex; align-items: center; gap: 10px;
  font-size: 12.5px; font-weight: 500; color: var(--signal);
  margin: 4px 0 20px;
}
.scarcity .dots { display: inline-flex; gap: 4px; flex-shrink: 0; }
.scarcity .dots i {
  width: 14px; height: 6px; border-radius: 3px;
  background: linear-gradient(90deg, var(--signal), var(--accent));
  box-shadow: 0 0 8px var(--signal-soft);
}

/* Store purchase path + shared "what's included" block */
.ladder-note { text-align: center; color: var(--muted); font-size: 14px; margin-top: 28px; }
.ladder-note b { color: var(--accent); }
.price-path {
  width: min(860px, 100%);
  margin: 34px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--stroke);
  border-radius: 18px;
  overflow: hidden;
  background: var(--glass-soft);
}
.price-path span { display: grid; gap: 3px; padding: 18px; border-left: 1px solid var(--stroke); }
.price-path span:first-child { border-left: 0; }
.price-path small { color: var(--muted); font-size: 11.5px; }
.price-path b { font-family: var(--display); font-size: 22px; color: var(--soft); }
.price-path .current { background: rgba(139, 211, 255, 0.08); }
.price-path .current small, .price-path .current b { color: var(--accent); }
.includes {
  margin-top: 38px;
  padding: 32px;
  border: 1px solid var(--stroke);
  border-radius: 22px;
  background: var(--glass-soft);
  backdrop-filter: blur(10px);
}
.includes h4 {
  text-align: center;
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
}
.includes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px 28px; }
.includes-grid span { display: flex; align-items: flex-start; gap: 11px; color: var(--soft); font-size: 14.5px; }
.includes-grid svg { width: 19px; height: 19px; color: var(--accent-teal); flex-shrink: 0; margin-top: 1px; }
@media (max-width: 760px) { .includes-grid { grid-template-columns: 1fr; } }

.pricing-foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  margin-top: 36px; padding-top: 26px; border-top: 1px solid var(--stroke);
  color: var(--muted); font-size: 13px;
}
.pricing-foot .guarantee { display: inline-flex; align-items: center; gap: 9px; }
.pricing-foot .guarantee svg { width: 16px; height: 16px; color: var(--accent-teal); }
.pricing-foot .pay-logos { margin-top: 0; }

.footer-tag { color: var(--muted); font-size: 14px; max-width: 360px; text-align: right; }
.footer-tag a { color: var(--accent); font-weight: 700; }

/* ---------- Feedback page ---------- */
.feedback-page {
  min-height: 100vh;
  background:
    radial-gradient(900px 560px at 84% 0%, rgba(95, 224, 200, 0.12), transparent 62%),
    radial-gradient(720px 520px at 8% 10%, rgba(91, 157, 249, 0.16), transparent 60%),
    var(--bg-0);
}
.feedback-hero {
  position: relative;
  padding: 132px 0 clamp(54px, 7vw, 86px);
  overflow: hidden;
}
.feedback-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(139, 211, 255, 0.28), transparent);
}
.feedback-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: clamp(32px, 6vw, 82px);
  align-items: center;
}
.feedback-page .badge-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.feedback-hero h1 {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: clamp(42px, 7vw, 76px);
}
.feedback-hero .lede {
  max-width: 650px;
  color: var(--soft);
  font-size: clamp(16px, 2vw, 21px);
}
.feedback-signal-panel {
  position: relative;
  min-height: 300px;
  border: 1px solid var(--stroke-strong);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(rgba(139,211,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139,211,255,0.04) 1px, transparent 1px),
    linear-gradient(145deg, rgba(14, 32, 48, 0.82), rgba(7, 13, 23, 0.92));
  background-size: 26px 26px, 26px 26px, auto;
  box-shadow: 0 42px 92px -52px rgba(0, 0, 0, 0.95), 0 0 56px -40px var(--accent-glow);
  overflow: hidden;
}
.signal-ring {
  position: absolute;
  left: 34px;
  top: 34px;
  width: 168px;
  height: 168px;
  display: grid;
  place-items: center;
  text-align: center;
  border-radius: 50%;
  border: 1px solid rgba(139, 211, 255, 0.3);
  background:
    radial-gradient(circle, rgba(139, 211, 255, 0.18), transparent 62%),
    rgba(7, 13, 23, 0.72);
  box-shadow: inset 0 0 0 18px rgba(139, 211, 255, 0.04), 0 20px 50px -32px var(--accent-glow);
}
.signal-ring b {
  display: block;
  color: var(--accent);
  font-family: var(--display);
  font-size: 46px;
  line-height: 1;
}
.signal-ring span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.signal-stack {
  position: absolute;
  right: 26px;
  bottom: 26px;
  display: grid;
  gap: 10px;
}
.signal-stack span {
  min-width: 150px;
  padding: 13px 16px;
  border: 1px solid var(--stroke);
  border-radius: 12px;
  color: var(--soft);
  background: rgba(255, 255, 255, 0.055);
  box-shadow: 0 18px 36px -30px #000;
}
.feedback-workspace { padding-top: 0; }
.feedback-layout {
  display: grid;
  grid-template-columns: minmax(320px, 420px) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}
.feedback-form,
.feedback-board,
.auth-card {
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  background: var(--glass);
  backdrop-filter: blur(16px) saturate(130%);
  box-shadow: 0 30px 70px -46px rgba(0, 0, 0, 0.9);
}
.feedback-form {
  position: sticky;
  top: 96px;
  padding: 28px;
}
.feedback-form h2,
.feedback-board h2 {
  margin: 18px 0 22px;
  font-size: clamp(26px, 3vw, 36px);
}
.field {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}
.field span {
  color: var(--soft);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}
.field input,
.field select,
.field textarea,
.board-head select {
  width: 100%;
  border: 1px solid var(--stroke);
  border-radius: 12px;
  color: var(--text);
  background: rgba(6, 12, 20, 0.78);
  padding: 13px 14px;
  font: inherit;
}
.field textarea {
  min-height: 148px;
  resize: vertical;
}
.field input::placeholder,
.field textarea::placeholder { color: rgba(130, 144, 163, 0.78); }
.field small {
  color: var(--muted);
  font-size: 12px;
}
.upload-field input {
  padding: 11px;
  color: var(--soft);
}
.upload-field input::file-selector-button {
  margin-right: 10px;
  border: 0;
  border-radius: 8px;
  color: #06202e;
  background: linear-gradient(120deg, var(--accent), var(--accent-teal));
  padding: 8px 10px;
  font: inherit;
  font-weight: 700;
}
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.feedback-preview {
  display: grid;
  gap: 10px;
  margin: 14px 0 18px;
}
.feedback-preview img {
  width: 100%;
  max-height: 220px;
  object-fit: cover;
  border: 1px solid var(--stroke);
  border-radius: 14px;
}
.mini-action {
  justify-self: start;
  border: 1px solid var(--stroke);
  border-radius: 10px;
  color: var(--soft);
  background: var(--glass-soft);
  padding: 8px 11px;
  cursor: pointer;
}
.form-status {
  min-height: 22px;
  margin: 4px 0 14px;
  color: var(--muted);
  font-size: 13px;
}
.form-status.is-error { color: #ffb2b2; }
.form-status.is-ok { color: var(--accent-teal); }
.feedback-board {
  min-height: 640px;
  padding: 28px;
}
.board-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: start;
  margin-bottom: 20px;
}
.board-head select {
  max-width: 180px;
  margin-top: 8px;
}
.feedback-list {
  display: grid;
  gap: 14px;
}
.feedback-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--stroke);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
}
.promote-btn {
  display: grid;
  place-items: center;
  align-content: center;
  min-width: 66px;
  height: 72px;
  border: 1px solid rgba(139, 211, 255, 0.25);
  border-radius: 14px;
  color: var(--accent);
  background: rgba(139, 211, 255, 0.07);
  cursor: pointer;
}
.promote-btn b {
  display: block;
  color: var(--text);
  font-family: var(--display);
  font-size: 22px;
}
.promote-btn span {
  color: var(--muted);
  font-size: 10px;
  line-height: 1;
}
.promote-btn[disabled] {
  cursor: default;
  opacity: 0.7;
}
.feedback-item h3 {
  margin-bottom: 6px;
  font-size: 19px;
}
.feedback-item p {
  color: var(--soft);
  font-size: 14px;
}
.feedback-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 10px;
}
.feedback-meta span {
  color: var(--muted);
  border: 1px solid var(--stroke);
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 11px;
}
.feedback-shot {
  margin-top: 13px;
  width: min(340px, 100%);
  max-height: 220px;
  object-fit: cover;
  border: 1px solid var(--stroke);
  border-radius: 14px;
}
.feedback-empty {
  padding: 32px;
  border: 1px dashed var(--stroke-strong);
  border-radius: 18px;
  color: var(--muted);
  text-align: center;
}
.auth-ideas { padding-top: 0; }
.auth-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.auth-card {
  min-height: 220px;
  padding: 28px;
}
.auth-card strong {
  display: block;
  margin-bottom: 12px;
  color: var(--text);
  font-family: var(--display);
  font-size: 20px;
}
.auth-card p {
  color: var(--soft);
  font-size: 14.5px;
}

/* ---------- Privacy policy ---------- */
.policy-page {
  min-height: 100vh;
  background:
    radial-gradient(820px 560px at 78% -4%, rgba(139, 211, 255, 0.14), transparent 62%),
    radial-gradient(760px 520px at 10% 4%, rgba(95, 224, 200, 0.10), transparent 58%),
    var(--bg-0);
}
.policy-hero {
  padding: 136px 0 clamp(46px, 7vw, 82px);
}
.policy-hero h1 {
  max-width: 860px;
  margin: 20px 0 20px;
  font-size: clamp(42px, 7vw, 76px);
}
.policy-hero .lede {
  max-width: 720px;
  color: var(--soft);
  font-size: clamp(16px, 2vw, 21px);
}
.policy-updated {
  margin-top: 24px;
  color: var(--muted);
  font: 12px "Cascadia Code", ui-monospace, monospace;
  letter-spacing: 0.04em;
}
.policy-section { padding-top: 0; }
.policy-layout {
  display: grid;
  grid-template-columns: minmax(250px, 340px) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.policy-summary,
.policy-document {
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  background: var(--glass);
  backdrop-filter: blur(16px) saturate(130%);
  box-shadow: 0 30px 70px -46px rgba(0, 0, 0, 0.9);
}
.policy-summary {
  position: sticky;
  top: 96px;
  padding: 28px;
}
.policy-summary strong {
  display: block;
  margin-bottom: 12px;
  color: var(--text);
  font-family: var(--display);
  font-size: 22px;
}
.policy-summary p {
  margin-bottom: 22px;
  color: var(--soft);
  font-size: 14.5px;
}
.policy-document {
  padding: clamp(28px, 5vw, 54px);
}
.policy-document h2 {
  margin: 34px 0 12px;
  font-size: clamp(23px, 3vw, 34px);
}
.policy-document h2:first-child { margin-top: 0; }
.policy-document p,
.policy-document li {
  color: var(--soft);
  font-size: 15.5px;
}
.policy-document p + p { margin-top: 12px; }
.policy-document ul {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
  padding-left: 21px;
}
.policy-document a {
  color: var(--accent);
  font-weight: 700;
}

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; }
.faq-item { border: 1px solid var(--stroke); border-radius: 16px; background: var(--glass-soft); margin-bottom: 12px; overflow: hidden; transition: border-color 0.3s; }
.faq-item:hover { border-color: var(--stroke-strong); }
.faq-q { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; cursor: pointer; font-weight: 600; font-size: 16.5px; user-select: none; }
.faq-q { width: 100%; border: 0; background: transparent; color: var(--text); text-align: left; }
.faq-q .pm { width: 22px; height: 22px; flex-shrink: 0; transition: transform 0.35s var(--ease); color: var(--accent); }
.faq-item.open .pm { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.faq-a p { padding: 0 22px 22px; color: var(--soft); font-size: 14.5px; }

/* ---------- Final CTA ---------- */
.final-cta {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--stroke-strong);
  padding: clamp(40px, 7vw, 80px) 30px;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(80% 130% at 50% 0%, rgba(139, 211, 255, 0.16), transparent 60%),
    linear-gradient(160deg, rgba(16, 21, 34, 0.9), rgba(7, 17, 28, 0.95));
}
.final-cta h2 { font-size: clamp(30px, 5vw, 54px); margin-bottom: 18px; }
.final-cta p { color: var(--soft); max-width: 560px; margin: 0 auto 32px; font-size: 17px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--stroke); padding: 50px 0 40px; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: center; }
.footer .brand small { color: var(--muted); }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { color: var(--muted); font-size: 14px; transition: color 0.2s; }
.footer-links a:hover { color: var(--accent); }
.footer-legal { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--stroke); color: var(--muted); font-size: 12.5px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ---------- Scroll reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: 0.08s; }
[data-reveal][data-delay="2"] { transition-delay: 0.16s; }
[data-reveal][data-delay="3"] { transition-delay: 0.24s; }
[data-reveal][data-delay="4"] { transition-delay: 0.32s; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero { min-height: auto; padding-bottom: 90px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-inner { max-width: 720px; }
  .hero-product { width: min(720px, 100%); margin-inline: auto; }
  .feedback-hero-grid,
  .feedback-layout,
  .policy-layout,
  .auth-grid { grid-template-columns: 1fr; }
  .feedback-form { position: relative; top: auto; }
  .policy-summary { position: relative; top: auto; }
  .transform-grid { grid-template-columns: 1fr; }
  .transform-arrow { transform: rotate(90deg); justify-self: center; }
  .col-6, .col-4, .col-8 { grid-column: span 12; }
  .single-monitor-card { grid-template-columns: 1fr; }
  .single-monitor-visual { min-height: 230px; }
  .fit-grid { grid-template-columns: 1fr; }
  .fit-card { min-height: 0; }
  .showcase-grid { grid-template-columns: 1fr; gap: 34px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .pricing-tiers { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .tier.popular, .tier.popular:hover { transform: none; order: -1; }
  .pricing-foot { flex-direction: column; text-align: center; }
  .footer-tag { text-align: left; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 12px;
    border-radius: 16px;
    border: 1px solid var(--stroke);
    background: rgba(9, 13, 20, 0.96);
    backdrop-filter: blur(18px);
  }
  .nav-links.open a { padding: 13px 16px; }
  .nav-toggle {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid var(--stroke);
    background: var(--glass-soft);
    cursor: pointer;
  }
  .nav-toggle svg { width: 22px; height: 22px; color: var(--text); }
  .nav-cta .btn:not(.nav-toggle) { display: none; }
}
@media (max-width: 560px) {
  .container { width: min(346px, calc(100% - 44px)); margin-left: 22px; margin-right: auto; }
  .stats { grid-template-columns: 1fr 1fr; }
  .nav .container { width: min(346px, calc(100% - 24px)); margin-left: 22px; margin-right: auto; justify-content: flex-start; gap: 8px; }
  .nav .brand { min-width: 0; padding: 8px 12px 8px 9px; gap: 8px; }
  .brand img { width: 28px; height: 28px; }
  .brand span { white-space: nowrap; }
  .hero h1 { font-size: 38px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .card { padding: 24px; }
  .single-monitor-card { min-height: 0; gap: 22px; }
  .single-monitor-visual { min-height: 190px; }
  .monitor-frame { border-radius: 14px; }
  .monitor-space { padding: 10px; gap: 6px; border-radius: 10px; }
  .monitor-space strong { font-size: 12px; }
  .monitor-space i { height: 6px; }
  .space-switcher { max-width: calc(100% - 18px); overflow: hidden; }
  .space-switcher span { font-size: 9px; padding: 5px 7px; }
  .nav-buy { display: none; }
  .nav-feedback { display: none; }
  .nav .brand small { display: none; }
  .hero-product { margin-top: 10px; }
  .product-titlebar small { display: none; }
  .product-status { align-items: flex-start; flex-direction: column; padding-block: 11px; }
  .product-canvas { aspect-ratio: 4 / 3; }
  .state-card { min-height: 0; }
  .value-strip .container { grid-template-columns: 1fr; gap: 16px; }
  .price-path { grid-template-columns: 1fr 1fr; }
  .price-path span:nth-child(3) { border-left: 0; border-top: 1px solid var(--stroke); }
  .price-path span:nth-child(4) { border-top: 1px solid var(--stroke); }
  .feedback-hero { padding-top: 112px; }
  .feedback-signal-panel { min-height: 250px; }
  .signal-ring { width: 138px; height: 138px; left: 22px; top: 24px; }
  .signal-ring b { font-size: 38px; }
  .signal-stack { right: 18px; bottom: 18px; }
  .signal-stack span { min-width: 124px; padding: 11px 13px; }
  .feedback-form, .feedback-board, .auth-card { padding: 22px; }
  .policy-summary, .policy-document { padding: 22px; }
  .board-head { display: grid; }
  .board-head select { max-width: none; }
  .feedback-item { grid-template-columns: 1fr; }
  .promote-btn { width: 100%; height: 54px; grid-auto-flow: column; justify-content: center; gap: 8px; }
}

@media (max-width: 699px) {
  #scene-canvas { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto; }
}
