:root {
  --navy: #0b1f3a;
  --navy-2: #123056;
  --saffron: #e8a317;
  --saffron-d: #c4840d;
  --teal: #0d9488;
  --teal-d: #0f766e;
  --cream: #f6f1e8;
  --paper: #fffdf8;
  --ink: #1a1a1a;
  --muted: #5c6570;
  --line: #e6ddd0;
  --ok: #166534;
  --err: #991b1b;
  --shadow: 0 10px 30px rgba(11, 31, 58, .08);
  --radius: 16px;
  --font: "Noto Sans Devanagari", "Tiro Devanagari Hindi", "Noto Sans", system-ui, sans-serif;
  --display: "Tiro Devanagari Hindi", "Noto Serif Devanagari", Georgia, serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1180px, calc(100% - 32px)); margin-inline: auto; }

/* Header */
.topbar {
  background: var(--navy);
  color: #e8edf4;
  font-size: 13px;
  padding: 7px 0;
}
.topbar .container { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.topbar a { color: #f3d48a; }
header.site {
  background: #fff;
  position: sticky; top: 0; z-index: 40;
  box-shadow: 0 1px 0 var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 0; gap: 16px;
}
.logo {
  font-family: var(--display);
  font-size: 26px; font-weight: 600; color: var(--navy);
  letter-spacing: .2px; display: flex; align-items: center; gap: 10px;
}
.logo .mark {
  width: 38px; height: 38px; border-radius: 10px;
  background: linear-gradient(135deg, var(--saffron), #f59e0b);
  color: var(--navy); display: grid; place-items: center;
  font-weight: 800; font-size: 18px;
}
.menu { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.menu a {
  padding: 8px 12px; border-radius: 999px; font-size: 14.5px; color: var(--navy-2);
}
.menu a:hover, .menu a.active { background: #fff4dc; color: #8a5a00; }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; cursor: pointer; border-radius: 999px;
  padding: 10px 18px; font-weight: 650; font-size: 14.5px;
  font-family: inherit; transition: .15s transform, .15s background;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--saffron); color: #1a1204; }
.btn-primary:hover { background: var(--saffron-d); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-teal { background: var(--teal); color: #fff; }
.btn-outline { background: transparent; border: 1.5px solid var(--navy); color: var(--navy); }
.btn-ghost { background: #fff4dc; color: #8a5a00; }
.btn-sm { padding: 7px 12px; font-size: 13px; }
.cart-pill {
  position: relative; background: var(--cream); border: 1px solid var(--line);
  padding: 8px 12px; border-radius: 999px; font-size: 14px;
}
.cart-pill b {
  position: absolute; top: -6px; right: -6px;
  background: #b91c1c; color: #fff; border-radius: 99px;
  min-width: 18px; height: 18px; font-size: 11px;
  display: grid; place-items: center; padding: 0 4px;
}

/* Hero */
.hero {
  background: linear-gradient(120deg, #0b1f3a 0%, #16365f 55%, #0f766e 140%);
  color: #fff; padding: 64px 0 56px; position: relative; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(232,163,23,.25), transparent 30%),
    radial-gradient(circle at 10% 80%, rgba(13,148,136,.2), transparent 28%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.kicker {
  display: inline-block; background: rgba(232,163,23,.18); color: #fcd34d;
  border: 1px solid rgba(232,163,23,.35);
  padding: 4px 12px; border-radius: 999px; font-size: 13px; margin-bottom: 14px;
}
.hero h1 {
  font-family: var(--display); font-size: clamp(32px, 5vw, 52px);
  line-height: 1.2; font-weight: 600; margin-bottom: 12px;
}
.hero p { color: #d5deea; font-size: 17px; max-width: 540px; margin-bottom: 22px; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-card {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(8px); border-radius: 20px; padding: 22px;
}
.hero-card h3 { font-size: 15px; color: #fcd34d; margin-bottom: 12px; }
.hero-card li { list-style: none; padding: 8px 0; border-bottom: 1px dashed rgba(255,255,255,.12); font-size: 14.5px; }
.hero-card li:last-child { border: 0; }

/* Sections */
section { padding: 56px 0; }
.sec-head { text-align: center; margin-bottom: 32px; }
.sec-head h2 {
  font-family: var(--display); font-size: 34px; color: var(--navy);
}
.sec-head p { color: var(--muted); margin-top: 6px; }
.underline { width: 56px; height: 3px; background: var(--saffron); margin: 10px auto 0; border-radius: 4px; }

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

.card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.cover {
  height: 180px; display: flex; align-items: flex-end; padding: 16px;
  color: #fff; position: relative;
}
.cover .badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--saffron); color: #1a1204;
  font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 999px;
}
.cover h3 { font-size: 18px; line-height: 1.3; text-shadow: 0 1px 8px rgba(0,0,0,.35); }
.card-body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.meta { font-size: 12.5px; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; }
.price { display: flex; align-items: baseline; gap: 8px; }
.price strong { font-size: 20px; color: var(--navy); }
.price s { color: #9aa3ad; font-size: 13px; }
.card-actions { display: flex; gap: 8px; margin-top: auto; padding-top: 8px; }
.card-actions .btn { flex: 1; }

.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feat {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px;
}
.feat .ico { font-size: 26px; margin-bottom: 8px; }
.feat h3 { font-size: 16px; color: var(--navy); }
.feat p { font-size: 13.5px; color: var(--muted); }

/* Auth */
.auth-wrap {
  min-height: calc(100vh - 180px); display: grid; place-items: center; padding: 32px 0;
}
.auth-card {
  width: min(440px, 100%); background: #fff; border: 1px solid var(--line);
  border-radius: 20px; padding: 28px; box-shadow: var(--shadow);
}
.auth-card h1 { font-family: var(--display); font-size: 28px; color: var(--navy); margin-bottom: 6px; }
.auth-card .sub { color: var(--muted); margin-bottom: 18px; font-size: 14px; }
label { display: block; font-size: 13px; font-weight: 650; margin: 12px 0 6px; color: var(--navy); }
input, select, textarea {
  width: 100%; padding: 11px 12px; border-radius: 10px;
  border: 1px solid #d9d1c4; font-family: inherit; font-size: 15px; background: #fff;
}
input:focus, select:focus, textarea:focus { outline: 2px solid #f3d48a; border-color: var(--saffron); }
.alert {
  padding: 10px 12px; border-radius: 10px; margin-bottom: 14px; font-size: 14px;
}
.alert-ok { background: #dcfce7; color: var(--ok); }
.alert-err { background: #fee2e2; color: var(--err); }
.alert-info { background: #e0f2fe; color: #075985; }

/* Product detail */
.detail { display: grid; grid-template-columns: 320px 1fr; gap: 28px; align-items: start; }
.detail-cover {
  height: 380px; border-radius: 18px; color: #fff; padding: 22px;
  display: flex; flex-direction: column; justify-content: flex-end;
  box-shadow: var(--shadow);
}
.preview-box {
  background: #fff; border: 1px dashed #c9b79a; border-radius: 14px;
  padding: 16px; white-space: pre-wrap; font-size: 14.5px; color: #3a3a3a;
  max-height: 240px; overflow: auto; margin-top: 12px;
}

/* Test UI */
.test-shell { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.q-card { margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.q-card h3 { font-size: 16.5px; margin-bottom: 10px; color: var(--navy); }
.opt {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; margin-bottom: 8px;
  cursor: pointer; background: #fff;
}
.opt:hover { border-color: var(--saffron); background: #fffaf0; }
.opt input { width: auto; margin-top: 3px; }
.timer {
  background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 999px; font-variant-numeric: tabular-nums;
}
.result-big { font-size: 48px; font-family: var(--display); color: var(--navy); }

/* Dashboard */
.dash-grid { display: grid; grid-template-columns: 240px 1fr; gap: 22px; }
.side {
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px;
  height: fit-content;
}
.side a { display: block; padding: 9px 10px; border-radius: 8px; font-size: 14.5px; }
.side a:hover, .side a.active { background: #fff4dc; }
.table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 12px; overflow: hidden; }
.table th, .table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.table th { background: var(--navy); color: #fff; font-weight: 600; }

/* Footer */
footer.site {
  background: var(--navy); color: #c9d4e3; padding: 40px 0 18px; margin-top: 40px;
}
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 24px; }
footer h4 { color: #fff; margin-bottom: 10px; font-size: 16px; }
footer a { color: #d7c089; display: block; padding: 3px 0; font-size: 14px; }
.copy { border-top: 1px solid #23456e; margin-top: 24px; padding-top: 14px; font-size: 13px; color: #8ea0b8; }

.page-hero {
  background: var(--navy); color: #fff; padding: 28px 0;
}
.page-hero h1 { font-family: var(--display); font-size: 32px; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin: 18px 0 8px; }
.chip {
  padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; font-size: 13.5px; cursor: pointer;
}
.chip.on, .chip:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

@media (max-width: 980px) {
  .hero .container, .detail, .dash-grid, .foot-grid, .grid-4, .features { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .hero .container, .detail, .dash-grid, .foot-grid, .grid-4, .grid-3, .grid-2, .features { grid-template-columns: 1fr; }
  .menu { display: none; }
  .hero { padding: 36px 0; }
  .nav { flex-wrap: wrap; }
}
.offer-strip {
  background: linear-gradient(90deg, #9a3412, #c4840d);
  color: #fff; text-align: center; padding: 8px 12px; font-size: 14px; font-weight: 650;
}
.offer-badge {
  position: absolute; top: 12px; right: 12px;
  background: #b91c1c; color: #fff; font-size: 11px; font-weight: 700;
  padding: 4px 8px; border-radius: 999px;
}
.lang-toggle {
  display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: #fff;
}
.lang-toggle a { padding: 6px 10px; font-size: 12.5px; color: var(--navy); }
.lang-toggle a.on { background: var(--navy); color: #fff; }
.cover { position: relative; }
.dash-tabs { display:flex; gap:8px; flex-wrap:wrap; margin-bottom:8px; }
.test-shell, .preview-box { -webkit-user-select: none; user-select: none; }
.page-slide{background:#fff;border:1px solid var(--line);border-radius:18px;min-height:420px;padding:28px;line-height:1.85;font-size:17px;box-shadow:0 8px 30px rgba(15,23,42,.06)}
.slide-nav{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:10px 0}
.slide-dots{display:flex;gap:6px;flex-wrap:wrap;margin:14px 0 8px}
.slide-dots a{width:28px;height:28px;border-radius:50%;border:1px solid var(--line);display:flex;align-items:center;justify-content:center;font-size:12px;color:var(--navy)}
.slide-dots a.on{background:var(--navy);color:#fff}
.share-bar{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin-top:10px;font-size:13px}
.share-bar span{color:var(--muted)}

/* Drishti-style timeline */
.tl{position:relative;margin:8px 0 24px;padding-left:8px}
.tl:before{content:"";position:absolute;left:18px;top:8px;bottom:8px;width:3px;background:linear-gradient(#0e7490,#99f6e4)}
.tl-item{position:relative;padding:0 0 22px 48px}
.tl-dot{position:absolute;left:12px;top:8px;width:14px;height:14px;border-radius:50%;background:#0e7490;border:3px solid #fff;box-shadow:0 0 0 2px #0e7490}
.tl-item.scheduled .tl-dot{background:#d97706;box-shadow:0 0 0 2px #d97706}
.tl-item.closed .tl-dot{background:#9ca3af;box-shadow:0 0 0 2px #9ca3af}
.tl-item.live .tl-dot{background:#059669;box-shadow:0 0 0 2px #059669}
.tl-date{font-weight:700;color:#0f3d4c;margin-bottom:6px}
.tl-card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:14px 16px}
.tl-card h3{margin:4px 0 6px;color:var(--navy);font-size:18px}

.topbar-right { display:flex; gap:12px; flex-wrap:wrap; align-items:center; }
.topbar-right a { color:#f3d48a; font-weight:600; }
.socials { display:flex; flex-wrap:wrap; gap:8px; margin-top:10px; }
.socials a {
  background:#123056; color:#fff; padding:6px 10px; border-radius:999px; font-size:12.5px;
}
.book-shelf {
  display:grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 28px 22px;
  align-items: end;
}
.book-card { background:transparent; box-shadow:none; border:0; overflow:visible; }
.book-stage { perspective: 900px; padding: 12px 8px 0; }
.book-3d {
  height: 260px; border-radius: 4px 12px 12px 4px;
  background:
    linear-gradient(90deg, rgba(0,0,0,.28) 0 8px, transparent 8px),
    linear-gradient(165deg, var(--c, #7c2d12), #1c1917);
  color:#fff4e6; box-shadow: 12px 14px 24px rgba(11,31,58,.18);
  transform: rotateY(-8deg);
  transition: transform .25s ease, box-shadow .25s;
  overflow:hidden; position:relative;
}
.book-card:hover .book-3d { transform: rotateY(0deg) translateY(-6px); box-shadow: 16px 20px 32px rgba(11,31,58,.22); }
.book-3d img { width:100%; height:100%; object-fit:cover; }
.book-face { height:100%; padding:18px 16px 16px 22px; display:flex; flex-direction:column; }
.book-face h3 { font-family:var(--display); font-size:20px; line-height:1.25; margin:8px 0 auto; color:#fff; }
.book-face em { font-size:12px; opacity:.85; }
.book-tag { font-size:11px; letter-spacing:.08em; text-transform:uppercase; opacity:.8; }
.book-card .card-body { background:#fff; border-radius:14px; margin-top:-8px; position:relative; padding:14px; box-shadow: var(--shadow); }
.next-test {
  display:flex; justify-content:space-between; gap:16px; flex-wrap:wrap; align-items:center;
  background: linear-gradient(120deg, #0b1f3a, #0f766e);
  color:#fff; border-radius:18px; padding:18px 20px; margin-bottom:18px;
}
.next-test h2 { font-family:var(--display); margin:4px 0; font-size:24px; }
.next-test .meta { color:#fde68a; }
.hero { background:
  radial-gradient(circle at 10% 20%, rgba(232,163,23,.18), transparent 28%),
  linear-gradient(160deg, #0b1f3a 0%, #123056 55%, #0f766e 140%);
}

.book-rail { display:flex; align-items:center; gap:8px; }
.rail-btn {
  width:42px; height:42px; border:0; border-radius:50%;
  background:var(--navy); color:#fff; font-size:26px; cursor:pointer; flex:none;
}
.book-viewport { overflow:hidden; flex:1; }
.book-track {
  display:flex; gap:22px; width:max-content;
  animation: none;
}
.book-track .book-card, .book-track .card { width:210px; flex:none; }
.tl-hero { background:linear-gradient(135deg,#0b1f3a 0%,#134e4a 100%) !important; }
.tl-stats { display:grid; grid-template-columns:repeat(4,1fr); gap:10px; margin-bottom:12px; }
.tl-stats div { background:#fff; border-radius:14px; padding:12px; text-align:center; border:1px solid var(--line); }
.tl-stats b { display:block; font-size:22px; color:var(--navy); }
.tl-stats span { font-size:12px; color:var(--muted); }
.tl-progress { height:8px; background:#e7e0d4; border-radius:99px; overflow:hidden; }
.tl-progress i { display:block; height:100%; background:linear-gradient(90deg,#e8a317,#0d9488); }
.tl-pro { padding-left:0; }
.tl-pro:before { display:none; }
.tl-month {
  font-family:var(--display); color:var(--navy); font-size:22px;
  margin:18px 0 10px; padding-bottom:4px; border-bottom:2px solid #e8a317;
}
.tl-pro .tl-item { display:grid; grid-template-columns:72px 1fr; gap:14px; padding-left:0; align-items:start; }
.tl-stamp {
  width:72px; height:72px; border-radius:18px;
  background:#0b1f3a; color:#fff; display:flex; flex-direction:column;
  align-items:center; justify-content:center; box-shadow:0 8px 18px rgba(11,31,58,.16);
}
.tl-stamp b { font-size:26px; line-height:1; }
.tl-stamp small { letter-spacing:.06em; text-transform:uppercase; color:#fde68a; }
.tl-pro .tl-card { border-left:4px solid #e8a317; }
.tl-item.live .tl-stamp { background:#0d9488; }
.tl-item.scheduled .tl-stamp { background:#b45309; }
.tl-item.closed .tl-stamp { background:#6b7280; }
.tl-top { display:flex; justify-content:space-between; align-items:center; }
.tl-no { font-weight:800; color:#b45309; }
.chip-live { background:#d1fae5; }
.chip-scheduled { background:#ffedd5; }
.chip-closed { background:#e5e7eb; }
.tl-sy, .tl-ca { font-size:14px; margin-top:6px; }
@media (max-width:640px){
  .tl-stats { grid-template-columns:repeat(2,1fr); }
  .book-track .book-card { width:170px; }
}

.float-dock {
  position: fixed; right: 16px; bottom: 18px; z-index: 80;
  display: flex; flex-direction: column; gap: 10px;
}
.fi {
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  box-shadow: 0 8px 18px rgba(0,0,0,.2);
  transition: transform .15s;
}
.fi:hover { transform: scale(1.08); }
.fi.wa { background: #25D366; }
.fi.tg { background: #229ED9; }
.fi.ph { background: #0d9488; }
.fi.em { background: #0b1f3a; }

.tl-pro { position: relative; padding-left: 8px; }
.tl-pro .tl-item {
  position: relative;
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 18px;
  padding: 0 0 28px 18px;
}
.tl-pro .tl-item:before {
  content: "";
  position: absolute; left: 42px; top: 70px; bottom: -8px;
  width: 3px; background: repeating-linear-gradient(#e8a317, #e8a317 8px, transparent 8px, transparent 14px);
}
.tl-pro .tl-item:last-child:before { display: none; }
.tl-stamp {
  width: 70px; height: 70px; border-radius: 50%;
  border: 4px solid #e8a317; background: #0b1f3a; color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  z-index: 1;
}
.tl-pro .tl-card {
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(11,31,58,.08);
  border: 1px solid #efe6d6;
  border-left: 5px solid #e8a317;
}
@media (max-width: 700px) {
  .float-dock { right: 10px; bottom: 10px; }
  .fi { width: 46px; height: 46px; }
}

.updates-sec { background:#fff; padding:42px 0 28px; }
.updates-intro { text-align:center; margin-bottom:22px; }
.updates-intro h2 { font-size:30px; line-height:1.2; color:#111; font-weight:800; }
.updates-intro p { color:#8b8f96; margin-top:8px; }
.wn { border-radius:18px; overflow:hidden; box-shadow:0 10px 30px rgba(17,24,39,.08); background:#fff7f7; }
.wn-head {
  background:#8b7cf6; color:#fff; font-weight:700; font-size:18px;
  padding:14px 18px; display:flex; align-items:center; gap:10px;
}
.wn.gold .wn-head { background:#e2b07a; color:#3b2a16; }
.wn-star { font-size:18px; }
.wn-body { background:#fff6f4; }
.wn-row {
  display:block; padding:16px 18px 14px;
  border-bottom:1px solid #ece4e2;
}
.wn-row:last-child { border-bottom:0; }
.wn-date { display:flex; align-items:center; gap:8px; color:#b0b4ba; font-size:15px; }
.wn-title { margin-top:6px; font-style:italic; color:#1a1a1a; font-size:16.5px; line-height:1.35; }
.wn-empty { padding:16px; color:#888; }
.contact-wrap { position:fixed; right:16px; bottom:18px; z-index:90; }
.contact-fab {
  width:86px; height:86px; border-radius:50%; border:0; cursor:pointer;
  background:#111; color:#fff; box-shadow:0 10px 24px rgba(0,0,0,.28);
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:2px;
}
.contact-fab span { font-size:10px; font-weight:700; letter-spacing:.02em; }
.contact-panel {
  display:none; position:absolute; right:0; bottom:96px;
  background:#fff; border-radius:14px; min-width:160px;
  box-shadow:0 12px 28px rgba(0,0,0,.18); overflow:hidden;
}
.contact-panel.on { display:block; }
.contact-panel a { display:block; padding:10px 14px; font-size:14px; color:#111; }
.contact-panel a:hover { background:#f3f4f6; }
.book-3d { height:280px; }
.book-track .book-card { width:220px; }

.home-cats { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.home-cats h3 { color:var(--navy); margin-bottom:10px; font-family:var(--display); }
.home-links { display:grid; gap:8px; }
.home-links a {
  background:#fff; border:1px solid var(--line); border-radius:12px;
  padding:10px 12px; font-weight:650; color:var(--navy-2);
}
.home-links a:hover { border-color:#e8a317; background:#fff8e8; }
.how, .why { margin-top:10px; line-height:1.9; padding-left:18px; }
.how-grid { display:grid; grid-template-columns:1fr 1fr; gap:28px; }
.dash-stats { display:grid; grid-template-columns:repeat(5,1fr); gap:10px; margin-bottom:18px; }
.dash-stats div { background:#fff; border:1px solid var(--line); border-radius:14px; padding:14px; text-align:center; }
.dash-stats b { display:block; font-size:24px; color:var(--navy); }
.dash-stats span { font-size:12px; color:var(--muted); }
@media (max-width:800px){
  .home-cats, .how-grid, .dash-stats { grid-template-columns:1fr 1fr; }
}
@media (max-width:520px){
  .home-cats, .how-grid, .dash-stats { grid-template-columns:1fr; }
}

.exam-grid {
  display:grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 14px;
}
.exam-card {
  background:#fff; border:1px solid var(--line); border-radius:16px;
  padding:18px 12px 14px; text-align:center;
  box-shadow:0 8px 20px rgba(11,31,58,.06);
}
.exam-card:hover { transform:translateY(-3px); border-color:#c7d2fe; }
.exam-ico {
  width:54px; height:54px; border-radius:16px; margin:0 auto 10px;
  display:grid; place-items:center; color:#fff; font-weight:800; font-size:16px;
}
.exam-card strong { display:block; color:var(--navy); }
.exam-card em { font-style:normal; color:var(--muted); font-size:12px; }

.exam-box, .series-box {
  background:#fff; border:1px solid var(--line); border-radius:18px;
  padding:18px; margin:12px 0 18px; box-shadow:0 8px 22px rgba(11,31,58,.05);
}
.exam-box-top { display:flex; gap:14px; align-items:center; }
.exam-details { background:#fff8ee; border:1px solid #f1e0c4; border-radius:16px; padding:16px; margin-bottom:16px; }
.series-box-head { display:flex; justify-content:space-between; gap:10px; align-items:flex-start; flex-wrap:wrap; margin-bottom:10px; }
