/* ACADEMIST.com — Main Styles: Variables, Layout, Components, Services */

:root {
    --ac: #1E3A8A;   /* Actinium – deep navy */
    --ca: #14B8A6;   /* Calcium – teal */
    --dy: #7C3AED;   /* Dysprosium – purple */
    --er: #4F46E5;   /* Erbium – indigo */
    --mg: #22C55E;   /* Magnesium – green */
    --io: #F97316;   /* Iodine – orange */
    --su: #FACC15;   /* Sulfur – yellow */
    --ti: #111827;   /* Titanium – near-black */
    --bg: #F8FAFC;
    --white: #ffffff;
    --text: #0f172a;
    --muted: #64748b;
    --font: 'Montserrat', sans-serif;
  }

  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  html { scroll-behavior: smooth; }

  body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
  }

  /* ── ELEMENT TILE ── */
  .tile {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: var(--white);
    position: relative;
    line-height: 1;
    font-family: var(--font);
  }
  .tile .num  { font-weight: 300; font-size: .55em; align-self: flex-start; padding: 0 0 2px 4px; }
  .tile .sym  { font-weight: 800; font-size: 2.2em; }
  .tile .name { font-weight: 400; font-size: .38em; letter-spacing: .05em; text-transform: uppercase; }

  /* ── NAVBAR ── */
  nav {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 100;
    background: rgba(17,24,39,.97);
    backdrop-filter: blur(12px);
    border-bottom: 2px solid rgba(250,204,21,.2);
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 5%;
    height: 72px;
  }

  .nav-logo {
    display: flex; align-items: center; gap: 14px; text-decoration: none;
  }
  .logo-tiles { display: flex; gap: 4px; }
  .logo-tiles .tile { width: 34px; height: 34px; border-radius: 6px; font-size: 9px; }
  .logo-tiles .tile .sym { font-size: 1.5em; }
  .logo-tiles .tile .num, .logo-tiles .tile .name { display: none; }

  .nav-wordmark {
    color: var(--white);
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: .08em;
  }
  .nav-wordmark span { color: var(--su); }

  .nav-links {
    display: flex; align-items: center; gap: 32px; list-style: none;
  }
  .nav-links a {
    color: rgba(255,255,255,.75);
    text-decoration: none;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    transition: color .2s;
  }
  .nav-links a:hover { color: var(--su); }

  /* ── NAV SIGN IN BUTTON ── */
  .nav-sign-in {
    position: relative;
    color: rgba(255,255,255,.9) !important;
    padding: 9px 20px !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    letter-spacing: .04em !important;
    border: 1.5px solid rgba(255,255,255,.18) !important;
    background: rgba(255,255,255,.06) !important;
    backdrop-filter: blur(8px);
    transition: all .22s ease !important;
    text-transform: none !important;
  }
  .nav-sign-in:hover {
    color: var(--white) !important;
    background: rgba(255,255,255,.13) !important;
    border-color: rgba(255,255,255,.35) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 16px rgba(0,0,0,.25) !important;
  }

  /* ── NAV START FREE BUTTON ── */
  .nav-cta {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--su) 0%, #f59e0b 100%) !important;
    color: var(--ti) !important;
    padding: 10px 24px !important;
    border-radius: 8px !important;
    font-weight: 800 !important;
    font-size: .78rem !important;
    letter-spacing: .06em !important;
    text-transform: uppercase !important;
    box-shadow: 0 0 0 0 rgba(250,204,21,.5);
    transition: transform .22s ease, box-shadow .22s ease, filter .22s ease !important;
  }
  .nav-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,.25) 0%, transparent 60%);
    opacity: 1;
    pointer-events: none;
  }
  .nav-cta::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--su), var(--io));
    z-index: -1;
    opacity: 0;
    transition: opacity .22s ease;
    filter: blur(8px);
  }
  .nav-cta:hover {
    color: var(--ti) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 24px rgba(250,204,21,.45), 0 2px 8px rgba(0,0,0,.2) !important;
    filter: brightness(1.06) !important;
  }
  .nav-cta:hover::after { opacity: 1; }

  /* ── HERO ── */
  .hero {
    min-height: 100vh;
    background: var(--ti);
    background-image: radial-gradient(ellipse 80% 60% at 60% 40%, rgba(79,70,229,.25) 0%, transparent 60%),
                      radial-gradient(ellipse 50% 50% at 10% 80%, rgba(20,184,166,.15) 0%, transparent 50%);
    display: flex; align-items: center;
    padding: 100px 5% 60px;
    position: relative; overflow: hidden;
  }

  /* Floating periodic tiles background */
  .hero-bg-tiles {
    position: absolute; inset: 0; pointer-events: none; overflow: hidden;
  }
  .bg-tile {
    position: absolute;
    opacity: .06;
    border-radius: 10px;
    font-family: var(--font);
    color: white;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    animation: floatTile 18s ease-in-out infinite;
  }
  .bg-tile .bsym { font-size: 2.8rem; font-weight: 800; }
  .bg-tile .bnum { font-size: .75rem; font-weight: 300; align-self: flex-start; padding-left: 6px; }
  @keyframes floatTile {
    0%,100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(3deg); }
  }

  .hero-content { position: relative; z-index: 2; max-width: 680px; }

  .hero-tag {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(250,204,21,.1);
    border: 1px solid rgba(250,204,21,.3);
    border-radius: 999px;
    padding: 6px 16px;
    color: var(--su);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 28px;
  }
  .hero-tag .dot { width: 6px; height: 6px; background: var(--su); border-radius: 50%; animation: pulse 2s infinite; }
  @keyframes pulse { 0%,100%{opacity:1}50%{opacity:.3} }

  .hero h1 {
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 900;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 24px;
  }
  .hero h1 em { font-style: normal; color: var(--su); }
  .hero h1 .grad {
    background: linear-gradient(135deg, var(--ca), var(--er));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  }

  .hero p {
    color: rgba(255,255,255,.7);
    font-size: 1.05rem;
    line-height: 1.8;
    max-width: 520px;
    margin-bottom: 40px;
    font-weight: 400;
  }

  .hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }

  .btn-primary {
    background: var(--io);
    color: var(--white);
    padding: 16px 36px;
    border-radius: 8px;
    font-weight: 800;
    font-size: .95rem;
    text-decoration: none;
    letter-spacing: .04em;
    transition: transform .2s, box-shadow .2s;
    box-shadow: 0 8px 32px rgba(249,115,22,.35);
  }
  .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 40px rgba(249,115,22,.5); }

  .btn-ghost {
    background: rgba(255,255,255,.08);
    color: var(--white);
    padding: 16px 36px;
    border-radius: 8px;
    font-weight: 700;
    font-size: .95rem;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,.2);
    transition: background .2s;
  }
  .btn-ghost:hover { background: rgba(255,255,255,.14); }

  /* Hero periodic logo */
  .hero-visual {
    position: absolute; right: 5%; top: 50%; transform: translateY(-50%);
    display: grid; grid-template-columns: repeat(4,90px); gap: 10px;
    z-index: 2;
    animation: fadeSlideIn .8s ease .3s both;
  }
  @keyframes fadeSlideIn { from{opacity:0;transform:translateY(-40%) translateX(20px)}to{opacity:1;transform:translateY(-50%) translateX(0)} }
  .hero-visual .tile {
    width: 90px; height: 90px;
    font-size: 11px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,.4);
    transition: transform .25s, box-shadow .25s;
    cursor: default;
  }
  .hero-visual .tile:hover {
    transform: translateY(-6px) scale(1.05);
    box-shadow: 0 18px 40px rgba(0,0,0,.5);
  }
  .hero-visual .tile .sym { font-size: 2.6em; }

  /* Stats bar */
  .stats-bar {
    background: var(--white);
    border-top: 4px solid;
    border-image: linear-gradient(90deg, var(--ac),var(--ca),var(--dy),var(--er),var(--mg),var(--io),var(--su),var(--ti)) 1;
    display: flex; justify-content: center; gap: 0;
    flex-wrap: wrap;
  }
  .stat-item {
    flex: 1; min-width: 180px;
    padding: 32px 24px;
    text-align: center;
    border-right: 1px solid #e2e8f0;
  }
  .stat-item:last-child { border-right: none; }
  .stat-item strong {
    display: block;
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--ac);
    margin-bottom: 4px;
  }
  .stat-item span { font-size: .8rem; color: var(--muted); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }

  /* ── SECTION SHARED ── */
  section { padding: 100px 5%; }

  .section-tag {
    display: inline-block;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 999px;
    margin-bottom: 16px;
  }
  h2.section-title {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 16px;
  }
  .section-sub {
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.7;
    max-width: 560px;
    margin-bottom: 56px;
  }

  /* ── SUBJECTS ── */
  .subjects-section { background: var(--bg); }
  .subjects-header { text-align: center; }
  .subjects-header .section-sub { margin: 0 auto 56px; }

  .subjects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    max-width: 1200px; margin: 0 auto;
  }

  .subject-card {
    background: var(--white);
    border-radius: 16px;
    padding: 28px 24px;
    display: flex; flex-direction: column; align-items: flex-start;
    border: 1px solid #e2e8f0;
    transition: transform .25s, box-shadow .25s, border-color .25s;
    cursor: pointer;
    position: relative; overflow: hidden;
  }
  .subject-card::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: var(--card-color);
  }
  .subject-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(0,0,0,.1);
    border-color: transparent;
  }

  .subject-icon {
    width: 52px; height: 52px;
    border-radius: 10px;
    margin-bottom: 16px;
    font-size: 7px;
  }
  .subject-icon .sym { font-size: 2.4em; }

  .subject-card h3 {
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 6px;
    color: var(--text);
  }
  .subject-card p {
    font-size: .8rem;
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 16px;
  }
  .subject-exams {
    display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto;
  }
  .exam-tag {
    font-size: .65rem;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 999px;
    background: var(--tag-bg);
    color: var(--tag-color);
  }

  /* ── EXAM COVERAGE ── */
  .exams-section { background: var(--ti); }

  .exams-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px; max-width: 1200px; margin: 0 auto;
  }
  .exam-card {
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 16px;
    padding: 32px 28px;
    transition: background .25s, transform .25s;
    cursor: pointer;
    position: relative;
  }
  .exam-card:hover { background: rgba(255,255,255,.09); transform: translateY(-4px); }
  .exam-card::after {
    content: 'View Guide →';
    position: absolute;
    bottom: 16px;
    right: 20px;
    font-size: .65rem;
    font-weight: 800;
    letter-spacing: .06em;
    color: var(--su);
    opacity: 0;
    transition: opacity .2s;
  }
  .exam-card:hover::after { opacity: 1; }

  .exam-badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: .65rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: var(--white);
  }
  .exam-card h3 { color: var(--white); font-size: 1.1rem; font-weight: 800; margin-bottom: 8px; }
  .exam-card p { color: rgba(255,255,255,.55); font-size: .82rem; line-height: 1.7; }

  /* ── HOW IT WORKS ── */
  .how-section { background: var(--white); }
  .steps-row {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 40px; max-width: 1100px; margin: 0 auto;
    position: relative;
  }
  .step { text-align: center; }
  .step-num {
    width: 64px; height: 64px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    font-weight: 900;
    margin: 0 auto 20px;
    color: var(--white);
  }
  .step h3 { font-size: 1rem; font-weight: 800; margin-bottom: 8px; }
  .step p { font-size: .83rem; color: var(--muted); line-height: 1.7; }

  /* ── TESTIMONIALS ── */
  .testi-section { background: var(--bg); }
  .testi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px; max-width: 1200px; margin: 0 auto;
  }
  .testi-card {
    background: var(--white);
    border-radius: 16px;
    padding: 28px 32px;
    border-left: 4px solid var(--card-accent);
    box-shadow: 0 2px 20px rgba(0,0,0,.06);
    display: flex; flex-direction: column; gap: 14px;
  }
  .testi-stars { color: var(--su); font-size: 1rem; }
  .testi-score-badge {
    display: inline-block;
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 999px;
    width: fit-content;
  }
  .testi-card blockquote {
    font-size: .875rem;
    line-height: 1.8;
    color: var(--text);
    font-style: italic;
    flex: 1;
  }
  .testi-author { display: flex; align-items: center; gap: 14px; margin-top: 4px; }
  .testi-avatar {
    width: 46px; height: 46px; border-radius: 50%;
    font-weight: 800; font-size: .85rem; color: var(--white);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
  }
  .testi-author div strong { display: block; font-size: .85rem; font-weight: 700; }
  .testi-author div span { font-size: .75rem; color: var(--muted); }

  /* ── PRICING ── */
  .pricing-section { background: var(--white); }
  .pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px,1fr));
    gap: 24px; max-width: 1000px; margin: 0 auto;
  }
  .price-card {
    border-radius: 20px;
    padding: 40px 32px;
    border: 2px solid #e2e8f0;
    position: relative;
    transition: transform .25s;
  }
  .price-card:hover { transform: translateY(-6px); }
  .price-card.featured {
    background: var(--ac);
    border-color: var(--ac);
    color: var(--white);
  }
  .price-badge {
    position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
    background: var(--io);
    color: var(--white);
    font-size: .65rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 5px 16px;
    border-radius: 999px;
  }
  .price-plan { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 12px; color: var(--muted); }
  .price-card.featured .price-plan { color: rgba(255,255,255,.6); }
  .price-amount { font-size: 2.8rem; font-weight: 900; margin-bottom: 4px; }
  .price-period { font-size: .8rem; color: var(--muted); margin-bottom: 28px; }
  .price-card.featured .price-period { color: rgba(255,255,255,.6); }
  .price-features { list-style: none; margin-bottom: 32px; }
  .price-features li {
    font-size: .85rem;
    padding: 8px 0;
    border-bottom: 1px solid #f1f5f9;
    display: flex; align-items: center; gap: 10px;
  }
  .price-card.featured .price-features li { border-color: rgba(255,255,255,.15); }
  .price-features li::before { content:'✓'; font-weight: 900; color: var(--mg); }
  .price-features li.no::before { content:'✗'; color: #94a3b8; }

  .btn-plan {
    display: block; width: 100%; text-align: center;
    padding: 14px;
    border-radius: 8px;
    font-weight: 800; font-size: .9rem;
    text-decoration: none;
    transition: transform .2s, box-shadow .2s;
  }
  .btn-plan-outline { border: 2px solid var(--ac); color: var(--ac); }
  .btn-plan-outline:hover { background: var(--ac); color: var(--white); }
  .btn-plan-solid { background: var(--io); color: var(--white); box-shadow: 0 6px 20px rgba(249,115,22,.35); }
  .btn-plan-solid:hover { box-shadow: 0 10px 30px rgba(249,115,22,.5); transform: translateY(-2px); }

  /* ── CTA BAND ── */
  .cta-band {
    background: linear-gradient(135deg, var(--er) 0%, var(--dy) 100%);
    padding: 80px 5%;
    text-align: center;
  }
  .cta-band h2 { color: var(--white); font-size: clamp(1.8rem,3vw,2.6rem); font-weight: 900; margin-bottom: 16px; }
  .cta-band p { color: rgba(255,255,255,.75); font-size: 1rem; margin-bottom: 36px; }

  /* ── FOOTER ── */
  footer {
    background: var(--ti);
    padding: 60px 5% 30px;
    color: rgba(255,255,255,.55);
  }
  .footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,.1);
    margin-bottom: 32px;
  }
  .footer-brand .nav-wordmark { font-size: 1.4rem; display: block; margin-top: 16px; }
  .footer-brand p { font-size: .82rem; line-height: 1.7; margin-top: 12px; max-width: 280px; }
  .footer-col h4 { color: var(--white); font-weight: 700; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 16px; }
  .footer-col ul { list-style: none; }
  .footer-col ul li { margin-bottom: 10px; }
  .footer-col ul li a { color: rgba(255,255,255,.5); text-decoration: none; font-size: .83rem; transition: color .2s; }
  .footer-col ul li a:hover { color: var(--su); }
  .footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: .78rem; }
  .footer-bottom a { color: var(--su); text-decoration: none; }

  /* ── EXAM TABS ── */
  .exam-tabs {
    display: flex; flex-wrap: wrap; gap: 8px;
    margin-bottom: 36px;
  }
  .etab {
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    color: rgba(255,255,255,.65);
    padding: 10px 20px;
    border-radius: 999px;
    font-family: var(--font);
    font-size: .78rem;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s, color .2s, border-color .2s;
    white-space: nowrap;
  }
  .etab:hover { background: rgba(255,255,255,.13); color: var(--white); }
  .etab.active {
    background: var(--su);
    border-color: var(--su);
    color: var(--ti);
  }

  .exam-panel { display: none; }
  .exam-panel.active { display: block; }

  /* exam meta tags */
  .exam-meta {
    display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px;
  }
  .exam-meta span {
    font-size: .65rem; font-weight: 700;
    padding: 3px 9px; border-radius: 999px;
    background: rgba(255,255,255,.08);
    color: rgba(255,255,255,.55);
    letter-spacing: .04em;
  }

  /* highlight cards (medical/nursing special) */
  .exam-card--highlight {
    border-color: rgba(250,204,21,.2);
    background: rgba(255,255,255,.08);
  }
  .exam-card--highlight:hover { background: rgba(255,255,255,.13); }

  /* ══════════════════════════════════════════
     ── SERVICES SECTION ──
  ══════════════════════════════════════════ */
  .services-section { background: var(--bg); padding: 100px 5%; }

  .svc-tabbar {
    display: flex; flex-wrap: wrap; gap: 0;
    border-bottom: 2px solid #e2e8f0; margin-bottom: 0;
  }
  .svc-tab {
    display: flex; align-items: center; gap: 8px;
    background: none; border: none;
    border-bottom: 3px solid transparent; margin-bottom: -2px;
    padding: 14px 22px;
    font-family: var(--font); font-size: .8rem; font-weight: 700;
    color: var(--muted); cursor: pointer;
    transition: color .2s, border-color .2s; white-space: nowrap;
  }
  .svc-tab .svc-icon { font-size: 1rem; }
  .svc-tab:hover { color: var(--ac); }
  .svc-tab.active { color: var(--ac); border-bottom-color: var(--ac); }

  .svc-panel { display: none; padding-top: 44px; }
  .svc-panel.active { display: block; }

  /* Exam-type sub-tabs (shared) */
  .exam-subtabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
  .est-btn {
    padding: 8px 18px; border-radius: 999px;
    border: 1.5px solid #d1d5db; background: var(--white);
    font-family: var(--font); font-size: .75rem; font-weight: 700;
    color: var(--muted); cursor: pointer; transition: all .2s;
  }
  .est-btn:hover { border-color: var(--ac); color: var(--ac); }
  .est-btn.active { background: var(--ac); border-color: var(--ac); color: var(--white); }
  .est-panel { display: none; }
  .est-panel.active { display: block; }

  /* REGISTER */
  .reg-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(280px,1fr)); gap: 20px; }
  .reg-card {
    background: var(--white); border: 1px solid #e2e8f0; border-radius: 16px;
    padding: 28px 24px; display: flex; flex-direction: column;
    transition: transform .2s,box-shadow .2s; position: relative; overflow: hidden;
  }
  .reg-card::before { content:''; position:absolute; top:0; left:0; right:0; height:4px; background:var(--rc,var(--ac)); }
  .reg-card:hover { transform:translateY(-4px); box-shadow:0 16px 40px rgba(0,0,0,.09); }
  .reg-badge { padding:4px 10px; border-radius:6px; font-size:.65rem; font-weight:800; letter-spacing:.08em; color:var(--white); background:var(--rc,var(--ac)); display:inline-block; margin-bottom:12px; }
  .reg-card h3 { font-size:1rem; font-weight:800; margin-bottom:8px; }
  .reg-card p { font-size:.8rem; color:var(--muted); line-height:1.65; margin-bottom:16px; flex:1; }
  .reg-info { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:18px; }
  .reg-info span { font-size:.7rem; font-weight:600; background:var(--bg); color:var(--muted); padding:4px 10px; border-radius:6px; border:1px solid #e2e8f0; }
  .reg-info span strong { color:var(--text); }
  .btn-reg { display:block; text-align:center; padding:12px; border-radius:8px; font-family:var(--font); font-size:.82rem; font-weight:800; text-decoration:none; cursor:pointer; border:none; background:var(--rc,var(--ac)); color:var(--white); transition:opacity .2s,transform .2s; }
  .btn-reg:hover { opacity:.88; transform:translateY(-1px); }

  /* BOOK A TUTOR */
  .tutor-layout { display:grid; grid-template-columns:1fr 340px; gap:28px; align-items:start; }
  .tutor-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(250px,1fr)); gap:18px; }
  .tutor-card { background:var(--white); border:1px solid #e2e8f0; border-radius:16px; padding:22px; display:flex; flex-direction:column; transition:transform .2s,box-shadow .2s; }
  .tutor-card:hover { transform:translateY(-4px); box-shadow:0 14px 36px rgba(0,0,0,.09); }
  .tutor-top { display:flex; gap:12px; align-items:flex-start; margin-bottom:12px; }
  .tutor-avatar-wrap { position:relative; flex-shrink:0; }
  .tutor-avatar { width:54px; height:54px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-weight:900; font-size:1rem; color:var(--white); }
  .tutor-online { width:11px; height:11px; border-radius:50%; background:var(--mg); border:2px solid var(--white); position:absolute; bottom:1px; right:1px; }
  .tutor-info h4 { font-size:.9rem; font-weight:800; margin-bottom:2px; }
  .tutor-info .tutor-spec { font-size:.72rem; color:var(--muted); font-weight:600; }
  .tutor-stars { color:var(--su); font-size:.78rem; }
  .tutor-tags { display:flex; flex-wrap:wrap; gap:5px; margin-bottom:12px; }
  .tutor-tag { font-size:.63rem; font-weight:700; padding:3px 8px; border-radius:999px; background:var(--bg); color:var(--muted); border:1px solid #e2e8f0; }
  .tutor-meta { display:flex; justify-content:space-between; align-items:center; margin-bottom:14px; }
  .tutor-rate { font-size:.88rem; font-weight:900; color:var(--ac); }
  .tutor-avail { font-size:.68rem; color:var(--mg); font-weight:700; }
  .btn-book { display:block; width:100%; text-align:center; padding:10px; border-radius:8px; font-family:var(--font); font-size:.78rem; font-weight:800; cursor:pointer; border:2px solid var(--ac); color:var(--ac); background:none; transition:background .2s,color .2s; }
  .btn-book:hover,.btn-book.booked { background:var(--ac); color:var(--white); }

  .book-form-box { background:var(--white); border:1px solid #e2e8f0; border-radius:20px; padding:28px; position:sticky; top:90px; }
  .book-form-box h3 { font-size:1rem; font-weight:800; margin-bottom:6px; }
  .book-form-box > p { font-size:.78rem; color:var(--muted); margin-bottom:20px; }
  .form-group { margin-bottom:14px; }
  .form-group label { display:block; font-size:.73rem; font-weight:700; color:var(--text); margin-bottom:5px; }
  .form-group select,.form-group input,.form-group textarea { width:100%; padding:9px 12px; border:1.5px solid #d1d5db; border-radius:8px; font-family:var(--font); font-size:.8rem; color:var(--text); background:var(--bg); transition:border-color .2s; }
  .form-group select:focus,.form-group input:focus,.form-group textarea:focus { outline:none; border-color:var(--ac); }
  .form-group textarea { min-height:72px; resize:vertical; }
  .book-form-box textarea { min-height: 80px; resize: vertical; }
  .btn-submit { width:100%; padding:12px; border-radius:8px; border:none; background:var(--io); color:var(--white); font-family:var(--font); font-size:.88rem; font-weight:800; cursor:pointer; transition:background .2s,transform .2s; }
  .btn-submit:hover { background:#ea6a00; transform:translateY(-1px); }

  /* VIDEOS */
  .video-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(270px,1fr)); gap:18px; }
  .video-card { background:var(--white); border:1px solid #e2e8f0; border-radius:14px; overflow:hidden; transition:transform .2s,box-shadow .2s; cursor:pointer; }
  .video-card:hover { transform:translateY(-4px); box-shadow:0 16px 40px rgba(0,0,0,.1); }
  .video-thumb { height:156px; display:flex; align-items:center; justify-content:center; position:relative; overflow:hidden; }
  .video-thumb .play-btn { width:50px; height:50px; border-radius:50%; background:rgba(255,255,255,.9); display:flex; align-items:center; justify-content:center; font-size:1.3rem; z-index:2; transition:transform .2s; }
  .video-card:hover .play-btn { transform:scale(1.12); }
  .video-thumb .thumb-label { position:absolute; bottom:8px; right:8px; background:rgba(0,0,0,.65); color:var(--white); font-size:.62rem; font-weight:700; padding:3px 7px; border-radius:4px; }
  .video-thumb .thumb-badge { position:absolute; top:8px; left:8px; font-size:.6rem; font-weight:800; padding:3px 9px; border-radius:999px; color:var(--white); }
  .video-body { padding:16px; }
  .video-body h4 { font-size:.87rem; font-weight:800; margin-bottom:5px; color:var(--text); }
  .video-body p { font-size:.74rem; color:var(--muted); line-height:1.6; margin-bottom:10px; }
  .video-footer { display:flex; justify-content:space-between; align-items:center; }
  .video-footer .vid-views { font-size:.68rem; color:var(--muted); font-weight:600; }
  .vid-lock { font-size:.62rem; font-weight:700; padding:3px 9px; border-radius:999px; }
  .vid-free { background:rgba(34,197,94,.1); color:var(--mg); }
  .vid-pro { background:rgba(249,115,22,.1); color:var(--io); }

  /* DOWNLOADS */
  .dl-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(250px,1fr)); gap:14px; }
  .dl-card { background:var(--white); border:1px solid #e2e8f0; border-radius:12px; padding:18px; display:flex; align-items:flex-start; gap:14px; transition:transform .2s,box-shadow .2s; cursor:pointer; }
  .dl-card:hover { transform:translateY(-3px); box-shadow:0 10px 28px rgba(0,0,0,.08); }
  .dl-icon { width:42px; height:42px; border-radius:10px; flex-shrink:0; display:flex; align-items:center; justify-content:center; font-size:1.2rem; }
  .dl-info { flex:1; min-width:0; }
  .dl-info h4 { font-size:.83rem; font-weight:800; margin-bottom:4px; color:var(--text); }
  .dl-info p { font-size:.72rem; color:var(--muted); line-height:1.5; margin-bottom:8px; }
  .dl-footer { display:flex; align-items:center; gap:8px; }
  .dl-size { font-size:.63rem; color:var(--muted); font-weight:600; }
  .dl-type { font-size:.58rem; font-weight:800; padding:2px 7px; border-radius:4px; text-transform:uppercase; letter-spacing:.06em; }
  .dl-pdf { background:rgba(239,68,68,.1); color:#dc2626; }
  .dl-doc { background:rgba(59,130,246,.1); color:#2563eb; }
  .dl-ppt { background:rgba(249,115,22,.1); color:var(--io); }
  .dl-zip { background:rgba(124,58,237,.1); color:var(--dy); }
  .dl-btn { margin-left:auto; padding:6px 12px; border-radius:6px; font-family:var(--font); font-size:.7rem; font-weight:800; cursor:pointer; color:var(--ac); background:none; border:1.5px solid var(--ac); transition:background .2s,color .2s; }
  .dl-btn:hover { background:var(--ac); color:var(--white); }

  /* SIMULATORS */
  .sim-hero { background:linear-gradient(135deg,var(--ac),var(--er)); border-radius:20px; padding:36px; display:flex; align-items:center; justify-content:space-between; gap:20px; flex-wrap:wrap; margin-bottom:28px; }
  .sim-hero h3 { color:var(--white); font-size:1.35rem; font-weight:900; margin-bottom:6px; }
  .sim-hero p { color:rgba(255,255,255,.75); font-size:.84rem; max-width:440px; }
  .sim-hero-btns { display:flex; gap:10px; margin-top:18px; flex-wrap:wrap; }
  .btn-sim-start { padding:12px 26px; border-radius:8px; border:none; background:var(--su); color:var(--ti); font-family:var(--font); font-size:.85rem; font-weight:800; cursor:pointer; transition:transform .2s,box-shadow .2s; box-shadow:0 4px 16px rgba(250,204,21,.4); }
  .btn-sim-start:hover { transform:translateY(-2px); box-shadow:0 8px 28px rgba(250,204,21,.5); }
  .btn-sim-demo { padding:12px 26px; border-radius:8px; background:rgba(255,255,255,.12); color:var(--white); font-family:var(--font); font-size:.85rem; font-weight:700; cursor:pointer; border:1px solid rgba(255,255,255,.3); transition:background .2s; }
  .btn-sim-demo:hover { background:rgba(255,255,255,.2); }
  .sim-stats { display:flex; gap:24px; flex-wrap:wrap; }
  .sim-stat { text-align:center; }
  .sim-stat strong { display:block; font-size:1.5rem; font-weight:900; color:var(--su); }
  .sim-stat span { font-size:.68rem; color:rgba(255,255,255,.65); font-weight:600; text-transform:uppercase; letter-spacing:.06em; }
  .sim-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(250px,1fr)); gap:18px; }
  .sim-card { background:var(--white); border:1px solid #e2e8f0; border-radius:16px; padding:26px 22px; transition:transform .2s,box-shadow .2s; position:relative; overflow:hidden; }
  .sim-card::after { content:''; position:absolute; bottom:0; left:0; right:0; height:3px; background:var(--sc,var(--ac)); }
  .sim-card:hover { transform:translateY(-5px); box-shadow:0 16px 40px rgba(0,0,0,.1); }
  .sim-card-icon { font-size:1.9rem; margin-bottom:12px; }
  .sim-card h4 { font-size:.92rem; font-weight:800; margin-bottom:7px; color:var(--text); }
  .sim-card p { font-size:.77rem; color:var(--muted); line-height:1.65; margin-bottom:16px; }
  .sim-card-meta { display:flex; justify-content:space-between; align-items:center; margin-bottom:14px; }
  .sim-qs { font-size:.76rem; font-weight:700; color:var(--text); }
  .sim-diff { font-size:.63rem; font-weight:700; padding:3px 9px; border-radius:999px; }
  .diff-easy { background:rgba(34,197,94,.1); color:var(--mg); }
  .diff-med { background:rgba(249,115,22,.1); color:var(--io); }
  .diff-hard { background:rgba(239,68,68,.1); color:#dc2626; }
  .btn-launch { display:block; width:100%; text-align:center; padding:10px; border-radius:8px; border:none; font-family:var(--font); font-size:.8rem; font-weight:800; cursor:pointer; color:var(--white); background:var(--sc,var(--ac)); transition:opacity .2s,transform .2s; }
  .btn-launch:hover { opacity:.87; transform:translateY(-1px); }

  /* Modal */
  .modal-overlay { display:none; position:fixed; inset:0; background:rgba(0,0,0,.5); z-index:999; align-items:center; justify-content:center; }
  .modal-overlay.open { display:flex; }
  .modal-box { background:var(--white); border-radius:20px; padding:40px; max-width:420px; width:90%; text-align:center; animation:popIn .3s ease; }
  @keyframes popIn { from{opacity:0;transform:scale(.9)} to{opacity:1;transform:scale(1)} }
  .modal-icon { font-size:3rem; margin-bottom:14px; }
  .modal-box h3 { font-size:1.15rem; font-weight:900; margin-bottom:8px; }
  .modal-box p { font-size:.83rem; color:var(--muted); line-height:1.7; margin-bottom:22px; }
  .modal-close { padding:11px 30px; border-radius:8px; border:none; background:var(--ac); color:var(--white); font-family:var(--font); font-size:.85rem; font-weight:800; cursor:pointer; }

  @media (max-width:900px) { .tutor-layout { grid-template-columns:1fr; } .svc-tab { padding:12px 14px; font-size:.72rem; } }

  /* ── SCROLLBAR ── */
  ::-webkit-scrollbar { width: 6px; }
  ::-webkit-scrollbar-track { background: var(--ti); }
  ::-webkit-scrollbar-thumb { background: var(--er); border-radius: 999px; }

  /* ── ANIMATIONS ── */
  .fade-up {
    opacity: 0; transform: translateY(30px);
    transition: opacity .6s ease, transform .6s ease;
  }
  .fade-up.visible { opacity: 1; transform: none; }

  @media (max-width: 900px) {
    .hero-visual { display: none; }
    .footer-top { grid-template-columns: 1fr 1fr; }
    nav .nav-links { display: none; }
  }
  @media (max-width: 600px) {
    .footer-top { grid-template-columns: 1fr; }
    .stat-item { min-width: 150px; }
  }
/* ══════════════════════════════════════════════════════
   STUDENT DASHBOARD
   ══════════════════════════════════════════════════════ */

  .acad-dashboard-overlay {
    position: fixed; inset: 0; z-index: 2000;
    background: rgba(15,23,42,.7);
    backdrop-filter: blur(6px);
    display: flex; align-items: flex-start; justify-content: flex-end;
    opacity: 0; pointer-events: none;
    transition: opacity .3s ease;
  }
  .acad-dashboard-overlay.open { opacity: 1; pointer-events: all; }

  .acad-dashboard-panel {
    width: min(820px, 95vw);
    height: 100vh;
    background: #f8fafc;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform .35s cubic-bezier(.4,0,.2,1);
    box-shadow: -8px 0 40px rgba(0,0,0,.18);
  }
  .acad-dashboard-overlay.open .acad-dashboard-panel { transform: translateX(0); }

  #dashContent { padding: 0 0 60px; }

  .dash-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 28px 32px 20px;
    background: var(--ti);
    color: white;
  }
  .dash-welcome { display: flex; align-items: center; gap: 16px; }
  .dash-avatar {
    width: 52px; height: 52px; border-radius: 50%;
    background: linear-gradient(135deg, var(--ca), var(--er));
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; font-weight: 800; color: white; flex-shrink: 0;
  }
  .dash-header h2 { font-size: 1.1rem; font-weight: 700; margin: 0 0 6px; color: white; }
  .dash-plan-chip {
    display: inline-block; padding: 3px 12px; border-radius: 999px;
    font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  }
  .dash-close-btn {
    background: rgba(255,255,255,.1); border: none; color: white;
    width: 36px; height: 36px; border-radius: 50%; cursor: pointer;
    font-size: 1rem; display: flex; align-items: center; justify-content: center;
    transition: background .2s;
  }
  .dash-close-btn:hover { background: rgba(255,255,255,.2); }

  .dash-upgrade-banner {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    background: linear-gradient(135deg, #1E3A8A, #4F46E5);
    color: white; padding: 16px 32px; flex-wrap: wrap;
  }
  .dash-upgrade-banner strong { display: block; font-size: .9rem; margin-bottom: 2px; }
  .dash-upgrade-banner span  { font-size: .78rem; opacity: .85; }
  .dash-upgrade-btn {
    background: #FACC15; color: #111827; border: none; padding: 10px 20px;
    border-radius: 8px; font-weight: 800; font-size: .78rem;
    cursor: pointer; white-space: nowrap; letter-spacing: .04em;
    transition: filter .2s;
  }
  .dash-upgrade-btn:hover { filter: brightness(1.08); }

  .dash-stats-row {
    display: flex; gap: 12px; padding: 20px 32px;
    background: white; border-bottom: 1px solid #e2e8f0; flex-wrap: wrap;
  }
  .dash-stat-card, .dash-countdown {
    flex: 1; min-width: 100px; background: #f8fafc;
    border-radius: 12px; padding: 14px 16px; text-align: center;
    border: 1px solid #e2e8f0;
  }
  .dash-countdown.clickable { cursor: pointer; }
  .dash-countdown.clickable:hover { background: #f1f5f9; }
  .countdown-num, .dash-stat-num {
    display: block; font-size: 1.6rem; font-weight: 800;
    color: var(--ti); line-height: 1.1;
  }
  .countdown-label, .dash-stat-label {
    font-size: .68rem; color: var(--muted); margin-top: 4px;
    font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  }

  .dash-body {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 24px; padding: 24px 32px;
  }
  @media (max-width: 640px) { .dash-body { grid-template-columns: 1fr; } }

  .dash-section-title {
    font-size: .75rem; font-weight: 800; letter-spacing: .08em;
    text-transform: uppercase; color: var(--muted); margin-bottom: 12px;
  }

  .dash-courses { display: flex; flex-direction: column; gap: 10px; }
  .dash-course-card {
    display: flex; align-items: center; gap: 12px;
    background: white; border-radius: 12px; padding: 14px;
    border: 1px solid #e2e8f0; cursor: pointer;
    transition: box-shadow .2s, transform .15s;
  }
  .dash-course-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.08); transform: translateY(-1px); }
  .dash-course-icon {
    width: 40px; height: 40px; border-radius: 10px;
    font-size: 1.2rem; display: flex; align-items: center;
    justify-content: center; flex-shrink: 0;
  }
  .dash-course-info { flex: 1; min-width: 0; }
  .dash-course-title { font-size: .85rem; font-weight: 700; margin-bottom: 2px; }
  .dash-course-meta  { font-size: .7rem; color: var(--muted); margin-bottom: 6px; }
  .dash-progress-bar { height: 5px; background: #e2e8f0; border-radius: 999px; overflow: hidden; }
  .dash-progress-fill { height: 100%; border-radius: 999px; transition: width .4s ease; }
  .dash-course-pct { font-size: .8rem; font-weight: 800; flex-shrink: 0; }

  .dash-plan-week {
    display: flex; gap: 6px; flex-wrap: wrap;
    background: white; border-radius: 12px; padding: 14px;
    border: 1px solid #e2e8f0;
  }
  .dash-plan-day {
    flex: 1; min-width: 32px; text-align: center;
    padding: 8px 4px; border-radius: 8px; font-size: .7rem;
    font-weight: 700; background: #f1f5f9; color: var(--muted);
  }
  .dash-plan-day.active { background: var(--er); color: white; }
  .dash-plan-day.done   { background: var(--mg); color: white; }

  .dash-scores { background: white; border-radius: 12px; border: 1px solid #e2e8f0; overflow: hidden; }
  .dash-score-row {
    display: flex; align-items: center; padding: 10px 14px;
    border-bottom: 1px solid #f1f5f9; font-size: .82rem;
  }
  .dash-score-row:last-child { border-bottom: none; }
  .dash-score-subject { flex: 1; font-weight: 600; }
  .dash-score-date    { color: var(--muted); font-size: .72rem; margin-right: 12px; }
  .dash-score-val     { font-weight: 800; font-size: .9rem; }
  .dash-empty { padding: 20px 14px; font-size: .82rem; color: var(--muted); text-align: center; }

  .dash-exam-picker {
    display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
    background: white; border-radius: 12px; padding: 14px; border: 1px solid #e2e8f0;
  }
  .dash-exam-picker select {
    font-family: var(--font); font-size: .8rem; padding: 7px 10px;
    border-radius: 8px; border: 1.5px solid #e2e8f0; color: #0f172a;
    background: white; cursor: pointer; flex: 1;
  }

  /* Nav chip */
  .nav-user-chip { display: flex; align-items: center; }
  .nav-user-name {
    color: rgba(255,255,255,.9); font-size: .78rem; font-weight: 700;
    display: flex; align-items: center; gap: 6px; cursor: pointer;
    padding: 9px 16px; border-radius: 8px;
    border: 1.5px solid rgba(255,255,255,.18);
    background: rgba(255,255,255,.06);
    transition: background .2s;
  }
  .nav-user-name:hover { background: rgba(255,255,255,.13); }
  .nav-plan-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }


/* ══════════════════════════════════════════════════════
   CBT SIMULATOR
   ══════════════════════════════════════════════════════ */

  #cbtSection { background: var(--ti); padding: 80px 24px; }
  #cbtSection h2 { color: var(--white); }
  #cbtSection .section-tag { color: var(--su); }
  #cbtSection .section-sub { color: rgba(255,255,255,.65); }

  .cbt-exam-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px; margin-top: 40px;
  }
  .cbt-exam-card {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 14px; padding: 20px 24px;
    display: flex; align-items: center; gap: 16px;
    cursor: pointer; transition: background .2s, transform .15s;
  }
  .cbt-exam-card:hover { background: rgba(255,255,255,.12); transform: translateY(-2px); }
  .cbt-exam-icon { width:52px;height:52px;border-radius:12px;font-size:1.6rem;display:flex;align-items:center;justify-content:center;flex-shrink:0; }
  .cbt-exam-title { font-size:.95rem;font-weight:700;color:var(--white);margin-bottom:4px; }
  .cbt-exam-meta  { font-size:.72rem;color:rgba(255,255,255,.5); }
  .cbt-exam-arrow { font-size:1.4rem;margin-left:auto;font-weight:700; }
  .cbt-login-note { text-align:center;margin-top:32px;font-size:.8rem;color:rgba(255,255,255,.4); }

  /* Overlay */
  .cbt-overlay {
    position:fixed;inset:0;z-index:3000;
    background:rgba(15,23,42,.95);
    overflow-y:auto;
    opacity:0;pointer-events:none;
    transition:opacity .3s ease;
  }
  .cbt-overlay.open { opacity:1;pointer-events:all; }
  .cbt-panel { max-width:860px;margin:0 auto;padding:24px 16px 80px; }
  .cbt-close { background:rgba(255,255,255,.1);border:none;color:white;padding:10px 20px;border-radius:8px;cursor:pointer;font-size:.82rem;font-weight:700;margin-bottom:24px; }

  /* Top bar */
  .cbt-top-bar { display:flex;align-items:center;gap:12px;margin-bottom:16px;flex-wrap:wrap; }
  .cbt-exam-name { color:white;font-weight:700;font-size:.9rem;flex:1; }
  .cbt-timer-wrap { color:rgba(255,255,255,.7);font-size:.9rem; }
  .cbt-timer { font-weight:800;font-size:1.1rem;color:white; }
  .cbt-flag-btn { background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.15);color:rgba(255,255,255,.7);padding:7px 14px;border-radius:8px;cursor:pointer;font-size:.78rem;font-weight:700;transition:all .2s; }
  .cbt-flag-btn.flagged { background:rgba(239,68,68,.2);border-color:#ef4444;color:#ef4444; }

  /* Progress */
  .cbt-progress-wrap { display:flex;align-items:center;gap:12px;margin-bottom:16px; }
  .cbt-progress-bar { flex:1;height:6px;background:rgba(255,255,255,.1);border-radius:999px;overflow:hidden; }
  .cbt-progress-fill { height:100%;background:var(--su);border-radius:999px;transition:width .4s ease; }
  .cbt-progress-label { font-size:.75rem;color:rgba(255,255,255,.5);white-space:nowrap; }

  /* Nav pills */
  .cbt-nav-pills { display:flex;flex-wrap:wrap;gap:6px;margin-bottom:24px; }
  .cbt-pill { width:34px;height:34px;border-radius:8px;border:none;cursor:pointer;font-size:.72rem;font-weight:700;background:rgba(255,255,255,.08);color:rgba(255,255,255,.5);transition:all .15s; }
  .cbt-pill.active  { background:var(--su);color:#111; }
  .cbt-pill.done    { background:var(--mg);color:white; }
  .cbt-pill.flagged { background:rgba(239,68,68,.3);color:#ef4444; }

  /* Question card */
  .cbt-question-card { background:white;border-radius:16px;padding:28px 28px 24px;margin-bottom:24px; }
  .cbt-subject-tag { display:inline-block;font-size:.68rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;background:#f1f5f9;color:var(--muted);padding:4px 10px;border-radius:999px;margin-bottom:16px; }
  .cbt-q-text { font-size:1rem;font-weight:600;line-height:1.7;color:var(--ti);margin-bottom:20px; }
  .cbt-options { display:flex;flex-direction:column;gap:10px; }
  .cbt-option { display:flex;align-items:center;gap:14px;background:#f8fafc;border:2px solid #e2e8f0;border-radius:10px;padding:13px 16px;cursor:pointer;font-size:.88rem;font-weight:500;color:var(--text);transition:all .15s;text-align:left; }
  .cbt-option:hover { border-color:var(--er);background:#eef2ff; }
  .cbt-option.selected { border-color:var(--er);background:#eef2ff;color:var(--er);font-weight:700; }
  .cbt-opt-letter { width:28px;height:28px;border-radius:50%;background:var(--er);color:white;font-weight:800;font-size:.75rem;display:flex;align-items:center;justify-content:center;flex-shrink:0; }
  .cbt-option.selected .cbt-opt-letter { background:var(--er); }

  /* Controls */
  .cbt-controls { display:flex;gap:12px;justify-content:space-between; }
  .cbt-btn-primary  { background:var(--er);color:white;border:none;padding:13px 28px;border-radius:10px;font-weight:800;font-size:.85rem;cursor:pointer;transition:filter .2s; }
  .cbt-btn-primary:hover  { filter:brightness(1.1); }
  .cbt-btn-secondary { background:rgba(255,255,255,.08);color:rgba(255,255,255,.7);border:1px solid rgba(255,255,255,.15);padding:13px 22px;border-radius:10px;font-weight:700;font-size:.85rem;cursor:pointer; }
  .cbt-btn-secondary:disabled { opacity:.3;cursor:not-allowed; }
  .cbt-btn-submit { background:rgba(239,68,68,.15);color:#ef4444;border:1px solid rgba(239,68,68,.3);padding:13px 22px;border-radius:10px;font-weight:700;font-size:.85rem;cursor:pointer; }

  /* Results */
  .cbt-result-screen { text-align:center;padding:20px 0; }
  .cbt-result-badge { display:inline-block;padding:8px 24px;border-radius:999px;font-weight:800;font-size:.85rem;letter-spacing:.06em;margin-bottom:16px; }
  .cbt-result-badge.pass { background:rgba(34,197,94,.15);color:var(--mg); }
  .cbt-result-badge.fail { background:rgba(239,68,68,.12);color:#ef4444; }
  .cbt-result-score { font-size:4rem;font-weight:900;color:white;line-height:1; }
  .cbt-result-detail { color:rgba(255,255,255,.5);font-size:.85rem;margin:8px 0 24px; }
  .cbt-result-stats { display:flex;gap:12px;justify-content:center;flex-wrap:wrap;margin-bottom:24px; }
  .cbt-rs-item { background:rgba(255,255,255,.06);border-radius:12px;padding:16px 24px;text-align:center; }
  .cbt-rs-item span { display:block;font-size:1.5rem;font-weight:800;color:white; }
  .cbt-rs-item small { font-size:.7rem;color:rgba(255,255,255,.4);text-transform:uppercase;letter-spacing:.06em; }
  .cbt-result-actions { display:flex;gap:12px;justify-content:center;margin-bottom:40px; }
  .cbt-review-section { text-align:left; }
  .cbt-review-section h3 { color:white;margin-bottom:16px; }
  .cbt-review-item { background:rgba(255,255,255,.05);border-radius:12px;padding:16px;margin-bottom:12px;border-left:4px solid rgba(255,255,255,.1); }
  .cbt-review-item.correct { border-left-color:var(--mg); }
  .cbt-review-item.wrong   { border-left-color:#ef4444; }
  .cbt-review-q   { font-size:.85rem;color:rgba(255,255,255,.8);margin-bottom:8px;line-height:1.5; }
  .cbt-review-ans { display:flex;gap:8px;flex-wrap:wrap;margin-bottom:8px;font-size:.78rem;font-weight:700; }
  .ans-correct { color:var(--mg); }
  .ans-wrong   { color:#ef4444;text-decoration:line-through; }
  .cbt-review-exp { font-size:.78rem;color:rgba(255,255,255,.5);line-height:1.6; }

/* ══════════════════════════════════════════════════════
   BLOG
   ══════════════════════════════════════════════════════ */

  #blogSection { background:var(--bg);padding:80px 24px; }
  .blog-grid { display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:24px;margin-top:40px; }
  .blog-card { background:white;border-radius:16px;overflow:hidden;cursor:pointer;transition:box-shadow .2s,transform .15s;border:1px solid #e2e8f0; }
  .blog-card:hover { box-shadow:0 8px 32px rgba(0,0,0,.1);transform:translateY(-3px); }
  .blog-card-top { height:100px;display:flex;align-items:flex-end;padding:14px 20px; }
  .blog-cat-chip { display:inline-block;padding:4px 12px;border-radius:999px;font-size:.68rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase; }
  .blog-card-body { padding:20px 24px; }
  .blog-card-title { font-size:.95rem;font-weight:800;line-height:1.5;color:var(--ti);margin-bottom:10px; }
  .blog-card-excerpt { font-size:.82rem;color:var(--muted);line-height:1.7;margin-bottom:14px; }
  .blog-card-meta { display:flex;gap:12px;font-size:.72rem;color:var(--muted);margin-bottom:12px; }
  .blog-card-footer { border-top:1px solid #f1f5f9;padding-top:12px; }
  .blog-read-link { font-size:.78rem;font-weight:700; }

  /* Blog post overlay */
  .blog-overlay { position:fixed;inset:0;z-index:2500;background:#f8fafc;overflow-y:auto;opacity:0;pointer-events:none;transition:opacity .3s ease;transform:translateY(20px);transition:opacity .3s,transform .3s; }
  .blog-overlay.open { opacity:1;pointer-events:all;transform:translateY(0); }
  .blog-post-panel { max-width:740px;margin:0 auto;padding:24px 24px 80px; }
  .blog-close-btn { background:#f1f5f9;border:none;color:var(--muted);padding:10px 18px;border-radius:8px;cursor:pointer;font-weight:700;font-size:.82rem;margin-bottom:32px; }
  .blog-post-header { padding:28px 0 20px;margin-bottom:24px;border-bottom:1px solid #e2e8f0; }
  .blog-post-title { font-size:1.6rem;font-weight:800;color:var(--ti);margin:14px 0;line-height:1.35; }
  .blog-post-meta { display:flex;gap:16px;flex-wrap:wrap;font-size:.78rem;color:var(--muted); }
  .blog-post-body { font-size:.95rem;line-height:1.9;color:var(--text); }
  .blog-post-body h3 { font-size:1.1rem;font-weight:800;color:var(--ti);margin:28px 0 10px; }
  .blog-post-body p  { margin-bottom:16px; }
  .blog-post-cta { margin-top:48px;background:var(--ti);color:white;border-radius:16px;padding:32px;text-align:center; }
  .blog-post-cta p { color:rgba(255,255,255,.7);margin-bottom:16px;font-size:.9rem; }

/* ══════════════════════════════════════════════════════
   EMAIL CAPTURE POPUP
   ══════════════════════════════════════════════════════ */

  .email-popup-overlay { position:fixed;inset:0;z-index:4000;background:rgba(15,23,42,.7);backdrop-filter:blur(6px);display:flex;align-items:center;justify-content:center;padding:16px;opacity:0;pointer-events:none;transition:opacity .3s ease; }
  .email-popup-overlay.open { opacity:1;pointer-events:all; }
  .email-popup-card { background:white;border-radius:20px;padding:40px 36px;max-width:440px;width:100%;position:relative;text-align:center;box-shadow:0 24px 80px rgba(0,0,0,.2); }
  .email-popup-close { position:absolute;top:16px;right:16px;background:#f1f5f9;border:none;width:32px;height:32px;border-radius:50%;cursor:pointer;font-size:.8rem;color:var(--muted); }
  .email-popup-icon { font-size:2.5rem;margin-bottom:12px; }
  .email-popup-card h2 { font-size:1.4rem;font-weight:800;color:var(--ti);margin-bottom:8px; }
  .email-popup-card p  { font-size:.85rem;color:var(--muted);margin-bottom:20px;line-height:1.6; }
  .capture-field { margin-bottom:12px; }
  .capture-field input,
  .capture-field select { width:100%;padding:12px 16px;border:1.5px solid #e2e8f0;border-radius:10px;font-family:var(--font);font-size:.85rem;color:var(--ti);outline:none;transition:border .2s;box-sizing:border-box; }
  .capture-field input:focus,
  .capture-field select:focus { border-color:var(--er); }
  .btn-capture-submit { width:100%;background:linear-gradient(135deg,var(--er),var(--dy));color:white;border:none;padding:14px;border-radius:10px;font-weight:800;font-size:.88rem;cursor:pointer;letter-spacing:.04em;transition:filter .2s;margin-top:4px; }
  .btn-capture-submit:hover { filter:brightness(1.08); }
  .capture-fine-print { font-size:.7rem;color:var(--muted);margin-top:10px; }
  .capture-success { padding:20px 0; }
  .capture-success-icon { font-size:3rem;margin-bottom:12px; }
  .capture-success h3 { font-size:1.3rem;font-weight:800;color:var(--ti);margin-bottom:8px; }
  .capture-success p  { font-size:.85rem;color:var(--muted);line-height:1.6;margin-bottom:20px; }

  /* Footer email form */
  .footer-email-form { display:flex;gap:8px;flex-wrap:wrap;margin-top:16px; }
  .footer-email-form input { flex:1;min-width:160px;padding:11px 14px;border-radius:8px;border:1.5px solid rgba(255,255,255,.15);background:rgba(255,255,255,.08);color:white;font-family:var(--font);font-size:.82rem;outline:none; }
  .footer-email-form input::placeholder { color:rgba(255,255,255,.35); }
  .footer-email-form input:focus { border-color:var(--su); }
  .footer-email-form select { padding:11px 10px;border-radius:8px;border:1.5px solid rgba(255,255,255,.15);background:rgba(255,255,255,.08);color:rgba(255,255,255,.8);font-family:var(--font);font-size:.78rem; }
  .footer-email-form button { background:var(--su);color:#111;border:none;padding:11px 20px;border-radius:8px;font-weight:800;font-size:.78rem;cursor:pointer;white-space:nowrap; }

/* ══════════════════════════════════════════════════════
   WHATSAPP FLOATING BUTTON
   ══════════════════════════════════════════════════════ */

  .whatsapp-fab {
    position:fixed; bottom:28px; right:24px; z-index:1500;
    display:flex; align-items:center; gap:10px;
    background:#25D366; color:white;
    padding:14px 20px 14px 16px;
    border-radius:999px;
    text-decoration:none;
    box-shadow:0 4px 20px rgba(37,211,102,.45);
    font-weight:700; font-size:.82rem;
    transition:transform .2s, box-shadow .2s;
  }
  .whatsapp-fab:hover { transform:translateY(-3px);box-shadow:0 8px 28px rgba(37,211,102,.5); }
  .wa-label { white-space:nowrap; }
  .whatsapp-fab.pulse { animation: waPulse 2s ease-in-out 3; }
  @keyframes waPulse {
    0%,100% { box-shadow:0 4px 20px rgba(37,211,102,.45); }
    50%      { box-shadow:0 4px 32px rgba(37,211,102,.8), 0 0 0 8px rgba(37,211,102,.15); }
  }

  @media (max-width:600px) {
    .whatsapp-fab { bottom:20px;right:16px; }
    .wa-label { display:none; }
    .whatsapp-fab { padding:14px; }
  }



.premium-navbar{background:rgba(17,24,39,.88)!important;backdrop-filter:blur(18px);}
.dropdown{position:relative}
.dropdown-menu{display:none;position:absolute;top:100%;left:0;background:#111827;min-width:220px;border-radius:12px;padding:10px;list-style:none;box-shadow:0 10px 30px rgba(0,0,0,.3)}
.dropdown:hover .dropdown-menu{display:block}
.dropdown-menu a{display:block;padding:10px 12px}
.mobile-toggle{display:none;background:none;border:none;color:white;font-size:28px}
@media(max-width:900px){
.mobile-toggle{display:block}
.nav-links{display:none;position:absolute;top:72px;right:20px;background:#111827;padding:20px;border-radius:14px;flex-direction:column}
.nav-links.open{display:flex}
}
