:root {
  --navy: #0A1045;
  --navy-2: #141a5a;
  --gold: #C9A227;
  --gold-2: #E3C55B;
  --ink: #1a2035;
  --muted: #5b6478;
  --line: #e6e8f0;
  --bg: #ffffff;
  --bg-soft: #f6f7fb;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* Sans for UI chrome + small text */
.nav, .btn, .part-tag, .price-name, .mode-badge, .hero-note, .price-note,
.card h3, .section-sub, .foot-disclaimer, .foot-copy, .ribbon {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* HEADER */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: var(--navy); color: #fff;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 62px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: .12em; font-size: 15px; }
.brand-mark { width: 40px; height: auto; }
.gold { color: var(--gold); }
.nav { display: flex; align-items: center; gap: 22px; font-size: 14px; }
.nav a { color: #d7dae8; }
.nav a:hover { color: var(--gold); }

/* BUTTONS */
.btn {
  display: inline-block; border-radius: 9px; padding: 12px 22px;
  font-weight: 600; font-size: 15px; cursor: pointer; transition: filter .15s, background .15s, color .15s;
  border: 1px solid transparent;
}
.btn-sm { padding: 8px 16px; font-size: 14px; }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { filter: brightness(1.08); }
.btn-ghost { background: transparent; border-color: currentColor; color: var(--navy); }
.btn-ghost:hover { background: rgba(10,16,69,.06); }
.nav .btn-ghost { color: #fff; }

/* HERO */
.hero {
  background:
    radial-gradient(ellipse 80% 90% at 50% 0%, #182060 0%, var(--navy) 55%, #070b30 100%);
  color: #fff; padding: 84px 0 92px;
}
.hero-inner { max-width: 820px; }
.hero h1 { font-size: clamp(32px, 5vw, 52px); line-height: 1.1; margin: 0 0 20px; font-weight: 700; }
.lead { font-size: clamp(17px, 2vw, 20px); color: #c7cbe0; margin: 0 0 30px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-note { margin-top: 22px; font-size: 13px; color: #8f96b8; letter-spacing: .02em; }

/* SECTIONS */
.section { padding: 76px 0; }
.band { padding: 68px 0; background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-title { font-size: clamp(26px, 3.5vw, 36px); color: var(--navy); text-align: center; margin: 0 0 10px; }
.section-sub { text-align: center; color: var(--muted); max-width: 640px; margin: 0 auto 40px; font-size: 16px; }

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

/* VALUE CARDS */
.card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 26px; box-shadow: 0 1px 3px rgba(10,16,69,.05); }
.card-icon {
  width: 44px; height: 44px; display: grid; place-items: center; border-radius: 10px;
  background: var(--navy); color: var(--gold); font-size: 22px; font-weight: 700; margin-bottom: 14px;
}
.card h3 { margin: 0 0 8px; color: var(--navy); font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

/* PARTS */
.part { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 26px; border-top: 4px solid var(--gold); }
.part-tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.part h3 { margin: 0 0 10px; color: var(--navy); font-size: 21px; }
.part p { margin: 0; color: var(--muted); font-size: 15px; }

/* MODES */
.mode-badge { display: inline-block; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 999px; margin-bottom: 12px; }
.mode-badge.study { background: #d9f2e4; color: #17734a; }
.mode-badge.exam { background: #dfe2fb; color: #33409a; }
.grid-2 h3 { color: var(--navy); margin: 0 0 8px; font-size: 22px; }
.grid-2 p { margin: 0; color: var(--muted); }

/* PRICING */
.pricing { align-items: start; }
.price-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 30px 26px; text-align: center; }
.price-card.featured { border-color: var(--gold); box-shadow: 0 10px 30px rgba(201,162,39,.18); }
.ribbon { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--gold); color: var(--navy); font-size: 12px; font-weight: 700; padding: 5px 14px; border-radius: 999px; white-space: nowrap; }
.price-name { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.price-amt { font-size: 42px; font-weight: 700; color: var(--navy); margin: 8px 0 2px; }
.price-amt span { font-size: 16px; color: var(--muted); font-weight: 400; }
.price-note { font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.price-card ul { list-style: none; padding: 0; margin: 16px 0 22px; text-align: left; }
.price-card li { padding: 7px 0 7px 26px; position: relative; font-size: 15px; color: var(--ink); border-bottom: 1px solid var(--line); }
.price-card li:last-child { border-bottom: 0; }
.price-card li::before { content: "✓"; position: absolute; left: 0; color: #1f9d5b; font-weight: 700; }
.price-card .btn { width: 100%; }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { border: 1px solid var(--line); border-radius: 10px; background: #fff; padding: 4px 18px; margin-bottom: 12px; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--navy); padding: 14px 0; list-style: none; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--gold); font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 14px; color: var(--muted); font-size: 15px; }

/* CTA */
.cta { background: var(--navy); color: #fff; }
.cta-inner { text-align: center; padding: 64px 0; }
.cta h2 { font-size: clamp(26px, 3.5vw, 34px); margin: 0 0 8px; }
.cta p { color: #b9bfdc; margin: 0 0 22px; }

/* FOOTER */
.site-footer { background: #fff; border-top: 1px solid var(--line); padding: 34px 0; }
.foot-brand { color: var(--navy); font-weight: 700; margin: 0 0 8px; }
.foot-disclaimer { color: var(--muted); font-size: 13px; margin: 0 0 14px; max-width: 780px; }
.foot-copy { color: #98a0b4; font-size: 12px; margin: 0; }

/* RESPONSIVE */
@media (max-width: 860px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; gap: 26px; }
  .nav a:not(.btn) { display: none; }
}

/* DARK MODE */
@media (prefers-color-scheme: dark) {
  :root { --ink: #e9ebf5; --muted: #a2aac2; --line: #2a3153; --bg: #0c1030; --bg-soft: #11163b; }
  body { background: var(--bg); }
  .card, .part, .price-card, .faq details, .site-footer { background: #141a44; }
  .section-title, .card h3, .part h3, .grid-2 h3, .price-amt, .faq summary, .foot-brand { color: var(--gold-2); }
  .btn-ghost { color: var(--gold-2); }
  .site-footer { border-color: var(--line); }
}
