/* Downstage marketing site — palette and type mirror the app
   (tailwind.config.js): Jost, dark navy stack, #e94560 accent. */

:root {
  --bg-primary: #0f0f1a;
  --bg-secondary: #1a1a2e;
  --bg-tertiary: #16213e;
  --bg-panel: #1e1e36;
  --bg-hover: #2a2a4a;
  --text-primary: #e0e0e0;
  --text-secondary: #a0a0b8;
  --text-muted: #6a6a80;
  --accent: #e94560;
  --accent-hover: #ff6b81;
  --success: #00c853;
  --info: #448aff;
  --live: #ff0000;
  --border: #2a2a4a;
  --border-light: #3a3a5a;
  --radius: 12px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Jost', system-ui, -apple-system, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }

/* ---------- nav ---------- */
nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(15, 15, 26, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.wordmark {
  font-weight: 600; font-size: 18px; letter-spacing: 0.22em;
  color: var(--text-primary); text-transform: uppercase;
}
.wordmark .tick { color: var(--accent); }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { color: var(--text-secondary); font-size: 15px; }
.nav-links a:hover { color: var(--text-primary); }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; padding: 12px 26px; border-radius: 8px;
  font-family: inherit; font-size: 16px; font-weight: 600;
  cursor: pointer; border: 1px solid transparent; transition: all .15s ease;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); color: #fff; }
.btn-ghost {
  background: transparent; color: var(--text-primary);
  border-color: var(--border-light);
}
.btn-ghost:hover { border-color: var(--text-muted); color: var(--text-primary); }
.btn-sm { padding: 8px 18px; font-size: 14px; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 96px 0 72px;
  background:
    radial-gradient(ellipse 900px 480px at 70% -10%, rgba(233, 69, 96, 0.14), transparent),
    radial-gradient(ellipse 700px 400px at 15% 110%, rgba(68, 138, 255, 0.08), transparent);
}
.hero-grid {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center;
}
.eyebrow {
  color: var(--accent); font-size: 13px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 16px;
}
h1 {
  font-size: 52px; font-weight: 700; line-height: 1.1;
  letter-spacing: -0.01em; margin-bottom: 20px;
}
.hero p.lede {
  font-size: 19px; color: var(--text-secondary); margin-bottom: 32px; max-width: 480px;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.hero-fineprint { font-size: 13px; color: var(--text-muted); }

/* ---------- show-queue mock ---------- */
.queue-mock {
  background: var(--bg-panel); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 18px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}
.queue-mock .mock-title {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 12px;
}
.mock-clock { font-variant-numeric: tabular-nums; color: var(--text-secondary); }
.cue {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 12px; border-radius: 8px; margin-bottom: 6px;
  background: var(--bg-secondary); border: 1px solid transparent;
  font-size: 14px;
}
.cue .num { color: var(--text-muted); font-variant-numeric: tabular-nums; width: 26px; }
.cue .name { flex: 1; }
.cue .chip {
  font-size: 10px; font-weight: 600; letter-spacing: 0.1em;
  padding: 3px 8px; border-radius: 4px; text-transform: uppercase;
}
.cue.complete { opacity: 0.55; }
.cue.complete .chip { background: rgba(106, 106, 128, 0.2); color: var(--text-muted); }
.cue.live { border-color: rgba(255, 0, 0, 0.5); background: var(--bg-tertiary); }
.cue.live .chip { background: rgba(255, 0, 0, 0.16); color: #ff5252; }
.cue.live .chip::before {
  content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: var(--live); margin-right: 5px; vertical-align: 1px;
  animation: blink 1.4s infinite;
}
@keyframes blink { 50% { opacity: 0.25; } }
.cue.standby .chip { background: rgba(68, 138, 255, 0.14); color: var(--info); }
.cue.next .chip { background: rgba(0, 200, 83, 0.14); color: var(--success); }

/* ---------- sections ---------- */
section { padding: 88px 0; }
section.alt { background: var(--bg-secondary); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
h2 { font-size: 36px; font-weight: 700; margin-bottom: 14px; letter-spacing: -0.01em; }
.section-head p { color: var(--text-secondary); font-size: 17px; }

/* features */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature {
  background: var(--bg-panel); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px;
}
.feature .icon {
  width: 40px; height: 40px; border-radius: 9px; margin-bottom: 16px;
  background: rgba(233, 69, 96, 0.12); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
}
.feature h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.feature p { font-size: 15px; color: var(--text-secondary); }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { text-align: center; padding: 12px 20px; }
.step .n {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--bg-panel); border: 1px solid var(--border-light);
  color: var(--accent); font-weight: 700; font-size: 18px; margin-bottom: 14px;
}
.step h3 { font-size: 18px; margin-bottom: 6px; }
.step p { font-size: 15px; color: var(--text-secondary); }

/* pricing */
.price-card {
  max-width: 460px; margin: 0 auto; text-align: center;
  background: var(--bg-panel); border: 1px solid var(--border-light);
  border-radius: 16px; padding: 40px 36px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}
.price-card .plan {
  font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent); font-weight: 600; margin-bottom: 10px;
}
.price { font-size: 56px; font-weight: 700; line-height: 1; margin-bottom: 4px; }
.price-sub { color: var(--text-muted); font-size: 14px; margin-bottom: 26px; }
.price-card ul { list-style: none; text-align: left; margin-bottom: 30px; }
.price-card li {
  padding: 9px 0; border-bottom: 1px solid var(--border);
  color: var(--text-secondary); font-size: 15px;
}
.price-card li:last-child { border-bottom: none; }
.price-card li::before { content: '✓  '; color: var(--success); font-weight: 700; }
.price-note { margin-top: 22px; font-size: 14px; color: var(--text-muted); }

/* faq */
.faq { max-width: 720px; margin: 0 auto; }
.faq details {
  border-bottom: 1px solid var(--border); padding: 4px 0;
}
.faq summary {
  cursor: pointer; padding: 16px 0; font-size: 17px; font-weight: 600;
  list-style: none; display: flex; justify-content: space-between; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--text-muted); font-size: 22px; font-weight: 400; }
.faq details[open] summary::after { content: '–'; }
.faq details p { padding: 0 0 18px; color: var(--text-secondary); font-size: 15.5px; max-width: 640px; }

/* download strip */
.download-strip { text-align: center; }
.download-strip .btn { margin-top: 8px; }
.dl-meta { margin-top: 14px; font-size: 13px; color: var(--text-muted); }

/* footer */
footer {
  border-top: 1px solid var(--border); padding: 36px 0; font-size: 14px;
  color: var(--text-muted);
}
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-inner a { color: var(--text-secondary); margin-left: 20px; }

/* thanks page */
.thanks-wrap { max-width: 560px; margin: 0 auto; padding: 110px 24px; text-align: center; }
.thanks-wrap .big-check {
  width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 24px;
  background: rgba(0, 200, 83, 0.14); color: var(--success);
  display: flex; align-items: center; justify-content: center; font-size: 30px;
}
.thanks-wrap ol {
  text-align: left; margin: 28px auto; max-width: 420px; color: var(--text-secondary);
  padding-left: 22px;
}
.thanks-wrap ol li { margin-bottom: 10px; }
.resend { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--border); }
.resend input {
  font-family: inherit; font-size: 15px; padding: 11px 14px; border-radius: 8px;
  border: 1px solid var(--border-light); background: var(--bg-secondary);
  color: var(--text-primary); width: 260px; margin-right: 8px;
}
.resend input:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.resend-msg { margin-top: 12px; font-size: 14px; color: var(--text-muted); }

@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  h1 { font-size: 38px; }
  .feature-grid, .steps { grid-template-columns: 1fr; }
  .nav-links a:not(.btn) { display: none; }
}
