/* ============================================
   Tactical Talk AI — Web Client Styles
   Brand: Black + Gold (#d4a017) + Soundwave accent gradient
   Equation: ( You + Tactical Talk AI ) / Any Conversation = Superpowers
   ============================================ */

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

:root {
  --bg: #0a0a0f;
  --bg-alt: #080810;
  --surface: #141420;
  --surface-light: #1a1a2e;
  --surface-hover: #1e1e32;
  --border: #252538;
  --text: #f0f0f8;
  --text-secondary: #a0a0b8;
  --text-muted: #5a5a70;
  --text-dim: #4a4a60;
  --accent: #d4a017;
  --accent-light: #e8b82a;
  --accent-dim: rgba(212, 160, 23, 0.12);
  --accent-glow: rgba(212, 160, 23, 0.25);
  --gold: #d4a017;
  --gold-light: #e8b82a;
  --danger: #ef4444;
  --danger-dim: rgba(239, 68, 68, 0.15);
  --success: #22c55e;
  --purple: #a855f7;
  --blue: #3b82f6;
}

/* ============ SPLASH SCREEN (coded animation) ============ */
.splash-screen {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.splash-screen.splash-exit {
  opacity: 0;
  transform: scale(1.05);
  pointer-events: none;
}
.splash-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.splash-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

/* Icon with pulse rings */
.splash-icon-wrap {
  position: relative;
  width: 120px;
  height: 120px;
  margin-bottom: 32px;
  animation: splashIconIn 1s ease-out 0.3s both;
}
@keyframes splashIconIn {
  0% { opacity: 0; transform: scale(0.6); }
  100% { opacity: 1; transform: scale(1); }
}
.splash-icon {
  width: 600px;
  height: 600px;
  border-radius: 60px;
  object-fit: contain;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 0 60px rgba(212, 160, 23, 0.6));
}
.splash-icon-ring {
  position: absolute;
  inset: -20px;
  border-radius: 72px;
  border: 2px solid rgba(212, 160, 23, 0.3);
  animation: splashRing 2.5s ease-out 0.8s infinite;
}
.splash-icon-ring-2 {
  animation-delay: 1.6s;
}
@keyframes splashRing {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.8); opacity: 0; }
}

/* Typewriter title */
.splash-title {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
  font-size: clamp(28px, 6vw, 48px);
  font-weight: 900;
  font-style: italic;
  letter-spacing: 3px;
  color: #fff;
  text-align: center;
  min-height: 1.2em;
  margin-bottom: 20px;
  text-shadow: 0 0 40px rgba(212, 160, 23, 0.3);
}

/* Equation fade-in */
.splash-equation {
  font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
  font-size: clamp(12px, 2vw, 18px);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 1px;
  text-align: center;
  padding: 12px 24px;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.8s ease;
  margin-bottom: 16px;
}
.splash-equation.visible {
  opacity: 1;
  transform: translateY(0);
}
.splash-equation .seq-paren {
  color: rgba(255, 255, 255, 0.35);
}
.splash-equation .seq-op {
  color: var(--gold, #d4a017);
  font-weight: 700;
}
.splash-equation .seq-result {
  background: linear-gradient(135deg, #d4a017, #f97316, #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
  font-style: italic;
}

/* Patent text */
.splash-patent {
  font-size: 10px;
  letter-spacing: 3px;
  color: rgba(255, 255, 255, 0.2);
  text-transform: uppercase;
  margin-bottom: 32px;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.splash-patent.visible {
  opacity: 1;
}

/* Loader bar */
.splash-loader {
  width: 200px;
  height: 3px;
  background: rgba(255,255,255,0.08);
  border-radius: 3px;
  overflow: hidden;
}
.splash-loader-bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #d4a017, #e8b82a, #f97316);
  border-radius: 3px;
  animation: splashLoad 5.5s ease-out forwards;
}
@keyframes splashLoad {
  0% { width: 0%; }
  100% { width: 100%; }
}

/* Skip button */
.splash-skip {
  position: absolute;
  bottom: 40px;
  right: 40px;
  z-index: 3;
  background: none;
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.4);
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 12px;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.2s;
}
.splash-skip:hover {
  color: rgba(255,255,255,0.8);
  border-color: rgba(255,255,255,0.4);
}

@media (max-width: 600px) {
  .splash-icon-wrap { width: 90px; height: 90px; margin-bottom: 24px; }
  .splash-icon { width: 90px; height: 90px; border-radius: 20px; }
  .splash-equation { font-size: 11px; padding: 8px 12px; }
  .splash-skip { bottom: 24px; right: 24px; }
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* Screen management */
.screen {
  display: none;
  width: 100%;
  min-height: 100vh;
}
.screen.active {
  display: block;
}
#auth-screen.active,
#signup-screen.active,
#session-screen.active {
  display: flex;
}

/* ============ NAVIGATION ============ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-logo {
  width: auto;
  height: 44px;
  border-radius: 0;
  object-fit: contain;
}
.nav-title {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--text);
}
.nav-title sup {
  font-size: 8px;
  color: var(--text-muted);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-link:hover {
  color: var(--text);
}
.btn-nav {
  background: var(--accent);
  color: #000;
  border: none;
  border-radius: 8px;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s;
}
.btn-nav:hover { opacity: 0.9; }
.btn-nav-outline {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 9px 18px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-nav-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-nav-upgrade {
  background: linear-gradient(135deg, var(--accent), #f97316);
  color: #000;
  border: none;
  border-radius: 8px;
  padding: 10px 18px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: opacity 0.2s;
  animation: pulseGlow 2.5s ease-in-out infinite;
}
.btn-nav-upgrade:hover { opacity: 0.9; }

/* ============ HERO ============ */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 100px 24px 48px;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}
.hero-logo {
  width: 180px;
  height: 180px;
  border-radius: 24px;
  object-fit: cover;
  margin-bottom: 32px;
  position: relative;
  box-shadow: 0 20px 80px rgba(212, 160, 23, 0.2);
}
.hero-logo-large {
  width: min(420px, 80vw);
  height: auto;
  border-radius: 20px;
  object-fit: contain;
  margin-bottom: 40px;
  border: 2px solid rgba(212, 160, 23, 0.3);
  box-shadow:
    0 20px 60px rgba(212, 160, 23, 0.2),
    0 0 0 1px rgba(212, 160, 23, 0.1),
    inset 0 0 80px rgba(0, 0, 0, 0.05);
  animation: heroFloat 6s ease-in-out infinite;
}
.hero-logo-hero {
  width: min(780px, 95vw);
  height: auto;
  border-radius: 0;
  object-fit: contain;
  margin-bottom: 20px;
  border: none;
  box-shadow: none;
  background: transparent;
  mix-blend-mode: screen;
  animation: heroFloat 6s ease-in-out infinite;
  position: relative;
}
@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.hero-glow-2 {
  top: -100px;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(212, 160, 23, 0.08) 0%, transparent 60%);
}
.pulse-glow {
  animation: pulseGlow 2s ease-in-out infinite;
}
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(212, 160, 23, 0.4); }
  50% { box-shadow: 0 0 20px 8px rgba(212, 160, 23, 0.15); }
}
.hero-title {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 20px;
  position: relative;
}
.text-accent {
  color: var(--accent);
}
.hero-sub {
  font-size: clamp(16px, 2.5vw, 20px);
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.6;
  margin-bottom: 36px;
  position: relative;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
}
.hero-note {
  margin-top: 20px;
  font-size: 13px;
  color: var(--text-muted);
  position: relative;
}

/* Hero Equation Tagline */
.hero-equation {
  font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', 'Consolas', monospace;
  font-size: clamp(14px, 2.2vw, 20px);
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 1px;
  margin-bottom: 32px;
  position: relative;
  padding: 14px 28px;
  background: rgba(212, 160, 23, 0.04);
  border: 1px solid rgba(212, 160, 23, 0.12);
  border-radius: 12px;
  white-space: nowrap;
}
.hero-equation .eq-paren {
  color: var(--text-muted);
  font-weight: 400;
}
.hero-equation .eq-op {
  color: var(--accent);
  font-weight: 700;
  margin: 0 2px;
}
.hero-equation .eq-result {
  background: linear-gradient(135deg, var(--accent), #f97316, #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
  font-style: italic;
}
@media (max-width: 600px) {
  .hero-equation {
    white-space: normal;
    text-align: center;
    font-size: 13px;
    padding: 12px 16px;
    letter-spacing: 0.5px;
  }
}

/* Soundwave divider (used between sections) */
.soundwave-divider {
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--accent) 15%,
    #3b82f6 35%,
    #a855f7 50%,
    #ec4899 65%,
    var(--accent) 85%,
    transparent 100%
  );
  border-radius: 2px;
  opacity: 0.4;
  margin: 0 auto;
  max-width: 600px;
}

/* Buttons */
.btn-primary {
  background: var(--accent);
  color: #000;
  border: none;
  border-radius: 10px;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-primary:hover { opacity: 0.9; transform: translateY(-1px); }
.btn-primary:disabled { opacity: 0.4; cursor: not-allowed; transform: none; }

.btn-secondary {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 10px;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-secondary:hover { background: var(--accent-dim); }

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
}
.btn-ghost:hover { border-color: var(--text-muted); color: var(--text); }

.btn-lg {
  padding: 16px 32px;
  font-size: 16px;
}

.btn-text {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 13px;
  cursor: pointer;
}
.btn-text:hover { color: var(--text); }

/* ============ SECTIONS ============ */
.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px;
}
.section-dark {
  background: var(--bg-alt);
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}
.section-dark > * {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}
.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  text-align: center;
  margin-bottom: 12px;
}
.section-sub {
  text-align: center;
  color: var(--text-secondary);
  font-size: 16px;
  margin-bottom: 28px;
}

/* ============ HOW IT WORKS ============ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  position: relative;
  transition: all 0.3s;
}
.step-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}
.step-number {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 48px;
  font-weight: 900;
  color: rgba(249, 115, 22, 0.08);
  line-height: 1;
}
.step-icon {
  font-size: 40px;
  margin-bottom: 16px;
}
.step-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}
.step-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============ FEATURES GRID ============ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  position: relative;
  transition: all 0.2s;
}
.feature-card:hover {
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 16px;
}
.feature-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}
.feature-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}
.feature-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 3px 8px;
  border-radius: 4px;
}
.free-badge {
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
}
.pro-badge {
  background: var(--accent-dim);
  color: var(--accent);
}

/* ============ PRICING ============ */
.billing-toggle {
  display: flex;
  justify-content: center;
  gap: 4px;
  background: var(--surface);
  border-radius: 10px;
  padding: 4px;
  width: fit-content;
  margin: 0 auto 40px;
  border: 1px solid var(--border);
}
.toggle-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
}
.toggle-btn.active {
  background: var(--accent);
  color: #000;
}
.save-badge {
  font-size: 10px;
  font-weight: 700;
  background: rgba(34, 197, 94, 0.2);
  color: #22c55e;
  padding: 2px 6px;
  border-radius: 4px;
}
.toggle-btn.active .save-badge {
  background: rgba(0, 0, 0, 0.2);
  color: #000;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}
.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px 28px;
  position: relative;
  transition: all 0.3s;
}
.pricing-card:hover {
  transform: translateY(-4px);
}
.pricing-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 60px var(--accent-dim);
}
.pricing-popular {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #000;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
  padding: 5px 16px;
  border-radius: 20px;
}
.pricing-tier {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 12px;
}
.elite-tier {
  color: var(--purple);
}
.pricing-price {
  font-size: 48px;
  font-weight: 900;
  margin-bottom: 4px;
}
.pricing-period {
  font-size: 16px;
  font-weight: 400;
  color: var(--text-muted);
}
.pricing-annual-note {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.pricing-features {
  list-style: none;
  padding: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pricing-features li {
  font-size: 14px;
  color: var(--text-secondary);
}
.pricing-features li.muted {
  color: var(--text-muted);
}
.btn-pricing {
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  background: var(--surface-light);
  border: 1px solid var(--border);
  color: var(--text);
}
.btn-pricing:hover {
  background: var(--surface-hover);
  border-color: var(--text-muted);
}
.btn-pricing.featured-btn {
  background: var(--accent);
  border-color: var(--accent);
  color: #000;
}
.btn-pricing.featured-btn:hover {
  opacity: 0.9;
}
.btn-pricing.elite-btn {
  background: transparent;
  border-color: var(--purple);
  color: var(--purple);
}
.btn-pricing.elite-btn:hover {
  background: rgba(168, 85, 247, 0.1);
}
.elite-card {
  border-color: rgba(168, 85, 247, 0.3);
}

/* ============ DASHBOARD ============ */
.dash-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 32px 20px 60px;
}
.dash-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}
.dash-header h2 {
  font-size: 28px;
  font-weight: 800;
}
.dash-header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Profile Card */
.dash-profile-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.dash-avatar-wrap {
  position: relative;
  flex-shrink: 0;
}
.dash-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  overflow: hidden;
}
.dash-avatar-initial {
  font-size: 28px;
  font-weight: 800;
  color: #000;
}
.dash-avatar-edit {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--surface-light);
  border: 2px solid var(--border);
  color: var(--text);
  font-size: 13px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.dash-avatar-edit:hover {
  background: var(--accent);
  color: #000;
}
.dash-profile-info {
  flex: 1;
  min-width: 160px;
}
.dash-name {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 2px;
}
.dash-email {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.dash-badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.dash-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 0.5px;
}
.dash-badge-early_adopter {
  background: linear-gradient(135deg, rgba(212, 160, 23, 0.2), rgba(249, 115, 22, 0.15));
  color: var(--accent);
  border: 1px solid rgba(212, 160, 23, 0.3);
}
.dash-badge-founding_member {
  background: rgba(168, 85, 247, 0.15);
  color: var(--purple);
  border: 1px solid rgba(168, 85, 247, 0.3);
}
.dash-badge-century_sessions {
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.3);
}
.dash-badge-power_user {
  background: rgba(59, 130, 246, 0.15);
  color: #3b82f6;
  border: 1px solid rgba(59, 130, 246, 0.3);
}
.dash-profile-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-shrink: 0;
}
.dash-start-btn {
  padding: 12px 28px;
  font-size: 15px;
}
.dash-settings-btn {
  padding: 10px 28px;
  font-size: 13px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s;
}
.dash-settings-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Stats Row */
.dash-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}
.dash-stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 12px;
  text-align: center;
}
.dash-stat-num {
  font-size: 28px;
  font-weight: 900;
  color: var(--accent);
  line-height: 1.2;
}
.dash-stat-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 4px;
}

/* Upgrade Banner */
.dash-upgrade-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: linear-gradient(135deg, rgba(212, 160, 23, 0.1), rgba(168, 85, 247, 0.08));
  border: 1px solid rgba(212, 160, 23, 0.25);
  border-radius: 14px;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}
.dash-upgrade-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.dash-upgrade-text strong {
  font-size: 15px;
  color: var(--text);
}
.dash-upgrade-text span {
  font-size: 12px;
  color: var(--text-muted);
}

/* Quick Actions */
.dash-section {
  margin-bottom: 28px;
}
.dash-section-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--text-secondary);
}
.dash-quick-actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.dash-action-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.2s;
  color: var(--text);
  font-family: inherit;
}
.dash-action-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.dash-action-icon {
  font-size: 24px;
}
.dash-action-label {
  font-size: 12px;
  font-weight: 600;
}

/* Conversations List */
.dash-conversations {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.dash-empty {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-muted);
  font-size: 14px;
  background: var(--surface);
  border: 1px dashed var(--border);
  border-radius: 14px;
}
.dash-conv-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 20px;
  transition: all 0.2s;
}
.dash-conv-card:hover {
  border-color: rgba(212, 160, 23, 0.3);
}
.dash-conv-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.dash-conv-mode {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}
.dash-conv-date {
  font-size: 12px;
  color: var(--text-muted);
}
.dash-conv-summary {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 10px;
}
.dash-conv-footer {
  display: flex;
  align-items: center;
  gap: 12px;
}
.dash-conv-duration {
  font-size: 12px;
  color: var(--text-muted);
}
.dash-conv-score {
  font-size: 12px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
}
.score-high { background: rgba(34, 197, 94, 0.15); color: #22c55e; }
.score-mid { background: rgba(249, 115, 22, 0.15); color: #f97316; }
.score-low { background: rgba(239, 68, 68, 0.15); color: #ef4444; }
.dash-load-more {
  margin: 12px auto 0;
  display: block;
}

/* Settings Panel */
.dash-settings-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 28px;
}
.dash-setting-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.dash-setting-row:last-of-type {
  border-bottom: none;
}
.dash-setting-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
}
.dash-select {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 14px;
  color: var(--text);
  font-size: 13px;
  font-family: inherit;
  cursor: pointer;
}
.dash-select:focus {
  outline: none;
  border-color: var(--accent);
}

/* Shield Toggle Switches */
.shield-subtitle {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.shield-row {
  position: relative;
}
.shield-row.locked {
  opacity: 0.45;
  pointer-events: none;
}
.shield-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.shield-desc {
  font-size: 11px;
  color: var(--text-muted);
}
.shield-toggle {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 26px;
  flex-shrink: 0;
  cursor: pointer;
}
.shield-checkbox {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}
.shield-slider {
  position: absolute;
  inset: 0;
  background: var(--border);
  border-radius: 26px;
  transition: background 0.3s, box-shadow 0.3s;
}
.shield-slider::before {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  left: 3px;
  bottom: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.3s;
}
.shield-checkbox:checked + .shield-slider {
  background: linear-gradient(135deg, #d4a017, #f5c542);
  box-shadow: 0 0 8px rgba(212, 160, 23, 0.4);
}
.shield-checkbox:checked + .shield-slider::before {
  transform: translateX(22px);
}
.shield-lock-icon {
  position: absolute;
  right: -28px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  color: var(--text-muted);
}

/* Dashboard Mobile */
@media (max-width: 600px) {
  .dash-profile-card {
    flex-direction: column;
    text-align: center;
  }
  .dash-profile-actions {
    width: 100%;
    flex-direction: row;
  }
  .dash-start-btn, .dash-settings-btn {
    flex: 1;
  }
  .dash-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .dash-quick-actions {
    grid-template-columns: repeat(2, 1fr);
  }
  .dash-upgrade-banner {
    flex-direction: column;
    text-align: center;
  }
  .dash-badges {
    justify-content: center;
  }
}

/* ============ LAUNCH PRICING URGENCY ============ */
.launch-pricing-banner {
  max-width: 900px;
  margin: 0 auto 32px;
  padding: 20px 28px;
  background: linear-gradient(135deg, rgba(212, 160, 23, 0.12) 0%, rgba(249, 115, 22, 0.08) 50%, rgba(236, 72, 153, 0.08) 100%);
  border: 1px solid rgba(212, 160, 23, 0.3);
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}
.launch-pricing-icon {
  font-size: 32px;
  flex-shrink: 0;
}
.launch-pricing-text {
  flex: 1;
  min-width: 200px;
}
.launch-pricing-headline {
  font-size: 18px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 4px;
}
.launch-pricing-sub {
  font-size: 14px;
  color: var(--text-secondary);
}
.launch-timer {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.timer-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 48px;
}
.timer-num {
  font-size: 28px;
  font-weight: 900;
  font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 4px 8px;
  min-width: 48px;
  text-align: center;
  line-height: 1.2;
}
.timer-label {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}
.timer-sep {
  font-size: 24px;
  font-weight: 900;
  color: var(--accent);
  margin-bottom: 18px;
}
.launch-badge {
  display: inline-block;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
  padding: 4px 12px;
  border-radius: 6px;
  margin-bottom: 8px;
}
.elite-launch-badge {
  background: linear-gradient(135deg, var(--purple), #7c3aed);
}
.pricing-price-wrap {
  margin-bottom: 4px;
}
.pricing-price-old {
  font-size: 20px;
  color: var(--text-muted);
  margin-bottom: 2px;
}
.pricing-price-old .strikethrough {
  text-decoration: line-through;
  text-decoration-color: #ef4444;
  text-decoration-thickness: 2px;
}
.pricing-savings {
  font-size: 12px;
  font-weight: 700;
  color: #22c55e;
  margin-bottom: 4px;
  letter-spacing: 0.5px;
}
.pricing-lock-note {
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-top: 24px;
  padding: 12px 20px;
  background: rgba(212, 160, 23, 0.06);
  border: 1px solid rgba(212, 160, 23, 0.15);
  border-radius: 10px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 600px) {
  .launch-pricing-banner {
    flex-direction: column;
    text-align: center;
    padding: 16px 20px;
    gap: 12px;
  }
  .launch-pricing-headline {
    font-size: 15px;
  }
  .launch-pricing-sub {
    font-size: 12px;
  }
  .timer-num {
    font-size: 22px;
    min-width: 40px;
    padding: 3px 6px;
  }
  .timer-sep {
    font-size: 18px;
    margin-bottom: 14px;
  }
}

/* ============ FOOTER ============ */
.footer {
  text-align: center;
  padding: 60px 24px;
  border-top: 1px solid var(--border);
}
.footer-logo {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  object-fit: cover;
  margin-bottom: 16px;
}
.footer-logo-full {
  width: min(280px, 65vw);
  height: auto;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 12px;
  border: none;
  background: rgba(255, 255, 255, 0.95);
  padding: 10px 16px;
  box-shadow: 0 8px 30px rgba(212, 160, 23, 0.1);
}
.footer-brand {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}
.footer-company {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 12px;
}
.footer-equation {
  font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}
.footer-links {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: var(--accent);
}
.footer-copy {
  font-size: 12px;
  color: var(--text-muted);
}

/* ============ AUTH SCREEN ============ */
.auth-container {
  margin: auto;
  text-align: center;
  width: 100%;
  max-width: 420px;
  padding: 24px;
}
.auth-logo {
  width: 80px;
  height: 80px;
  border-radius: 16px;
  object-fit: contain;
  margin-bottom: 20px;
}
.auth-logo-large {
  width: min(360px, 85vw);
  height: auto;
  border-radius: 12px;
  object-fit: contain;
  margin-bottom: 24px;
  border: none;
  background: rgba(255, 255, 255, 0.95);
  padding: 12px 20px;
  box-shadow: 0 12px 40px rgba(212, 160, 23, 0.15);
}
.logo {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 3px;
  color: var(--text);
  margin-bottom: 4px;
}
.logo-accent {
  color: var(--accent);
}
.tagline {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 36px;
}
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.auth-form input {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 15px;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s;
}
.auth-form input:focus {
  border-color: var(--accent);
}
.auth-form input::placeholder {
  color: var(--text-muted);
}
.error-text {
  color: var(--danger);
  font-size: 13px;
  min-height: 20px;
}

/* Email confirmation screen */
.auth-confirm {
  text-align: center;
  padding: 20px 0;
}
.confirm-icon {
  font-size: 48px;
  margin-bottom: 16px;
}
.confirm-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}
.confirm-text {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 8px;
}
.confirm-text strong {
  color: var(--accent);
}
.confirm-note {
  color: var(--text-dim);
  font-size: 12px;
  margin-bottom: 24px;
}

/* ============ MULTI-STEP SIGNUP ============ */
.signup-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 28px;
}
.progress-step {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  background: var(--surface);
  border: 2px solid var(--border);
  color: var(--text-muted);
  transition: all 0.3s;
}
.progress-step.active,
.progress-step.done {
  background: var(--accent);
  border-color: var(--accent);
  color: #000;
}
.progress-line {
  width: 48px;
  height: 2px;
  background: var(--border);
  transition: background 0.3s;
}
.progress-line.active {
  background: var(--accent);
}
.signup-step {
  display: none;
}
.signup-step.active {
  display: block;
}
.signup-step h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
  text-align: center;
}
.signup-step .step-sub {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 20px;
}
.signup-form-fields {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.signup-form-fields input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),
.signup-form-fields select,
.signup-form-fields textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
  font-family: inherit;
  -webkit-appearance: none;
}
.signup-form-fields input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):focus,
.signup-form-fields select:focus,
.signup-form-fields textarea:focus {
  border-color: var(--accent);
}
.signup-form-fields input:not([type="checkbox"]):not([type="radio"]):not([type="range"])::placeholder,
.signup-form-fields textarea::placeholder {
  color: var(--text-muted);
}
.signup-form-fields textarea {
  resize: vertical;
  min-height: 80px;
}
.signup-field-label {
  display: block;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: -4px;
}
.signup-field-optional {
  color: var(--text-muted);
  font-weight: 400;
}
.signup-row {
  display: flex;
  gap: 12px;
}
.signup-half {
  flex: 1;
}
.signup-nav {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}
.signup-nav .btn-primary,
.signup-nav .btn-secondary {
  flex: 1;
}
.auth-switch {
  margin-top: 20px;
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
}
.auth-switch button {
  background: none;
  border: none;
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
}
.confidence-wrap {
  text-align: center;
}
.confidence-labels {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 4px;
}
.confidence-value {
  font-size: 28px;
  font-weight: 800;
  color: var(--accent);
  margin: 8px 0;
}
input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  background: var(--surface);
  border-radius: 3px;
  outline: none;
  border: 1px solid var(--border);
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  background: var(--accent);
  border-radius: 50%;
  cursor: pointer;
}
input[type="range"]::-moz-range-thumb {
  width: 22px;
  height: 22px;
  background: var(--accent);
  border-radius: 50%;
  cursor: pointer;
  border: none;
}
.comm-style-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.comm-style-option {
  position: relative;
}
.comm-style-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.comm-style-option label {
  display: block;
  padding: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
}
.comm-style-option input[type="radio"]:checked + label {
  border-color: var(--accent);
  background: var(--accent-dim);
  color: var(--accent);
}
.comm-style-option label:hover {
  border-color: var(--text-muted);
}
/* Google OAuth button */
.btn-google {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 16px;
  background: #fff;
  color: #333;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-google:hover {
  background: #f5f5f5;
  border-color: #ccc;
}
.btn-google svg {
  flex-shrink: 0;
}
.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 4px 0;
}
.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.auth-divider span {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.verified-icon {
  width: 64px;
  height: 64px;
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin: 0 auto 20px;
}

/* Pricing disclaimers */
.pricing-disclaimers {
  margin-top: 32px;
  text-align: center;
}
.pricing-disclaimer {
  color: var(--text-dim);
  font-size: 12px;
  line-height: 1.5;
  margin-bottom: 8px;
}
.pricing-disclaimer a {
  color: var(--accent);
  text-decoration: underline;
}
.pricing-model-note {
  font-size: 11px;
  color: var(--text-muted);
  text-align: center;
  padding: 8px 0 12px;
  border-top: 1px solid var(--border);
  margin-top: 12px;
}

/* Demographics privacy notice */
.demo-privacy {
  background: rgba(212, 160, 23, 0.06);
  border: 1px solid rgba(212, 160, 23, 0.15);
  border-radius: 10px;
  padding: 12px 16px;
  margin-top: 12px;
}
.demo-privacy p {
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.5;
  margin: 0;
}
.demo-privacy a {
  color: var(--accent);
  text-decoration: underline;
}

/* ============ MODE SCREEN ============ */
.mode-container {
  margin: 0 auto;
  width: 100%;
  max-width: 560px;
  padding: 24px;
  min-height: 100vh;
}
.mode-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-top: 12px;
}
.mode-header h2 {
  font-size: 22px;
  font-weight: 800;
}
.mode-header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.tier-badge {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
}
.tier-badge.pro {
  background: var(--accent-dim);
  border-color: var(--accent);
  color: var(--accent);
}
.tier-badge.elite {
  background: rgba(168, 85, 247, 0.12);
  border-color: var(--purple);
  color: var(--purple);
}

.upgrade-banner {
  background: linear-gradient(135deg, var(--accent-dim), rgba(249, 115, 22, 0.05));
  border: 1px solid rgba(249, 115, 22, 0.3);
  border-radius: 14px;
  padding: 16px 20px;
  margin-bottom: 20px;
  text-align: center;
}
.upgrade-banner p {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 10px;
}
.btn-upgrade {
  background: var(--accent);
  color: #000;
  border: none;
  border-radius: 8px;
  padding: 10px 24px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s;
}
.btn-upgrade:hover { opacity: 0.9; }
.btn-upgrade-elite {
  background: linear-gradient(135deg, var(--accent), #ff6b35);
}
.dash-upgrade-buttons,
.upgrade-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.mode-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}
.mode-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px 16px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  color: var(--text);
  position: relative;
}
.mode-card:hover {
  background: var(--surface-hover);
  border-color: var(--accent);
  transform: translateY(-2px);
}
.mode-card.locked {
  opacity: 0.5;
}
.mode-card.locked:hover {
  border-color: var(--border);
  transform: none;
  cursor: not-allowed;
}
.mode-icon {
  font-size: 28px;
  margin-bottom: 8px;
}
.mode-label {
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 4px;
}
.mode-desc {
  font-size: 11px;
  color: var(--text-muted);
}
.mode-lock {
  display: none;
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 9px;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 2px 6px;
  border-radius: 4px;
}
.mode-card.locked .mode-lock {
  display: block;
}

.briefing-area {
  margin-bottom: 16px;
}
.briefing-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
}
.briefing-optional {
  color: var(--text-muted);
  font-weight: 400;
}
.briefing-input {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 13px;
  color: var(--text);
  resize: vertical;
  outline: none;
  font-family: inherit;
  line-height: 1.5;
  transition: border-color 0.2s;
}
.briefing-input:focus {
  border-color: var(--accent);
}
.briefing-input::placeholder {
  color: var(--text-muted);
}

.mic-notice {
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
}

/* ============ SESSION SCREEN ============ */
.session-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  padding: 16px;
  height: 100vh;
  position: relative;
}
.session-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
}
.session-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.mode-badge {
  background: var(--accent);
  color: #000;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 6px;
}
.timer {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}
.btn-end {
  background: var(--danger-dim);
  border: 1px solid var(--danger);
  color: var(--danger);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  padding: 8px 20px;
  border-radius: 8px;
  cursor: pointer;
  transition: opacity 0.2s;
}
.btn-end:hover { opacity: 0.8; }

/* Confidence Meter */
.confidence-meter {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 8px;
}
.confidence-meter-left {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-shrink: 0;
}
.confidence-label {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--text-muted);
}
.confidence-score {
  font-size: 20px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: #f59e0b;
  transition: color 0.3s;
}
.confidence-trend {
  font-size: 14px;
  font-weight: 700;
}
.confidence-bar-track {
  flex: 1;
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
}
.confidence-bar-fill {
  height: 100%;
  border-radius: 3px;
  background: #f59e0b;
  transition: width 0.5s ease, background 0.3s;
}
.opponent-style-badge {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 3px 8px;
  border-radius: 4px;
  background: var(--danger-dim);
  color: var(--danger);
  flex-shrink: 0;
}

/* Waveform */
.waveform-area {
  text-align: center;
  padding: 12px 0;
}
#waveform-canvas {
  width: 100%;
  max-width: 300px;
  height: 60px;
}
.listening-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 2px;
  margin-top: 6px;
}
.listening-label.active {
  color: var(--accent);
}

/* Advice */
.advice-area {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 0;
  min-height: 120px;
}
.advice-bubble {
  background: var(--accent-dim);
  border: 1px solid rgba(249, 115, 22, 0.4);
  border-radius: 16px;
  padding: 24px 28px;
  text-align: center;
  width: 100%;
  animation: fadeIn 0.3s ease;
}
.advice-bubble.hidden { display: none; }

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.advice-type {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 10px;
}
.advice-text {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
}
.advice-placeholder {
  font-size: 14px;
  color: var(--text-muted);
  font-style: italic;
}

/* Advice header row — type badge + feedback buttons */
.advice-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.advice-header-row .advice-type {
  margin-bottom: 0;
}
.advice-feedback {
  display: flex;
  gap: 6px;
}
.feedback-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  line-height: 1;
  padding: 0;
}
.feedback-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.feedback-btn.active-up {
  background: rgba(34, 197, 94, 0.2);
  border-color: #22c55e;
  color: #22c55e;
}
.feedback-btn.active-down {
  background: rgba(239, 68, 68, 0.2);
  border-color: #ef4444;
  color: #ef4444;
}

/* Headphone Warning */
.headphone-warning {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid #ef4444;
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 12px;
  color: #ef4444;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  line-height: 1.5;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.headphone-warning.hidden { display: none; }
.headphone-dismiss {
  background: #ef4444;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 4px 14px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  cursor: pointer;
  white-space: nowrap;
}

/* Momentum Bar */
.momentum-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
}
.momentum-label {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  white-space: nowrap;
}
.momentum-track {
  flex: 1;
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  position: relative;
  overflow: visible;
}
.momentum-indicator {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  transition: left 0.5s ease, background 0.3s;
  box-shadow: 0 0 8px rgba(212, 160, 23, 0.4);
}

/* Transcript */
.transcript-area {
  height: 200px;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
  padding-top: 12px;
}
.transcript-header {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.transcript-list {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.transcript-entry {
  font-size: 13px;
  line-height: 1.4;
  padding: 4px 0;
}
.transcript-speaker {
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-right: 6px;
}
.transcript-speaker.user { color: var(--accent); }
.transcript-speaker.other { color: var(--blue); }
.transcript-speaker.unknown { color: var(--text-muted); }

/* ============ SCROLLBAR ============ */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

/* ============ RESPONSIVE ============ */
@media (max-width: 768px) {
  .nav-links .nav-link {
    display: none;
  }
  .hero-logo {
    width: 140px;
    height: 140px;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }
  .features-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
    padding: 0 20px;
  }
  .btn-lg {
    width: 100%;
    text-align: center;
  }
  .nav-links .nav-link { display: none; }
}

/* ============ COOKIE CONSENT ============ */
.cookie-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.cookie-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  max-width: 440px;
  text-align: center;
}
.cookie-title {
  color: var(--text);
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 12px;
}
.cookie-text {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 24px;
}
.cookie-link {
  color: var(--accent);
  text-decoration: underline;
}

/* ============ PROMO BANNER ============ */
.promo-banner {
  background: linear-gradient(135deg, #d4a017, #6366f1);
  padding: 10px 20px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
}
.promo-icon {
  font-size: 18px;
}
.promo-text {
  color: #fff;
  font-size: 14px;
  font-weight: 500;
}
.promo-text strong {
  font-weight: 700;
}
.promo-dismiss {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(255,255,255,0.7);
  font-size: 20px;
  cursor: pointer;
  padding: 4px 8px;
  line-height: 1;
}
.promo-dismiss:hover {
  color: #fff;
}

/* ============ TERMS CHECKBOX ============ */
.terms-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 4px 0 12px;
  cursor: pointer;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}
.terms-checkbox input[type="checkbox"] {
  margin-top: 2px;
  accent-color: var(--accent);
  width: 20px;
  height: 20px;
  min-width: 20px;
  min-height: 20px;
  flex-shrink: 0;
  cursor: pointer;
  -webkit-appearance: checkbox;
  appearance: checkbox;
}
.terms-checkbox a {
  color: var(--accent);
  text-decoration: underline;
}

/* ============ FOOTER LINKS ============ */
.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin: 12px 0;
  flex-wrap: wrap;
}
.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: var(--accent);
}

/* ============ DEMOGRAPHICS SCREEN ============ */
#demographics-screen.active {
  display: flex;
}
.demographics-container {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  padding: 40px 24px;
  text-align: center;
}
.demo-title {
  color: var(--text);
  font-size: 24px;
  font-weight: 700;
  margin: 16px 0 8px;
}
.demo-sub {
  color: var(--text-secondary);
  font-size: 14px;
  margin: 0 0 28px;
}
.demo-form {
  text-align: left;
}
.demo-label {
  display: block;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  margin: 16px 0 6px;
}
.demo-optional {
  color: var(--text-muted);
  font-weight: 400;
}
.demo-input,
.demo-select {
  width: 100%;
  padding: 12px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
}
.demo-input:focus,
.demo-select:focus {
  border-color: var(--accent);
}
.demo-select {
  cursor: pointer;
}
.demo-row {
  display: flex;
  gap: 12px;
}
.demo-half {
  flex: 1;
}

/* ============ CONTACT SCREEN ============ */
#contact-screen.active {
  display: flex;
}
.contact-container {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  padding: 40px 24px;
}
.contact-title {
  color: var(--text);
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 8px;
}
.contact-sub {
  color: var(--text-secondary);
  font-size: 14px;
  margin: 0 0 28px;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact-input,
.contact-select,
.contact-textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
  font-family: inherit;
  -webkit-appearance: none;
}
.contact-input:focus,
.contact-select:focus,
.contact-textarea:focus {
  border-color: var(--accent);
}
.contact-textarea {
  resize: vertical;
  min-height: 100px;
}
.contact-success {
  text-align: center;
  padding: 60px 0;
}
.success-check {
  width: 64px;
  height: 64px;
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin: 0 auto 20px;
}
.success-title {
  color: var(--text);
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 8px;
}
.success-text {
  color: var(--text-secondary);
  font-size: 15px;
  margin: 0;
}

/* ============ AD SLOTS ============ */
.ad-slot {
  display: none;
  text-align: center;
  padding: 12px 24px;
}
.ad-footer-slot {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
}
.ad-between-slot {
  margin: 12px 0;
}
.ad-content {
  display: inline-block;
  text-decoration: none;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.2s;
  padding: 12px 24px;
  background: var(--surface);
}
.ad-content:hover {
  border-color: var(--accent);
}
.ad-image {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
}
.ad-text {
  color: var(--text-secondary);
  font-size: 13px;
}

/* ============ AI CHAT WIDGET ============ */
.chat-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9000;
}
.chat-fab {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent);
  color: #000;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(212, 160, 23, 0.4);
  transition: all 0.3s;
}
.chat-fab:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(212, 160, 23, 0.5);
}
.chat-fab.open {
  transform: rotate(90deg) scale(0.9);
  opacity: 0.7;
}
.chat-panel {
  position: absolute;
  bottom: 72px;
  right: 0;
  width: 380px;
  max-height: 520px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.6);
  animation: chatSlideUp 0.25s ease-out;
}
@keyframes chatSlideUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.chat-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-light);
}
.chat-panel-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}
.chat-panel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  display: inline-block;
}
.chat-close-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 22px;
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
}
.chat-close-btn:hover { color: var(--text); }
.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 280px;
  max-height: 380px;
}
.chat-msg {
  display: flex;
  max-width: 88%;
}
.chat-msg.user {
  align-self: flex-end;
  flex-direction: row-reverse;
}
.chat-msg.assistant {
  align-self: flex-start;
}
.chat-msg-bubble {
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.5;
  word-wrap: break-word;
}
.chat-msg.user .chat-msg-bubble {
  background: var(--accent);
  color: #000;
  border-bottom-right-radius: 4px;
}
.chat-msg.assistant .chat-msg-bubble {
  background: var(--surface-light);
  color: var(--text);
  border: 1px solid var(--border);
  border-bottom-left-radius: 4px;
}
.chat-msg-typing .chat-msg-bubble {
  color: var(--text-muted);
  font-style: italic;
}
.chat-input-area {
  display: flex;
  gap: 8px;
  padding: 12px 16px;
  border-top: 1px solid var(--border);
  background: var(--surface);
}
.chat-input {
  flex: 1;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 13px;
  color: var(--text);
  outline: none;
  font-family: inherit;
  transition: border-color 0.2s;
}
.chat-input:focus { border-color: var(--accent); }
.chat-input::placeholder { color: var(--text-muted); }
.chat-send-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent);
  color: #000;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: opacity 0.2s;
}
.chat-send-btn:hover { opacity: 0.85; }
.chat-send-btn:disabled { opacity: 0.4; cursor: not-allowed; }

@media (max-width: 480px) {
  .chat-widget { bottom: 16px; right: 16px; }
  .chat-panel {
    width: calc(100vw - 32px);
    right: 0;
    bottom: 68px;
    max-height: 70vh;
  }
  .chat-messages { min-height: 200px; max-height: 50vh; }
  /* On mobile hide nav sign-in text, keep icons */
  .btn-nav-outline, .btn-nav-upgrade { font-size: 11px; padding: 8px 12px; }
}

/* ============ PLAN PICKER MODAL ============ */
.plan-picker-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
  animation: ppFadeIn 0.25s ease;
}
@keyframes ppFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.plan-picker-modal {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 24px;
  max-width: 780px;
  width: 100%;
  padding: 40px 32px 32px;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  animation: ppSlideUp 0.3s ease;
}
@keyframes ppSlideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.plan-picker-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
  padding: 4px 8px;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}
.plan-picker-close:hover {
  color: var(--text);
  background: var(--surface);
}
.plan-picker-title {
  text-align: center;
  font-size: 28px;
  font-weight: 900;
  color: var(--text);
  margin-bottom: 4px;
}
.plan-picker-sub {
  text-align: center;
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

/* Urgency banner inside picker */
.plan-picker-urgency {
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, rgba(212, 160, 23, 0.08), rgba(239, 68, 68, 0.06));
  border: 1px solid rgba(212, 160, 23, 0.2);
  border-radius: 12px;
  padding: 14px 20px;
  margin-bottom: 20px;
}
.plan-picker-urgency-icon {
  font-size: 24px;
}
.plan-picker-urgency-text strong {
  color: var(--accent);
  font-size: 13px;
  display: block;
  margin-bottom: 4px;
}
.plan-picker-timer {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  font-family: 'SF Mono', 'Fira Code', monospace;
  letter-spacing: 0.5px;
}
.pp-timer-num {
  color: var(--accent-light);
  font-size: 17px;
}

/* Billing toggle in picker */
.plan-picker-billing-toggle {
  display: flex;
  justify-content: center;
  gap: 4px;
  background: var(--surface);
  border-radius: 12px;
  padding: 4px;
  margin-bottom: 24px;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
}
.pp-toggle-btn {
  flex: 1;
  padding: 10px 20px;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  background: transparent;
  color: var(--text-muted);
  transition: all 0.2s;
}
.pp-toggle-btn.active {
  background: var(--accent);
  color: #000;
}
.pp-toggle-btn .save-badge {
  font-size: 10px;
  background: rgba(34, 197, 94, 0.2);
  color: #22c55e;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 4px;
  font-weight: 700;
}
.pp-toggle-btn.active .save-badge {
  background: rgba(0, 0, 0, 0.2);
  color: #000;
}

/* Plan cards grid */
.plan-picker-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.plan-picker-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px 22px;
  position: relative;
  transition: all 0.3s;
}
.plan-picker-card:hover {
  transform: translateY(-3px);
}
.plan-picker-card.pp-pro {
  border-color: var(--accent);
  box-shadow: 0 0 40px var(--accent-dim);
}
.plan-picker-card.pp-elite {
  border-color: rgba(168, 85, 247, 0.3);
}
.pp-popular {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #000;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
  padding: 4px 14px;
  border-radius: 20px;
  white-space: nowrap;
}
.pp-tier {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 10px;
}
.pp-tier-elite {
  color: var(--purple);
}
.pp-price-wrap {
  margin-bottom: 4px;
}
.pp-price-old {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 2px;
}
.pp-price-old .strikethrough {
  text-decoration: line-through;
  text-decoration-color: #ef4444;
  text-decoration-thickness: 2px;
}
.pp-price {
  font-size: 36px;
  font-weight: 900;
  color: var(--text);
  margin-bottom: 2px;
}
.pp-period {
  font-size: 15px;
  font-weight: 400;
  color: var(--text-muted);
}
.pp-annual-note {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.pp-savings {
  font-size: 12px;
  color: var(--success);
  font-weight: 600;
  margin-bottom: 16px;
}
.pp-features {
  list-style: none;
  padding: 0 0 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pp-features li {
  font-size: 13px;
  color: var(--text-secondary);
}
.pp-model-note {
  font-size: 11px;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 16px;
}
.pp-select-btn {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
}
.pp-select-btn:hover {
  opacity: 0.9;
  transform: scale(1.01);
}
.pp-select-pro {
  background: var(--accent);
  color: #000;
}
.pp-select-elite {
  background: linear-gradient(135deg, var(--purple), #7c3aed);
  color: #fff;
}

/* Lock-in note */
.plan-picker-lock-note {
  text-align: center;
  font-size: 13px;
  color: var(--text-secondary);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 20px;
  margin-bottom: 16px;
  line-height: 1.5;
}
.plan-picker-lock-note strong {
  color: var(--accent);
}

/* Disclaimers */
.plan-picker-disclaimers {
  text-align: center;
}
.plan-picker-disclaimers p {
  color: var(--text-dim);
  font-size: 11px;
  line-height: 1.5;
  margin-bottom: 6px;
}
.plan-picker-disclaimers a {
  color: var(--accent);
  text-decoration: underline;
}

/* Mobile responsive */
@media (max-width: 640px) {
  .plan-picker-modal {
    padding: 32px 16px 24px;
    border-radius: 20px;
  }
  .plan-picker-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .plan-picker-title {
    font-size: 22px;
  }
  .pp-price {
    font-size: 30px;
  }
  .plan-picker-urgency {
    flex-direction: column;
    text-align: center;
  }
}

/* ============ AURAN TITLE BADGE ============ */
.auran-title {
  font-size: 10px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 2px 8px;
  border-radius: 8px;
  margin-left: 6px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  vertical-align: middle;
}

/* ============ SETTINGS NOTICE ============ */
.settings-notice {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 12px;
  padding: 18px 20px;
  margin-top: 24px;
}
.settings-notice-icon {
  font-size: 24px;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}
.settings-notice-text strong {
  color: var(--text);
  font-size: 14px;
  display: block;
  margin-bottom: 6px;
}
.settings-notice-text p {
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.6;
  margin: 0;
}

/* ============ AURAN SETTINGS ASSISTANT ============ */
.auran-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  margin-top: 24px;
  overflow: hidden;
}
.auran-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: rgba(212, 160, 23, 0.05);
}
.auran-header-left {
  display: flex;
  align-items: center;
  gap: 8px;
}
.auran-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 6px var(--accent-glow);
  animation: auranPulse 2s ease-in-out infinite;
}
@keyframes auranPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.auran-title {
  font-weight: 700;
  font-size: 14px;
  color: var(--accent);
}
.auran-subtitle {
  font-size: 12px;
  color: var(--text-muted);
}
.auran-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 20px;
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
}
.auran-close:hover { color: var(--text); }
.auran-messages {
  max-height: 320px;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.auran-msg {
  display: flex;
  max-width: 90%;
}
.auran-msg.assistant { align-self: flex-start; }
.auran-msg.user { align-self: flex-end; }
.auran-bubble {
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text);
}
.auran-msg.assistant .auran-bubble {
  background: var(--surface-light);
  border: 1px solid var(--border);
}
.auran-msg.user .auran-bubble {
  background: rgba(212, 160, 23, 0.15);
  border: 1px solid rgba(212, 160, 23, 0.3);
}
.auran-input-row {
  display: flex;
  gap: 8px;
  padding: 12px 16px;
  border-top: 1px solid var(--border);
}
.auran-input {
  flex: 1;
  background: var(--surface-light);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
  color: var(--text);
  font-size: 13px;
  outline: none;
}
.auran-input:focus { border-color: var(--accent); }
.auran-input::placeholder { color: var(--text-muted); }
.auran-send {
  background: var(--accent);
  border: none;
  border-radius: 8px;
  color: #000;
  font-size: 16px;
  padding: 0 14px;
  cursor: pointer;
  font-weight: 700;
  transition: opacity 0.2s;
}
.auran-send:hover { opacity: 0.85; }
.auran-send:disabled { opacity: 0.4; cursor: not-allowed; }
.auran-typing {
  display: flex;
  gap: 4px;
  padding: 10px 14px;
}
.auran-typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-muted);
  animation: auranTyping 1.2s ease-in-out infinite;
}
.auran-typing span:nth-child(2) { animation-delay: 0.2s; }
.auran-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes auranTyping {
  0%, 100% { opacity: 0.3; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-3px); }
}

/* Auran Consent Card */
.auran-consent-area {
  padding: 0 16px 12px;
}
.auran-consent-card {
  background: rgba(212, 160, 23, 0.08);
  border: 1px solid rgba(212, 160, 23, 0.3);
  border-radius: 12px;
  padding: 16px;
}
.auran-consent-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 10px;
}
.auran-consent-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  font-size: 12px;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.auran-consent-item:last-child { border-bottom: none; }
.auran-consent-label { color: var(--text-muted); }
.auran-consent-value { color: var(--text); font-weight: 600; }
.auran-consent-knowledge {
  margin-top: 8px;
  padding: 8px 10px;
  background: rgba(0,0,0,0.2);
  border-radius: 8px;
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.4;
  max-height: 80px;
  overflow-y: auto;
}
.auran-consent-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}
.auran-consent-actions button {
  flex: 1;
  padding: 10px;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.auran-consent-yes {
  background: var(--accent);
  color: #000;
}
.auran-consent-yes:hover { opacity: 0.85; }
.auran-consent-no {
  background: rgba(255,255,255,0.08);
  color: var(--text);
}
.auran-consent-no:hover { background: rgba(255,255,255,0.12); }

/* ============ TERMS CONSENT GATE ============ */
.terms-gate {
  margin-bottom: 16px;
}
.terms-gate-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  text-align: center;
}
.terms-gate-icon {
  font-size: 36px;
  margin-bottom: 8px;
}
.terms-gate-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}
.terms-gate-text {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}
.terms-gate-links {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 18px;
}
.terms-gate-links a {
  color: var(--accent);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
}
.terms-gate-links a:hover { text-decoration: underline; }
.terms-gate-links span { color: var(--text-muted); }
.terms-gate-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  text-align: left;
  margin-bottom: 16px;
  cursor: pointer;
  font-size: 13px;
  color: var(--text-secondary);
}
.terms-gate-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 1px;
  accent-color: var(--accent);
}
.terms-gate-check span { line-height: 1.4; }

/* ============ BLOG SCREEN ============ */
.blog-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}
.blog-header {
  margin-bottom: 32px;
}
.blog-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}
.blog-sub {
  color: var(--text-secondary);
  font-size: 15px;
}
.blog-loading,
.blog-empty {
  text-align: center;
  color: var(--text-muted);
  padding: 48px 0;
  font-size: 15px;
}
.blog-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.blog-card {
  display: block;
  text-align: left;
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  cursor: pointer;
  transition: border-color 0.2s, transform 0.15s;
  font: inherit;
  color: inherit;
}
.blog-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.blog-card-featured {
  background: var(--accent);
  color: #000;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.blog-card-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.3;
}
.blog-card-excerpt {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 12px;
}
.blog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}
.blog-card-author {
  font-size: 12px;
  color: var(--accent);
  font-weight: 600;
  white-space: nowrap;
}
.blog-card-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.blog-tag {
  font-size: 11px;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 3px 10px;
  border-radius: 6px;
  font-weight: 500;
}

/* Blog single post view */
.blog-post-view {
  padding-bottom: 40px;
}
.blog-article-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.blog-article-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.25;
  margin-bottom: 14px;
}
.blog-article-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.blog-article-content {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.75;
}
.blog-article-content p {
  margin-bottom: 18px;
}
.blog-article-content h2,
.blog-article-content h3 {
  color: var(--text);
  margin-top: 28px;
  margin-bottom: 12px;
}
.blog-article-content strong {
  color: var(--text);
  font-weight: 600;
}
.blog-article-content ul {
  margin: 12px 0 18px 20px;
}
.blog-article-content li {
  margin-bottom: 8px;
}
.blog-article-author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.blog-author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  flex-shrink: 0;
}
.blog-author-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}
.blog-author-role {
  font-size: 12px;
  color: var(--accent);
}

/* ============ STORE SCREEN ============ */
.store-container {
  max-width: 960px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}
.store-header {
  margin-bottom: 32px;
}
.store-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}
.store-sub {
  color: var(--text-secondary);
  font-size: 15px;
}
.store-loading,
.store-empty {
  text-align: center;
  color: var(--text-muted);
  padding: 48px 0;
  font-size: 15px;
}
.store-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.store-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color 0.2s, transform 0.15s;
}
.store-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.store-recommended {
  position: absolute;
  top: -1px;
  right: 16px;
  background: var(--accent);
  color: #000;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 0 0 8px 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.store-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  color: #000;
  padding: 3px 10px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
  align-self: flex-start;
}
.store-card-name {
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}
.store-card-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 14px;
  flex: 1;
}
.store-card-features {
  list-style: none;
  padding: 0;
  margin: 0 0 16px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.store-card-features li {
  font-size: 11px;
  color: var(--text-secondary);
  background: var(--bg);
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid var(--border);
}
.store-card-price {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 14px;
}
.store-price-label {
  font-size: 15px;
  font-weight: 600;
  color: var(--accent);
}
.store-notify-btn {
  width: 100%;
  text-align: center;
}
.store-notified {
  opacity: 0.7;
  cursor: default;
}
.store-buy-btn {
  width: 100%;
  text-align: center;
  display: block;
}
.store-footer {
  text-align: center;
  margin-top: 40px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
}
.store-footer p {
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 6px;
}
.store-footer p:last-child {
  margin-bottom: 0;
  color: var(--accent);
  font-weight: 500;
}

/* ============ BLOG + STORE MOBILE ============ */
@media (max-width: 640px) {
  .blog-container,
  .store-container {
    padding: 24px 16px 60px;
  }
  .blog-title,
  .store-title {
    font-size: 24px;
  }
  .blog-article-title {
    font-size: 22px;
  }
  .blog-card {
    padding: 18px;
  }
  .store-grid {
    grid-template-columns: 1fr;
  }
  .store-card {
    padding: 18px;
  }
}

/* ============ TESTIMONIALS SECTION ============ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 960px;
  margin: 0 auto 28px;
}

.testimonial-card {
  background: rgba(255,255,255,0.03);
  border: 1px dashed rgba(212,160,23,0.3);
  border-radius: 12px;
  padding: 28px 24px;
  text-align: center;
  transition: border-color 0.2s;
}

.testimonial-card:hover {
  border-color: rgba(212,160,23,0.6);
}

.testimonial-quote {
  font-size: 1.15rem;
  font-style: italic;
  color: rgba(255,255,255,0.35);
  margin-bottom: 14px;
  font-weight: 500;
}

.testimonial-cta {
  font-size: 0.9rem;
  color: var(--accent, #d4a017);
  font-weight: 600;
  line-height: 1.5;
}

.testimonials-founding {
  text-align: center;
  padding: 14px 24px;
  background: rgba(212,160,23,0.06);
  border: 1px solid rgba(212,160,23,0.15);
  border-radius: 8px;
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.founding-icon {
  color: var(--accent, #d4a017);
  font-size: 1.2rem;
}

.founding-text {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
}

@media (max-width: 768px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

/* ============ FAQ SECTION ============ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(212,160,23,0.15);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s;
}

.faq-item[open] {
  border-color: rgba(212,160,23,0.4);
}

.faq-question {
  padding: 18px 24px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  color: #fff;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}

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

.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--accent, #d4a017);
  font-weight: 300;
  transition: transform 0.2s;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item[open] .faq-question::after {
  content: '\2212';
}

.faq-answer {
  padding: 0 24px 18px;
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

.faq-answer a {
  color: var(--accent, #d4a017);
  text-decoration: underline;
}

@media (max-width: 600px) {
  .faq-question {
    padding: 14px 16px;
    font-size: 0.95rem;
  }
  .faq-answer {
    padding: 0 16px 14px;
    font-size: 0.9rem;
  }
}

/* ============ DETECTION SHIELD HUD ============ */
.detection-hud {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 50;
}

/* Base dot — positioned in each corner */
.detect-dot {
  position: absolute;
  width: 14px;
  height: 14px;
  pointer-events: auto;
  cursor: default;
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.detect-dot.active {
  opacity: 1;
  transform: scale(1);
}

/* Corner positions */
.detect-dot-red    { top: 56px; left: 12px; }
.detect-dot-yellow { top: 56px; right: 12px; }
.detect-dot-green  { bottom: 240px; left: 12px; }
.detect-dot-blue   { bottom: 240px; right: 12px; }

/* Dot core — solid center */
.detect-dot-core {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  position: relative;
  z-index: 2;
}

/* Dot ring — pulsing outer glow */
.detect-dot-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}

/* Label on hover / tap */
.detect-label {
  position: absolute;
  white-space: nowrap;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.5px;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  pointer-events: none;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  z-index: 10;
}
.detect-dot:hover .detect-label,
.detect-dot.show-label .detect-label {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* --- Red (lie / scam) --- */
.detect-dot-red .detect-dot-core {
  background: #ef4444;
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.6);
}
.detect-dot-red.active .detect-dot-ring {
  animation: pulseRed 1.8s ease-out infinite;
}
.detect-dot-red .detect-label {
  color: #ef4444;
}
@keyframes pulseRed {
  0%   { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.5); }
  70%  { box-shadow: 0 0 0 12px rgba(239, 68, 68, 0); }
  100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

/* --- Yellow (gaslighting / manipulation / narcissism) --- */
.detect-dot-yellow .detect-dot-core {
  background: #eab308;
  box-shadow: 0 0 8px rgba(234, 179, 8, 0.6);
}
.detect-dot-yellow.active .detect-dot-ring {
  animation: pulseYellow 1.8s ease-out infinite;
}
.detect-dot-yellow .detect-label {
  color: #eab308;
}
@keyframes pulseYellow {
  0%   { box-shadow: 0 0 0 0 rgba(234, 179, 8, 0.5); }
  70%  { box-shadow: 0 0 0 12px rgba(234, 179, 8, 0); }
  100% { box-shadow: 0 0 0 0 rgba(234, 179, 8, 0); }
}

/* --- Green (interest / attraction) --- */
.detect-dot-green .detect-dot-core {
  background: #22c55e;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.6);
}
.detect-dot-green.active .detect-dot-ring {
  animation: pulseGreen 2.2s ease-out infinite;
}
.detect-dot-green .detect-label {
  color: #22c55e;
}
@keyframes pulseGreen {
  0%   { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.45); }
  70%  { box-shadow: 0 0 0 12px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* --- Blue (rapport / trust) --- */
.detect-dot-blue .detect-dot-core {
  background: #3b82f6;
  box-shadow: 0 0 8px rgba(59, 130, 246, 0.6);
}
.detect-dot-blue.active .detect-dot-ring {
  animation: pulseBlue 2.2s ease-out infinite;
}
.detect-dot-blue .detect-label {
  color: #3b82f6;
}
@keyframes pulseBlue {
  0%   { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.45); }
  70%  { box-shadow: 0 0 0 12px rgba(59, 130, 246, 0); }
  100% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0); }
}

/* Severity escalation — high severity makes the dot larger + faster pulse */
.detect-dot.severity-high .detect-dot-core {
  width: 18px;
  height: 18px;
  margin: -2px 0 0 -2px;
}
.detect-dot.severity-high .detect-dot-ring {
  animation-duration: 1s !important;
}

/* ============ WITNESS INDICATOR ============ */
.witness-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: #ef4444;
  margin-left: 8px;
}
.witness-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ef4444;
  animation: witnessPulse 2s ease-in-out infinite;
}
.witness-count {
  background: rgba(239, 68, 68, 0.25);
  padding: 1px 6px;
  border-radius: 10px;
  font-size: 10px;
}
@keyframes witnessPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* ============ DETECTION TOAST ============ */
.detection-toast {
  position: absolute;
  bottom: 256px;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: calc(100% - 32px);
  max-width: 420px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 55;
  opacity: 0;
  transition: opacity 0.35s ease, transform 0.35s ease;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}
.detection-toast.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.detection-toast.hidden {
  display: none;
}

.detection-toast-icon {
  font-size: 20px;
  flex-shrink: 0;
  width: 28px;
  text-align: center;
}

.detection-toast-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.detection-toast-type {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.detection-toast-detail {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* Auto-dismiss progress bar at bottom */
.detection-toast-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 100%;
  transform-origin: left;
  transform: scaleX(1);
  transition: transform linear;
}

/* Toast color themes */
.detection-toast.toast-red .detection-toast-type { color: #ef4444; }
.detection-toast.toast-red .detection-toast-bar  { background: #ef4444; }
.detection-toast.toast-red { border-color: rgba(239, 68, 68, 0.3); }

.detection-toast.toast-yellow .detection-toast-type { color: #eab308; }
.detection-toast.toast-yellow .detection-toast-bar  { background: #eab308; }
.detection-toast.toast-yellow { border-color: rgba(234, 179, 8, 0.3); }

.detection-toast.toast-green .detection-toast-type { color: #22c55e; }
.detection-toast.toast-green .detection-toast-bar  { background: #22c55e; }
.detection-toast.toast-green { border-color: rgba(34, 197, 94, 0.3); }

.detection-toast.toast-blue .detection-toast-type { color: #3b82f6; }
.detection-toast.toast-blue .detection-toast-bar  { background: #3b82f6; }
.detection-toast.toast-blue { border-color: rgba(59, 130, 246, 0.3); }

/* ============ BODY LANGUAGE CUE BAR ============ */
.body-language-bar {
  position: absolute;
  bottom: 212px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  width: calc(100% - 32px);
  max-width: 420px;
  background: linear-gradient(135deg, rgba(212, 160, 23, 0.12), rgba(212, 160, 23, 0.06));
  border: 1px solid rgba(212, 160, 23, 0.3);
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 52;
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
  box-shadow: 0 4px 24px rgba(212, 160, 23, 0.1);
}
.body-language-bar.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.body-language-bar.hidden {
  display: none;
}

.bl-icon {
  font-size: 22px;
  flex-shrink: 0;
  filter: grayscale(0.2);
}

.bl-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.bl-action {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-light);
  line-height: 1.3;
}

.bl-reason {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.3;
}

.bl-timing {
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--accent);
  text-transform: uppercase;
  flex-shrink: 0;
  background: var(--accent-dim);
  padding: 3px 8px;
  border-radius: 4px;
}

/* ============ DETECTION MOBILE RESPONSIVE ============ */
@media (max-width: 480px) {
  .detect-dot-red    { top: 52px; left: 8px; }
  .detect-dot-yellow { top: 52px; right: 8px; }
  .detect-dot-green  { bottom: 220px; left: 8px; }
  .detect-dot-blue   { bottom: 220px; right: 8px; }

  .detection-toast,
  .body-language-bar {
    width: calc(100% - 20px);
    bottom: 220px;
  }
  .body-language-bar {
    bottom: 196px;
  }

  .detect-label {
    font-size: 8px;
    padding: 3px 8px;
  }

  .bl-action { font-size: 13px; }
  .bl-reason { font-size: 11px; }
}

/* Early Adopter Callout */
.early-adopter-callout {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: linear-gradient(135deg, rgba(212, 160, 23, 0.12), rgba(212, 160, 23, 0.04));
  border: 1px solid rgba(212, 160, 23, 0.3);
  border-radius: 16px;
  padding: 20px 24px;
  margin: 24px auto 16px;
  max-width: 800px;
}
.ea-badge-icon {
  font-size: 36px;
  flex-shrink: 0;
}
.ea-headline {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #d4a017;
  margin-bottom: 6px;
}
.ea-sub {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.5;
}
.ea-sub strong {
  color: #d4a017;
}

/* Footer Legal */
.footer-legal {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-legal p {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.35);
  margin: 4px 0;
}

/* Store Section Title */
.store-section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #d4a017;
  margin: 32px 0 16px;
}
