/* ============================================
   BOUX — Landing Page Styles
   Design System: matches iOS app dark theme
   ============================================ */

/* --- GRAVITA GEO FONT --- */
@font-face {
  font-family: 'Gravita GEO';
  src: url('fonts/GravitaGEO-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Gravita GEO';
  src: url('fonts/GravitaGEO-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Gravita GEO';
  src: url('fonts/GravitaGEO-Bold.otf') format('opentype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Gravita GEO';
  src: url('fonts/GravitaGEO-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Gravita GEO';
  src: url('fonts/GravitaGEO-ExtraBold.otf') format('opentype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Gravita GEO';
  src: url('fonts/GravitaGEO-Black.otf') format('opentype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* --- WAITLIST MODAL --- */
.wl-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.wl-modal.is-open {
  pointer-events: all;
  opacity: 1;
}
.wl-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.wl-card {
  position: relative;
  z-index: 1;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-xl);
  padding: 40px 36px;
  width: 100%;
  max-width: 440px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.4), 0 0 0 1px rgba(186,101,160,0.1);
  transform: translateY(24px) scale(0.97);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.wl-modal.is-open .wl-card {
  transform: translateY(0) scale(1);
}
.wl-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--surface-elevated);
  border: 1px solid var(--surface-border);
  color: var(--secondary);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s, border-color 0.2s;
}
.wl-close:hover { color: var(--primary); border-color: var(--accent); }
.wl-logo {
  margin-bottom: 20px;
}
.wl-card h2 {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.4px;
  margin-bottom: 8px;
}
.wl-sub {
  font-size: 14px;
  color: var(--secondary);
  margin-bottom: 28px;
  line-height: 1.6;
}
.wl-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.wl-field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--secondary);
}
.wl-required { color: var(--accent); }
.wl-field input {
  background: var(--surface-elevated);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-sm);
  color: var(--primary);
  font-family: inherit;
  font-size: 15px;
  padding: 12px 14px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}
.wl-field input::placeholder { color: var(--tertiary); }
.wl-field input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(186, 101, 160, 0.12);
}
.wl-field input.is-invalid { border-color: var(--destructive); }
.wl-error {
  font-size: 12px;
  color: var(--destructive);
  display: none;
}
.wl-field.has-error .wl-error { display: block; }
.wl-field.has-error input { border-color: var(--destructive); }
.wl-submit {
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
}
.wl-submit-spinner {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  animation: dSpin 0.7s linear infinite;
}
.wl-privacy {
  font-size: 11px;
  color: var(--tertiary);
  text-align: center;
  margin-top: 16px;
  line-height: 1.6;
}

/* Success state */
#wl-success {
  text-align: center;
  padding: 12px 0;
}
.wl-success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(52, 199, 89, 0.12);
  border: 1px solid rgba(52, 199, 89, 0.25);
  color: #34C759;
  font-size: 28px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
#wl-success h2 { margin-bottom: 8px; }
.wl-done { margin-top: 28px; }

/* Light mode adjustments */
@media (prefers-color-scheme: light) {
  .wl-card { box-shadow: 0 16px 48px rgba(0,0,0,0.12), 0 0 0 1px rgba(186,101,160,0.08); }
  .wl-field input { background: var(--bg); }
}

/* --- FEATURE CARD DEMOS --- */
.feature-card {
  cursor: pointer;
  position: relative;
}
.features-demo-cta {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}
.features-demo-hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: transparent;
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  color: var(--secondary);
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}
.features-demo-hint:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.features-demo-hint svg { flex-shrink: 0; }

/* --- DEMO MODAL --- */
.demo-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.demo-modal.is-open {
  pointer-events: all;
  opacity: 1;
}
.demo-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.demo-wrapper {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}
.demo-modal.is-open .demo-wrapper { transform: translateY(0); }
.demo-close {
  background: var(--surface-elevated);
  border: 1px solid var(--surface-border);
  color: var(--secondary);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: flex-end;
  transition: color 0.2s, border-color 0.2s;
}
.demo-close:hover { color: var(--primary); border-color: var(--accent); }

/* --- PHONE MOCKUP --- */
.phone-mockup { perspective: 1000px; }
.phone-shell {
  width: 320px;
  height: 640px;
  background: var(--phone-shell-bg);
  border-radius: 44px;
  border: 2px solid var(--phone-shell-border);
  box-shadow: 0 0 0 6px var(--surface), 0 40px 80px rgba(0,0,0,0.5), 0 0 60px rgba(186,101,160,0.08);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.phone-notch {
  width: 100px;
  height: 28px;
  background: var(--phone-notch-bg);
  border-radius: 0 0 18px 18px;
  margin: 0 auto;
  z-index: 10;
  flex-shrink: 0;
  border-bottom: 1.5px solid var(--phone-notch-border);
}
.phone-screen {
  flex: 1;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* --- SHARED DEMO ELEMENTS --- */
.d-statusbar {
  display: flex;
  justify-content: space-between;
  padding: 4px 20px 0;
  font-size: 11px;
  font-weight: 600;
  color: var(--secondary);
  flex-shrink: 0;
}
.d-screen {
  flex: 1;
  padding: 12px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
}
.d-divider {
  height: 1px;
  background: var(--surface-border);
  flex-shrink: 0;
}
.d-confirmed {
  background: rgba(52,199,89,0.12);
  border: 1px solid rgba(52,199,89,0.25);
  color: #34C759;
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
}

/* --- ANIMATION BASE --- */
@keyframes dFadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes dTyping {
  from { width: 0; }
  to   { width: 100%; }
}
@keyframes dPulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}
@keyframes dSpin {
  to { transform: rotate(360deg); }
}

.d-a1 { opacity:0; animation: dFadeUp 0.4s ease forwards; animation-delay: 0.2s; }
.d-a2 { opacity:0; animation: dFadeUp 0.4s ease forwards; animation-delay: 0.6s; }
.d-a3 { opacity:0; animation: dFadeUp 0.4s ease forwards; animation-delay: 1.1s; }
.d-a4 { opacity:0; animation: dFadeUp 0.4s ease forwards; animation-delay: 1.7s; }
.d-a5 { opacity:0; animation: dFadeUp 0.4s ease forwards; animation-delay: 2.3s; }
.d-a6 { opacity:0; animation: dFadeUp 0.4s ease forwards; animation-delay: 2.9s; }

/* --- CALLS DEMO --- */
.d-calls { align-items: center; text-align: center; }
.d-call-avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(10,132,255,0.15);
  color: #0A84FF;
  font-size: 22px;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 4px auto 6px;
}
.d-call-name { font-size: 18px; font-weight: 700; }
.d-call-status {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  font-size: 12px; color: var(--secondary);
}
.d-pulse-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #34C759;
  animation: dPulse 1.2s ease-in-out infinite;
}
.d-transcript {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: 14px;
  padding: 12px;
  text-align: left;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.d-t-label { font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--tertiary); margin-bottom: 4px; }
.d-t-line { font-size: 11px; color: var(--secondary); line-height: 1.5; }
.d-t-speaker { font-weight: 700; color: var(--primary); margin-right: 4px; }

/* --- EMAIL DEMO --- */
.d-email-header { display: flex; flex-direction: column; gap: 3px; }
.d-email-label { font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--tertiary); }
.d-email-from { font-size: 11px; color: var(--secondary); }
.d-email-subject { font-size: 13px; font-weight: 700; margin-top: 2px; }
.d-ai-block, .d-draft-block {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: 12px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.d-ai-label, .d-draft-label {
  font-size: 10px; font-weight: 700; letter-spacing: 0.5px;
  text-transform: uppercase; color: var(--accent);
}
.d-ai-text, .d-draft-text { font-size: 12px; color: var(--secondary); line-height: 1.6; }
.d-draft-block { border-color: rgba(186,101,160,0.3); }
.d-action-row { display: flex; gap: 8px; }
.d-action-btn {
  flex: 1; text-align: center; padding: 8px;
  border-radius: 10px; font-size: 12px; font-weight: 600; cursor: pointer;
}
.d-action-send { background: var(--accent); color: #fff; }
.d-action-edit { background: var(--surface); border: 1px solid var(--surface-border); color: var(--secondary); }

/* --- CALENDAR DEMO --- */
.d-cal-header { margin-bottom: 2px; }
.d-cal-title { font-size: 15px; font-weight: 700; }
.d-cal-subtitle { font-size: 12px; color: var(--secondary); margin-top: 2px; }
.d-cal-timeline { display: flex; flex-direction: column; gap: 6px; }
.d-cal-event {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px; border-radius: 10px;
  background: var(--surface); border: 1px solid var(--surface-border);
}
.d-cal-past { opacity: 0.5; }
.d-cal-now { border-color: rgba(255,107,53,0.4); background: rgba(255,107,53,0.06); }
.d-cal-time { font-size: 11px; font-weight: 700; color: var(--secondary); min-width: 34px; }
.d-cal-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--surface-border); flex-shrink: 0;
}
.d-cal-dot-now { background: #FF6B35; animation: dPulse 1.4s ease-in-out infinite; }
.d-cal-name { font-size: 12px; font-weight: 600; }
.d-cal-detail { font-size: 11px; color: var(--secondary); }

/* --- BOOKINGS DEMO --- */
.d-bookings { gap: 8px; }
.d-chat-msg { display: flex; align-items: flex-end; gap: 8px; }
.d-chat-user { justify-content: flex-end; }
.d-chat-assistant { justify-content: flex-start; }
.d-chat-avatar {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--accent); color: #fff;
  font-size: 12px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.d-chat-bubble {
  max-width: 75%; padding: 8px 12px;
  border-radius: 16px; font-size: 12px; line-height: 1.5;
}
.d-bubble-user { background: var(--accent); color: #fff; border-bottom-right-radius: 4px; }
.d-bubble-assistant { background: var(--surface-elevated); color: var(--primary); border-bottom-left-radius: 4px; }
.d-activity-card {
  display: flex; align-items: center; gap: 10px;
  background: var(--surface); border: 1px solid var(--surface-border);
  border-radius: 12px; padding: 10px 12px;
}
.d-activity-icon {
  width: 34px; height: 34px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; flex-shrink: 0;
}
.d-activity-title { font-size: 12px; font-weight: 600; }
.d-activity-detail { font-size: 11px; color: var(--secondary); }
.d-activity-info { flex: 1; }
.d-badge {
  padding: 3px 8px; border-radius: 999px;
  font-size: 10px; font-weight: 700; flex-shrink: 0;
}
.d-badge-pending { background: rgba(255,159,10,0.15); color: #FF9F0A; }

/* --- BRIEFING DEMO --- */
.d-greeting { font-size: 17px; font-weight: 800; letter-spacing: -0.3px; line-height: 1.3; }
.d-greeting-sub { font-size: 14px; font-weight: 500; color: var(--secondary); }
.d-brief-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
}
.d-brief-card {
  background: var(--surface); border: 1px solid var(--surface-border);
  border-radius: 12px; padding: 10px 12px;
  display: flex; flex-direction: column; gap: 2px;
}
.d-brief-icon { font-size: 16px; margin-bottom: 2px; }
.d-brief-val { font-size: 22px; font-weight: 800; letter-spacing: -1px; }
.d-brief-label { font-size: 11px; font-weight: 600; }
.d-brief-sub { font-size: 10px; color: var(--secondary); }
.d-brief-note {
  background: rgba(186,101,160,0.1);
  border: 1px solid rgba(186,101,160,0.2);
  border-radius: 10px; padding: 10px 12px;
  font-size: 12px; color: var(--secondary); line-height: 1.5;
}

/* --- AUTOMATIONS DEMO --- */
.d-auto-header { font-size: 18px; font-weight: 800; flex-shrink: 0; }
.d-auto-filters { display: flex; gap: 6px; flex-shrink: 0; flex-wrap: wrap; }
.d-filter {
  padding: 4px 12px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--surface-border);
  font-size: 11px; font-weight: 600; color: var(--secondary);
}
.d-filter-active {
  background: var(--accent-soft);
  border-color: rgba(186,101,160,0.4);
  color: var(--accent-glow);
}
.d-auto-list { display: flex; flex-direction: column; gap: 8px; overflow: hidden; }
.d-auto-card {
  display: flex; align-items: center; gap: 10px;
  background: var(--surface); border: 1px solid var(--surface-border);
  border-radius: 12px; padding: 10px 12px;
}
.d-auto-icon {
  width: 34px; height: 34px; border-radius: 8px; font-size: 16px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.d-auto-title { font-size: 12px; font-weight: 600; }
.d-auto-detail { font-size: 11px; color: var(--secondary); }
.d-auto-info { flex: 1; }
.d-toggle {
  width: 36px; height: 20px; border-radius: 10px; flex-shrink: 0;
  position: relative;
}
.d-toggle::after {
  content: '';
  position: absolute;
  top: 2px; width: 16px; height: 16px;
  border-radius: 50%; background: #fff;
  transition: left 0.2s;
}
.d-toggle-on { background: var(--accent); }
.d-toggle-on::after { left: 18px; }
.d-toggle-off { background: var(--surface-border); }
.d-toggle-off::after { left: 2px; }
.d-spinner {
  width: 18px; height: 18px; border-radius: 50%; flex-shrink: 0;
  border: 2px solid rgba(255,107,53,0.2);
  border-top-color: #FF6B35;
  animation: dSpin 0.8s linear infinite;
}

/* --- RESET & BASE --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  color-scheme: light dark;
  --bg: #0A0A0F;
  --surface: #111118;
  --surface-elevated: #1C1C28;
  --surface-border: #2A2A3A;
  --accent: #BA65A0;
  --accent-soft: rgba(186, 101, 160, 0.15);
  --accent-glow: #D48ABF;
  --primary: #FFFFFF;
  --secondary: #8E8EA0;
  --tertiary: #5A5A6E;
  --success: #34C759;
  --warning: #FF9F0A;
  --destructive: #FF453A;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --radius-full: 999px;
  /* nav + phone shell (overridden in light mode) */
  --nav-bg: rgba(10, 10, 15, 0.85);
  --nav-border: rgba(42, 42, 58, 0.4);
  --phone-shell-bg: #0d0d14;
  --phone-shell-border: #2a2a3a;
  --phone-notch-bg: #0d0d14;
  --phone-notch-border: #1a1a28;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Gravita GEO', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

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

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  font-size: 15px;
  padding: 12px 28px;
  background: var(--accent);
  color: #fff;
}
.btn:hover { background: var(--accent-glow); transform: translateY(-1px); }
.btn-sm { padding: 8px 20px; font-size: 14px; }
.btn-lg { padding: 16px 36px; font-size: 16px; }
.btn-full { width: 100%; }
.btn-ghost {
  background: transparent;
  color: var(--secondary);
  border: 1px solid var(--surface-border);
}
.btn-ghost:hover { color: var(--primary); border-color: var(--tertiary); background: transparent; }
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--surface-border);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); background: transparent; }

/* --- NAV --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--nav-border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-icon {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
  color: #fff;
}
.logo-text {
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.3px;
}
.nav-links {
  display: flex;
  gap: 32px;
}
.nav-links a {
  color: var(--secondary);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--primary); }

/* --- HERO --- */
.hero {
  position: relative;
  padding: 160px 0 100px;
  text-align: center;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(186, 101, 160, 0.15) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; }
.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: var(--accent-soft);
  color: var(--accent-glow);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 28px;
  letter-spacing: 0.3px;
}
.hero h1 {
  font-size: clamp(38px, 6vw, 64px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
}
.gradient-text {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-glow) 50%, #E4B0D8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 18px;
  color: var(--secondary);
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 48px;
}
.hero-pills {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  row-gap: 10px;
  margin-top: 8px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--surface-border);
  font-size: 13px;
  font-weight: 500;
  color: var(--secondary);
  letter-spacing: 0.01em;
}
.pill-icon-wrap {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.pill-icon {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}
.pill-sep { display: none; }

/* --- SECTIONS SHARED --- */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.section-header h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.8px;
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 17px;
  color: var(--secondary);
  max-width: 520px;
  margin: 0 auto;
}

/* --- FEATURES --- */
.features {
  padding: 100px 0;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--surface-border);
  transition: border-color 0.3s, transform 0.2s;
}
.feature-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.2px;
}
.feature-card p {
  font-size: 14px;
  color: var(--secondary);
  line-height: 1.7;
}

/* --- HOW IT WORKS --- */
.how-it-works {
  padding: 100px 0;
  background: var(--surface);
  border-top: 1px solid var(--surface-border);
  border-bottom: 1px solid var(--surface-border);
}
.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
}
.step {
  flex: 1;
  max-width: 300px;
  text-align: center;
  padding: 0 24px;
}
.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.step h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}
.step p {
  font-size: 14px;
  color: var(--secondary);
  line-height: 1.7;
}
.step-connector {
  width: 60px;
  height: 2px;
  background: var(--surface-border);
  margin-top: 24px;
  flex-shrink: 0;
}

/* --- AUDIENCE --- */
.audience {
  padding: 100px 0;
}
.audience-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.audience-card {
  padding: 32px 24px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--surface-border);
  text-align: center;
  transition: border-color 0.3s;
}
.audience-card:hover { border-color: var(--accent); }
.audience-emoji {
  font-size: 36px;
  margin-bottom: 16px;
}
.audience-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}
.audience-card p {
  font-size: 14px;
  color: var(--secondary);
  line-height: 1.6;
}

/* --- PRICING --- */
.pricing {
  padding: 100px 0;
  background: var(--surface);
  border-top: 1px solid var(--surface-border);
  border-bottom: 1px solid var(--surface-border);
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 720px;
  margin: 0 auto;
}
.pricing-card {
  padding: 40px 32px;
  border-radius: var(--radius-lg);
  background: var(--bg);
  border: 1px solid var(--surface-border);
  position: relative;
  display: flex;
  flex-direction: column;
}
.pricing-card-pro {
  border-color: var(--accent);
  box-shadow: 0 0 40px rgba(186, 101, 160, 0.1);
}
.pricing-popular {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 16px;
  border-radius: var(--radius-full);
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.pricing-tier {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--secondary);
  margin-bottom: 8px;
}
.pricing-amount {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -2px;
  margin-bottom: 8px;
}
.currency { font-size: 28px; vertical-align: top; margin-right: 2px; }
.period { font-size: 16px; font-weight: 500; color: var(--secondary); letter-spacing: 0; }
.pricing-desc {
  font-size: 14px;
  color: var(--secondary);
  margin-bottom: 28px;
}
.pricing-features {
  margin-bottom: 32px;
  flex: 1;
}
.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 14px;
  color: var(--secondary);
  border-bottom: 1px solid rgba(42, 42, 58, 0.3);
}
.pricing-features li:last-child { border-bottom: none; }
.check { color: var(--success); font-weight: 700; font-size: 14px; }

/* --- CTA --- */
.cta {
  padding: 100px 0;
}
.cta-inner {
  text-align: center;
  position: relative;
  padding: 80px 40px;
  border-radius: var(--radius-xl);
  background: var(--surface);
  border: 1px solid var(--surface-border);
  overflow: hidden;
}
.cta-glow {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(186, 101, 160, 0.12) 0%, transparent 70%);
  pointer-events: none;
}
.cta-inner h2 {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}
.cta-inner p {
  color: var(--secondary);
  font-size: 17px;
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}
.cta-inner .btn { position: relative; z-index: 1; }

/* --- FAQ --- */
.faq {
  padding: 100px 0;
}
.faq-bubbles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 860px;
  margin: 0 auto;
}
.faq-bubble {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.faq-qa { padding: 4px 0 20px; }
.faq-qa:last-child { padding-bottom: 4px; }
.faq-divider {
  height: 1px;
  background: var(--surface-border);
  margin-bottom: 20px;
}
.faq-q {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 8px;
  line-height: 1.4;
}
.faq-a {
  font-size: 13px;
  color: var(--secondary);
  line-height: 1.7;
}
.faq-more {
  text-align: center;
  margin-top: 28px;
}
.faq-more-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
  transition: gap 0.2s;
}
.faq-more-link:hover { gap: 10px; }

/* --- FOOTER --- */
.footer {
  padding: 60px 0 32px;
  border-top: 1px solid var(--surface-border);
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-tagline {
  color: var(--tertiary);
  font-size: 14px;
}
.footer-social {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}
.social-link {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--surface-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  transition: color 0.2s, border-color 0.2s;
}
.social-link:hover { color: var(--primary); border-color: var(--accent); }
.footer-nav {
  display: flex;
  gap: 64px;
}
.footer-nav-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-nav-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--tertiary);
  margin-bottom: 4px;
}
.footer-nav-col a {
  color: var(--secondary);
  font-size: 14px;
  transition: color 0.2s;
}
.footer-nav-col a:hover { color: var(--primary); }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--surface-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-bottom p {
  color: var(--tertiary);
  font-size: 13px;
}
.footer-legal-links {
  display: flex;
  gap: 20px;
}
.footer-legal-links a {
  color: var(--tertiary);
  font-size: 13px;
  transition: color 0.2s;
}
.footer-legal-links a:hover { color: var(--secondary); }

/* --- WAITLIST COUNTER + TRUST --- */
.wl-counter {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--secondary);
  background: var(--surface-elevated);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-full);
  padding: 6px 14px;
  margin: 12px auto 0;
  width: fit-content;
}
.wl-counter strong { color: var(--primary); }
.wl-counter-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34C759;
  animation: pulse-dot 2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}
.wl-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12px;
  color: var(--tertiary);
  margin-top: 12px;
}

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .audience-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
  .steps { flex-direction: column; align-items: center; }
  .step-connector { width: 2px; height: 40px; margin: 0; }
  .footer-top { flex-direction: column; gap: 32px; }
  .footer-nav { gap: 40px; }
}

@media (max-width: 600px) {
  .features-grid { grid-template-columns: 1fr; }
  .audience-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .faq-bubbles { grid-template-columns: 1fr; }
  .hero { padding: 130px 0 60px; }
  .hero h1 { font-size: 32px; letter-spacing: -1px; }
  .hero-sub { font-size: 16px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-pills { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .pill { font-size: 12px; padding: 9px 13px; justify-content: center; }
  .pill-icon-wrap { width: 22px; height: 22px; }
  .pill-icon { width: 11px; height: 11px; }
  .cta-inner { padding: 48px 24px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .footer-nav { flex-direction: column; gap: 28px; }
}

/* ============================================
   LIGHT MODE — follows system preference
   ============================================ */
@media (prefers-color-scheme: light) {
  :root {
    --bg: #F2F2F7;
    --surface: #FFFFFF;
    --surface-elevated: #E9E9EF;
    --surface-border: #D1D1D6;
    --primary: #1C1C1E;
    --secondary: #636366;
    --tertiary: #AEAEB2;
    /* accent stays the same — #BA65A0 works on both */
    --nav-bg: rgba(242, 242, 247, 0.85);
    --nav-border: rgba(209, 209, 214, 0.6);
    --phone-shell-bg: #E5E5EA;
    --phone-shell-border: #C7C7CC;
    --phone-notch-bg: #E5E5EA;
    --phone-notch-border: #D1D1D6;
  }

  /* Soften the hero & CTA glows so they're not too intense on white */
  .hero-glow {
    background: radial-gradient(ellipse, rgba(186, 101, 160, 0.08) 0%, transparent 70%);
  }
  .cta-glow {
    background: radial-gradient(ellipse, rgba(186, 101, 160, 0.06) 0%, transparent 70%);
  }

  /* How-it-works, pricing, footer section backgrounds */
  .how-it-works {
    background: #FFFFFF;
    border-color: var(--surface-border);
  }
  .pricing {
    background: #FFFFFF;
    border-color: var(--surface-border);
  }
  .pricing-card { background: var(--bg); }

  /* Pill & badge light adjustments */
  .pill { color: var(--secondary); }
  .hero-badge { color: var(--accent); }

  /* Phone screen background inside the mockup */
  .phone-screen { background: #F2F2F7; }

  /* Demo modal backdrop — lighter on light bg */
  .demo-backdrop { background: rgba(0, 0, 0, 0.45); }

  /* Demo elements that had hardcoded dark bg — use surface vars which are now light */
  .d-transcript,
  .d-ai-block,
  .d-draft-block,
  .d-cal-event,
  .d-activity-card,
  .d-brief-card,
  .d-auto-card {
    background: var(--surface-elevated);
  }
  .d-bubble-assistant { background: var(--surface-elevated); }
}
