/* =========================================================
   SWAYAMBHÚ — IBPS SO IT GLOBAL THEME
   ========================================================= */

:root {
  --primary: #2563eb;
  --primary-600: #1d4ed8;
  --primary-700: #1e40af;
  --primary-50: #eff6ff;
  --primary-100: #dbeafe;
  --primary-200: #bfdbfe;

  --accent: #7c3aed;
  --accent-50: #f5f3ff;
  --accent-100: #ede9fe;

  /* 🔶 Hanuman Orange — used for highlights, active borders, CTAs */
  --hanuman: #e85d04;
  --hanuman-light: #fff3e8;
  --hanuman-mid: #ff8c38;

  /* 🩶 Shiva Ash — used for muted surfaces, dividers, secondary text */
  --shiva: #7b8fa1;
  --shiva-light: #eef1f4;
  --shiva-mid: #a8b9c8;

  --success: #10b981;
  --warn: #f59e0b;
  --danger: #ef4444;
  --leader-yellow: #fde68a;

  --bg: #f6f8fc;
  --bg-alt: #eef2ff;
  --card: #ffffff;
  --border: #e5e7eb;
  --border-soft: #f1f5f9;

  --text: #0f172a;
  --text-soft: #475569;
  --text-muted: #64748b;
  --text-faint: #94a3b8;

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.06), 0 2px 4px -2px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.04);

  --radius-sm: 6px;
  --radius: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-pill: 999px;

  --font-sans: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --max: 1200px;
  --nav-h: 72px;
}

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

html, body {
  width: 100%;
  min-height: 100%;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body { user-select: none; -webkit-user-select: none; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }
h1, h2, h3, h4, h5 { color: var(--text); letter-spacing: -0.02em; line-height: 1.2; }

/* =========================================================
   ANNOUNCE BAR
   ========================================================= */
.announce-bar {
  background: linear-gradient(90deg, #fef3c7 0%, #fde68a 50%, #fef3c7 100%);
  color: #78350f;
  padding: 6px 14px;
  font-size: 0.8rem;
  text-align: center;
  border-bottom: 1px solid #fcd34d;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: nowrap;
}
.announce-label {
  background: #78350f;
  color: #fef3c7;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  flex-shrink: 0;
}
.announce-msg {
  font-weight: 500;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.announce-link {
  color: #78350f;
  font-weight: 700;
  text-decoration: none;
  flex-shrink: 0;
}
.announce-link:hover { text-decoration: underline; }

/* =========================================================
   NAVBAR V2
   ========================================================= */
.navbar-v2 {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-soft);
  height: var(--nav-h);
}
.nav-inner {
  max-width: var(--max);
  height: 100%;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.logo-wrap {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--hanuman) 0%, var(--primary) 100%);
  color: #fff;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 6px 12px -3px rgba(232, 93, 4, 0.35);
}
.logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.logo-name {
  font-weight: 800;
  color: var(--text);
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}
.logo-tag {
  font-size: 0.65rem;
  background: var(--primary-50);
  color: var(--primary-700);
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-top: 3px;
  display: inline-block;
  width: fit-content;
}

.nav-links-v2 {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}
.nav-links-v2 li { position: relative; }
.nav-links-v2 a {
  color: var(--text-soft);
  font-weight: 500;
  font-size: 0.92rem;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  transition: all 0.18s ease;
  display: inline-flex;
  align-items: center;
}
.nav-links-v2 a:hover {
  color: var(--primary-700);
  background: var(--primary-50);
}
.nav-link-soft:hover { background: var(--bg-alt) !important; }
.nav-btn {
  background: var(--primary) !important;
  color: #fff !important;
  padding: 8px 16px !important;
  font-weight: 600;
  font-size: 0.88rem;
  box-shadow: 0 4px 10px -2px rgba(37, 99, 235, 0.35);
}
.nav-btn:hover {
  background: var(--primary-600) !important;
  transform: translateY(-1px);
}

.menu-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.menu-toggle .bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Mobile nav */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(4px);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}

@media (max-width: 992px) {
  .menu-toggle { display: flex; }
  .nav-links-v2 {
    position: fixed;
    top: var(--nav-h);
    right: -100%;
    width: min(84vw, 340px);
    height: calc(100vh - var(--nav-h));
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 20px;
    box-shadow: -12px 0 30px rgba(15, 23, 42, 0.08);
    transition: right 0.3s ease;
    overflow-y: auto;
  }
  .nav-links-v2 a {
    padding: 12px 16px;
    font-size: 0.95rem;
    border-radius: var(--radius);
  }
  .nav-btn { text-align: center; justify-content: center; }
  body.nav-open .nav-links-v2 { right: 0; }
  body.nav-open .nav-overlay { opacity: 1; visibility: visible; }
  .nav-inner { padding: 0 1rem; gap: 1rem; }
}

/* =========================================================
   MAIN WRAPPER
   ========================================================= */
.main-v2 {
  width: 100%;
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  flex-direction: column;
}

.page-wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
  width: 100%;
}
.page-header {
  text-align: center;
  margin-bottom: 2.5rem;
}
.page-header-row { text-align: left; }
.page-title {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: var(--text);
}
.page-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 640px;
}
.page-header .page-subtitle { margin: 0 auto; }
.gradient-text-v2 {
  background: linear-gradient(135deg, var(--hanuman) 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--primary-700);
  background: var(--primary-50);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 1rem;
}
.text-center { text-align: center; }

/* =========================================================
   BUTTONS
   ========================================================= */
.btn-primary,
.btn-outline,
.btn-ghost,
.btn-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 22px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 6px 14px -4px rgba(37, 99, 235, 0.45);
}
.btn-primary:hover {
  background: var(--primary-600);
  transform: translateY(-1px);
  box-shadow: 0 10px 18px -4px rgba(37, 99, 235, 0.5);
}
.btn-primary:active { transform: translateY(0); }
.btn-xl { padding: 14px 28px; font-size: 1rem; border-radius: 12px; }
.btn-lg { padding: 13px 26px; font-size: 0.98rem; border-radius: 12px; }
.btn-block { width: 100%; }
.btn-white {
  background: #fff;
  color: var(--primary-700);
  box-shadow: 0 6px 16px -4px rgba(15, 23, 42, 0.2);
}
.btn-white:hover { background: #f8fafc; transform: translateY(-1px); }
.btn-outline {
  background: #fff;
  color: var(--text-soft);
  border-color: var(--border);
}
.btn-outline:hover {
  border-color: var(--primary-200);
  color: var(--primary-700);
  background: var(--primary-50);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.6);
  color: var(--text-soft);
  border: 1px solid var(--border);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover {
  background: #fff;
  border-color: var(--primary-200);
  color: var(--primary-700);
}

/* =========================================================
   CHIPS / FILTER TABS
   ========================================================= */
.filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.filter-wrap { gap: 8px; }
.chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-soft);
  background: #fff;
  border: 1px solid var(--border);
  transition: all 0.18s ease;
  text-decoration: none;
  cursor: pointer;
}
.chip-sm { padding: 6px 13px; font-size: 0.82rem; }
.chip:hover {
  border-color: var(--primary-200);
  color: var(--primary-700);
  background: var(--primary-50);
}
.chip-active {
  background: var(--hanuman);
  color: #fff !important;
  border-color: var(--hanuman);
  box-shadow: 0 4px 10px -3px rgba(232, 93, 4, 0.4);
}
.chips-filters { display: flex; gap: 8px; margin-bottom: 2rem; }

/* =========================================================
   BADGES & PILLS
   ========================================================= */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  font-size: 0.72rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  letter-spacing: 0.01em;
  line-height: 1.4;
}
.badge-type-daily { background: #dbeafe; color: #1e40af; }
.badge-type-qotd { background: #ede9fe; color: #6d28d9; }
.badge-type-fullmock { background: #dcfce7; color: #166534; }
.badge-type-special { background: #fef3c7; color: #92400e; }
.badge-leader {
  background: #fffbeb;
  color: #a16207;
  border: 1px solid #fde68a;
}
.badge-featured {
  background: var(--leader-yellow);
  color: #854d0e;
}
.badge-sub { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.01em; }
.badge-sub-0 { background: #dbeafe; color: #1e40af; }
.badge-sub-1 { background: #ede9fe; color: #6d28d9; }
.badge-sub-2 { background: #fef3c7; color: #92400e; }
.badge-sub-3 { background: #dcfce7; color: #166534; }
.badge-sub-4 { background: #cffafe; color: #155e75; }
.badge-sub-5 { background: #ffe4e6; color: #9f1239; }
.badge-sub-6 { background: #fee2e2; color: #991b1b; }
.badge-sub-7 { background: #e0e7ff; color: #3730a3; }

.badge-count {
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--bg);
  color: var(--text-muted);
  font-weight: 600;
}
.badge-count-pill {
  font-size: 0.7rem;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.9);
  color: var(--text-muted);
  font-weight: 600;
  border: 1px solid var(--border-soft);
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 2px 9px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-soft);
  background: var(--bg);
}
.pill-tag {
  background: var(--bg-alt);
  color: var(--accent);
}
.pill-soft {
  background: var(--primary-50);
  color: var(--primary-700);
}
.pill-muted {
  padding: 2px 4px;
  background: transparent;
  color: var(--text-faint);
}

/* =========================================================
   HERO V2
   ========================================================= */
.hero-v2 {
  position: relative;
  overflow: hidden;
  padding: 4rem 1.5rem 6rem;
  background: linear-gradient(160deg, #f0f6ff 0%, #fdf6f0 50%, var(--bg) 100%);
  border-bottom: 1px solid var(--border-soft);
}

/* ── background layer ── */
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

/* ── Blobs — large glowing orbs that drift + colour-shift ── */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}
.blob-1 {
  width: 640px; height: 640px;
  background: radial-gradient(circle at 40% 40%, #93c5fd 0%, #a5b4fc 40%, transparent 70%);
  top: -220px; left: -140px;
  opacity: 0.85;
  animation: blob-drift-1 20s ease-in-out infinite, blob-hue-1 14s ease-in-out infinite;
}
.blob-2 {
  width: 560px; height: 560px;
  background: radial-gradient(circle at 60% 60%, rgba(232,93,4,0.35) 0%, rgba(251,146,60,0.2) 40%, transparent 70%);
  top: 20px; right: -120px;
  opacity: 0.85;
  animation: blob-drift-2 24s ease-in-out infinite, blob-hue-2 18s ease-in-out infinite;
}
/* third blob — bottom-centre, accent purple */
.blob-3 {
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(124,58,237,0.18) 0%, transparent 65%);
  bottom: -140px; left: 38%;
  opacity: 1;
  animation: blob-drift-3 28s ease-in-out infinite;
}

/* ── dot-grid overlay ── */
.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(37,99,235,0.18) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 30%, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 30%, transparent 90%);
  animation: grid-breathe 8s ease-in-out infinite;
}

/* ── shimmer streak (diagonal light ray) ── */
.hero-shimmer {
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(255,255,255,0.45) 50%,
    transparent 60%
  );
  animation: shimmer-sweep 8s ease-in-out infinite;
  z-index: 1;
  pointer-events: none;
}

/* ── particles ── */
.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 2;
}
.hero-particles span {
  position: absolute;
  border-radius: 50%;
  bottom: -8px;
  opacity: 0;
  animation: particle-rise linear infinite;
}

/* 18 particles — varied sizes, 3 colours, staggered */
.hero-particles span:nth-child(1)  { width:5px;  height:5px;  left:5%;   animation-duration:10s; animation-delay:0s;    background:#3b82f6; box-shadow:0 0 6px 2px rgba(59,130,246,0.6); }
.hero-particles span:nth-child(2)  { width:4px;  height:4px;  left:11%;  animation-duration:13s; animation-delay:1.2s;  background:#e85d04; box-shadow:0 0 6px 2px rgba(232,93,4,0.6);  }
.hero-particles span:nth-child(3)  { width:7px;  height:7px;  left:18%;  animation-duration:8s;  animation-delay:0.5s;  background:#7c3aed; box-shadow:0 0 8px 3px rgba(124,58,237,0.5);}
.hero-particles span:nth-child(4)  { width:4px;  height:4px;  left:25%;  animation-duration:15s; animation-delay:3s;    background:#3b82f6; box-shadow:0 0 6px 2px rgba(59,130,246,0.6); }
.hero-particles span:nth-child(5)  { width:5px;  height:5px;  left:32%;  animation-duration:9s;  animation-delay:6s;    background:#e85d04; box-shadow:0 0 6px 2px rgba(232,93,4,0.6);  }
.hero-particles span:nth-child(6)  { width:3px;  height:3px;  left:39%;  animation-duration:12s; animation-delay:2s;    background:#7c3aed; box-shadow:0 0 5px 2px rgba(124,58,237,0.5);}
.hero-particles span:nth-child(7)  { width:6px;  height:6px;  left:46%;  animation-duration:11s; animation-delay:4.5s;  background:#3b82f6; box-shadow:0 0 7px 3px rgba(59,130,246,0.6); }
.hero-particles span:nth-child(8)  { width:4px;  height:4px;  left:53%;  animation-duration:14s; animation-delay:1s;    background:#e85d04; box-shadow:0 0 6px 2px rgba(232,93,4,0.6);  }
.hero-particles span:nth-child(9)  { width:5px;  height:5px;  left:60%;  animation-duration:9s;  animation-delay:7s;    background:#7c3aed; box-shadow:0 0 6px 2px rgba(124,58,237,0.5);}
.hero-particles span:nth-child(10) { width:3px;  height:3px;  left:67%;  animation-duration:16s; animation-delay:0.8s;  background:#3b82f6; box-shadow:0 0 5px 2px rgba(59,130,246,0.6); }
.hero-particles span:nth-child(11) { width:6px;  height:6px;  left:73%;  animation-duration:10s; animation-delay:3.5s;  background:#e85d04; box-shadow:0 0 7px 3px rgba(232,93,4,0.6);  }
.hero-particles span:nth-child(12) { width:4px;  height:4px;  left:79%;  animation-duration:12s; animation-delay:5s;    background:#7c3aed; box-shadow:0 0 6px 2px rgba(124,58,237,0.5);}
.hero-particles span:nth-child(13) { width:5px;  height:5px;  left:85%;  animation-duration:8s;  animation-delay:2.5s;  background:#3b82f6; box-shadow:0 0 6px 2px rgba(59,130,246,0.6); }
.hero-particles span:nth-child(14) { width:3px;  height:3px;  left:91%;  animation-duration:14s; animation-delay:4s;    background:#e85d04; box-shadow:0 0 5px 2px rgba(232,93,4,0.6);  }
.hero-particles span:nth-child(15) { width:7px;  height:7px;  left:96%;  animation-duration:11s; animation-delay:0.3s;  background:#7c3aed; box-shadow:0 0 8px 3px rgba(124,58,237,0.5);}
.hero-particles span:nth-child(16) { width:4px;  height:4px;  left:14%;  animation-duration:13s; animation-delay:8s;    background:#3b82f6; box-shadow:0 0 6px 2px rgba(59,130,246,0.6); }
.hero-particles span:nth-child(17) { width:5px;  height:5px;  left:48%;  animation-duration:10s; animation-delay:9s;    background:#e85d04; box-shadow:0 0 6px 2px rgba(232,93,4,0.6);  }
.hero-particles span:nth-child(18) { width:3px;  height:3px;  left:70%;  animation-duration:15s; animation-delay:11s;   background:#7c3aed; box-shadow:0 0 5px 2px rgba(124,58,237,0.5);}

/* ══ KEYFRAMES ══════════════════════════════════════════════ */

/* blobs drift in slow organic figure-8 paths */
@keyframes blob-drift-1 {
  0%,100% { transform: translate(  0px,   0px) scale(1.00); }
  25%      { transform: translate( 70px,  50px) scale(1.10); }
  50%      { transform: translate( 20px, 100px) scale(0.92); }
  75%      { transform: translate(-60px,  40px) scale(1.06); }
}
@keyframes blob-drift-2 {
  0%,100% { transform: translate(   0px,   0px) scale(1.00); }
  25%      { transform: translate( -80px,  30px) scale(1.12); }
  50%      { transform: translate( -30px, -60px) scale(0.90); }
  75%      { transform: translate(  50px, -20px) scale(1.05); }
}
@keyframes blob-drift-3 {
  0%,100% { transform: translate(   0px,  0px) scale(1.00); }
  33%      { transform: translate( -50px,-30px) scale(1.08); }
  66%      { transform: translate(  60px,-10px) scale(0.94); }
}

/* blobs pulse between hues */
@keyframes blob-hue-1 {
  0%,100% { filter: blur(80px) hue-rotate(0deg);   }
  50%      { filter: blur(90px) hue-rotate(30deg);  }
}
@keyframes blob-hue-2 {
  0%,100% { filter: blur(80px) hue-rotate(0deg);   }
  50%      { filter: blur(90px) hue-rotate(-25deg); }
}

/* dot-grid pulse */
@keyframes grid-breathe {
  0%,100% { opacity: 0.9; transform: scale(1);    }
  50%      { opacity: 0.3; transform: scale(1.02); }
}

/* diagonal shimmer sweep */
@keyframes shimmer-sweep {
  0%   { left: -80%; opacity: 0;   }
  10%  { opacity: 1;               }
  60%  { opacity: 0.6;             }
  100% { left: 130%; opacity: 0;   }
}

/* particles: rise + gentle side-sway + glow */
@keyframes particle-rise {
  0%   { transform: translateY(0px)    translateX(0px)   scale(0.6); opacity: 0;   }
  10%  {                                                              opacity: 0.7; }
  30%  { transform: translateY(-140px) translateX(12px)  scale(1.0);               }
  60%  { transform: translateY(-280px) translateX(-8px)  scale(0.9);               }
  90%  {                                                              opacity: 0.5; }
  100% { transform: translateY(-480px) translateX(6px)   scale(0.7); opacity: 0;   }
}

/* respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .blob-1, .blob-2, .blob-3,
  .grid-overlay,
  .hero-shimmer,
  .hero-particles span { animation: none !important; }
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 3rem;
  align-items: center;
}
.hero-h1 {
  font-size: 3.6rem;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin-bottom: 1.2rem;
}
.gradient-word {
  background: linear-gradient(135deg, var(--primary) 0%, #4f46e5 50%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-p {
  font-size: 1.1rem;
  color: var(--text-soft);
  max-width: 560px;
  line-height: 1.65;
  margin-bottom: 2rem;
}
.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.hero-trust {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
}
.trust-pill {
  padding: 5px 11px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-pill);
  backdrop-filter: blur(6px);
}
.trust-sep { color: var(--text-faint); }

.hero-right {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.feature-card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 1.2rem 1.3rem;
  box-shadow: var(--shadow-md);
  transition: all 0.2s ease;
  display: block;
}
.feature-card-top { box-shadow: var(--shadow-lg); }
.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-200);
}
.feature-card-badges {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 0.6rem;
  flex-wrap: wrap;
}
.feature-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: var(--text);
}
.feature-card p {
  font-size: 0.87rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* =========================================================
   SECTIONS
   ========================================================= */
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 4.5rem 1.5rem;
  width: 100%;
}
.section-sm { padding: 3rem 1.5rem; }
.section-cta { padding: 2rem 1.5rem 5rem; }
.section-head {
  margin-bottom: 2.2rem;
}
.section-head-between {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.section-head-between .section-head { margin-bottom: 0; }
.section-h2 {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 0.4rem;
}
.section-h2-sm { font-size: 1.25rem; }
.section-sub {
  color: var(--text-muted);
  font-size: 1rem;
}
.link-arrow {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
}
.link-arrow:hover { color: var(--primary-700); }

/* =========================================================
   MODE GRID (practice modes)
   ========================================================= */
.mode-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}
.mode-card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 1.4rem;
  transition: all 0.22s ease;
  display: block;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.mode-card::before {
  content: '';
  position: absolute;
  inset: 0 auto auto 0;
  height: 4px;
  width: 0;
  transition: width 0.3s ease;
  border-radius: 4px 4px 0 0;
}
.mode-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.mode-card:hover::before { width: 100%; }
.mode-card-1::before { background: linear-gradient(90deg, #3b82f6, #60a5fa); }
.mode-card-2::before { background: linear-gradient(90deg, #8b5cf6, #a78bfa); }
.mode-card-3::before { background: linear-gradient(90deg, #10b981, #34d399); }
.mode-card-4::before { background: linear-gradient(90deg, #f59e0b, #fbbf24); }

.mode-icon {
  font-size: 1.6rem;
  background: var(--bg);
  width: 52px; height: 52px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.8rem;
}
.mode-card-1:hover .mode-icon { background: #dbeafe; }
.mode-card-2:hover .mode-icon { background: #ede9fe; }
.mode-card-3:hover .mode-icon { background: #dcfce7; }
.mode-card-4:hover .mode-icon { background: #fef3c7; }

.mode-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}
.mode-card p {
  font-size: 0.87rem;
  color: var(--text-muted);
  margin-bottom: 0.7rem;
  line-height: 1.55;
}
.mode-meta {
  font-size: 0.78rem;
  color: var(--text-faint);
  font-weight: 500;
  padding-top: 0.6rem;
  border-top: 1px dashed var(--border-soft);
}

/* =========================================================
   TOPIC-WISE 8-SUBJECT GRID
   ========================================================= */
.topic-wise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.tw-card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 1.4rem;
  transition: all 0.22s ease;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}
.tw-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.tw-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--border-soft);
}
.tw-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  background: var(--bg);
  flex-shrink: 0;
}
.tw-title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 3px;
}
.tw-count {
  font-size: 0.75rem;
  color: var(--text-faint);
  font-weight: 500;
}
.tw-topics {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 1rem;
}
.tw-topics li a {
  display: block;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 0.86rem;
  color: var(--text-soft);
  font-weight: 500;
  transition: all 0.18s ease;
}
.tw-topics li a:hover {
  background: var(--bg);
  color: var(--text);
  padding-left: 14px;
}
.tw-foot {
  display: block;
  padding-top: 0.9rem;
  border-top: 1px solid var(--border-soft);
  color: var(--primary-700);
  font-weight: 600;
  font-size: 0.88rem;
}
.tw-foot:hover { color: var(--primary); }

.tw-card-0 .tw-icon { background: #dbeafe; }
.tw-card-1 .tw-icon { background: #ede9fe; }
.tw-card-2 .tw-icon { background: #fef3c7; }
.tw-card-3 .tw-icon { background: #dcfce7; }
.tw-card-4 .tw-icon { background: #cffafe; }
.tw-card-5 .tw-icon { background: #ffe4e6; }
.tw-card-6 .tw-icon { background: #fee2e2; }
.tw-card-7 .tw-icon { background: #e0e7ff; }

/* =========================================================
   TWO COL (featured mocks + notes)
   ========================================================= */
.two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.col-block {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 1.4rem;
  box-shadow: var(--shadow-sm);
}
.featured-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.featured-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.05rem;
  border-radius: var(--radius);
  border: 1px solid var(--border-soft);
  transition: all 0.18s ease;
  flex-wrap: wrap;
}
.featured-row:hover {
  background: var(--bg);
  border-color: var(--primary-100);
  transform: translateX(2px);
}
.featured-row h4 {
  font-size: 0.98rem;
  font-weight: 700;
  margin-bottom: 5px;
}
.featured-row-meta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}
.btn-inline {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.88rem;
  white-space: nowrap;
  flex-shrink: 0;
}
.featured-row:hover .btn-inline { color: var(--primary-700); }

/* =========================================================
   WHY GRID
   ========================================================= */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}
.why-card {
  text-align: center;
  padding: 1.8rem 1.3rem;
}
.why-icon {
  width: 58px; height: 58px;
  margin: 0 auto 1rem;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: #fff;
}
.why-icon-1 { background: linear-gradient(135deg, #3b82f6, #1d4ed8); box-shadow: 0 10px 18px -5px rgba(37, 99, 235, 0.4); }
.why-icon-2 { background: linear-gradient(135deg, #8b5cf6, #6d28d9); box-shadow: 0 10px 18px -5px rgba(139, 92, 246, 0.4); }
.why-icon-3 { background: linear-gradient(135deg, #10b981, #059669); box-shadow: 0 10px 18px -5px rgba(16, 185, 129, 0.4); }
.why-icon-4 { background: linear-gradient(135deg, #f59e0b, #d97706); box-shadow: 0 10px 18px -5px rgba(245, 158, 11, 0.4); }
.why-card h4 {
  font-size: 1.02rem;
  font-weight: 700;
  margin-bottom: 0.45rem;
}
.why-card p {
  font-size: 0.87rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* =========================================================
   CTA CARD V2
   ========================================================= */
.cta-card-v2 {
  background: linear-gradient(135deg, #1e3a8a 0%, #4f46e5 50%, #7c3aed 100%);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: 3.5rem 2rem;
  text-align: center;
  box-shadow: 0 25px 50px -12px rgba(79, 70, 229, 0.4);
  position: relative;
  overflow: hidden;
}
.cta-card-v2::before,
.cta-card-v2::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.35;
}
.cta-card-v2::before {
  width: 300px; height: 300px;
  background: #60a5fa;
  top: -120px; left: -80px;
}
.cta-card-v2::after {
  width: 280px; height: 280px;
  background: #c084fc;
  bottom: -120px; right: -60px;
}
.cta-card-v2 h2 {
  color: #fff;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.7rem;
  position: relative;
  z-index: 2;
}
.cta-card-v2 p {
  color: rgba(255, 255, 255, 0.88);
  max-width: 560px;
  margin: 0 auto 1.8rem;
  font-size: 1.02rem;
  position: relative;
  z-index: 2;
  line-height: 1.65;
}
.cta-card-v2 .btn-white {
  position: relative;
  z-index: 2;
  box-shadow: 0 14px 28px -6px rgba(0, 0, 0, 0.25);
}

/* =========================================================
   CARDS GRIDS (3-col for notes/quizzes/subjects list)
   ========================================================= */
.cards-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.3rem;
}

/* --- QUIZ CARDS --- */
.quiz-card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 1.4rem;
  transition: all 0.22s ease;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.quiz-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-100);
}
.quiz-card-head {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 0.9rem;
}
.quiz-card-title {
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 0.5rem;
  color: var(--text);
}
.quiz-card-desc {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
  flex: 1;
}
.quiz-card-meta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 1.1rem;
  flex-wrap: wrap;
}

/* --- NOTE CARDS --- */
.note-card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 1.4rem;
  transition: all 0.22s ease;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.note-card-link .note-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-100);
}
.note-card-head {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 0.9rem;
}
.note-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 0.5rem;
  color: var(--text);
}
.note-card-desc {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 1rem;
}
.note-card-foot { margin-top: auto; }
.link-arrow {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.88rem;
}

/* --- SUBJECT TOPIC CARDS --- */
.topic-card-v2 {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 1.3rem;
  transition: all 0.22s ease;
  box-shadow: var(--shadow-sm);
  display: block;
}
.topic-card-v2:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-200);
  background: var(--primary-50);
}
.topic-card-v2 h3 {
  font-size: 1.02rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}
.topic-card-v2 p {
  font-size: 0.8rem;
  color: var(--text-faint);
  font-weight: 500;
  margin-bottom: 0.8rem;
}
.topic-card-arrow {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.88rem;
}
.topic-card-v2:hover .topic-card-arrow { color: var(--primary-700); }

/* =========================================================
   NOTE DETAIL
   ========================================================= */
.note-detail-wrap { padding-top: 2rem; max-width: 880px; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
  flex-wrap: wrap;
  font-weight: 500;
}
.breadcrumb a { color: var(--text-soft); }
.breadcrumb a:hover { color: var(--primary-700); }
.crumb-sep { color: var(--text-faint); }
.crumb-current { color: var(--text); font-weight: 600; }

.note-meta-head {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 0.8rem;
  flex-wrap: wrap;
}
.note-title {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.4rem;
  line-height: 1.15;
}
.note-subtitle {
  font-size: 1.08rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: none;
}

.note-content-card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 2.2rem 2.5rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.6rem;
}

.practice-cta-card {
  background: #fff;
  border: 1px solid var(--primary-100);
  border-radius: var(--radius-lg);
  padding: 1.8rem 2rem;
  box-shadow: var(--shadow-md);
}
.practice-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.practice-cta-title {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
}
.practice-cta-sub {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* =========================================================
   PRACTICE LIBRARY (4-col subject cards)
   ========================================================= */
.toggle-container {
  display: inline-flex;
  background: #fff;
  padding: 5px;
  border-radius: var(--radius-pill);
  margin-top: 1.5rem;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-sm);
}
.toggle-btn {
  padding: 9px 24px;
  border-radius: var(--radius-pill);
  color: var(--text-soft);
  font-weight: 600;
  font-size: 0.88rem;
  transition: all 0.18s ease;
}
.toggle-btn.active {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 10px -3px rgba(37, 99, 235, 0.45);
}

.practice-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.3rem;
}
.subject-card-v2 {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 1.4rem;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s;
  position: relative;
  overflow: hidden;
}
.subject-card-v2::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 0; height: 4px;
  transition: width 0.3s ease;
  border-radius: 14px 14px 0 0;
}
.subject-card-v2:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.subject-card-v2:hover::before { width: 100%; }
.subject-0::before { background: #3b82f6; }
.subject-1::before { background: #8b5cf6; }
.subject-2::before { background: #f59e0b; }
.subject-3::before { background: #10b981; }
.subject-4::before { background: #06b6d4; }
.subject-5::before { background: #ec4899; }
.subject-6::before { background: #ef4444; }
.subject-7::before { background: #6366f1; }

.exam-prelims .subject-0 { border-left: 4px solid #3b82f6; background: linear-gradient(180deg, #eff6ff 0%, #fff 100%); }
.exam-prelims .subject-1 { border-left: 4px solid #8b5cf6; background: linear-gradient(180deg, #f5f3ff 0%, #fff 100%); }
.exam-prelims .subject-2 { border-left: 4px solid #f59e0b; background: linear-gradient(180deg, #fffbeb 0%, #fff 100%); }
.exam-prelims .subject-3 { border-left: 4px solid #10b981; background: linear-gradient(180deg, #ecfdf5 0%, #fff 100%); }
.exam-prelims .subject-4 { border-left: 4px solid #06b6d4; background: linear-gradient(180deg, #ecfeff 0%, #fff 100%); }
.exam-prelims .subject-5 { border-left: 4px solid #ec4899; background: linear-gradient(180deg, #fdf2f8 0%, #fff 100%); }
.exam-prelims .subject-6 { border-left: 4px solid #ef4444; background: linear-gradient(180deg, #fef2f2 0%, #fff 100%); }
.exam-prelims .subject-7 { border-left: 4px solid #6366f1; background: linear-gradient(180deg, #eef2ff 0%, #fff 100%); }

.exam-mains .subject-0 { border-left: 4px solid #e74c3c; background: linear-gradient(180deg, #ffeceb 0%, #fff 100%); }
.exam-mains .subject-1 { border-left: 4px solid #1abc9c; background: linear-gradient(180deg, #eafff9 0%, #fff 100%); }
.exam-mains .subject-2 { border-left: 4px solid #3f51b5; background: linear-gradient(180deg, #eef0ff 0%, #fff 100%); }
.exam-mains .subject-3 { border-left: 4px solid #607d8b; background: linear-gradient(180deg, #eef5f7 0%, #fff 100%); }
.exam-mains .subject-4 { border-left: 4px solid #e91e63; background: linear-gradient(180deg, #ffeaf2 0%, #fff 100%); }
.exam-mains .subject-5 { border-left: 4px solid #2c3e50; background: linear-gradient(180deg, #eef2f5 0%, #fff 100%); }
.exam-mains .subject-6 { border-left: 4px solid #0891b2; background: linear-gradient(180deg, #ecfeff 0%, #fff 100%); }
.exam-mains .subject-7 { border-left: 4px solid #a16207; background: linear-gradient(180deg, #fffbeb 0%, #fff 100%); }

.subject-card-v2 .sub-header h3 {
  font-size: 1.12rem;
}
.topic-list-v2 {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.topic-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 11px;
  border-radius: 8px;
  font-size: 0.86rem;
  color: var(--text-soft);
  font-weight: 500;
  transition: all 0.18s;
}
.topic-row:hover {
  background: #fff;
  box-shadow: var(--shadow-sm);
  color: var(--primary-700);
}
.topic-row .name { flex: 1; }
.row-arrow {
  color: var(--text-faint);
  transition: transform 0.18s;
}
.topic-row:hover .row-arrow {
  color: var(--primary);
  transform: translateX(3px);
}

/* =========================================================
   FLASHES / ALERTS
   ========================================================= */
.flashes-v2 {
  max-width: var(--max);
  margin: 1.2rem auto 0;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.alert {
  padding: 12px 16px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.92rem;
  font-weight: 500;
  border: 1px solid transparent;
  transition: opacity 0.5s ease;
  box-shadow: var(--shadow-sm);
}
.alert-success { background: #ecfdf5; color: #065f46; border-color: #a7f3d0; }
.alert-danger { background: #fef2f2; color: #991b1b; border-color: #fecaca; }
.alert-warning { background: #fffbeb; color: #92400e; border-color: #fde68a; }
.alert-info, .alert-message { background: #eff6ff; color: #1e40af; border-color: #bfdbfe; }
.alert-close {
  font-size: 1.2rem;
  color: inherit;
  line-height: 1;
  padding: 0 6px;
}
.fade-out { opacity: 0; }

.empty-state-inline {
  text-align: center;
  padding: 3rem 1rem;
  background: #fff;
  border: 1px dashed var(--border);
  border-radius: var(--radius-md);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  width: 100%;
}
.empty-state-inline p { color: var(--text-muted); font-size: 0.95rem; }

/* =========================================================
   FOOTER V2
   ========================================================= */
.footer-v2 {
  background: #fff;
  border-top: 3px solid var(--hanuman);
  padding: 4rem 1.5rem 1.5rem;
  margin-top: auto;
}
.footer-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 2.5rem;
}
.footer-col h4 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.55rem; }
.footer-col a {
  color: var(--text-soft);
  font-size: 0.88rem;
  font-weight: 500;
  transition: color 0.18s ease;
}
.footer-col a:hover { color: var(--hanuman); }

.footer-about {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 1rem 0 1.2rem;
  max-width: 340px;
}
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #166534;
  background: #dcfce7;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
}
.live-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.15);
  position: relative;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.15); }
  50% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0.05); }
}
.footer-logo { margin-bottom: 0.3rem; }

.footer-bottom {
  max-width: var(--max);
  margin: 3rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: var(--text-faint);
  font-weight: 500;
}
.footer-heart { color: var(--text-soft); }

/* =========================================================
   ANIMATIONS
   ========================================================= */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* =========================================================
   RESPONSIVE BREAKPOINTS
   ========================================================= */
@media (max-width: 1200px) {
  :root { --max: 96vw; }
  .hero-inner { grid-template-columns: 1fr 1fr; }
  .hero-h1 { font-size: 2.8rem; }
  .mode-grid,
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .topic-wise-grid,
  .cards-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .practice-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .note-content-card { padding: 1.6rem 1.8rem; }
}
@media (max-width: 900px) {
  .two-col-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  :root { --nav-h: 66px; }
  .hero-v2 { padding: 3rem 1rem 4rem; }
  .hero-inner { grid-template-columns: 1fr; gap: 2rem; }
  .hero-h1 { font-size: 2.3rem; }
  .hero-p { font-size: 1rem; }
  .hero-cta .btn-primary,
  .hero-cta .btn-ghost { flex: 1; }
  .section { padding: 3rem 1rem; }
  .section-sm { padding: 2rem 1rem; }
  .page-wrap { padding: 2rem 1rem 3rem; }
  .page-title { font-size: 1.85rem; }
  .note-title { font-size: 1.65rem; }
  .note-content-card { padding: 1.25rem 1.2rem; border-radius: var(--radius-md); }
  .practice-cta-inner { flex-direction: column; align-items: flex-start; }
  .practice-cta-inner .btn-primary { width: 100%; }
  .footer-v2 { padding: 3rem 1rem 1.2rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .section-h2 { font-size: 1.6rem; }
  .section-head-between { flex-direction: column; align-items: flex-start; }
  .cta-card-v2 { padding: 2.5rem 1.3rem; border-radius: var(--radius-lg); }
  .cta-card-v2 h2 { font-size: 1.55rem; }
  .announce-bar { text-align: left; font-size: 0.8rem; padding: 10px 14px; }
}
@media (max-width: 560px) {
  .mode-grid,
  .why-grid,
  .topic-wise-grid,
  .cards-grid-3,
  .practice-grid-4 { grid-template-columns: 1fr; }
  .hero-h1 { font-size: 2rem; }
  .page-header-row .breadcrumb { font-size: 0.78rem; }
  .toggle-container { display: flex; width: 100%; }
  .toggle-btn { flex: 1; padding: 9px 14px; font-size: 0.82rem; }
  .filter-bar, .chips-filters { gap: 6px; }
  .chip { padding: 7px 13px; font-size: 0.82rem; }
  .chip-sm { padding: 5px 10px; font-size: 0.76rem; }
  .trust-pill { font-size: 0.72rem; }
}

/* =========================================================
   BACKWARD COMPAT (old class names used by admin/auth pages)
   Keep them so existing pages don't break
   ========================================================= */

/* Keep old style.css var names + a few classes */
:root {
  --primary-color: #2563eb;
  --secondary-color: #7c3aed;
  --background-color: var(--bg);
  --text-color: var(--text);
  --card-bg: #fff;
  --shadow: 0 4px 12px rgba(37, 99, 235, 0.08);
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem 1.5rem;
  width: 100%;
}
.navbar { /* already redefined via navbar-v2 */ }
.btn-primary-glow {
  background: var(--primary);
  color: #fff;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.25);
}
.btn-outline-light {
  border: 2px solid var(--border);
  color: var(--text-soft);
  padding: 14px 32px;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
}
.card-link {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}
.flashes {
  max-width: var(--max);
  margin: 1.2rem auto;
  padding: 0 1.5rem;
}
.subjects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.subject-card {
  background: #fff;
  border-radius: 18px;
  padding: 2rem;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
}
.subject-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card-icon {
  font-size: 2.3rem;
  background: var(--bg);
  display: inline-flex;
  padding: 1rem;
  border-radius: 14px;
  margin-bottom: 1rem;
}
.subject-card h3 { font-size: 1.35rem; margin-bottom: 0.5rem; }
.subject-card p { color: var(--text-muted); margin-bottom: 1.3rem; line-height: 1.6; }

@media (max-width: 900px) {
  .subjects-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .subjects-grid { grid-template-columns: 1fr; }
}

/* --- DISABLED / MUTED STATE OVERRIDES (Home page practice modes & topic links) --- */
.mode-card-disabled {
  cursor: default;
  opacity: 0.62;
  filter: saturate(0.55);
}
.mode-card-disabled:hover {
  transform: none;
  box-shadow: var(--shadow-sm);
  border-color: var(--border-soft);
}
.mode-card-disabled:hover::before { width: 0; }
.mode-card-disabled:hover .mode-icon { background: var(--bg); }

.link-arrow-disabled {
  color: var(--text-faint);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  cursor: default;
  user-select: none;
}

.tw-topics-disabled { list-style: none; padding: 0; }
.tw-topic-link-disabled {
  display: block;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 0.86rem;
  color: var(--text-faint);
  font-weight: 500;
  cursor: default;
  user-select: none;
  text-decoration: none;
}

/* End of file */

/* =========================================================
   🔶 HANUMAN ORANGE + 🩶 SHIVA ASH — ACCENT TOUCHES
   Subtle spiritual palette applied on key UI elements.
   ========================================================= */

/* Eyebrow label — orange variant */
.eyebrow-saffron {
  display: inline-block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--hanuman);
  background: var(--hanuman-light);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 1rem;
}

/* Section divider with orange centre dot */
.divider-saffron {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 2rem 0;
  color: var(--shiva);
  font-size: 0.82rem;
}
.divider-saffron::before,
.divider-saffron::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--shiva-mid), transparent);
}

/* Card left-border accent — orange */
.card-accent-orange {
  border-left: 3px solid var(--hanuman) !important;
}

/* Card left-border accent — ash */
.card-accent-ash {
  border-left: 3px solid var(--shiva-mid) !important;
}

/* Highlight badge — saffron */
.badge-saffron {
  background: var(--hanuman-light);
  color: var(--hanuman);
  border: 1px solid rgba(232, 93, 4, 0.2);
}

/* Highlight badge — ash */
.badge-ash {
  background: var(--shiva-light);
  color: var(--shiva);
  border: 1px solid var(--shiva-mid);
}

/* Nav active link underline — orange */
.nav-links-v2 .nav-link-active {
  color: var(--hanuman) !important;
  background: var(--hanuman-light) !important;
  font-weight: 600;
}

/* Subject card hover — orange top border */
.subject-card:hover {
  border-top: 3px solid var(--hanuman);
}

/* Btn — saffron CTA variant */
.btn-saffron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 22px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.92rem;
  background: var(--hanuman);
  color: #fff;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 6px 14px -4px rgba(232, 93, 4, 0.4);
}
.btn-saffron:hover {
  background: #c94e00;
  transform: translateY(-1px);
  box-shadow: 0 10px 18px -4px rgba(232, 93, 4, 0.45);
}

/* Announce bar — warm saffron override */
.announce-bar-saffron {
  background: linear-gradient(90deg, var(--hanuman-light) 0%, #ffe0c4 50%, var(--hanuman-light) 100%);
  color: #7a2e00;
  border-bottom: 1px solid rgba(232, 93, 4, 0.25);
}
