/* ============================================================
   Voice Planner — Main Stylesheet
   Theme: Dark industrial · Amber accent · Syne + DM Sans
   Mobile-first. Desktop breakpoint: 768px.
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --bg:        #0e0e0e;
  --bg-surface:#161616;
  --bg-raised: #1e1e1e;
  --border:    rgba(255,255,255,0.08);
  --border-mid:rgba(255,255,255,0.14);
  --text:      #f0ede8;
  --text-muted:#8a8580;
  --text-dim:  #555050;
  --accent:    #f5a623;
  --accent-dk: #c47e0a;
  --accent-glow: rgba(245,166,35,0.18);
  --green:     #4ade80;
  --font-display: 'Syne', sans-serif;
  --font-body:    'DM Sans', sans-serif;
  --r:  6px;
  --r-lg: 12px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img, audio { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
strong { font-weight: 700; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
.br-desktop { display: none; }
@media (min-width: 768px) { .br-desktop { display: block; } }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(14,14,14,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
}
.logo-icon { color: var(--accent); font-size: 1.2rem; line-height: 1; }
.logo-text strong { color: var(--accent); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--r);
  padding: 12px 24px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  border: none;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: #0e0e0e;
}
.btn-primary:hover {
  background: #f8b84a;
  transform: translateY(-1px);
  box-shadow: 0 6px 24px var(--accent-glow);
  text-decoration: none;
}
.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
}
.btn-outline:hover {
  background: var(--accent-glow);
  text-decoration: none;
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border-mid);
}
.btn-ghost:hover {
  background: var(--bg-raised);
  border-color: var(--border-mid);
  text-decoration: none;
}
.btn-sm { padding: 8px 16px; font-size: 0.85rem; }
.btn-full { width: 100%; justify-content: center; }
.play-icon { font-size: 0.8em; }

/* ---------- Section helpers ---------- */
section { padding: 72px 0; }
.section-label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 580px;
  margin-bottom: 40px;
}
.accent { color: var(--accent); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 80px 0 64px;
  overflow: hidden;
}
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 48px 48px;
  background-position: center;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, black 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, black 40%, transparent 100%);
  opacity: 0.4;
}
.hero .container { position: relative; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-raised);
  border: 1px solid var(--border-mid);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 0.8rem;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  margin-bottom: 28px;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 8vw, 5.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 600px;
  margin-bottom: 36px;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}
.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-dim);
}
.hero-proof span:nth-child(2n) { color: var(--text-dim); opacity: 0.4; }

/* ---------- How it works ---------- */
.how { background: var(--bg-surface); }
.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 40px;
}
.step {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  flex: 1;
}
.step-arrow {
  text-align: center;
  font-size: 1.5rem;
  color: var(--text-dim);
  padding: 8px 0;
  display: none; /* hidden on mobile — flow is vertical */
}
.step-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.7;
  line-height: 1;
  margin-bottom: 12px;
}
.step-content h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.step-content p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
}
@media (min-width: 768px) {
  .steps {
    flex-direction: row;
    align-items: stretch;
    gap: 0;
  }
  .step-arrow {
    display: flex;
    align-items: center;
    padding: 0 4px;
    font-size: 1.8rem;
    color: var(--accent);
    opacity: 0.4;
    flex-shrink: 0;
  }
}

/* ---------- Demo audio ---------- */
.demo { border-top: 1px solid var(--border); }
.audio-player {
  max-width: 560px;
  margin-top: 32px;
}
.audio-inner {
  background: var(--bg-surface);
  border: 1px solid var(--border-mid);
  border-radius: var(--r-lg);
  padding: 24px;
}
.audio-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.audio-badge {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--bg-raised);
  border: 1px solid var(--border-mid);
  border-radius: 4px;
  padding: 3px 10px;
  color: var(--text-muted);
}
.audio-title {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}
.audio-element {
  width: 100%;
  height: 40px;
  border-radius: var(--r);
  accent-color: var(--accent);
  background: var(--bg-raised);
  margin-bottom: 12px;
}
.audio-caption {
  font-size: 0.8rem;
  color: var(--text-dim);
  font-style: italic;
}
.transcript {
  margin-top: 16px;
  border-top: 1px solid var(--border);
  padding-top: 12px;
}
.transcript summary {
  font-size: 0.8rem;
  color: var(--text-dim);
  cursor: pointer;
  user-select: none;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.15s;
}
.transcript summary::-webkit-details-marker { display: none; }
.transcript summary::before {
  content: '▸';
  font-size: 0.7rem;
  transition: transform 0.15s;
}
.transcript[open] summary::before { transform: rotate(90deg); }
.transcript summary:hover { color: var(--accent); }
.transcript-body {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.transcript-body p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.transcript-body strong { color: var(--accent); font-weight: 600; }

/* ---------- For who ---------- */
.for-who { background: var(--bg-surface); border-top: 1px solid var(--border); }
.trades {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.trade {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 16px 24px;
  transition: border-color 0.2s, transform 0.2s;
  cursor: default;
  flex: 1 1 calc(50% - 6px);
  min-width: 140px;
}
.trade:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.trade-icon { font-size: 1.5rem; line-height: 1; }
.trade-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
}
@media (min-width: 480px) {
  .trade { flex: 1 1 auto; }
}

/* ---------- Pricing ---------- */
.pricing { border-top: 1px solid var(--border); }
.pricing .container { display: flex; justify-content: center; }
.pricing-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-mid);
  border-radius: 16px;
  padding: 40px 32px;
  max-width: 420px;
  width: 100%;
  position: relative;
  overflow: hidden;
}
.pricing-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), #ffd077);
}
.pricing-label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 16px;
}
.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 8px;
}
.price-amount {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
}
.price-period {
  font-size: 1.1rem;
  color: var(--text-muted);
  font-weight: 400;
}
.pricing-tagline {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  font-style: italic;
}
.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}
.pricing-features li {
  font-size: 0.95rem;
  color: var(--text-muted);
  padding-left: 4px;
}
.pricing-features li::first-letter { color: var(--green); font-weight: 700; }
.pricing-trial {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-bottom: 20px;
  text-align: center;
}
.trial-badge {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-glow);
  border-radius: 100px;
  padding: 4px 14px;
}
.trial-note {
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* ---------- Waitlist ---------- */
.waitlist { background: var(--bg-surface); border-top: 1px solid var(--border); }
.waitlist-form {
  max-width: 520px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 0;
}
.form-row {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
@media (min-width: 480px) {
  .form-row { flex-direction: row; }
  .form-row .form-group { flex: 1; }
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group label {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}
.form-group input,
.form-group select {
  background: var(--bg-raised);
  border: 1.5px solid var(--border-mid);
  border-radius: var(--r);
  padding: 13px 16px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s;
  appearance: none;
  -webkit-appearance: none;
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238a8580' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}
.form-group input:focus,
.form-group select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.form-group input::placeholder { color: var(--text-dim); }
.form-note {
  font-size: 0.8rem;
  color: var(--text-dim);
  text-align: center;
}
.waitlist-success {
  text-align: center;
  padding: 48px 24px;
  max-width: 400px;
}
.success-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--accent);
  color: #0e0e0e;
  font-size: 1.5rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.waitlist-success h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 10px;
}
.waitlist-success p {
  color: var(--text-muted);
  line-height: 1.65;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 40px 0;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-muted);
}
.footer-brand .logo-icon { color: var(--accent); }
.footer-brand strong { color: var(--accent); }
.footer-domain-note {
  font-size: 0.78rem;
  color: var(--text-dim);
  font-family: monospace;
}
.footer-legal p {
  font-size: 0.82rem;
  color: var(--text-dim);
  line-height: 1.6;
}
.footer-legal a { color: var(--text-dim); }
.footer-legal a:hover { color: var(--accent); }
.mentions { margin-top: 8px; max-width: 600px; }
.footer-legal-links { margin-top: 10px; opacity: 0.75; }
