/* pilot-proposal.css — styles for /pilot/:slug personalized proposal pages */
*, *::before, *::after { box-sizing: border-box; }
:root {
  --navy: #0f172a;
  --blue: #0ea5e9;
  --purple: #8b5cf6;
  --green: #22c55e;
  --amber: #f59e0b;
  --text: #1e293b;
  --muted: #64748b;
  --border: #e2e8f0;
  --bg: #f8fafc;
}
body { margin: 0; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; background: #fff; color: var(--text); line-height: 1.6; }

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #0f172a 100%);
  padding: 64px 24px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(139,92,246,0.25) 0%, transparent 70%);
}
.hero-badge {
  display: inline-block;
  background: rgba(139,92,246,0.2);
  border: 1px solid rgba(139,92,246,0.4);
  color: #c4b5fd;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
  position: relative;
}
.hero h1 {
  position: relative;
  color: #fff;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 900;
  margin: 0 0 16px;
  line-height: 1.2;
}
.hero h1 span { color: #38bdf8; }
.hero-sub {
  position: relative;
  color: #94a3b8;
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto 40px;
}

/* ── LAYOUT ── */
.container { max-width: 900px; margin: 0 auto; padding: 0 24px; }
.section { padding: 64px 0; }
.section-title { font-size: 28px; font-weight: 800; margin: 0 0 8px; }
.section-sub { color: var(--muted); margin: 0 0 40px; }

/* ── STATS ROW ── */
.stats-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin: 0 0 48px; }
.stat-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 24px;
  text-align: center;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.stat-num { font-size: 32px; font-weight: 900; color: var(--blue); line-height: 1; }
.stat-label { font-size: 13px; color: var(--muted); margin-top: 4px; }
.stat-source { font-size: 10px; color: #94a3b8; margin-top: 2px; }

/* ── MANDATE BLOCK ── */
.mandate-card {
  background: linear-gradient(135deg, #f0fdf4, #dcfce7);
  border: 1px solid #86efac;
  border-radius: 14px;
  padding: 28px 32px;
  margin: 0 0 40px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
}
.mandate-icon { font-size: 36px; flex-shrink: 0; }
.mandate-score {
  font-size: 48px;
  font-weight: 900;
  color: #15803d;
  line-height: 1;
  flex-shrink: 0;
  min-width: 80px;
}
.mandate-score span { font-size: 20px; color: #16a34a; }
.mandate-text h3 { margin: 0 0 8px; font-size: 18px; color: #14532d; }
.mandate-text p { margin: 0 0 12px; color: #166534; font-size: 14px; line-height: 1.5; }
.mandate-codes { display: flex; flex-wrap: wrap; gap: 6px; }
.code-tag {
  background: #166534;
  color: #dcfce7;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
  font-family: monospace;
}
.mandate-laws { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.law-tag {
  background: #15803d;
  color: #f0fdf4;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 6px;
  letter-spacing: 0.03em;
}

/* ── PRICING ── */
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 0 0 40px; }
@media(max-width: 600px) { .pricing-grid { grid-template-columns: 1fr; } }
.price-card {
  background: #fff;
  border: 2px solid var(--border);
  border-radius: 14px;
  padding: 28px;
}
.price-card.featured {
  border-color: var(--purple);
  background: linear-gradient(135deg, #faf5ff, #f5f3ff);
}
.price-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin: 0 0 8px; }
.price-label.accent { color: var(--purple); }
.price-amount { font-size: 42px; font-weight: 900; line-height: 1; color: var(--text); }
.price-amount sup { font-size: 20px; vertical-align: top; margin-top: 8px; }
.price-period { font-size: 14px; color: var(--muted); margin: 4px 0 12px; }
.price-detail { font-size: 14px; color: var(--muted); line-height: 1.6; }
.price-detail strong { color: var(--text); }

/* ── MISSION CARDS ── */
.mission-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 0 0 40px; }
@media(max-width: 700px) { .mission-cards { grid-template-columns: 1fr; } }
.mission-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  transition: transform 0.15s, box-shadow 0.15s;
}
.mission-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.mission-icon { font-size: 32px; margin-bottom: 12px; }
.mission-title { font-weight: 800; font-size: 15px; margin: 0 0 6px; }
.mission-xp { font-size: 11px; font-weight: 700; color: var(--amber); background: #fef3c7; padding: 2px 8px; border-radius: 100px; display: inline-block; margin-bottom: 8px; }
.mission-desc { font-size: 13px; color: var(--muted); line-height: 1.5; }

/* ── ROI BLOCK ── */
.roi-card {
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
  border-radius: 16px;
  padding: 40px;
  color: #fff;
  margin: 0 0 40px;
}
.roi-card h3 { font-size: 22px; font-weight: 800; margin: 0 0 24px; color: #38bdf8; }
.roi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 20px; }
.roi-item { text-align: center; }
.roi-num { font-size: 30px; font-weight: 900; color: #38bdf8; line-height: 1; }
.roi-desc { font-size: 12px; color: #94a3b8; margin-top: 4px; }

/* ── VIDEO PLACEHOLDER ── */
.video-placeholder {
  background: linear-gradient(135deg, #1e1b4b, #0f172a);
  border-radius: 14px;
  aspect-ratio: 16/9;
  max-width: 640px;
  margin: 0 auto 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.play-btn {
  width: 72px; height: 72px;
  background: rgba(139,92,246,0.85);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  transition: transform 0.15s, background 0.15s;
}
.video-placeholder:hover .play-btn { transform: scale(1.1); background: var(--purple); }
.video-caption { color: #c4b5fd; font-size: 14px; font-weight: 600; }

/* ── SOCIAL PROOF BLOCK ── */
.social-proof-block {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 32px 28px;
  margin: 0 0 40px;
}
.sp-headline {
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 24px;
  text-align: center;
}
.sp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
}
.sp-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 16px;
  text-align: center;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.sp-num {
  font-size: 34px;
  font-weight: 900;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 6px;
}
.sp-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
  line-height: 1.3;
}
.sp-detail {
  font-size: 11px;
  color: #94a3b8;
  line-height: 1.4;
}
.sp-as-of {
  font-size: 11px;
  color: #94a3b8;
  text-align: center;
  margin-top: 16px;
}

/* ── CTA SECTION ── */
.cta-section {
  background: linear-gradient(135deg, #7c3aed 0%, #4f46e5 100%);
  border-radius: 20px;
  padding: 56px 40px;
  text-align: center;
  margin: 0 0 64px;
  color: #fff;
}
.cta-section h2 { font-size: 32px; font-weight: 900; margin: 0 0 12px; }
.cta-section p { font-size: 18px; color: rgba(255,255,255,0.8); margin: 0 0 40px; }
.cta-btns { display: flex; flex-direction: column; align-items: center; gap: 12px; }
@media(min-width: 480px) { .cta-btns { flex-direction: row; justify-content: center; } }
.btn-primary {
  display: inline-block;
  background: #fff;
  color: #4f46e5;
  font-size: 17px;
  font-weight: 800;
  padding: 16px 36px;
  border-radius: 10px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  min-width: 260px;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(0,0,0,0.25); }
.btn-primary:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.btn-secondary {
  display: inline-block;
  background: transparent;
  color: rgba(255,255,255,0.85);
  font-size: 15px;
  font-weight: 600;
  padding: 16px 28px;
  border-radius: 10px;
  text-decoration: none;
  border: 2px solid rgba(255,255,255,0.4);
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}
.btn-secondary:hover { border-color: rgba(255,255,255,0.9); color: #fff; }
.cta-confirm {
  display: none;
  background: #dcfce7;
  border: 1px solid #86efac;
  border-radius: 10px;
  padding: 20px 28px;
  color: #14532d;
  font-size: 15px;
  font-weight: 600;
  margin-top: 12px;
  max-width: 480px;
}

/* ── ACTIVATED STATE ── */
.activated-banner {
  background: #dcfce7;
  border: 2px solid #86efac;
  border-radius: 12px;
  padding: 20px 28px;
  margin: 24px 0;
  display: flex;
  align-items: center;
  gap: 16px;
}
.activated-banner .icon { font-size: 32px; }
.activated-banner h4 { margin: 0 0 4px; color: #14532d; }
.activated-banner p { margin: 0; color: #166534; font-size: 14px; }
.school-code-display {
  font-family: monospace;
  font-size: 24px;
  font-weight: 900;
  color: #15803d;
  letter-spacing: 3px;
  background: #f0fdf4;
  padding: 8px 16px;
  border-radius: 6px;
  display: inline-block;
}

/* ── ENROLLMENT NOTE ── */
.enroll-note { font-size: 12px; color: #94a3b8; margin-top: 4px; }

/* ── DIVIDER ── */
.divider { border: none; border-top: 1px solid var(--border); margin: 0; }