/* ============ BASE ============ */
:root {
  --navy: #0d1b2e;
  --navy-2: #12233c;
  --ink: #1c2b3a;
  --muted: #5b6b7c;
  --gold: #f2b544;
  --gold-dark: #d99a1f;
  --bg: #faf9f6;
  --card: #ffffff;
  --line: #e6e2da;
  --radius: 14px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
}
img { max-width: 100%; }
.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-block;
  font-weight: 600;
  text-decoration: none;
  border-radius: 10px;
  padding: 14px 28px;
  transition: all .2s ease;
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 1rem;
}
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-2); transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-dark); color: #fff; }
.btn-ghost { border-color: var(--line); color: var(--navy); }
.btn-ghost:hover { border-color: var(--navy); }
.btn-sm { padding: 9px 18px; font-size: .9rem; }

/* ============ NAV ============ */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 14px 24px;
  background: rgba(250,249,246,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark {
  width: 36px; height: 36px; display: grid; place-items: center;
  background: var(--navy); color: var(--gold);
  border-radius: 9px; font-weight: 800; font-size: 1.1rem;
}
.brand-name { font-size: 1.25rem; font-weight: 800; color: var(--navy); letter-spacing: -.02em; }
.brand-name span { color: var(--gold-dark); }
.nav-links { display: flex; gap: 26px; }
.nav-links a { text-decoration: none; color: var(--muted); font-weight: 600; font-size: .95rem; }
.nav-links a:hover { color: var(--navy); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.lang-toggle {
  border: 1px solid var(--line); background: #fff; border-radius: 8px;
  padding: 8px 12px; font-weight: 700; color: var(--navy); cursor: pointer;
}

/* ============ HERO ============ */
.hero {
  background:
    radial-gradient(1000px 500px at 85% -10%, rgba(242,181,68,.18), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff;
  padding: 96px 24px 80px;
}
.hero-inner { max-width: 860px; margin: 0 auto; text-align: center; }
.badge {
  display: inline-block; background: rgba(242,181,68,.15);
  border: 1px solid rgba(242,181,68,.4); color: var(--gold);
  padding: 7px 16px; border-radius: 999px; font-size: .88rem; font-weight: 600;
  margin-bottom: 26px;
}
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  line-height: 1.08; letter-spacing: -.03em; font-weight: 800;
}
.hero h1.accent { color: var(--gold); margin-bottom: 22px; }
.hero-sub { color: #c9d4e0; font-size: 1.15rem; max-width: 640px; margin: 0 auto 34px; }
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-stats {
  display: flex; justify-content: center; gap: 12px; flex-wrap: wrap;
  margin-top: 54px;
}
.hero-stats div {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius); padding: 16px 26px; min-width: 150px;
}
.hero-stats strong { display: block; font-size: 1.6rem; color: var(--gold); }
.hero-stats span { font-size: .85rem; color: #aebccb; }

/* ============ SECTIONS ============ */
.section { padding: 84px 0; }
.section-alt { background: #f1efe9; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.kicker {
  display: inline-block; color: var(--gold-dark); font-weight: 800;
  text-transform: uppercase; letter-spacing: .12em; font-size: .8rem;
  margin-bottom: 10px;
}
.section-head h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); letter-spacing: -.02em; color: var(--navy); }
.section-head p { color: var(--muted); margin-top: 12px; font-size: 1.05rem; }

/* ============ COURSE CARD ============ */
.course-card {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 0;
  background: var(--card); border: 1px solid var(--line);
  border-radius: 20px; overflow: hidden;
  box-shadow: 0 18px 45px rgba(13,27,46,.08);
}
.course-card-body { padding: 44px; }
.course-tags { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }
.tag {
  background: var(--navy); color: var(--gold);
  padding: 6px 14px; border-radius: 999px; font-size: .85rem; font-weight: 700;
}
.tag-outline { background: #fff; color: var(--navy); border: 1px solid var(--line); }
.course-points { list-style: none; margin-bottom: 30px; }
.course-points li {
  padding: 11px 0 11px 34px; position: relative;
  border-bottom: 1px dashed var(--line);
  font-size: 1.02rem;
}
.course-points li:last-child { border-bottom: none; }
.course-points li::before {
  content: "✓"; position: absolute; left: 0; top: 11px;
  width: 22px; height: 22px; display: grid; place-items: center;
  background: rgba(242,181,68,.18); color: var(--gold-dark);
  border-radius: 50%; font-size: .8rem; font-weight: 800;
}
.course-card-side { background: var(--navy); padding: 44px; display: flex; align-items: center; }
.exam-preview {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius); padding: 26px; color: #e7edf4; width: 100%;
}
.exam-preview-head {
  display: flex; justify-content: space-between; align-items: center;
  font-size: .8rem; text-transform: uppercase; letter-spacing: .1em;
  color: var(--gold); font-weight: 700; margin-bottom: 16px;
}
.exam-preview-head .dot { color: #6ee7a0; font-size: .7rem; }
.exam-q { font-weight: 600; margin-bottom: 18px; font-size: 1rem; }
.exam-opts div {
  border: 1px solid rgba(255,255,255,.16); border-radius: 9px;
  padding: 10px 14px; margin-bottom: 9px; font-size: .92rem; color: #c4cfd9;
}
.exam-opts .correct { border-color: #34d17f; background: rgba(52,209,127,.12); color: #b8f2d3; }
.exam-explain {
  margin-top: 16px; font-size: .88rem; color: #9fb3c6;
  border-left: 3px solid var(--gold); padding-left: 12px;
}

/* ============ FEATURES ============ */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: transform .2s ease, box-shadow .2s ease;
}
.feature:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(13,27,46,.09); }
.feature-icon { font-size: 1.9rem; margin-bottom: 14px; }
.feature h3 { color: var(--navy); font-size: 1.08rem; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: .95rem; }

/* ============ STATES ============ */
.states-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.state {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 28px; text-align: center;
}
.state-code {
  width: 64px; height: 64px; margin: 0 auto 16px; display: grid; place-items: center;
  background: var(--navy); color: var(--gold); font-weight: 800; font-size: 1.25rem;
  border-radius: 16px;
}
.state h3 { color: var(--navy); margin-bottom: 6px; }
.state p { color: var(--muted); font-size: .93rem; }

/* ============ CTA ============ */
.cta-section { padding-bottom: 84px; }
.cta-box {
  background: linear-gradient(150deg, var(--navy), var(--navy-2));
  border-radius: 22px; padding: 58px 34px; text-align: center; color: #fff;
  max-width: 860px; margin: 0 auto;
}
.cta-box h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); letter-spacing: -.02em; margin-bottom: 12px; }
.cta-box p { color: #c9d4e0; margin-bottom: 30px; }
.cta-form {
  display: flex; gap: 10px; justify-content: center; flex-wrap: wrap;
}
.cta-form input, .cta-form select {
  padding: 14px 16px; border-radius: 10px; border: 1px solid transparent;
  font-size: 1rem; min-width: 210px; outline: none;
}
.cta-form input:focus, .cta-form select:focus { border-color: var(--gold); }
.cta-note { margin-top: 18px; font-size: .85rem; color: #93a5b8; margin-bottom: 0 !important; }

/* ============ FAQ ============ */
.faq-container { max-width: 760px; }
.faq-item {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 12px; padding: 18px 24px; margin-bottom: 12px;
}
.faq-item summary { font-weight: 700; color: var(--navy); cursor: pointer; }
.faq-item p { color: var(--muted); margin-top: 10px; font-size: .97rem; }

/* ============ FOOTER ============ */
.footer { background: var(--navy); color: #aebccb; padding: 40px 0; }
.footer-inner { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.footer .brand-name { color: #fff; }
.footer-tag { font-size: .95rem; }
.footer-copy { font-size: .85rem; color: #74859a; }

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .course-card { grid-template-columns: 1fr; }
  .features-grid, .states-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
}
@media (max-width: 560px) {
  .features-grid, .states-grid { grid-template-columns: 1fr; }
  .course-card-body, .course-card-side { padding: 28px; }
  .cta-form input, .cta-form select { width: 100%; }
  .hero-stats div { min-width: 120px; padding: 12px 16px; }
}
