/* ===== CyberHeroesHQ — Educators Landing Page ===== */
/* Vibe: Professional, trustworthy, authoritative. Khan Academy × security company.
   Fonts: Instrument Serif (headings) + Satoshi (body). Navy + Sky Blue + Warm White. */

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

:root {
  /* Core palette */
  --navy-950: #060d1e;
  --navy-900: #0b1628;
  --navy-800: #122040;
  --navy-700: #1a3060;
  --navy-600: #1e3a8a;
  --sky-500:  #0ea5e9;
  --sky-400:  #38bdf8;
  --sky-100:  #e0f2fe;
  --sky-50:   #f0f9ff;
  --teal-500: #14b8a6;
  --green-500: #22c55e;
  --green-100: #dcfce7;
  --amber-500: #f59e0b;
  --amber-100: #fef3c7;
  --red-100:   #fee2e2;
  --red-500:   #ef4444;
  --slate-900: #0f172a;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50:  #f8fafc;
  --warm-white: #faf9f7;
  --white: #ffffff;

  /* Typography */
  --font-display: 'Instrument Serif', Georgia, serif;
  --font-body:    'Satoshi', system-ui, sans-serif;

  /* Spacing */
  --section-gap: 96px;
  --container-max: 1160px;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg:  0 12px 40px rgba(0,0,0,0.12);
  --shadow-xl:  0 24px 60px rgba(0,0,0,0.16);
  --shadow-sky: 0 4px 20px rgba(14,165,233,0.18);

  /* Radius */
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 24px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--slate-900);
  background: var(--warm-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--sky-500); text-decoration: none; }
a:hover { color: var(--sky-400); }

code {
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 0.88em;
  background: var(--slate-100);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--navy-700);
}

/* ── Nav ──────────────────────────────────────────────────────────────────── */
.ed-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 249, 247, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--slate-200);
}

.ed-nav-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ed-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--slate-900);
  font-weight: 600;
  font-size: 15px;
}

.ed-brand-mark {
  font-size: 20px;
}

.ed-brand-name {
  color: var(--navy-800);
  font-weight: 700;
}

.ed-brand-tag {
  color: var(--slate-500);
  font-size: 13px;
  font-weight: 400;
  background: var(--sky-50);
  border: 1px solid var(--sky-100);
  padding: 2px 8px;
  border-radius: 20px;
}

.ed-nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.ed-nav-links a {
  color: var(--slate-600);
  font-size: 14px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: var(--r-sm);
  transition: all 0.2s;
}

.ed-nav-links a:hover {
  color: var(--navy-800);
  background: var(--slate-100);
}

.ed-nav-cta {
  background: var(--sky-500) !important;
  color: var(--white) !important;
  padding: 8px 16px !important;
  border-radius: var(--r-sm) !important;
  font-weight: 600 !important;
}

.ed-nav-cta:hover {
  background: var(--sky-400) !important;
  color: var(--white) !important;
  text-decoration: none;
}

/* ── Hero ─────────────────────────────────────────────────────────────────── */
.ed-hero {
  background: linear-gradient(160deg, var(--navy-950) 0%, var(--navy-800) 60%, var(--navy-700) 100%);
  padding: 80px 24px 96px;
  position: relative;
  overflow: hidden;
}

.ed-hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(14,165,233,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.ed-hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: 20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(20,184,166,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.ed-hero-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.ed-hero-badge {
  display: inline-block;
  background: rgba(14,165,233,0.15);
  border: 1px solid rgba(14,165,233,0.4);
  color: var(--sky-400);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.ed-hero-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 400;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
}

.ed-hero-title em {
  color: var(--sky-400);
  font-style: italic;
}

.ed-hero-sub {
  font-size: 17px;
  color: rgba(255,255,255,0.72);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 32px;
}

.ed-hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.ed-hero-stats {
  display: flex;
  gap: 40px;
}

.ed-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ed-stat-num {
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--white);
  line-height: 1;
}

.ed-stat-lbl {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  font-weight: 500;
}

/* ── Hero visual (screen mock) ─────────────────────────────────────────────── */
.ed-hero-visual {
  display: flex;
  justify-content: center;
}

.ed-screen-mock {
  width: 380px;
  background: var(--navy-900);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-xl);
  box-shadow: 0 32px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.04);
  overflow: hidden;
}

.ed-screen-bar {
  background: rgba(255,255,255,0.04);
  padding: 10px 16px;
  display: flex;
  gap: 6px;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.ed-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
}
.ed-dot:nth-child(1) { background: rgba(239,68,68,0.6); }
.ed-dot:nth-child(2) { background: rgba(245,158,11,0.6); }
.ed-dot:nth-child(3) { background: rgba(34,197,94,0.6); }

.ed-screen-body {
  padding: 20px;
}

.ed-mock-dashboard {}

.ed-mock-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.ed-mock-avatar {
  font-size: 28px;
  background: rgba(14,165,233,0.15);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(14,165,233,0.3);
}

.ed-mock-name {
  color: var(--white);
  font-weight: 600;
  font-size: 15px;
}

.ed-mock-level {
  color: var(--sky-400);
  font-size: 12px;
}

.ed-mock-xp-bar {
  background: rgba(255,255,255,0.08);
  height: 6px;
  border-radius: 3px;
  margin-bottom: 20px;
  overflow: hidden;
}

.ed-mock-xp-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--sky-500), var(--teal-500));
  border-radius: 3px;
  transition: width 1s ease;
}

.ed-mock-missions {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.ed-mock-mission {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border-radius: var(--r-sm);
  font-size: 13px;
  color: rgba(255,255,255,0.85);
}

.ed-mission-done   { background: rgba(34,197,94,0.1); border: 1px solid rgba(34,197,94,0.2); }
.ed-mission-active { background: rgba(14,165,233,0.15); border: 1px solid rgba(14,165,233,0.35); }
.ed-mission-locked { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); color: rgba(255,255,255,0.35); }

.ed-chip-done   { background: rgba(34,197,94,0.2); color: #22c55e; font-size: 11px; padding: 1px 8px; border-radius: 12px; font-weight: 600; }
.ed-chip-active { background: rgba(14,165,233,0.25); color: var(--sky-400); font-size: 11px; padding: 1px 8px; border-radius: 12px; font-weight: 600; }
.ed-chip-locked { color: rgba(255,255,255,0.25); font-size: 12px; }

.ed-mock-badges {
  display: flex;
  gap: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 20px;
}

/* ── Buttons ──────────────────────────────────────────────────────────────── */
.ed-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--sky-500);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  padding: 12px 24px;
  border-radius: var(--r-md);
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  box-shadow: var(--shadow-sky);
}

.ed-btn-primary:hover {
  background: var(--sky-400);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(14,165,233,0.3);
  color: var(--white);
  text-decoration: none;
}

.ed-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  color: rgba(255,255,255,0.75);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  padding: 12px 20px;
  border-radius: var(--r-md);
  border: 1px solid rgba(255,255,255,0.2);
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.ed-btn-ghost:hover {
  background: rgba(255,255,255,0.08);
  color: var(--white);
  border-color: rgba(255,255,255,0.35);
  text-decoration: none;
}

.ed-btn-full {
  width: 100%;
  justify-content: center;
}

.ed-btn-submit {
  font-size: 16px;
  padding: 14px 24px;
  margin-top: 4px;
}

.ed-btn-arrow {
  transition: transform 0.2s;
}
.ed-btn-submit:hover .ed-btn-arrow {
  transform: translateX(4px);
}

/* ── Sections ─────────────────────────────────────────────────────────────── */
.ed-section {
  padding: var(--section-gap) 24px;
}

.ed-section-dark {
  background: var(--navy-950);
  color: var(--white);
}

.ed-section-tinted {
  background: var(--sky-50);
}

.ed-container {
  max-width: var(--container-max);
  margin: 0 auto;
}

.ed-section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--sky-500);
  margin-bottom: 12px;
}

.ed-label-light {
  color: rgba(14,165,233,0.85);
}

.ed-section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 400;
  color: var(--navy-900);
  line-height: 1.2;
  margin-bottom: 16px;
}

.ed-title-light {
  color: var(--white);
}

.ed-section-sub {
  font-size: 17px;
  color: var(--slate-600);
  max-width: 680px;
  line-height: 1.7;
  margin-bottom: 48px;
}

.ed-sub-light {
  color: rgba(255,255,255,0.62);
}

/* ── How It Works Steps ─────────────────────────────────────────────────────── */
.ed-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-top: 48px;
}

.ed-step {
  flex: 1;
  display: flex;
  gap: 20px;
  padding: 32px;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
  opacity: 0;
  transform: translateY(16px);
}

.ed-step.visible {
  opacity: 1;
  transform: translateY(0);
}

.ed-step:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--sky-100);
  transform: translateY(-2px);
}

.ed-step-num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--navy-900);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
}

.ed-step-body h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--navy-900);
  margin-bottom: 8px;
  line-height: 1.3;
}

.ed-step-body p {
  font-size: 14px;
  color: var(--slate-600);
  line-height: 1.7;
}

.ed-step-arrow {
  flex-shrink: 0;
  align-self: center;
  font-size: 24px;
  color: var(--slate-300);
  padding: 0 8px;
}

/* ── Screenshots ─────────────────────────────────────────────────────────── */
.ed-screenshots {
  padding: var(--section-gap) 24px;
  background: var(--slate-100);
}

.ed-screenshots-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 20px;
  margin-top: 48px;
}

.ed-screenshot-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--r-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.ed-ss-large {
  grid-column: 1 / -1;
}

.ed-ss-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--slate-500);
  margin-bottom: 16px;
  text-transform: uppercase;
}

.ed-ss-caption {
  font-size: 14px;
  color: var(--slate-600);
  line-height: 1.6;
  margin-top: 16px;
}

/* Inbox mock */
.ed-ss-preview {
  border-radius: var(--r-md);
  overflow: hidden;
}

.ed-ss-inbox {
  background: linear-gradient(135deg, #0b1628 0%, #122040 100%);
  padding: 20px;
}

.ed-inbox-mock {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ed-inbox-header {
  color: var(--sky-400);
  font-size: 14px;
  font-weight: 600;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 4px;
}

.ed-inbox-email {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-md);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.ed-inbox-legit {
  border-color: rgba(34,197,94,0.2);
}

.ed-inbox-phish {
  border-color: rgba(239,68,68,0.3);
  background: rgba(239,68,68,0.04);
}

.ed-inbox-from {
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  flex: 0 0 220px;
}

.ed-inbox-phish .ed-inbox-from {
  color: rgba(239,68,68,0.9);
  font-family: monospace;
  font-size: 12px;
}

.ed-inbox-subject {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  flex: 1;
}

.ed-inbox-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.ed-inbox-btn {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.ed-btn-trust {
  background: rgba(34,197,94,0.15);
  color: #22c55e;
  border: 1px solid rgba(34,197,94,0.3);
}

.ed-btn-report {
  background: rgba(239,68,68,0.1);
  color: rgba(239,68,68,0.85);
  border: 1px solid rgba(239,68,68,0.25);
}

.ed-inbox-hint {
  color: rgba(255,255,255,0.4);
  font-size: 12px;
  font-style: italic;
  text-align: center;
  padding-top: 4px;
}

/* Teacher mock */
.ed-ss-teacher {
  background: var(--slate-50);
  padding: 16px;
}

.ed-teacher-mock {
  font-size: 13px;
}

.ed-t-header {
  font-weight: 600;
  color: var(--navy-900);
  padding: 10px 12px;
  background: var(--navy-900);
  color: var(--white);
  border-radius: var(--r-sm);
  margin-bottom: 8px;
}

.ed-t-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  border-bottom: 1px solid var(--slate-200);
}

.ed-t-student { flex: 1; font-weight: 500; color: var(--slate-900); }
.ed-t-xp { color: var(--sky-500); font-weight: 600; font-size: 12px; }
.ed-t-lvl { color: var(--slate-500); font-size: 12px; background: var(--slate-100); padding: 2px 8px; border-radius: 12px; }
.ed-t-badges { font-size: 14px; }

.ed-t-export {
  padding: 8px 12px;
  color: var(--sky-500);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  text-align: right;
}

/* Report mock */
.ed-ss-report {
  background: var(--slate-50);
  padding: 16px;
}

.ed-report-mock {}

.ed-r-header {
  font-weight: 600;
  color: var(--navy-900);
  margin-bottom: 12px;
  font-size: 14px;
}

.ed-r-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.ed-r-label {
  font-size: 12px;
  color: var(--slate-700);
  flex: 0 0 120px;
}

.ed-r-bar {
  flex: 1;
  height: 8px;
  background: var(--slate-200);
  border-radius: 4px;
  overflow: hidden;
}

.ed-r-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--sky-500), var(--teal-500));
  border-radius: 4px;
}

.ed-r-pct {
  font-size: 12px;
  font-weight: 600;
  color: var(--slate-700);
  flex: 0 0 36px;
  text-align: right;
}

.ed-r-missed {
  margin-top: 12px;
  padding: 8px 12px;
  background: var(--amber-100);
  border-radius: var(--r-sm);
  font-size: 12px;
  color: #92400e;
}

/* Badges mock */
.ed-ss-badges {
  background: linear-gradient(135deg, #0b1628, #122040);
  padding: 20px;
}

.ed-badges-mock {}

.ed-badge-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.ed-badge-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 8px;
  border-radius: var(--r-md);
  font-size: 12px;
  text-align: center;
}

.ed-badge-item.earned {
  background: rgba(14,165,233,0.1);
  border: 1px solid rgba(14,165,233,0.25);
  color: rgba(255,255,255,0.85);
}

.ed-badge-item.locked {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.25);
}

.ed-badge-item span {
  font-size: 24px;
}

/* ── Why Different gaps ─────────────────────────────────────────────────────── */
.ed-gaps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 48px;
}

.ed-gap {
  padding: 28px;
  border-radius: var(--r-lg);
  border: 1px solid rgba(255,255,255,0.08);
  transition: all 0.3s;
  opacity: 0;
  transform: translateY(12px);
}

.ed-gap.visible {
  opacity: 1;
  transform: translateY(0);
}

.ed-gap-shipped {
  background: rgba(255,255,255,0.04);
  border-color: rgba(34,197,94,0.15);
}

.ed-gap-shipped:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(34,197,94,0.3);
}

.ed-gap-soon {
  background: rgba(255,255,255,0.02);
  border-color: rgba(255,255,255,0.06);
}

.ed-gap-status {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.ed-gap-shipped .ed-gap-status { color: #22c55e; }
.ed-gap-soon .ed-gap-status { color: var(--amber-500); }

.ed-gap h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 10px;
  line-height: 1.3;
}

.ed-gap-soon h3 {
  color: rgba(255,255,255,0.6);
}

.ed-gap p {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
}

.ed-gap-soon p {
  color: rgba(255,255,255,0.38);
}

/* ── ISTE Table ─────────────────────────────────────────────────────────────── */
.ed-table-wrap {
  overflow-x: auto;
  border-radius: var(--r-lg);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
}

.ed-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  background: var(--white);
}

.ed-table thead tr {
  background: var(--navy-900);
  color: var(--white);
}

.ed-table th {
  padding: 14px 18px;
  text-align: left;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.02em;
}

.ed-table tbody tr {
  border-bottom: 1px solid var(--slate-100);
  transition: background 0.15s;
}

.ed-table tbody tr:last-child {
  border-bottom: none;
}

.ed-table tbody tr:hover {
  background: var(--sky-50);
}

.ed-table td {
  padding: 14px 18px;
  color: var(--slate-700);
  vertical-align: top;
  line-height: 1.5;
}

.ed-table td:first-child {
  font-weight: 500;
  color: var(--slate-900);
  white-space: nowrap;
}

.ed-mission-icon {
  margin-right: 6px;
}

.ed-table-note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--slate-500);
  font-style: italic;
}

/* ── Pricing ─────────────────────────────────────────────────────────────── */
.ed-pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
  max-width: 800px;
}

.ed-price-card {
  border-radius: var(--r-xl);
  padding: 36px;
  position: relative;
  transition: all 0.3s;
  opacity: 0;
  transform: translateY(12px);
}

.ed-price-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.ed-price-featured {
  background: var(--navy-900);
  color: var(--white);
  border: 2px solid var(--sky-500);
  box-shadow: 0 0 0 4px rgba(14,165,233,0.1), var(--shadow-xl);
}

.ed-price-future {
  background: var(--white);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-md);
}

.ed-price-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 20px;
  background: var(--sky-500);
  color: var(--white);
}

.ed-badge-muted {
  background: var(--slate-200);
  color: var(--slate-600);
}

.ed-price-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  color: inherit;
}

.ed-price-featured h3 { color: var(--white); }
.ed-price-future h3 { color: var(--slate-900); }

.ed-price-amount {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 400;
  line-height: 1;
  margin-bottom: 4px;
  color: inherit;
}

.ed-price-featured .ed-price-amount { color: var(--sky-400); }
.ed-price-future .ed-price-amount { color: var(--slate-400); }

.ed-price-tbd {
  font-size: 36px;
  color: var(--slate-300);
}

.ed-price-amount span {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  opacity: 0.7;
}

.ed-price-period {
  font-size: 13px;
  margin-bottom: 24px;
  opacity: 0.6;
}

.ed-price-features {
  list-style: none;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ed-price-features li {
  font-size: 14px;
  line-height: 1.4;
}

.ed-price-featured .ed-price-features li { color: rgba(255,255,255,0.85); }
.ed-price-future .ed-price-features li { color: var(--slate-600); }

.ed-price-note {
  font-size: 13px;
  margin-top: 12px;
  padding: 12px 16px;
  background: var(--sky-50);
  border-radius: var(--r-sm);
  color: var(--navy-700);
}

/* ── Pilot Form ──────────────────────────────────────────────────────────── */
.ed-form-wrap {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}

.ed-form-sub {
  font-size: 16px;
  color: var(--slate-600);
  line-height: 1.7;
  margin-bottom: 32px;
}

.ed-form-trust {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ed-trust-item {
  font-size: 14px;
  color: var(--slate-700);
  display: flex;
  align-items: center;
  gap: 8px;
}

.ed-form {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--r-xl);
  padding: 36px;
  box-shadow: var(--shadow-lg);
}

.ed-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.ed-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.ed-field-row .ed-field {
  margin-bottom: 0;
}

.ed-field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--slate-700);
}

.ed-req {
  color: var(--sky-500);
}

.ed-field input,
.ed-field select {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--slate-900);
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--r-md);
  padding: 10px 14px;
  width: 100%;
  transition: all 0.2s;
  outline: none;
  appearance: none;
}

.ed-field input:focus,
.ed-field select:focus {
  border-color: var(--sky-500);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(14,165,233,0.12);
}

.ed-field input::placeholder {
  color: var(--slate-400);
}

.ed-form-privacy {
  text-align: center;
  font-size: 12px;
  color: var(--slate-400);
  margin-top: 12px;
}

.ed-alert-error {
  background: var(--red-100);
  border: 1px solid rgba(239,68,68,0.2);
  border-radius: var(--r-md);
  padding: 12px 16px;
  font-size: 14px;
  color: #b91c1c;
  margin-bottom: 20px;
}

.ed-success-box {
  background: var(--white);
  border: 1px solid var(--green-100);
  border-radius: var(--r-xl);
  padding: 48px 36px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.ed-success-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.ed-success-box h3 {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--navy-900);
  margin-bottom: 12px;
}

.ed-success-box p {
  color: var(--slate-600);
  font-size: 16px;
  margin-bottom: 24px;
  line-height: 1.7;
}

/* ── Form: new elements (textarea, consent, success additions) ───────────── */
.ed-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--slate-200);
  border-radius: var(--r-md);
  font-size: 15px;
  font-family: var(--font-body);
  color: var(--navy-900);
  background: var(--white);
  resize: vertical;
  transition: border-color 0.15s;
  box-sizing: border-box;
  line-height: 1.6;
}

.ed-field textarea:focus {
  outline: none;
  border-color: var(--sky-500);
  box-shadow: 0 0 0 3px rgba(14,165,233,0.1);
}

.ed-field textarea::placeholder {
  color: var(--slate-400);
}

.ed-optional {
  color: var(--slate-400);
  font-size: 13px;
  font-weight: 400;
}

.ed-field-consent {
  margin-top: 4px;
}

.ed-consent-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  color: var(--slate-600);
  font-size: 14px;
  line-height: 1.5;
}

.ed-consent-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--sky-500);
  cursor: pointer;
}

.ed-success-sub {
  font-size: 15px;
  color: var(--slate-500);
  margin-bottom: 16px !important;
}

.ed-btn-mt {
  margin-top: 12px;
  display: inline-block;
}

/* ── Footer ──────────────────────────────────────────────────────────────── */
.ed-footer {
  background: var(--navy-950);
  padding: 48px 24px;
}

.ed-footer-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.ed-footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-weight: 700;
  font-size: 16px;
}

.ed-footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.ed-footer-links a {
  color: rgba(255,255,255,0.55);
  font-size: 14px;
  transition: color 0.2s;
}

.ed-footer-links a:hover {
  color: var(--white);
}

.ed-footer-legal {
  width: 100%;
  font-size: 13px;
  color: rgba(255,255,255,0.3);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 20px;
  margin-top: 4px;
}

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .ed-hero-inner {
    grid-template-columns: 1fr;
  }

  .ed-hero-visual {
    display: none;
  }

  .ed-steps {
    flex-direction: column;
  }

  .ed-step-arrow {
    transform: rotate(90deg);
    align-self: flex-start;
    margin-left: 20px;
  }

  .ed-screenshots-grid {
    grid-template-columns: 1fr;
  }

  .ed-pricing-grid {
    grid-template-columns: 1fr;
  }

  .ed-form-wrap {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .ed-footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .ed-nav-links a:not(.ed-nav-cta) {
    display: none;
  }

  .ed-hero {
    padding: 48px 20px 64px;
  }

  .ed-hero-stats {
    gap: 24px;
  }

  .ed-field-row {
    grid-template-columns: 1fr;
  }

  .ed-form {
    padding: 24px;
  }

  .ed-gaps-grid {
    grid-template-columns: 1fr;
  }

  .ed-inbox-email {
    flex-wrap: wrap;
  }

  .ed-inbox-from {
    flex: 0 0 100%;
  }
}
