:root {
  --primary-color: #1a2744;
  --secondary-color: #c9963e;
  --mm-navbar-bg: #111d33;
  --mm-accent: #c9963e;
  --surface-alt: #f5f7fb;
  --text-color: #1e2d45;
  --muted-color: #5e6b84;
  --border-soft: #dbe2ec;
  --success-soft: #e8f5eb;
  --hero-bg-start: #111d33;
  --hero-bg-end: #223355;
}

/* ── Typography ─────────────────────────────── */
body {
  font-family: 'Inter', sans-serif;
  color: var(--text-color);
  background: #fff;
}
h1, h2, h3, h4, h5, .display-font {
  font-family: 'Libre Baskerville', serif;
}
.section-h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.25;
}
.body-copy {
  font-size: 1.05rem;
  color: var(--muted-color);
  line-height: 1.7;
}

/* ── Spacing helpers ─────────────────────────── */
.py-6 { padding-top: 5rem; padding-bottom: 5rem; }

/* ── Navbar ─────────────────────────────────── */
.site-navbar {
  background: var(--mm-navbar-bg);
  box-shadow: 0 2px 16px rgba(0,0,0,0.18);
}
.site-navbar .nav-link,
.site-navbar .navbar-brand {
  color: rgba(255,255,255,0.9) !important;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color 0.18s;
}
.site-navbar .nav-link:hover { color: var(--mm-accent) !important; }
.site-navbar .dropdown-item:hover { color: var(--mm-accent); }

/* ── Hero ────────────────────────────────────── */
.hero-section {
  background: linear-gradient(135deg, var(--hero-bg-start) 0%, #1e3060 55%, #2c4880 100%);
  color: #fff;
}
.hero-headline {
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.hero-sub {
  font-size: 1.15rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.82);
  max-width: 520px;
}
.hero-note {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 0;
}

/* Hero mock panel */
.hero-panel {
  background: #1a2a48;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 32px 72px rgba(0,0,0,0.35);
}
.hero-panel-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.1rem;
  background: #141f36;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.hero-dots { display: flex; gap: 5px; }
.hero-dots span {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,0.15);
}
.hero-dots span:first-child { background: #e05252; }
.hero-dots span:nth-child(2) { background: #e0a352; }
.hero-dots span:nth-child(3) { background: #52c252; }
.hero-panel-title {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  font-weight: 500;
}
.hero-panel-body { padding: 1.25rem 1.25rem 1.5rem; }
.file-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.7rem;
  border-radius: 0.5rem;
  color: rgba(255,255,255,0.8);
  font-size: 0.88rem;
  margin-bottom: 0.35rem;
  background: rgba(255,255,255,0.04);
}
.file-row:hover { background: rgba(255,255,255,0.07); }
.file-row.muted-row { color: rgba(255,255,255,0.35); }
.text-accent { color: var(--secondary-color); }
.analysis-pill {
  background: rgba(201,150,62,0.12);
  color: #c9963e;
  border: 1px solid rgba(201,150,62,0.25);
  border-radius: 0.5rem;
  padding: 0.65rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
}

/* ── Trust bar ───────────────────────────────── */
.trust-bar {
  background: var(--mm-navbar-bg);
  border-top: 1px solid rgba(255,255,255,0.06);
}
.trust-stat { display: flex; flex-direction: column; gap: 2px; }
.trust-stat strong { color: #fff; font-size: 1rem; }
.trust-stat span { color: rgba(255,255,255,0.45); font-size: 0.8rem; }

/* ── Sections ────────────────────────────────── */
section.section-alt { background: var(--surface-alt); }

/* ── Buttons ─────────────────────────────────── */
.btn-brand {
  background: var(--secondary-color);
  color: #111d33;
  border: 0;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: background 0.18s, transform 0.15s;
}
.btn-brand:hover {
  background: #b5852e;
  color: #111d33;
  transform: translateY(-1px);
}
.btn-outline-brand {
  border: 2px solid var(--secondary-color);
  color: var(--secondary-color);
  font-weight: 600;
  background: transparent;
}
.btn-outline-brand:hover {
  background: var(--secondary-color);
  color: #111d33;
}
.btn-ghost {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
  font-weight: 600;
  backdrop-filter: blur(4px);
}
.btn-ghost:hover { background: rgba(255,255,255,0.18); color: #fff; }
.btn-ghost-light {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.25);
  font-weight: 600;
}
.btn-ghost-light:hover { background: rgba(255,255,255,0.22); color: #fff; }
.btn-xl { padding: 0.85rem 2rem; font-size: 1rem; border-radius: 0.6rem; }

/* ── Kicker ─────────────────────────────────── */
.kicker {
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--secondary-color);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.kicker-dot {
  width: 6px; height: 6px;
  background: var(--secondary-color);
  border-radius: 50%;
  display: inline-block;
}

/* ── Cards ─────────────────────────────────── */
.solution-card,
.persona-card,
.stat-card,
.feature-card,
.app-card,
.admin-card,
.form-shell {
  border: 1px solid var(--border-soft);
  border-radius: 1rem;
  background: #fff;
  transition: box-shadow 0.2s, transform 0.2s;
}
.solution-card:hover,
.persona-card:hover {
  box-shadow: 0 12px 36px rgba(19,33,56,0.1);
  transform: translateY(-3px);
}
.solution-icon {
  width: 44px; height: 44px;
  border-radius: 0.65rem;
  background: rgba(201,150,62,0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  color: var(--secondary-color);
}
.persona-icon {
  width: 52px; height: 52px;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, #1a2744 0%, #223355 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  color: var(--secondary-color);
}

/* ── Pricing cards ─────────────────────────── */
.pricing-card {
  border: 1px solid var(--border-soft);
  border-radius: 1.25rem;
  background: #fff;
  position: relative;
  transition: box-shadow 0.2s, transform 0.2s;
}
.pricing-card:hover {
  box-shadow: 0 16px 48px rgba(19,33,56,0.1);
  transform: translateY(-4px);
}
.pricing-card.featured {
  border-color: var(--secondary-color);
  border-width: 2px;
  box-shadow: 0 12px 40px rgba(201,150,62,0.15);
  transform: translateY(-6px);
}
.pricing-card.featured:hover { transform: translateY(-10px); }
.best-value-badge {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--secondary-color);
  color: #111d33;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.3rem 1rem;
  border-radius: 999px;
  white-space: nowrap;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.slot-badge {
  display: inline-block;
  background: rgba(201,150,62,0.1);
  color: #7a5715;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.3rem 0.8rem;
  border-radius: 0.4rem;
}
.price-display {
  font-family: 'Libre Baskerville', serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-color);
  line-height: 1;
}
.price-dollar { font-size: 1.6rem; vertical-align: super; }
.price-once {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted-color);
  margin-left: 0.5rem;
}

/* ── List check ──────────────────────────────── */
.list-check {
  list-style: none;
  padding-left: 0;
}
.list-check li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.6rem;
  font-size: 0.95rem;
  color: var(--text-color);
}
.list-check li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--secondary-color);
  font-weight: 800;
}

/* ── Timeline ────────────────────────────────── */
.timeline-track {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.timeline-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding-bottom: 2.5rem;
  position: relative;
}
.timeline-item:not(.last)::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 44px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--secondary-color), rgba(201,150,62,0.15));
}
.timeline-num {
  flex-shrink: 0;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--secondary-color);
  color: #111d33;
  font-weight: 800;
  font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Libre Baskerville', serif;
  box-shadow: 0 4px 14px rgba(201,150,62,0.35);
}
.timeline-content h5 {
  margin-top: 0.6rem;
  margin-bottom: 0.4rem;
  font-size: 1.05rem;
}

/* ── CTA section ──────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, #111d33 0%, #1e3060 100%);
  color: #fff;
}
.cta-headline {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.2;
  color: #fff;
}
.cta-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.7);
  max-width: 500px;
  margin: 0 auto 2rem;
}

/* ── Status pills ────────────────────────────── */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: #eef2f7;
  color: #33435f;
  font-size: 0.85rem;
  font-weight: 600;
}
.status-pill.ready { background: var(--success-soft); color: #1d6b37; }
.status-pill.active { background: rgba(201,150,62,0.12); color: #7a5715; }

/* ── Muted text ─────────────────────────────── */
.muted-copy { color: var(--muted-color); }

/* ── Upload dropzone ─────────────────────────── */
.upload-dropzone {
  border: 2px dashed var(--border-soft);
  border-radius: 1rem;
  padding: 2.5rem;
  text-align: center;
  background: #fbfcfe;
  transition: border-color 0.2s, background 0.2s;
}
.upload-dropzone.drag-over {
  border-color: var(--secondary-color);
  background: rgba(201,150,62,0.04);
}

/* ── Chapter cards ─────────────────────────── */
.chapter-card {
  border-left: 4px solid var(--secondary-color);
  border-radius: 0 0.75rem 0.75rem 0;
}

/* ── Footer ────────────────────────────────── */
.footer-link {
  color: #c5d2e8;
  text-decoration: none;
  transition: color 0.15s;
}
.footer-link:hover { color: var(--mm-accent); }

/* ── Form improvements ────────────────────── */
input::placeholder, textarea::placeholder {
  color: rgba(0,0,0,0.25) !important;
}
.form-control:focus {
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px rgba(201,150,62,0.15);
}

/* ── Badge soft ───────────────────────────── */
.badge-soft {
  background: rgba(201,150,62,0.1);
  color: #7a5715;
  border-radius: 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.3rem 0.7rem;
}

/* ── Dashboard / app shell ─────────────────── */
.app-card {
  border-radius: 1rem;
  padding: 1.5rem;
}
.admin-card { border-radius: 1rem; padding: 1.5rem; }
.form-shell { border-radius: 1rem; padding: 2rem; }

/* ── Confetti ─────────────────────────────── */
.confetti-dot {
  position: absolute;
  width: 10px; height: 10px;
  border-radius: 50%;
  opacity: 0.8;
  animation: fall 3s linear forwards;
}
@keyframes fall {
  0%   { transform: translateY(-15px) rotate(0deg); opacity: 1; }
  100% { transform: translateY(220px) rotate(540deg); opacity: 0; }
}

/* ── Utilities ────────────────────────────── */
.section-divider { border-color: var(--border-soft); }
.rounded-xl { border-radius: 1.25rem !important; }

/* ── Responsive ───────────────────────────── */
@media (max-width: 768px) {
  .pricing-card.featured { transform: none; }
  .hero-headline { font-size: 2rem; }
  .cta-headline { font-size: 1.8rem; }
  .btn-xl { width: 100%; text-align: center; }
}
