:root {
  --navy: #0b2e5c;
  --navy-dark: #071f3f;
  --maroon: #8a1c1c;
  --gold: #c07a00;
  --gold-light: #f0b93d;
  --bg: #f4f7fb;
  --white: #ffffff;
  --text: #1c2433;
  --muted: #5b6472;
  --border: #dfe6f0;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(11,46,92,.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  overflow-x: hidden;
}

h1, h2, h3, h4, .logo {
  font-family: 'Poppins', 'Inter', sans-serif;
  color: var(--navy);
  line-height: 1.2;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 72px 20px;
}
.section-alt { background: var(--white); max-width: 100%; }
.section-alt > * { max-width: 1120px; margin-left: auto; margin-right: auto; }
.section-alt .exam-grid,
.section-alt .cat-title,
.section-alt .section-head,
.section-alt .steps { max-width: 1120px; margin-left: auto; margin-right: auto; padding-left: 20px; padding-right: 20px; }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.eyebrow {
  display: inline-block;
  color: var(--gold);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.section-head h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); margin-bottom: 10px; }
.section-head p { color: var(--muted); font-size: 1.02rem; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  cursor: pointer;
  border: none;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--navy-dark);
  box-shadow: 0 8px 20px rgba(192,122,0,.35);
}
.btn-primary:hover { box-shadow: 0 10px 26px rgba(192,122,0,.5); transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.6);
}
.btn-outline:hover { background: rgba(255,255,255,.12); }
.btn-lg { padding: 16px 34px; font-size: 1.05rem; }
.btn-sm { padding: 9px 18px; font-size: 0.88rem; }

/* Announcement bar */
.announce {
  background: var(--navy-dark);
  color: var(--gold-light);
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 9px 14px;
}
.announce-link { text-decoration: underline; text-underline-offset: 2px; }
.announce-link:hover { color: var(--white); }

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.logo { font-weight: 800; font-size: 1.3rem; color: var(--navy); }
.logo span { color: var(--gold); }
.nav-links { display: flex; gap: 26px; font-weight: 500; }
.nav-links a { color: var(--text); }
.nav-links a:hover { color: var(--navy); }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--navy);
}
.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 10px 20px 18px;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.nav-mobile a { padding: 10px 0; font-weight: 500; border-bottom: 1px solid var(--border); }
.nav-mobile.open { display: flex; }
.nav-mobile .btn { margin-top: 10px; justify-content: center; }

/* Hero */
.hero {
  background: radial-gradient(circle at 15% 20%, #123a6e 0%, var(--navy-dark) 55%, #051327 100%);
  color: var(--white);
  padding: 64px 20px 80px;
}
.hero-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}
.pill {
  display: inline-block;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.25);
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 0.82rem;
  margin-bottom: 20px;
}
.hero h1 { color: var(--white); font-size: clamp(2.1rem, 5vw, 3.1rem); font-weight: 800; margin-bottom: 18px; }
.hero .accent { color: var(--gold-light); }
.hero-sub { font-size: 1.08rem; color: #d7e1f0; max-width: 520px; margin-bottom: 28px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.hero-note { font-size: 0.85rem; color: #9fb2cc; }

.hero-visual { display: flex; justify-content: center; }
.stack { position: relative; width: 280px; height: 340px; }
.card-pdf {
  position: absolute;
  width: 190px;
  height: 130px;
  border-radius: 12px;
  padding: 14px 16px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
  box-shadow: 0 14px 30px rgba(0,0,0,.35);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.card-pdf small { font-weight: 500; font-size: 0.72rem; opacity: 0.85; }
.c1 { background: #5b21a6; top: 10px; left: 10px; transform: rotate(-9deg); }
.c2 { background: #1e7d32; top: 30px; left: 55px; transform: rotate(6deg); }
.c3 { background: #8a1c1c; top: 55px; left: 15px; transform: rotate(-3deg); }
.c4 { background: #c07a00; top: 75px; left: 60px; transform: rotate(10deg); }
.c5.main {
  background: linear-gradient(135deg, #123a6e, var(--navy));
  top: 130px; left: 30px;
  width: 220px; height: 150px;
  border: 2px solid var(--gold-light);
  transform: rotate(-2deg);
  font-size: 1.15rem;
  z-index: 5;
}

/* Trust bar */
.trustbar { background: var(--white); border-bottom: 1px solid var(--border); }
.trustbar-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 30px 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  text-align: center;
}
.stat { flex: 1; min-width: 100px; }
.stat strong { display: block; font-family: 'Poppins', sans-serif; font-size: 1.5rem; color: var(--navy); }
.stat span { font-size: 0.8rem; color: var(--muted); }

/* Inside grid */
.inside-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.inside-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px;
  box-shadow: var(--shadow);
}
.inside-card.featured {
  grid-column: span 3;
  background: linear-gradient(135deg, var(--navy), var(--navy-dark));
  color: var(--white);
  position: relative;
}
.inside-card.featured h3 { color: var(--white); }
.inside-card.featured p { color: #cfdaeb; }
.inside-card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.inside-card p { color: var(--muted); font-size: 0.94rem; }

.badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.badge-gold { background: rgba(192,122,0,.15); color: var(--gold); }

/* Catalog */
.cat-title { font-size: 1.15rem; margin: 36px 0 16px; }
.exam-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 18px;
  margin-bottom: 10px;
}
.exam-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.exam-card h4 { font-size: 1.05rem; }
.exam-card .exam-tag { font-size: 0.82rem; color: var(--muted); }
.exam-card .btn { justify-content: center; margin-top: 6px; }

.btn-outline-dark {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--border);
}
.btn-outline-dark:hover { background: var(--bg); border-color: var(--navy); }
button.btn-outline-dark { font-family: inherit; width: 100%; }

/* Question Bank */
.qb-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.qb-modal.open { display: flex; }
.qb-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7,31,63,.55);
}
.qb-modal-panel {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 560px;
  width: 100%;
  max-height: 80vh;
  padding: 30px 26px 24px;
  display: flex;
  flex-direction: column;
}
.qb-modal-panel h3 { font-size: 1.15rem; padding-right: 30px; }
.qb-modal-sub { color: var(--muted); font-size: 0.88rem; margin: 8px 0 16px; }
.qb-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: none;
  border: none;
  font-size: 1.1rem;
  cursor: pointer;
  color: var(--muted);
}
.qb-modal-close:hover { color: var(--navy); }
.qb-modal-list {
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.qb-file-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 0.9rem;
}
.qb-file-row .btn { white-space: nowrap; }
body.modal-lock { overflow: hidden; }

.bundle-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  background: #fff8ea;
  border: 1px dashed var(--gold);
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 18px;
  font-size: 0.92rem;
  color: var(--navy);
}
.bundle-banner .btn { white-space: nowrap; }

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: start;
  max-width: 1080px;
  margin: 0 auto;
}
.pricing-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: 20px;
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.pricing-card.featured {
  border-color: var(--gold);
  box-shadow: 0 20px 50px rgba(11,46,92,.14);
  transform: translateY(-10px);
}
.pricing-card h3 { font-size: 1.15rem; }
.tier-desc { color: var(--muted); font-size: 0.88rem; margin-top: 6px; min-height: 34px; }
.price-tease {
  margin: 14px 0 2px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  background: rgba(192,122,0,.1);
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
}
.price-list { text-align: left; margin: 20px 0; display: flex; flex-direction: column; gap: 10px; font-size: 0.92rem; flex-grow: 1; }
.price-note { margin-top: 14px; font-size: 0.82rem; color: var(--muted); }
.price-note.center { text-align: center; }
.pricing-card .btn { width: 100%; justify-content: center; }

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.step { text-align: center; padding: 10px; }
.step-num {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Poppins', sans-serif; font-weight: 700;
  margin: 0 auto 14px;
}
.step h3 { font-size: 1.05rem; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 0.92rem; }

/* FAQ */
.faq-list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: var(--white); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 18px 20px;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-q span { font-size: 1.3rem; color: var(--gold); transition: transform .2s ease; }
.faq-item.open .faq-q span { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease;
  padding: 0 20px;
}
.faq-item.open .faq-a { max-height: 600px; padding-bottom: 18px; }
.faq-a p { color: var(--muted); font-size: 0.92rem; }

/* Final CTA */
.final-cta {
  background: linear-gradient(135deg, var(--maroon), #5e1414);
  color: var(--white);
  text-align: center;
  padding: 70px 20px;
}
.final-cta h2 { color: var(--white); font-size: clamp(1.4rem, 3.5vw, 2rem); margin-bottom: 10px; }
.final-cta p { color: #f2d9d9; margin-bottom: 26px; }

/* Policy pages */
.policy-body { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 6px; }
.policy-body h3 { margin-top: 18px; font-size: 1.05rem; }
.policy-body p { color: var(--muted); font-size: 0.96rem; }
.policy-body ul { color: var(--muted); font-size: 0.96rem; }

/* Footer */
.footer { background: var(--navy-dark); color: #b9c7de; padding: 50px 20px 24px; }
.footer-inner {
  max-width: 1120px; margin: 0 auto;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px;
  padding-bottom: 24px; border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand .logo { color: var(--white); }
.footer-brand p { margin-top: 8px; font-size: 0.85rem; color: #93a5c2; }
.footer-links { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.footer-links a:hover { color: var(--gold-light); }
.disclaimer { max-width: 1120px; margin: 20px auto 0; font-size: 0.76rem; color: #7f91ae; }
.copyright { max-width: 1120px; margin: 10px auto 0; font-size: 0.76rem; color: #7f91ae; }

/* Floating WhatsApp */
.float-wa {
  position: fixed;
  bottom: 22px;
  right: 22px;
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(37,211,102,.5);
  z-index: 200;
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,.55), 0 10px 24px rgba(37,211,102,.5); }
  70% { box-shadow: 0 0 0 14px rgba(37,211,102,0), 0 10px 24px rgba(37,211,102,.5); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0), 0 10px 24px rgba(37,211,102,.5); }
}

/* Responsive */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .inside-grid { grid-template-columns: repeat(2, 1fr); }
  .inside-card.featured { grid-column: span 2; }
  .steps { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 440px; }
  .pricing-card.featured { transform: none; order: -1; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-inner > .wa-cta.btn-sm { display: none; }
  .hero { padding: 44px 16px 60px; }
  .stack { transform: scale(0.85); }
  .inside-grid { grid-template-columns: 1fr; }
  .inside-card.featured { grid-column: span 1; }
  .trustbar-inner { justify-content: flex-start; }
  .stat { min-width: 45%; text-align: left; }
  .section { padding: 52px 16px; }
  .pricing-card { padding: 32px 22px; }
  .bundle-banner { justify-content: center; text-align: center; }
}
