/* ============================================================
   Vijayee — website design system
   Matches the Vijayee mobile app identity:
   Plus Jakarta Sans + JetBrains Mono · warm paper · deep ink
   · astronaut/space motifs · cyan-led playful accent palette.
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* Surfaces — warm paper */
  --paper:        #FAF7F2;
  --paper-raised: #FFFFFF;
  --paper-sunken: #F1ECE3;
  --paper-deep:   #0F1226;  /* night sky — footer / accent panels */
  --paper-deep-2: #171B36;

  /* Ink */
  --ink:        #0E1530;
  --ink-soft:   #3A4160;
  --ink-muted:  #6B7290;
  --ink-faint:  #9AA0B8;
  --on-deep:        #F4EFE3;
  --on-deep-soft:   #C9C2B0;
  --on-deep-muted:  #8E8676;

  /* Lines */
  --line:        rgba(14,21,48,0.08);
  --line-strong: rgba(14,21,48,0.16);
  --line-deep:   rgba(244,239,227,0.12);
  --border:      var(--line);         /* alias */
  --border-strong: var(--line-strong);

  /* Accent palette (cyan-led) */
  --cyan:      oklch(0.62 0.18 245);
  --cyan-soft: oklch(0.95 0.045 245);
  --cyan-deep: oklch(0.42 0.16 245);
  --lavender:      oklch(0.65 0.16 295);
  --lavender-soft: oklch(0.95 0.04 295);
  --lavender-deep: oklch(0.44 0.15 295);
  --coral:      oklch(0.66 0.20 25);
  --coral-soft: oklch(0.96 0.05 25);
  --coral-deep: oklch(0.47 0.18 25);
  --sun:      oklch(0.80 0.15 75);
  --sun-soft: oklch(0.96 0.05 75);
  --sun-deep: oklch(0.56 0.14 75);
  --mint:      oklch(0.72 0.13 165);
  --mint-soft: oklch(0.95 0.04 165);
  --mint-deep: oklch(0.48 0.12 165);

  /* Mascot brand colors */
  --visor: #1A1633;
  --chest: #3A6DF5;

  /* Primary = cyan */
  --primary:      var(--cyan);
  --primary-soft: var(--cyan-soft);
  --primary-deep: var(--cyan-deep);

  /* Radii */
  --r-pill: 999px;
  --r-lg: 30px;
  --r-md: 22px;
  --r-sm: 14px;

  /* Shadow */
  --shadow-sm: 0 1px 0 rgba(14,21,48,0.02), 0 10px 24px -16px rgba(14,21,48,0.18);
  --shadow-md: 0 2px 0 rgba(14,21,48,0.02), 0 24px 48px -28px rgba(14,21,48,0.30);
  --shadow-lg: 0 40px 80px -40px rgba(14,21,48,0.40);

  /* Layout */
  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 48px);

  --font-sans: 'Plus Jakarta Sans', -apple-system, system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', monospace;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: -0.006em;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4, h5 { margin: 0; font-weight: 800; letter-spacing: -0.03em; line-height: 1.04; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--cyan-soft); color: var(--cyan-deep); }

/* ---------- Layout primitives ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
.wrap-narrow { max-width: 880px; }
.section { padding-block: clamp(64px, 9vw, 128px); position: relative; }
.section-sm { padding-block: clamp(48px, 6vw, 84px); }
.center { text-align: center; }
.stack { display: flex; flex-direction: column; }

/* ---------- Type scale ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--primary-deep);
  display: inline-flex; align-items: center; gap: 8px;
}
.eyebrow::before {
  content: ""; width: 18px; height: 1.5px; background: currentColor; border-radius: 2px;
  opacity: 0.55;
}
.eyebrow.no-rule::before { display: none; }
.display {
  font-size: clamp(40px, 6.4vw, 78px);
  line-height: 0.98; letter-spacing: -0.04em;
}
.h1 { font-size: clamp(34px, 4.6vw, 56px); letter-spacing: -0.035em; }
.h2 { font-size: clamp(28px, 3.4vw, 44px); letter-spacing: -0.032em; }
.h3 { font-size: clamp(21px, 2vw, 27px); letter-spacing: -0.025em; }
.h4 { font-size: 19px; letter-spacing: -0.02em; }
.lead { font-size: clamp(17px, 1.5vw, 21px); color: var(--ink-soft); line-height: 1.55; }
.muted { color: var(--ink-muted); }
.mono-label {
  font-family: var(--font-mono); font-size: 11px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-muted);
}
.section-head { max-width: 720px; }
.section-head.center { margin-inline: auto; }
.section-head .h2 { margin-top: 14px; }
.section-head .lead { margin-top: 18px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 0 26px; border-radius: var(--r-pill);
  font-weight: 700; font-size: 16px; letter-spacing: -0.01em;
  border: 1.5px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .14s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.btn svg { width: 19px; height: 19px; }
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { box-shadow: 0 14px 30px -14px rgba(14,21,48,0.55); transform: translateY(-2px); }
.btn-accent { background: var(--primary); color: #fff; }
.btn-accent:hover { box-shadow: 0 16px 34px -14px var(--primary); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); height:46px;}
.btn-ghost:hover { border-color: var(--ink); background: var(--paper-raised); }
.btn-soft { background: var(--paper-raised); color: var(--ink); border-color: var(--line); }
.btn-soft:hover { border-color: var(--ink);
    background: var(--paper-raised);}
.btn-sm { height: 44px; padding: 0 18px; font-size: 15px; }
.btn-lg { height: 58px; padding: 0 30px; font-size: 17px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* store buttons */
.store-btn {
  display: inline-flex; align-items: center; gap: 12px;
  height: 58px; padding: 0 22px 0 18px; border-radius: 16px;
  background: var(--ink); color: var(--paper);
  transition: transform .15s ease, box-shadow .2s ease;
}
.store-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.store-btn svg { width: 26px; height: 26px; flex: none; }
.store-btn .store-tx { display: flex; flex-direction: column; line-height: 1.1; }
.store-btn .store-tx small { font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.7; font-family: var(--font-mono); }
.store-btn .store-tx span { font-size: 17px; font-weight: 700; letter-spacing: -0.02em; }

/* ---------- Chips / pills / badges ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  height: 34px; padding: 0 14px; border-radius: var(--r-pill);
  background: var(--paper-raised); border: 1px solid var(--line);
  font-size: 13.5px; font-weight: 600; color: var(--ink-soft);
}
.chip svg { width: 15px; height: 15px; color: var(--primary-deep); }
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 11px; border-radius: var(--r-pill);
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
}
.badge-live { background: var(--coral-soft); color: var(--coral-deep); }
.badge-live .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--coral); animation: vj-pulse 1.6s ease-in-out infinite; }
.badge-soft { background: var(--primary-soft); color: var(--primary-deep); }
.badge-pop { background: var(--sun-soft); color: var(--sun-deep); }
@keyframes vj-pulse { 0%,100% { opacity: 1; transform: scale(1);} 50% { opacity: 0.4; transform: scale(0.82);} }

/* ---------- Cards ---------- */
.card {
  background: var(--paper-raised); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 26px;
  box-shadow: var(--shadow-sm);
}
.card-lg { border-radius: var(--r-lg); padding: clamp(26px, 3vw, 40px); }
.card-flat { box-shadow: none; }
.card-hover { transition: transform .2s ease, box-shadow .25s ease, border-color .2s ease; }
.card-hover:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.grid { display: grid; gap: clamp(16px, 2vw, 24px); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* icon tile */
.itile {
  width: 52px; height: 52px; border-radius: 16px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--primary-soft); color: var(--primary-deep);
  border: 1px solid color-mix(in oklch, var(--primary) 18%, transparent);
}
.itile svg { width: 26px; height: 26px; }
.itile.t-cyan     { background: var(--cyan-soft); color: var(--cyan-deep); border-color: color-mix(in oklch, var(--cyan) 18%, transparent); }
.itile.t-lavender { background: var(--lavender-soft); color: var(--lavender-deep); border-color: color-mix(in oklch, var(--lavender) 18%, transparent); }
.itile.t-coral    { background: var(--coral-soft); color: var(--coral-deep); border-color: color-mix(in oklch, var(--coral) 18%, transparent); }
.itile.t-sun      { background: var(--sun-soft); color: var(--sun-deep); border-color: color-mix(in oklch, var(--sun) 22%, transparent); }
.itile.t-mint     { background: var(--mint-soft); color: var(--mint-deep); border-color: color-mix(in oklch, var(--mint) 18%, transparent); }

/* ---------- Stat ---------- */
.stat-num { font-size: clamp(34px, 4vw, 52px); font-weight: 800; letter-spacing: -0.04em; line-height: 1; color: var(--ink); }
.stat-num .unit { color: var(--primary); }
.stat-label { margin-top: 10px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-muted); }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 80;
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background .2s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; gap: 18px; height: 74px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; font-size: 21px; letter-spacing: -0.03em; }
.brand img, .brand svg { width: auto; height: 100px; flex: none; }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: 14px; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 9px 13px; border-radius: 12px;
  font-size: 15px; font-weight: 600; color: var(--ink-soft);
  transition: color .15s ease, background .15s ease;
}
.nav-link:hover { color: var(--ink); background: var(--paper-sunken); }
.nav-link .caret { width: 14px; height: 14px; opacity: 0.6; transition: transform .2s ease; }
.nav-item:hover .nav-link .caret { transform: rotate(180deg); }
.nav-spacer { flex: 1; }
.nav-cta { display: flex; align-items: center; gap: 10px; }

/* dropdown */
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(6px);
  min-width: 230px; padding: 8px; border-radius: 18px;
  background: var(--paper-raised); border: 1px solid var(--line); box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transition: opacity .18s ease, transform .18s ease;
}
.nav-item:hover .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown a {
  display: flex; align-items: center; gap: 11px; padding: 10px 12px; border-radius: 12px;
  font-size: 14.5px; font-weight: 600; color: var(--ink-soft); transition: background .14s ease, color .14s ease;
}
.dropdown a:hover { background: var(--primary-soft); color: var(--primary-deep); }
.dropdown a .dd-ic { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--paper-sunken); color: var(--primary-deep); flex: none; }
.dropdown a .dd-ic svg { width: 17px; height: 17px; }
.dropdown .dd-sub { display: block; font-size: 11.5px; font-weight: 500; color: var(--ink-faint); letter-spacing: 0; }
.dropdown .dd-tx { display: flex; flex-direction: column; line-height: 1.25; }
.dropdown-wide { min-width: 300px; }

/* hamburger */
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 13px; border: 1px solid var(--line-strong); background: var(--paper-raised); align-items: center; justify-content: center; }
.nav-toggle svg { width: 22px; height: 22px; }

/* mobile menu */
.mobile-menu {
  position: fixed; inset: 74px 0 0; z-index: 70;
  background: var(--paper); padding: 22px var(--gutter) 40px;
  overflow-y: auto; transform: translateY(-8px); opacity: 0; pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
.mobile-menu.open { opacity: 1; transform: none; pointer-events: auto; }
.mm-group { border-bottom: 1px solid var(--line); padding: 6px 0; }
.mm-group > a, .mm-group > .mm-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 4px; font-size: 18px; font-weight: 700; }
.mm-sub { padding: 0 4px 10px; display: grid; gap: 2px; }
.mm-sub a { padding: 9px 4px; font-size: 15px; font-weight: 600; color: var(--ink-soft); }

/* ---------- Footer ---------- */
.site-footer { background: var(--paper-deep); color: var(--on-deep-soft); position: relative; overflow: hidden; }
.site-footer .wrap { position: relative; z-index: 1; }
.footer-top { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 40px; padding-block: clamp(56px, 7vw, 88px) 48px; }
.footer-brand .brand { color: var(--on-deep); }
.footer-blurb { margin-top: 18px; max-width: 320px; color: var(--on-deep-muted); font-size: 15px; line-height: 1.6; }
.footer-col h6 { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-deep-muted); margin: 0 0 16px; font-weight: 600; }
.footer-col ul { display: grid; gap: 11px; }
.footer-col a { font-size: 14.5px; color: var(--on-deep-soft); transition: color .15s ease; }
.footer-col a:hover { color: var(--on-deep); }
.footer-contact { display: grid; gap: 8px; font-size: 14.5px; }
.footer-contact a { color: var(--cyan); }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-block: 26px 36px; border-top: 1px solid var(--line-deep); font-size: 13.5px; color: var(--on-deep-muted); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-legal a:hover { color: var(--on-deep); }

/* ---------- Decorations: starfield / orbits ---------- */
.starfield { position: absolute; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.star { position: absolute; border-radius: 50%; background: var(--ink); opacity: 0.14; }
.orbit-ring { position: absolute; border-radius: 50%; border: 1.5px dashed var(--line-strong); pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.5; pointer-events: none; z-index: 0; }
.blob-cyan { background: var(--cyan-soft); }
.blob-lav { background: var(--lavender-soft); }
.blob-coral { background: var(--coral-soft); }

/* night-sky decoration for deep panels */
.site-footer .star { background: #fff; opacity: 0.5; }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(48px, 7vw, 96px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 64px); align-items: center; position: relative; z-index: 2; }
.hero h1 { margin-top: 22px; }
.hero .lead { margin-top: 22px; max-width: 30ch; }
.hero .btn-row { margin-top: 32px; }
.hero .chip-row { margin-top: 28px; }
.hero-art { position: relative; display: grid; place-items: center; min-height: 420px; }

/* ---------- Phone frame (recreated app screens) ---------- */
.phone {
  width: 300px; flex: none; border-radius: 46px; padding: 12px;
  background: linear-gradient(165deg, #2a2f4a, #14182e);
  box-shadow: 0 50px 90px -40px rgba(14,21,48,0.6), inset 0 0 0 1.5px rgba(255,255,255,0.08);
  position: relative;
}
.phone-screen { border-radius: 35px; overflow: hidden; background: var(--paper); position: relative; aspect-ratio: 300 / 620; }
.phone-notch { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); width: 92px; height: 26px; background: #14182e; border-radius: 16px; z-index: 20; }
.app-statusbar { display: flex; align-items: center; justify-content: space-between; padding: 14px 22px 6px; font-size: 13px; font-weight: 700; color: var(--ink); }
.app-statusbar .sb-r { display: flex; gap: 5px; align-items: center; }
.app-statusbar .sb-r svg { width: 16px; height: 16px; }
.app-pad { padding: 6px 16px 16px; }

/* mini app components used inside phone screens */
.app-card { background: var(--paper-raised); border: 1px solid var(--line); border-radius: 20px; padding: 14px; box-shadow: var(--shadow-sm); }
.app-pill { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 11px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.app-tabbar { position: absolute; left: 12px; right: 12px; bottom: 14px; height: 58px; background: rgba(255,255,255,0.86); backdrop-filter: blur(16px); border: 1px solid var(--line); border-radius: 24px; display: flex; align-items: center; justify-content: space-around; box-shadow: 0 12px 30px -14px rgba(14,21,48,0.3); }
.app-tab { display: flex; flex-direction: column; align-items: center; gap: 2px; color: var(--ink-muted); font-size: 9px; font-weight: 700; }
.app-tab svg { width: 21px; height: 21px; }
.app-tab.on { color: var(--ink); }

.phone-float { position: absolute; z-index: 5; }

/* ---------- Medium / track cards ---------- */
.track-card { position: relative; overflow: hidden; }
.track-flag { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; }
.subj-list { margin-top: 18px; display: grid; gap: 10px; }
.subj-list li { display: flex; align-items: center; gap: 11px; font-weight: 600; font-size: 15.5px; color: var(--ink-soft); }
.subj-dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }

/* ---------- Feature card ---------- */
.feature-card .h4 { margin-top: 20px; }
.feature-card p { margin-top: 9px; color: var(--ink-muted); font-size: 15.5px; }

/* ---------- Exam timeline ---------- */
.exam-row { display: grid; grid-template-columns: 90px 1fr auto; gap: 20px; align-items: center; padding: 20px 4px; border-bottom: 1px solid var(--line); }
.exam-row:last-child { border-bottom: 0; }
.exam-std { font-family: var(--font-mono); font-weight: 700; font-size: 14px; letter-spacing: 0.04em; color: var(--primary-deep); display: flex; flex-direction: column; }
.exam-std b { font-size: 18px; letter-spacing: -0.02em; color: var(--ink); }
.exam-name { font-weight: 700; font-size: 18px; }
.exam-tag { font-size: 13px; color: var(--ink-muted); margin-top: 3px; }

/* ---------- Pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; align-items: stretch; }
.price-card { display: flex; flex-direction: column; position: relative; }
.price-card.featured { border-color: color-mix(in oklch, var(--primary) 40%, transparent); box-shadow: var(--shadow-md); }
.price-amount { display: flex; align-items: baseline; gap: 4px; margin: 18px 0 4px; }
.price-amount .amt { font-size: 48px; font-weight: 800; letter-spacing: -0.04em; }
.price-amount .per { color: var(--ink-muted); font-weight: 600; }
.price-feats { margin: 22px 0 26px; display: grid; gap: 13px; }
.price-feats li { display: flex; gap: 11px; align-items: flex-start; font-size: 15.5px; color: var(--ink-soft); }
.price-feats li svg { width: 20px; height: 20px; flex: none; color: var(--mint-deep); margin-top: 1px; }
.price-card .btn { margin-top: auto; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--r-lg); background: var(--paper-deep); color: var(--on-deep); padding: clamp(40px, 6vw, 72px); }
.cta-band h2 { color: var(--on-deep); }
.cta-band .lead { color: var(--on-deep-soft); }
.cta-band .star { background: #fff; }

/* ---------- Page hero (interior pages) ---------- */
.page-hero { position: relative; overflow: hidden; padding-top: clamp(48px, 6vw, 88px); padding-bottom: clamp(40px, 5vw, 64px); }
.page-hero .breadcrumb { display: flex; gap: 8px; align-items: center; font-family: var(--font-mono); font-size: 12px; color: var(--ink-muted); margin-bottom: 20px; }
.page-hero .breadcrumb a:hover { color: var(--primary-deep); }
.page-hero .breadcrumb span { opacity: 0.5; }

/* ---------- Misc ---------- */
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }
.pill-tab { display: inline-flex; gap: 4px; padding: 5px; background: var(--paper-sunken); border-radius: 999px; }
.pill-tab a { padding: 9px 18px; border-radius: 999px; font-size: 14.5px; font-weight: 700; color: var(--ink-soft); }
.pill-tab a.on { background: var(--paper-raised); color: var(--ink); box-shadow: var(--shadow-sm); }
.note-card { background: var(--primary-soft); border: 1px solid color-mix(in oklch, var(--primary) 18%, transparent); border-radius: var(--r-md); padding: 22px 24px; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Prose (legal / help / articles) ---------- */
.prose { color: var(--ink-soft); font-size: 16.5px; line-height: 1.7; }
.prose > * + * { margin-top: 16px; }
.prose h2 { font-size: 24px; letter-spacing: -0.025em; color: var(--ink); margin-top: 40px; }
.prose h3 { font-size: 19px; letter-spacing: -0.02em; color: var(--ink); margin-top: 28px; }
.prose ul { display: grid; gap: 9px; padding-left: 2px; }
.prose ul li { display: flex; gap: 11px; align-items: flex-start; }
.prose ul li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--primary); margin-top: 9px; flex: none; }
.prose a { color: var(--primary-deep); font-weight: 600; }
.prose strong { color: var(--ink); }
.legal-toc { position: sticky; top: 96px; }
.legal-toc a { display: block; padding: 8px 12px; border-radius: 10px; font-size: 14px; font-weight: 600; color: var(--ink-muted); }
.legal-toc a:hover { background: var(--paper-sunken); color: var(--ink); }
.legal-grid { display: grid; grid-template-columns: 240px 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (max-width: 860px) { .legal-grid { grid-template-columns: 1fr; } .legal-toc { position: static; display: flex; flex-wrap: wrap; gap: 4px; } }

/* article card */
.article-thumb { aspect-ratio: 16 / 10; border-radius: 16px; display: grid; place-items: center; overflow: hidden; position: relative; }
.article-card .h4 { margin-top: 18px; }
.article-card p { margin-top: 8px; color: var(--ink-muted); font-size: 15px; }
.article-meta { display: flex; gap: 10px; align-items: center; margin-top: 14px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; color: var(--ink-muted); text-transform: uppercase; }

/* list rows (papers / mocks / webinars) */
.list-row { display: flex; gap: 16px; align-items: center; padding: 18px 4px; border-bottom: 1px solid var(--line); }
.list-row:last-child { border-bottom: 0; }
.list-row .lr-ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; flex: none; }
.list-row .lr-main { flex: 1; min-width: 0; }
.list-row .lr-title { font-weight: 700; font-size: 16.5px; }
.list-row .lr-sub { font-size: 13.5px; color: var(--ink-muted); margin-top: 2px; }

/* testimonial */
.quote-card { display: flex; flex-direction: column; gap: 18px; }
.quote-card .q-text { font-size: 18px; line-height: 1.5; color: var(--ink); letter-spacing: -0.01em; }
.quote-card .q-who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.quote-card .q-av { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 15px; flex: none; }

/* calendar month */
.cal-month { font-family: var(--font-mono); font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--primary-deep); }
.cal-row { display: grid; grid-template-columns: 120px 1fr auto; gap: 18px; align-items: center; padding: 18px 4px; border-bottom: 1px solid var(--line); }
.cal-row:last-child { border-bottom: 0; }
@media (max-width: 640px) { .cal-row { grid-template-columns: 90px 1fr; } .cal-row .cal-cta { display: none; } }

/* faq */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; text-align: left; background: none; border: 0; padding: 22px 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 18px; font-weight: 700; color: var(--ink); }
.faq-q .fq-ic { width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--line-strong); display: grid; place-items: center; flex: none; transition: transform .25s ease, background .2s, border-color .2s; }
.faq-q .fq-ic svg { width: 16px; height: 16px; }
.faq-item.open .fq-ic { transform: rotate(45deg); background: var(--ink); color: var(--paper); border-color: var(--ink); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a-inner { padding-bottom: 22px; color: var(--ink-soft); max-width: 70ch; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; min-height: 340px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .price-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .hero .nav-cta-hide { display: none; }
  .exam-row { grid-template-columns: 70px 1fr; }
  .exam-row .exam-cta { display: none; }
}
@media (max-width: 480px) {
  .footer-top { grid-template-columns: 1fr; }
  .btn-row .btn { width: 100%; }
}

/* hide desktop nav cta label on small */
@media (max-width: 560px) { .nav-cta .btn span.hide-sm { display: none; } }

/* ── Logo icon art (hero) ── */
.logo-icon-art {
  position: relative;
  z-index: 2;
  border-radius: 44px;
  background: var(--ink);
  display: grid;
  place-items: center;
  box-shadow: 0 24px 56px rgba(0,0,0,0.22);
  animation: vj-float 4s ease-in-out infinite;
}
.logo-icon-art img { display: block; 
height: 200px;
    margin: 10px;}
/* slow-spinning orbit ring variant */
.orbit-spin { animation: vj-spin-slow 22s linear infinite; }

@keyframes vj-float {
  0%, 100% { transform: translateY(0);     }
  50%       { transform: translateY(-14px); }
}
@keyframes vj-spin-slow {
  to { transform: rotate(360deg); }
}

/* ============================================================
   Bootstrap 5 integration overrides
   All custom theme styles win because this file loads after Bootstrap
   ============================================================ */

/* ── Reset Bootstrap resets that conflict with our design ── */
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5, h6 { margin: 0; }
p { margin: 0; }

/* ── Navbar ── */
.site-header.navbar {
  position: sticky;
  top: 0;
  z-index: 80;
  padding-block: 0;
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background .2s ease;
}
.site-header.navbar.scrolled { border-bottom-color: var(--line); }
.site-header .navbar-brand.brand { padding: 0; }
.site-header .navbar-nav {
  flex-direction: row;
  align-items: center;
  gap: 4px;
}
/* Reset: reference .dropdown targets the menu div; Bootstrap puts .dropdown on the <li> container.
   Without this, the <li> would be position:absolute + invisible from the reference CSS. */
.site-header .nav-item.dropdown {
  position: relative;
  top: auto; left: auto;
  transform: none;
  opacity: 1; visibility: visible;
  min-width: auto; padding: 0;
  border-radius: 0; background: transparent;
  border: none; box-shadow: none;
  transition: none;
}

/* Hide Bootstrap's default caret ::after, use custom .caret icon */
.site-header .dropdown-toggle::after { display: none !important; }
.site-header .caret {
  font-size: 11px; opacity: 0.55; margin-left: 1px;
  display: inline-block; transition: transform .2s ease;
}
.site-header .dropdown-toggle[aria-expanded="true"] .caret { transform: rotate(180deg); }

/* dropdown divider */
.dropdown-menu .dropdown-divider { margin: 5px 8px; border-color: var(--line); }

.site-header .navbar-nav .nav-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 9px 13px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-soft);
  transition: color .15s ease, background .15s ease;
  white-space: nowrap;
}
.site-header .navbar-nav .nav-link:hover,
.site-header .navbar-nav .nav-link.active { color: var(--ink); background: var(--paper-sunken); }
.site-header .navbar-nav .nav-link.active { color: var(--primary) !important; background: transparent; }
.site-header .navbar-toggler {
  width: 46px; height: 46px;
  border-radius: 13px;
  border: 1px solid var(--line-strong);
  background: var(--paper-raised);
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
}
.site-header .navbar-toggler:focus { box-shadow: none; outline: none; }
.site-header .navbar-toggler i { font-size: 22px; color: var(--ink); }

/* Mobile collapse */
@media (max-width: 991.98px) {
  .site-header .navbar-collapse {
    background: var(--paper);
    padding: 12px 0 20px;
    border-top: 1px solid var(--line);
  }
  .site-header .navbar-nav { flex-direction: column; align-items: stretch; gap: 2px; }
  .site-header .navbar-nav .nav-link { font-size: 16px; padding: 12px 8px; border-radius: 10px; }
  .site-header .nav-cta { padding-top: 16px; border-top: 1px solid var(--line); margin-top: 8px; }
  .site-header .nav-cta .btn { width: 100%; justify-content: center; }
}

/* ── Dropdown panel — shared styles ── */
.dropdown-menu {
  border-radius: 18px;
  padding: 8px;
  background: var(--paper-raised);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  min-width: 230px;
}
.dropdown-menu.dropdown-wide { min-width: 300px; }
.dropdown-item {
  display: flex !important;
  align-items: center;
  gap: 11px;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-soft);
  background: transparent;
  transition: background .14s ease, color .14s ease;
}
.dropdown-item:hover, .dropdown-item:focus {
  background: var(--primary-soft) !important;
  color: var(--primary-deep) !important;
}
.dropdown-item .dd-ic {
  width: 30px; height: 30px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: var(--paper-sunken);
  color: var(--primary-deep);
  flex: none;
  font-size: 15px;
}
.dropdown-item .dd-sub { display: block; font-size: 11.5px; font-weight: 500; color: var(--ink-faint); }
.dropdown-item .dd-tx { display: flex; flex-direction: column; line-height: 1.25; }

/* Desktop: hover-triggered dropdown, opacity/visibility animation (matches reference) */
@media (min-width: 992px) {
  .site-header .dropdown-menu {
    display: block;          /* keep in layout so hover works */
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity .18s ease, transform .18s ease, visibility 0s .18s;
    pointer-events: none;
    margin-top: 8px;
    position: absolute;
  }
  .site-header .nav-item.dropdown:hover > .dropdown-menu,
  .site-header .dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: opacity .18s ease, transform .18s ease;
    pointer-events: auto;
  }
}

/* Mobile: flat dropdown inside collapse */
@media (max-width: 991.98px) {
  .site-header .dropdown-menu {
    position: static !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    border: 0;
    border-radius: 0;
    padding: 4px 0 4px 16px;
    box-shadow: none;
    background: transparent;
    margin-top: 0 !important;
    min-width: unset;
    pointer-events: auto !important;
  }
}

/* ── Bootstrap .card override ── */
.card {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  --bs-card-bg: var(--paper-raised);
}

/* ── Bootstrap .btn override ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 26px;
  border-radius: var(--r-pill);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.01em;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .14s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.btn i, .btn svg { font-size: 18px; width: 19px; height: 19px; line-height: 0; }
.btn:active { transform: translateY(1px) scale(0.99); }

/* ── Icon tile Bootstrap Icons support ── */
.itile i { font-size: 24px; }

/* ── Star size helpers (replace inline width/height on .star) ── */
.star-xs { width: 1.2px; height: 1.2px; }
.star-sm { width: 1.4px; height: 1.4px; }
.star-md { width: 1.6px; height: 1.6px; }
.star-lg { width: 2px;   height: 2px;   }

/* ── Exam badge (replacing inline exam-tag) ── */
.exam-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
}
.exam-badge.t-cyan     { background: var(--cyan-soft);     color: var(--cyan-deep); }
.exam-badge.t-lavender { background: var(--lavender-soft); color: var(--lavender-deep); }
.exam-badge.t-coral    { background: var(--coral-soft);    color: var(--coral-deep); }
.exam-badge.t-mint     { background: var(--mint-soft);     color: var(--mint-deep); }
.exam-badge.t-sun      { background: var(--sun-soft);      color: var(--sun-deep); }

/* ── CTA band inner row ── */
.cta-inner-row { position: relative; z-index: 1; }

/* ── Blob-sun variant (missing from original) ── */
.blob-sun  { background: var(--sun-soft); }
.blob-mint { background: var(--mint-soft); }
