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

:root {
  --bg: #0a0e1a;
  --bg-card: #111827;
  --bg-alt: #0f172a;
  --fg: #ffffff;
  --fg-muted: #94a3b8;
  --accent: #f59e0b;
  --accent-dim: #d97706;
  --success: #10b981;
  --danger: #ef4444;
  --border: rgba(255,255,255,0.08);
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* === NAV === */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  color: var(--accent);
  letter-spacing: -0.5px;
}

.nav-tagline {
  font-size: 13px;
  color: var(--fg-muted);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* === HERO === */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 80px 48px 100px;
  min-height: 90vh;
  max-width: 1400px;
  margin: 0 auto;
}

.hero-content { max-width: 580px; }

.hero-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent);
  border: 1px solid var(--accent-dim);
  padding: 6px 14px;
  border-radius: 4px;
  margin-bottom: 28px;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(42px, 5vw, 72px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 18px;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 48px;
  max-width: 480px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
}

.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-value { font-family: var(--font-display); font-size: 28px; font-weight: 700; color: var(--accent); }
.stat-label { font-size: 13px; color: var(--fg-muted); }
.stat-divider { width: 1px; height: 40px; background: var(--border); }

/* === HERO PHONE === */
.hero-visual { display: flex; justify-content: center; align-items: center; }

.phone-frame {
  width: 280px;
  background: #1e293b;
  border-radius: 36px;
  padding: 12px;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.1), 0 40px 80px rgba(0,0,0,0.6), 0 0 60px rgba(245,158,11,0.08);
}

.phone-screen {
  background: var(--bg-alt);
  border-radius: 28px;
  padding: 20px;
  min-height: 460px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.screen-header { text-align: left; }
.screen-date { font-size: 11px; color: var(--fg-muted); margin-bottom: 4px; }
.screen-title { font-family: var(--font-display); font-size: 16px; font-weight: 600; color: var(--fg); }

.alert-preview {
  background: var(--bg-card);
  border-radius: 14px;
  padding: 14px;
  border: 1px solid var(--border);
}

.alert-ticker { font-family: var(--font-display); font-size: 20px; font-weight: 700; margin-bottom: 4px; }
.alert-type {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 12px;
}
.alert-type.call { background: rgba(16,185,129,0.15); color: var(--success); }
.alert-row { display: flex; justify-content: space-between; margin-bottom: 6px; }
.alert-label { font-size: 11px; color: var(--fg-muted); }
.alert-val { font-size: 12px; font-weight: 600; }
.alert-val.accent { color: var(--accent); }
.alert-val.danger { color: var(--danger); }
.alert-val.success { color: var(--success); }

.ai-confidence { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
.conf-label { font-size: 10px; color: var(--fg-muted); }
.conf-bar { flex: 1; height: 4px; background: rgba(255,255,255,0.1); border-radius: 2px; }
.conf-fill { display: block; height: 100%; background: var(--accent); border-radius: 2px; }
.conf-pct { font-size: 11px; font-weight: 600; color: var(--accent); }

.ai-hint {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(245,158,11,0.08);
  border: 1px solid rgba(245,158,11,0.2);
  border-radius: 10px;
  padding: 10px 12px;
}
.ai-icon { color: var(--accent); font-size: 14px; }
.ai-hint span { font-size: 11px; color: var(--fg-muted); }

/* === HOW IT WORKS === */
.howitworks {
  background: var(--bg-alt);
  padding: 100px 48px;
}

.section-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 60px;
  max-width: 600px;
}

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }

.step {}
.step-num {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.3;
  margin-bottom: 16px;
}
.step-title { font-size: 17px; font-weight: 600; margin-bottom: 12px; }
.step-desc { font-size: 14px; color: var(--fg-muted); line-height: 1.7; }

/* === AI TUTOR === */
.aitutor {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 80px;
  padding: 100px 48px;
  max-width: 1400px;
  margin: 0 auto;
  align-items: start;
}

.mentor-chat {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 32px;
}

.chat-bubble {
  border-radius: 14px;
  padding: 14px 16px;
  font-size: 13px;
  line-height: 1.6;
}
.chat-bubble.user { background: var(--accent); color: #000; font-weight: 600; align-self: flex-end; max-width: 85%; }
.chat-bubble.ai { background: var(--bg-card); border: 1px solid var(--border); align-self: flex-start; max-width: 95%; }

.aitutor-body { font-size: 16px; color: var(--fg-muted); line-height: 1.8; margin-bottom: 0; }

.aitutor-visual {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 40px;
}

.feature-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  font-size: 14px;
  font-weight: 500;
}

.feature-pill.dark {
  background: rgba(245,158,11,0.08);
  border-color: rgba(245,158,11,0.25);
  color: var(--accent);
}

.pill-icon { color: var(--accent); font-size: 16px; }

/* === ALERT CARD === */
.alertcard-section {
  background: var(--bg-alt);
  padding: 100px 48px;
  text-align: center;
}

.alertcard-section .section-title { margin-left: auto; margin-right: auto; }

.card-showcase { display: flex; justify-content: center; margin-bottom: 32px; }

.big-alert-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  max-width: 540px;
  width: 100%;
  text-align: left;
}

.card-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.card-ticker { font-family: var(--font-display); font-size: 28px; font-weight: 700; }
.card-type {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 6px;
}
.card-type.put { background: rgba(239,68,68,0.15); color: var(--danger); }
.card-confidence { display: flex; align-items: center; gap: 6px; margin-left: auto; font-size: 13px; color: var(--fg-muted); }
.conf-dot { width: 8px; height: 8px; background: var(--success); border-radius: 50%; }

.card-details { display: flex; flex-direction: column; gap: 0; margin-bottom: 20px; border-top: 1px solid var(--border); padding-top: 16px; }
.card-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.04); }
.cr-label { font-size: 13px; color: var(--fg-muted); }
.cr-val { font-size: 13px; font-weight: 600; }

.card-reason { background: rgba(245,158,11,0.06); border: 1px solid rgba(245,158,11,0.15); border-radius: 10px; padding: 14px; margin-bottom: 14px; }
.reason-label { font-size: 11px; font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: 1px; display: block; margin-bottom: 6px; }
.card-reason p { font-size: 13px; color: var(--fg-muted); line-height: 1.6; }

.card-lesson { border: 1px solid rgba(16,185,129,0.2); border-radius: 10px; padding: 14px; }
.lesson-badge { display: inline-block; font-size: 10px; font-weight: 600; color: var(--success); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 6px; }
.card-lesson p { font-size: 12px; color: var(--fg-muted); line-height: 1.6; }

.card-caption { font-size: 14px; color: var(--fg-muted); max-width: 480px; margin: 0 auto; }

/* === CLOSING === */
.closing {
  padding: 120px 48px;
  text-align: center;
}

.closing-inner { max-width: 700px; margin: 0 auto; }
.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 700;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 24px;
}
.closing-sub { font-size: 18px; color: var(--fg-muted); line-height: 1.7; margin-bottom: 48px; }
.closing-vision {
  background: rgba(245,158,11,0.06);
  border: 1px solid rgba(245,158,11,0.2);
  border-radius: 14px;
  padding: 24px 32px;
  display: inline-block;
  text-align: left;
}
.vision-label { font-size: 11px; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: 1.5px; display: block; margin-bottom: 8px; }
.closing-vision p { font-size: 15px; color: var(--fg-muted); line-height: 1.7; }

/* === FOOTER === */
.footer {
  border-top: 1px solid var(--border);
  padding: 48px;
}

.footer-brand { margin-bottom: 24px; }
.footer-logo { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--accent); margin-bottom: 8px; }
.footer-desc { font-size: 13px; color: var(--fg-muted); }
.footer-note p { font-size: 12px; color: var(--fg-muted); margin-bottom: 8px; }
.footer-legal { color: rgba(148,163,184,0.5); }

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .nav { padding: 16px 24px; }
  .hero { grid-template-columns: 1fr; gap: 48px; padding: 60px 24px 80px; min-height: auto; }
  .hero-visual { display: none; }
  .steps { grid-template-columns: 1fr; }
  .howitworks { padding: 60px 24px; }
  .aitutor { grid-template-columns: 1fr; gap: 40px; padding: 60px 24px; }
  .aitutor-visual { padding-top: 0; }
  .alertcard-section { padding: 60px 24px; }
  .closing { padding: 80px 24px; }
  .footer { padding: 32px 24px; }
}

@media (max-width: 480px) {
  .hero-headline { font-size: 36px; }
  .hero-stats { gap: 20px; }
  .stat-value { font-size: 22px; }
}