/* ============================================================
   MEDICAL STUDIO — NEXTSPACE WHITE THEME
   Light · Clean · Professional · Blue Accent · Animated
   Fonts: Inter (body/heading) | DM Sans (display)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;0,9..40,800;1,9..40,400&display=swap');

/* ─── DESIGN TOKENS ──────────────────────────────────────── */
:root {
  /* Brand Colors */
  --blue:      #2563eb;
  --blue-dark: #1e40af;
  --blue-lt:   #93c5fd;
  --blue-dim:  rgba(59,130,246,0.12);
  --blue-glow: rgba(59,130,246,0.25);

  /* Neutrals */
  --white:     #ffffff;
  --bg:        #ffffff;
  --bg-soft:   #f8fafc;
  --bg-muted:  #f1f5f9;
  --ink:       #0f172a;
  --ink-2:     #1e293b;
  --ink-3:     #334155;
  --muted:     #64748b;
  --muted-lt:  #94a3b8;
  --border:    #e2e8f0;
  --border-lt: #f1f5f9;

  /* Status */
  --success: #059669;
  --danger:  #dc2626;
  --warning: #d97706;
  --green:   #059669;
  --red:     var(--blue);
  --navy:    var(--ink);

  /* Compat aliases */
  --teal:         var(--blue);
  --teal-dim:     var(--blue-dim);
  --teal-glow:    var(--blue-glow);
  --teal-lt:      var(--blue-lt);
  --black:        var(--bg);
  --dark:         var(--bg-soft);
  --dark-2:       var(--bg);
  --dark-3:       var(--bg-muted);
  --off-white:    var(--bg-soft);
  --border-d:     var(--border);
  --color-red:    var(--blue);
  --color-red-light: var(--blue-dim);

  /* Typography */
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'DM Sans', 'Inter', sans-serif;
  --font-display: 'DM Sans', 'Inter', sans-serif;

  /* Layout */
  --nav-h:  68px;
  --bar-h:  38px;
  --max-w:  1280px;

  /* Animation */
  --ease:  cubic-bezier(0.16,1,0.3,1);
  --t1:    0.18s ease;
  --t2:    0.32s ease;
  --t3:    0.55s var(--ease);
}

/* ─── RESET ──────────────────────────────────────────────── */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100vw;
}
html {
  overflow-x: hidden;
  max-width: 100vw;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: var(--t1); }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font-body); }
input, select, textarea { font-family: var(--font-body); }

/* ─── SCROLL REVEAL ANIMATION ────────────────────────────── */
@keyframes fadeUpIn {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.94); }
  to   { opacity: 1; transform: scale(1); }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── TYPOGRAPHY ─────────────────────────────────────────── */
.display-hero {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 6.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.display-xl {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.5vw, 5rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.025em;
}
.display-lg {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.display-md {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--blue);
}
.eyebrow::before { content: ''; width: 20px; height: 2px; background: var(--blue); border-radius: 1px; }
.section-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--blue);
}
.section-eyebrow::before { content: ''; width: 20px; height: 2px; background: var(--blue); border-radius: 1px; }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-top: 0.5rem;
}
.section-title .text-blue, .section-title .text-red, .section-title .text-teal { color: var(--blue) !important; }
.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0.5rem 0 1.25rem;
}
.page-hero-desc { font-size: 1rem; color: var(--muted); max-width: 520px; line-height: 1.75; }

/* Text utilities */
.text-blue, .text-teal, .text-red { color: var(--blue) !important; }
.text-white { color: var(--white) !important; }
.text-muted { color: var(--muted) !important; }
.text-ink   { color: var(--ink) !important; }
.text-center { text-align: center; }
.fw-800 { font-weight: 800; }

/* ─── LAYOUT ─────────────────────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 2.5rem; }
@media(max-width:768px) { .container { padding: 0 1.25rem; } }

.section     { padding: 4rem 0; }
.section-sm  { padding: 2.5rem 0; }
.section-header { text-align: center; margin-bottom: 2.5rem; }
.section-bg  { background: var(--bg-soft); }
.section-off { background: var(--bg-soft); }
.section-soft { background: var(--bg-muted); }
.light-section { background: var(--bg-soft); }

.inner-hero {
  background: var(--bg-soft); color: var(--ink-3);
  padding: calc(var(--bar-h) + var(--nav-h) + 4rem) 0 4rem;
  position: relative; overflow: hidden; text-align: center;
}

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; }
@media(max-width:900px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ─── ANNOUNCEMENT BAR ───────────────────────────────────── */
.announce-bar {
  position: relative; z-index: 1001;
  height: var(--bar-h);
  background: var(--bg-soft);
  display: flex; align-items: center; justify-content: center;
  gap: 1.5rem; flex-wrap: wrap; overflow: hidden;
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.02em;
  color: var(--ink-3);
}
.announce-bar a { color: var(--ink-3); font-weight: 600; opacity: 0.9; }
.announce-bar a:hover { opacity: 1; }
.announce-bar .sep { color: var(--border); }

/* ─── NAVBAR — FLOATING PILL ───────────────────── */
.navbar {
  position: sticky;
  top: 1.5rem;
  width: calc(100% - 2rem);
  max-width: 1200px;
  margin: 0 auto;
  z-index: 1000;
  transition: transform 0.35s ease;
}
.navbar.scrolled {
  transform: translateY(-5px);
}

.navbar-inner {
  height: var(--nav-h);
  background: var(--white);
  border-radius: 999px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.06);
  padding: 0 1.75rem;
  display: flex; align-items: center; gap: 1.5rem;
  border: 1px solid var(--border-lt);
}

/* Brand */
.nav-brand { display: flex; align-items: center; gap: 0.6rem; flex-shrink: 0; }
.nav-logo-img { width: 32px; height: 32px; object-fit: contain; }
.nav-brand-text {
  font-family: var(--font-heading);
  font-size: 0.9rem; font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1;
}
.nav-brand-text .ms-teal { color: var(--blue); }
.nav-brand-text .ms-dark { color: var(--ink); }

/* Desktop Links */
.nav-links { display: flex; align-items: center; gap: 0.5rem; flex: 1; justify-content: center; }
.nav-item { position: relative; }
.nav-link {
  display: flex; align-items: center; gap: 4px;
  padding: 0.5rem 1.25rem;
  font-size: 0.88rem; font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
  transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  border-radius: 999px;
}
.nav-link:hover { color: var(--ink); background: var(--bg-soft); }
.nav-link.active { 
  color: #fff !important; 
  background: var(--blue-lt) !important; 
  box-shadow: 0 4px 15px rgba(96, 165, 250, 0.4); 
}
/* Let's make it the exact nice blue from the image, --blue-lt or similar */
.nav-link.active {
  background: #4A85F6 !important;
  box-shadow: none;
}
.nav-link i.chevron { font-size: 0.55rem; transition: transform 0.2s; }
.nav-item:hover .nav-link i.chevron { transform: rotate(180deg); }

/* Dropdown */
.nav-dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%);
  min-width: 200px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
  padding: 0.5rem;
  opacity: 0; pointer-events: none;
  transform: translateX(-50%) translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 200;
}
.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown { opacity: 1; pointer-events: all; transform: translateX(-50%) translateY(0); }
.nav-dropdown-link {
  display: flex; align-items: center; gap: 8px;
  padding: 0.55rem 0.875rem;
  font-size: 0.82rem; font-weight: 500;
  color: var(--ink-3);
  border-radius: 10px;
  transition: background 0.15s, color 0.15s;
}
.nav-dropdown-link:hover { background: var(--bg-soft); color: var(--blue); }
.badge-new { display: inline-block; background: var(--blue); color: #fff; font-size: 0.52rem; font-weight: 700; padding: 1px 5px; text-transform: uppercase; margin-left: auto; border-radius: 4px; }

/* Nav Actions */
.nav-actions { display: flex; align-items: center; gap: 0.6rem; margin-left: auto; flex-shrink: 0; }

/* Mobile */
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 6px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 1px; transition: var(--t2); }
.nav-mobile {
  display: none; position: absolute;
  top: calc(var(--nav-h) + 10px); left: 0; right: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
  padding: 1rem 1.5rem 1.5rem;
}
.nav-mobile.open { display: block; }
.nav-mobile-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.7rem 0; border-bottom: 1px solid var(--border);
  font-size: 0.9rem; font-weight: 600; color: var(--ink);
  width: 100%; text-align: left;
}
.nav-mobile-link:hover { color: var(--blue); }
.nav-mobile-sub { padding-left: 0.75rem; margin-bottom: 0.5rem; }
.nav-mobile-sub a { display: block; padding: 0.35rem 0; font-size: 0.83rem; color: var(--muted); }
.nav-mobile-sub a:hover { color: var(--blue); }

@media(max-width:1100px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
}

/* ─── BUTTONS ────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.7rem 1.6rem;
  border-radius: 999px;
  font-family: var(--font-body); font-size: 0.84rem; font-weight: 600;
  letter-spacing: -0.01em;
  transition: transform 0.25s var(--ease), box-shadow 0.25s ease, background 0.2s ease, color 0.2s ease;
  cursor: pointer; white-space: nowrap; border: none;
}
.btn:hover { transform: translateY(-2px); }

.btn-teal, .btn-blue, .btn-red, .btn-primary, .btn-cta {
  background: var(--blue); color: #fff;
  box-shadow: 0 4px 16px var(--blue-glow);
}
.btn-teal:hover, .btn-blue:hover, .btn-red:hover, .btn-primary:hover, .btn-cta:hover {
  background: var(--blue-dark); color: #fff;
  box-shadow: 0 8px 28px var(--blue-glow);
}
.btn-white {
  background: var(--ink); color: #fff;
  box-shadow: 0 4px 16px rgba(15,23,42,0.15);
}
.btn-white:hover { background: var(--ink-2); color: #fff; box-shadow: 0 8px 28px rgba(15,23,42,0.2); }

.btn-black, .btn-dark { background: var(--ink); color: #fff; }
.btn-black:hover, .btn-dark:hover { background: var(--ink-2); color: #fff; }

.btn-outline {
  background: transparent; color: var(--ink);
  border: 1.5px solid var(--border);
}
.btn-outline:hover { border-color: var(--ink); background: var(--bg-soft); }

.btn-outline-white {
  background: transparent; color: var(--ink);
  border: 1.5px solid var(--border);
}
.btn-outline-white:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-dim); }

.btn-ghost-teal, .btn-ghost-red {
  background: var(--blue-dim); color: var(--blue);
  border: 1px solid rgba(29,78,216,0.15);
}
.btn-ghost-teal:hover, .btn-ghost-red:hover { background: var(--blue); color: #fff; }

/* Sizes */
.btn-lg  { padding: 0.875rem 2rem; font-size: 0.9rem; }
.btn-sm  { padding: 0.45rem 1rem; font-size: 0.78rem; }
.btn-xs  { padding: 0.3rem 0.75rem; font-size: 0.7rem; }
.btn-block { width: 100%; }
.btn-sharp { border-radius: 8px; }

/* ─── HERO — NEXTSPACE STYLE ─────────────────────────────── */
.potshow-hero, .ms-hero {
  position: relative;
  min-height: 92vh;
  overflow: hidden;
  display: flex; flex-direction: column;
  padding-top: calc(var(--bar-h) + var(--nav-h) + 20px);
}
.hero-bg-img {
  position: absolute; inset: 0;
  background: var(--bg-soft);
}
.hero-bg-img img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  opacity: 0.5;
}
.hero-bg-img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    to right,
    rgba(255,255,255,0.92) 0%,
    rgba(255,255,255,0.7) 50%,
    rgba(255,255,255,0.15) 100%
  );
}
.hero-grid-overlay, .potshow-hero-grid { display: none; }

/* Hero inner */
.hero-inner, .potshow-hero-inner {
  position: relative; z-index: 2;
  flex: 1; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 2.5rem 4.5rem;
  max-width: var(--max-w); margin: 0 auto; width: 100%;
}
/* Inline hero bg div */
.potshow-hero > div:first-child { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.potshow-hero > div:first-child img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.potshow-hero > div:first-child > div { position: absolute; inset: 0; }

/* Hero eyebrow */
.potshow-hero-eyebrow {
  display: flex; align-items: center; gap: 0.75rem;
  margin-bottom: 1.5rem;
  animation: fadeIn 0.7s 0.1s both;
}
.potshow-hero-eyebrow span {
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted);
}
.live-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--blue); flex-shrink: 0;
  animation: blink 1.5s infinite;
}
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }

/* Hero title */
.potshow-hero-title, .hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 7.5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin-bottom: 2rem;
  animation: fadeUpIn 0.75s 0.2s both;
}
.potshow-hero-title em, .hero-title em { font-style: normal; color: var(--blue); }

.potshow-hero-subtitle-row, .hero-subtitle-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap;
  animation: fadeUpIn 0.75s 0.35s both;
}
.potshow-hero-sub, .hero-sub { max-width: 460px; font-size: 1rem; color: var(--muted); line-height: 1.75; }
.potshow-hero-actions, .hero-actions { display: flex; gap: 0.875rem; flex-wrap: wrap; }

/* Platform bar */
.platform-bar { border-top: 1px solid var(--border); margin-top: 3rem; padding-top: 1.5rem; animation: fadeIn 0.7s 0.5s both; }
.platform-bar-label { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-lt); margin-bottom: 0.875rem; }
.platform-logos { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; }
.platform-logo-item { display: flex; align-items: center; gap: 0.5rem; color: var(--muted-lt); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.03em; transition: var(--t1); }
.platform-logo-item:hover { color: var(--ink); }
.platform-logo-item i { font-size: 1.1rem; }

/* Hero bottom layout */
.hero-bottom {
  display: grid; grid-template-columns: 1fr auto;
  align-items: flex-end; gap: 4rem;
  border-top: 1px solid var(--border);
  padding-top: 2rem; margin-top: 2rem;
}
.hero-desc { max-width: 480px; font-size: 0.95rem; color: var(--muted); line-height: 1.75; }
.hero-sidebar { display: flex; flex-direction: column; gap: 0.5rem; text-align: right; flex-shrink: 0; }
.hero-sidebar-link { font-size: 0.85rem; font-weight: 600; color: var(--muted); transition: var(--t1); }
.hero-sidebar-link:hover, .hero-sidebar-link.active { color: var(--ink); }
.hero-sidebar-link.active { color: var(--blue); }

/* Hero pill btn */
.hero-pill-btn {
  display: inline-flex; align-items: center; gap: 0.75rem;
  background: var(--blue-dim); border: 1px solid rgba(29,78,216,0.2);
  color: var(--blue); padding: 0.65rem 1.4rem; border-radius: 999px;
  font-size: 0.82rem; font-weight: 600;
  transition: var(--t1); margin-top: 1.25rem; align-self: flex-start;
}
.hero-pill-btn:hover { background: var(--blue); color: #fff; }

/* ─── MARQUEE ────────────────────────────────────────────── */
.marquee-bar { background: var(--blue); overflow: hidden; padding: 0.75rem 0; }
.marquee-track { display: flex; width: max-content; animation: marqueeRun 30s linear infinite; }
.marquee-track:hover { animation-play-state: paused; }
.marquee-item { display: flex; align-items: center; gap: 0.5rem; color: rgba(255,255,255,0.9); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; padding: 0 1.5rem; white-space: nowrap; }
.marquee-item .sep { width: 4px; height: 4px; border-radius: 50%; background: rgba(255,255,255,0.4); flex-shrink: 0; }
@keyframes marqueeRun { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ─── EP / SERVICE CARDS ─────────────────────────────────── */
.ep-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.25rem; }
.ep-card {
  position: relative; aspect-ratio: 3/4; overflow: hidden; cursor: pointer;
  background: var(--bg-soft); border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
  transition: transform 0.4s var(--ease), box-shadow 0.4s ease;
}
.ep-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
.ep-card-bg { position: absolute; inset: 0; overflow: hidden; }
.ep-card-bg img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.55s var(--ease); }
.ep-card:hover .ep-card-bg img { transform: scale(1.07); }
.ep-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(15,23,42,0.8) 0%, rgba(15,23,42,0.2) 60%, transparent 100%);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 1.5rem;
}
.ep-card-num { position: absolute; top: 1rem; left: 1rem; font-family: var(--font-heading); font-size: 1rem; font-weight: 800; color: var(--blue-lt); }
.ep-card-tag { font-size: 0.62rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--blue-lt); margin-bottom: 0.3rem; }
.ep-card-title { font-family: var(--font-heading); font-size: 1rem; font-weight: 700; color: #fff; line-height: 1.25; }
.ep-card-sub { font-size: 0.72rem; color: rgba(255,255,255,0.6); margin-top: 0.3rem; }
.ep-card-play {
  position: absolute; top: 1rem; right: 1rem; width: 36px; height: 36px;
  border-radius: 50%; background: var(--blue);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 0.75rem;
  opacity: 0; transform: scale(0.8); transition: var(--t2);
}
.ep-card:hover .ep-card-play { opacity: 1; transform: scale(1); }
@media(max-width:900px) { .ep-grid { grid-template-columns: repeat(2,1fr); } }
@media(max-width:540px) { .ep-grid { grid-template-columns: 1fr; } }

/* ─── EDITORIAL SPLIT ────────────────────────────────────── */
.editorial-split { display: grid; grid-template-columns: 1fr 1fr; gap: 0; min-height: 480px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.editorial-left { padding: 5rem 4rem 5rem 0; border-right: 1px solid var(--border); }
.editorial-right { padding: 5rem 0 5rem 4rem; }
@media(max-width:900px) {
  .editorial-split { grid-template-columns: 1fr; }
  .editorial-left { border-right: none; border-bottom: 1px solid var(--border); padding: 3rem 0; }
  .editorial-right { padding: 3rem 0; }
}
.stats-inline { display: flex; gap: 2.5rem; margin-top: 2.5rem; flex-wrap: wrap; }
.stat-inline-num { font-family: var(--font-display); font-size: 3rem; line-height: 1; color: var(--ink); }
.stat-inline-num span { color: var(--blue); }
.stat-inline-lbl { font-size: 0.72rem; color: var(--muted); margin-top: 2px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.06em; }

/* ─── HOST / TEAM GRID ───────────────────────────────────── */
.host-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem; }
.host-card { position: relative; aspect-ratio: 3/4; overflow: hidden; background: var(--bg-soft); cursor: pointer; border-radius: 16px; border: 1px solid var(--border); }
.host-card-bg { position: absolute; inset: 0; overflow: hidden; }
.host-card-bg img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 0.55s var(--ease); }
.host-card:hover .host-card-bg img { transform: scale(1.06); }
.host-card-info { position: absolute; bottom: 0; left: 0; right: 0; padding: 1.25rem; background: linear-gradient(transparent, rgba(15,23,42,0.85)); }
.host-name { font-family: var(--font-heading); font-size: 0.95rem; font-weight: 700; color: #fff; }
.host-role { font-size: 0.7rem; color: rgba(255,255,255,0.6); margin-top: 2px; }

/* ─── CTA SECTION ────────────────────────────────────────── */
.dark-cta-section { background: var(--blue-dark); padding: 7rem 0; position: relative; overflow: hidden; }
.dark-cta-section::before { content: ''; position: absolute; top: -40%; left: 50%; transform: translateX(-50%); width: 600px; height: 600px; background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 65%); pointer-events: none; }
.dark-cta-inner { position: relative; z-index: 1; text-align: center; max-width: 680px; margin: 0 auto; }
.dark-cta-title { font-family: var(--font-display); font-size: clamp(2.5rem, 6vw, 5.5rem); line-height: 1; font-weight: 800; letter-spacing: -0.035em; color: #fff; margin-bottom: 1.25rem; }
.dark-cta-title em { font-style: normal; color: rgba(255,255,255,0.75); }

/* Consult form */
.consult-form { display: flex; gap: 0; max-width: 460px; margin: 2rem auto 0; border-radius: 999px; overflow: hidden; border: 1px solid rgba(255,255,255,0.2); }
.consult-input { flex: 1; padding: 0.875rem 1.25rem; border: none; background: rgba(255,255,255,0.1); color: #fff; font-size: 0.9rem; outline: none; }
.consult-input::placeholder { color: rgba(255,255,255,0.45); }
.consult-btn { padding: 0.875rem 1.5rem; background: #fff; color: var(--blue-dark); font-size: 0.8rem; font-weight: 700; border: none; cursor: pointer; transition: var(--t1); white-space: nowrap; }
.consult-btn:hover { background: var(--bg-soft); }

/* ─── WHY SECTION ────────────────────────────────────────── */
.why-section { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.why-left { padding: 5rem 4rem 5rem 0; border-right: 1px solid var(--border); }
.why-right { padding: 5rem 0 5rem 4rem; }
.why-items { display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; }
.why-item { display: flex; align-items: flex-start; gap: 1.25rem; padding: 1.5rem; border-bottom: 1px solid var(--border); transition: var(--t1); cursor: default; }
.why-item:last-child { border-bottom: none; }
.why-item:hover { background: var(--blue-dim); }
.why-item-num { font-family: var(--font-display); font-size: 2rem; line-height: 1; color: var(--blue); flex-shrink: 0; width: 40px; font-weight: 800; }
.why-item-title { font-family: var(--font-heading); font-size: 0.9rem; font-weight: 700; color: var(--ink); margin-bottom: 0.3rem; }
.why-item-desc { font-size: 0.82rem; color: var(--muted); line-height: 1.65; }
@media(max-width:900px) {
  .why-section { grid-template-columns: 1fr; }
  .why-left { border-right: none; border-bottom: 1px solid var(--border); padding: 3rem 0; }
  .why-right { padding: 3rem 0; }
}

/* ─── TESTIMONIALS ───────────────────────────────────────── */
.testimonial-strip { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem; }
.tcard {
  padding: 2.25rem; background: var(--white);
  border: 1px solid var(--border); border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
  transition: transform 0.4s var(--ease), box-shadow 0.4s ease;
  position: relative; overflow: hidden;
}
.tcard::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform 0.4s ease; border-radius: 0 0 16px 16px; }
.tcard:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(0,0,0,0.08); }
.tcard:hover::after { transform: scaleX(1); }
.tcard-quote { font-size: 3rem; color: var(--blue); line-height: 0.8; margin-bottom: 1rem; opacity: 0.2; font-family: Georgia, serif; }
.tcard-text { font-size: 0.88rem; line-height: 1.8; color: var(--muted); margin-bottom: 1.5rem; }
.tcard-meta { display: flex; align-items: center; gap: 0.75rem; }
.tcard-avatar { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--blue-dark)); display: flex; align-items: center; justify-content: center; font-family: var(--font-heading); font-weight: 700; color: #fff; font-size: 0.8rem; flex-shrink: 0; }
.tcard-name { font-family: var(--font-heading); font-weight: 700; font-size: 0.88rem; color: var(--ink); }
.tcard-role { font-size: 0.7rem; color: var(--blue); font-weight: 600; }
.tcard-inst { font-size: 0.68rem; color: var(--muted-lt); }
@media(max-width:900px) { .testimonial-strip { grid-template-columns: 1fr; } }

/* ─── BLOG CARDS ─────────────────────────────────────────── */
.blog-strip { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem; }
.bcard {
  overflow: hidden; display: flex; flex-direction: column;
  background: var(--white); border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
  transition: transform 0.4s var(--ease), box-shadow 0.4s ease;
}
.bcard:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(0,0,0,0.08); }
.bcard-img { aspect-ratio: 16/9; overflow: hidden; position: relative; background: var(--bg-soft); }
.bcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.55s var(--ease); }
.bcard-img-inner { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: var(--bg-soft); }
.bcard:hover .bcard-img img { transform: scale(1.05); }
.bcard-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.bcard-cat { display: inline-block; font-size: 0.62rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue); margin-bottom: 0.5rem; }
.bcard-title { font-family: var(--font-heading); font-size: 1rem; font-weight: 700; color: var(--ink); line-height: 1.3; flex: 1; margin-bottom: 0.875rem; transition: var(--t1); }
.bcard:hover .bcard-title { color: var(--blue); }
.bcard-foot { display: flex; align-items: center; justify-content: space-between; padding-top: 0.75rem; border-top: 1px solid var(--border); font-size: 0.72rem; color: var(--muted-lt); }
.bcard-read { display: flex; align-items: center; gap: 0.3rem; font-size: 0.78rem; font-weight: 600; color: var(--blue); }
@media(max-width:900px) { .blog-strip { grid-template-columns: 1fr; } }

/* ─── BLOG PAGES ─────────────────────────────────────────── */
.blog-hero { background: var(--bg-soft); padding: calc(var(--bar-h) + var(--nav-h) + 4rem) 0 4rem; color: var(--ink); text-align: center; }
.blog-page-top { padding-top: calc(var(--bar-h) + var(--nav-h)); }
.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem; }
.blog-card {
  overflow: hidden; display: flex; flex-direction: column;
  background: var(--white); border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
  transition: transform 0.4s var(--ease), box-shadow 0.4s ease;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(0,0,0,0.08); }
.blog-card-img { aspect-ratio: 16/9; overflow: hidden; background: var(--bg-soft); }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.55s var(--ease); }
.blog-card:hover .blog-card-img img { transform: scale(1.05); }
.blog-card-img-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: var(--bg-soft); }
.blog-card-img-placeholder i { font-size: 2rem; color: var(--muted-lt); }
.blog-card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.blog-card-category { display: inline-block; font-size: 0.62rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--blue); margin-bottom: 0.5rem; }
.blog-card-title { font-family: var(--font-heading); font-size: 1rem; font-weight: 700; color: var(--ink); line-height: 1.3; flex: 1; margin-bottom: 0.875rem; transition: var(--t1); }
.blog-card:hover .blog-card-title { color: var(--blue); }
.blog-card-excerpt { font-size: 0.83rem; color: var(--muted); line-height: 1.7; margin-bottom: 0.875rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.blog-card-meta { display: flex; align-items: center; justify-content: space-between; font-size: 0.72rem; color: var(--muted-lt); padding-top: 0.875rem; border-top: 1px solid var(--border); }
.blog-card-read { display: flex; align-items: center; gap: 0.3rem; font-size: 0.78rem; font-weight: 600; color: var(--blue); }
.blog-filter-btn { padding: 0.4rem 1rem; font-size: 0.75rem; font-weight: 600; background: transparent; color: var(--muted); border: 1px solid var(--border); cursor: pointer; transition: var(--t1); border-radius: 999px; }
.blog-filter-btn.active, .blog-filter-btn:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.blog-filters { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.blog-post-body { color: var(--muted); line-height: 1.85; font-size: 1.02rem; }
.blog-post-body h2 { font-family: var(--font-heading); font-size: 1.6rem; font-weight: 700; color: var(--ink); margin: 2rem 0 0.875rem; }
.blog-post-body h3 { font-family: var(--font-heading); font-size: 1.25rem; font-weight: 600; color: var(--ink); margin: 1.5rem 0 0.75rem; }
.blog-post-body p { margin-bottom: 1.25rem; }
.blog-post-body ul, .blog-post-body ol { margin: 1rem 0 1.5rem 1.5rem; }
.blog-post-body li { margin-bottom: 0.5rem; }
.blog-post-body blockquote { border-left: 3px solid var(--blue); padding: 1rem 1.5rem; background: var(--blue-dim); margin: 1.5rem 0; font-style: italic; color: var(--blue-dark); border-radius: 0 8px 8px 0; }
@media(max-width:900px) { .blog-grid { grid-template-columns: 1fr; } }

/* ─── CONTACT SECTION ────────────────────────────────────── */
.contact-section { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--border); }
.contact-left { padding: 4rem 4rem 4rem 0; border-right: 1px solid var(--border); }
.contact-right { padding: 4rem 0 4rem 4rem; }
@media(max-width:900px) {
  .contact-section { grid-template-columns: 1fr; }
  .contact-left { border-right: none; border-bottom: 1px solid var(--border); padding: 3rem 0; }
  .contact-right { padding: 3rem 0; }
}
.contact-form-field {
  width: 100%; padding: 0.85rem 1rem;
  border: 1px solid var(--border); border-radius: 10px;
  background: var(--bg-soft); color: var(--ink);
  font-size: 0.9rem; font-family: var(--font-body); outline: none;
  transition: border-color 0.2s, box-shadow 0.2s; display: block; margin-bottom: 0.875rem;
}
.contact-form-field:focus { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-dim); }
.contact-form-field::placeholder { color: var(--muted-lt); }

/* Form */
.form-group { margin-bottom: 1rem; }
.form-label { display: block; font-size: 0.78rem; font-weight: 600; color: var(--ink-3); margin-bottom: 0.4rem; }
.form-input, .form-textarea, .form-select {
  width: 100%; padding: 0.85rem 1rem;
  border: 1px solid var(--border); border-radius: 10px;
  background: var(--bg-soft); color: var(--ink);
  font-size: 0.9rem; font-family: var(--font-body);
  outline: none; transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
}
.form-input:focus, .form-textarea:focus, .form-select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-dim); }
.form-input::placeholder, .form-textarea::placeholder { color: var(--muted-lt); }
.form-textarea { resize: vertical; min-height: 110px; }
.form-error { color: var(--danger); font-size: 0.78rem; margin-top: 0.3rem; }

/* ─── STATS BAR ──────────────────────────────────────────── */
.stats-row { background: var(--white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 0; }
.stats-inner { display: grid; grid-template-columns: repeat(4,1fr); }
.stat-block { padding: 2rem 1.5rem; text-align: center; border-right: 1px solid var(--border); transition: background 0.2s; }
.stat-block:last-child { border-right: none; }
.stat-block:hover { background: var(--bg-soft); }
.stat-block .num { font-family: var(--font-display); font-size: 2.75rem; color: var(--ink); line-height: 1; margin-bottom: 0.25rem; font-weight: 800; }
.stat-block .num .accent { color: var(--blue); }
.stat-block .lbl { font-size: 0.72rem; color: var(--muted); font-weight: 500; text-transform: uppercase; letter-spacing: 0.06em; }
@media(max-width:640px) { .stats-inner { grid-template-columns: repeat(2,1fr); } }

/* ─── PAGE HERO (inner pages) ────────────────────────────── */
.page-top { padding-top: calc(var(--bar-h) + var(--nav-h)); }
.page-hero, .counsel-hero, .contact-hero, .blog-hero-pg {
  background: var(--bg-soft);
  padding: calc(var(--bar-h) + var(--nav-h) + 4.5rem) 0 4.5rem;
  color: var(--ink);
  position: relative;
  overflow: hidden;
}
.page-hero::before, .counsel-hero::before, .contact-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(29,78,216,0.06) 0%, transparent 65%);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }

/* ─── PACKAGES ───────────────────────────────────────────── */
.pkg-card, .package-card, .pkg-plan-card {
  border: 1px solid var(--border); border-radius: 16px; padding: 2rem;
  background: var(--white);
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
  transition: transform 0.4s var(--ease), box-shadow 0.4s ease, border-color 0.2s;
  display: flex; flex-direction: column;
}
.pkg-card:hover, .package-card:hover, .pkg-plan-card:hover { 
  border-color: var(--blue); transform: translateY(-5px); box-shadow: 0 20px 40px rgba(0,0,0,0.08); 
}
.pkg-card.popular, .package-card.featured, .pkg-plan-card.featured { 
  border-color: var(--blue); background: var(--white);
  box-shadow: 0 8px 32px rgba(29,78,216,0.12);
}
.pkg-badge { 
  display: inline-block; background: var(--blue); color: #fff; font-size: 0.62rem; font-weight: 700; padding: 3px 10px; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.75rem; border-radius: 999px; 
}

/* ─── CARDS & UI ─────────────────────────────────────────── */
.card {
  background: var(--white); border: 1px solid var(--border); border-radius: 16px;
  padding: 1.75rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
  transition: transform 0.4s var(--ease), box-shadow 0.4s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(0,0,0,0.07); }
.card-feature {
  background: var(--white); border: 1px solid var(--border); border-radius: 16px;
  padding: 1.75rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
  transition: transform 0.4s var(--ease), box-shadow 0.4s ease, border-color 0.2s;
}
.card-feature:hover { border-color: var(--blue); transform: translateY(-4px); box-shadow: 0 16px 36px rgba(0,0,0,0.07); }
.card-feature h4 { font-family: var(--font-heading); font-size: 1rem; font-weight: 700; color: var(--ink); margin: 1rem 0 0.75rem; }
.card-feature p { font-size: 0.88rem; color: var(--muted); line-height: 1.7; }
.icon-circle { width: 48px; height: 48px; background: var(--blue-dim); display: flex; align-items: center; justify-content: center; border-radius: 12px; border: 1px solid rgba(29,78,216,0.15); margin-bottom: 0.75rem; }
.icon-circle i { color: var(--blue); font-size: 1.1rem; }

/* Badges */
.badge { display: inline-flex; align-items: center; padding: 2px 8px; font-size: 0.68rem; font-weight: 600; border-radius: 999px; letter-spacing: 0.03em; }
.badge-red, .badge-teal { background: var(--blue-dim); color: var(--blue); border: 1px solid rgba(29,78,216,0.15); }
.badge-navy { background: var(--bg-soft); color: var(--ink-3); border: 1px solid var(--border); }
.badge-yellow { background: rgba(245,158,11,0.1); color: #b45309; border: 1px solid rgba(245,158,11,0.2); }
.badge-blue { background: var(--blue-dim); color: var(--blue-dark); border: 1px solid rgba(29,78,216,0.15); }
.badge-green { background: rgba(22,163,74,0.1); color: #15803d; border: 1px solid rgba(22,163,74,0.15); }

/* Alerts */
.alert { display: flex; align-items: flex-start; gap: 0.875rem; padding: 1rem 1.25rem; border-radius: 10px; font-size: 0.875rem; line-height: 1.65; margin: 1rem 0; }
.alert i { flex-shrink: 0; margin-top: 0.1rem; }
.alert-info { background: var(--blue-dim); border-left: 3px solid var(--blue); color: var(--blue-dark); }
.alert-info i { color: var(--blue); }
.alert-success { background: rgba(22,163,74,0.08); border-left: 3px solid #16a34a; color: #15803d; }
.alert-success i { color: #16a34a; }
.alert-warning { background: rgba(245,158,11,0.08); border-left: 3px solid #d97706; color: #b45309; }
.alert-warning i { color: #d97706; }
.alert-danger { background: rgba(220,38,38,0.08); border-left: 3px solid #dc2626; color: #b91c1c; }
.alert-danger i { color: #dc2626; }

/* Tables */
.ms-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
.ms-table th { background: var(--bg-soft); padding: 0.875rem 1rem; text-align: left; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-3); border-bottom: 1px solid var(--border); }
.ms-table td { padding: 0.875rem 1rem; border-bottom: 1px solid var(--border); color: var(--ink-3); vertical-align: top; }
.ms-table tr:hover td { background: var(--bg-soft); }
.reservation-table-wrap { overflow-x: auto; }

/* ─── AUTH ───────────────────────────────────────────────── */
.auth-page-body { min-height: 100vh; background: var(--bg-soft); }

.auth-page {
  display: flex; min-height: 100vh; width: 100%;
}
.auth-left {
  flex: 1; background: var(--ink); color: var(--white);
  padding: 4rem; display: flex; flex-direction: column; justify-content: center;
  position: relative; overflow: hidden;
}
.auth-left::before {
  content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
  background: radial-gradient(circle, rgba(29,78,216,0.15) 0%, transparent 50%); pointer-events: none;
}
.auth-left-features {
  display: grid; gap: 1.5rem; margin-top: 3rem;
}
.auth-feature-item {
  display: flex; align-items: flex-start; gap: 1rem;
}
.auth-feature-icon {
  width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center; color: var(--blue-lt); flex-shrink: 0;
}
.auth-right {
  flex: 1; background: var(--bg-soft); display: flex; align-items: center; justify-content: center;
  padding: 4rem 2rem;
}
.auth-box {
  width: 100%; max-width: 440px; background: var(--white); border: 1px solid var(--border); border-radius: 20px;
  padding: 3rem 2.5rem; box-shadow: 0 10px 40px rgba(0,0,0,0.04);
}
@media(max-width:900px) {
  .auth-page { flex-direction: column; }
  .auth-left { display: none; } /* Hide left panel on mobile to focus on login */
  .auth-right { padding: 2rem 1rem; }
  .auth-box { padding: 2rem 1.5rem; }
}

/* ─── MISC / COMPAT ──────────────────────────────────────── */
.institute-card {
  background: var(--white); border: 1px solid var(--border); border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
  transition: transform 0.4s var(--ease), box-shadow 0.4s ease, border-color 0.2s;
}
.institute-card:hover { border-color: var(--blue); transform: translateY(-4px); box-shadow: 0 16px 36px rgba(0,0,0,0.07); }
.sp-form-card { background: var(--white); border: 1px solid var(--border); border-radius: 16px; padding: 2.25rem; }
.sp-form-card select:focus, .sp-form-card input:focus { border-color: var(--blue); outline: none; }

.feature-panel { display: none; }
.feature-panel.active { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.feature-panel-desc ul { display: flex; flex-direction: column; gap: 0.6rem; margin: 1.25rem 0; }
.feature-panel-desc li { display: flex; align-items: center; gap: 0.75rem; font-size: 0.9rem; color: var(--muted); }
.feature-panel-desc li i { color: var(--blue); font-size: 0.8rem; }
.feature-panel-preview { background: var(--bg-soft); border: 1px solid var(--border); border-radius: 12px; padding: 1.5rem; }
.preview-bar { display: flex; align-items: center; justify-content: space-between; background: var(--white); border: 1px solid var(--border); border-radius: 8px; padding: 0.75rem 1rem; margin-bottom: 0.5rem; }
.preview-header { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted-lt); margin-bottom: 1rem; }

.exam-tab { padding: 0.4rem 0.9rem; font-size: 0.78rem; font-weight: 600; background: var(--bg-soft); color: var(--muted); border: 1px solid var(--border); cursor: pointer; transition: var(--t1); border-radius: 999px; }
.exam-tab.active { background: var(--blue); color: #fff; border-color: var(--blue); }
.exam-tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; }
.calc-form { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.5rem; }
.calc-field label { display: block; font-size: 0.72rem; font-weight: 600; color: var(--ink-3); margin-bottom: 0.4rem; }
.calc-field select, .calc-field input { width: 100%; padding: 0.65rem 0.875rem; border: 1px solid var(--border); border-radius: 8px; font-size: 0.9rem; font-family: var(--font-body); color: var(--ink); background: var(--bg-soft); outline: none; transition: border-color 0.2s, box-shadow 0.2s; -webkit-appearance: none; }
.calc-field select:focus, .calc-field input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-dim); }
.calc-result { background: var(--bg-soft); border: 1px solid var(--border); border-radius: 12px; padding: 1.25rem 1.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.calc-result-text { color: var(--muted); font-size: 0.875rem; }
.calc-result-count { font-family: var(--font-display); font-size: 2.5rem; color: var(--ink); line-height: 1; font-weight: 800; }
.calc-result-count span { color: var(--blue); }
.rank-calc { background: var(--white); border: 1px solid var(--border); border-radius: 16px; padding: 2rem; }
.counsel-badge { display: inline-flex; align-items: center; gap: 6px; background: var(--blue-dim); border: 1px solid rgba(29,78,216,0.15); padding: 4px 12px; font-size: 0.72rem; font-weight: 600; color: var(--blue); border-radius: 999px; margin-bottom: 1rem; }

/* ─── FAQ ACCORDION ──────────────────────────────────────── */
.faq-item { border: 1px solid var(--border); border-radius: 12px; margin-bottom: 0.75rem; overflow: hidden; }
.faq-item:last-child { border-bottom: 1px solid var(--border); }
.faq-btn { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 1.1rem 1.5rem; background: var(--white); font-size: 0.92rem; font-weight: 600; color: var(--ink); text-align: left; cursor: pointer; transition: background 0.15s; }
.faq-btn:hover { background: var(--bg-soft); }
.faq-btn i { flex-shrink: 0; color: var(--blue); transition: transform 0.3s; }
.faq-item.open .faq-btn i { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.faq-item.open .faq-answer { max-height: 400px; }
.faq-answer-inner { padding: 1rem 1.5rem 1.25rem; font-size: 0.9rem; color: var(--muted); line-height: 1.75; border-top: 1px solid var(--border); }

/* ─── EXPLORE SECTION ────────────────────────────────────── */
.explore-section { position: relative; overflow: hidden; min-height: 480px; display: flex; align-items: stretch; background: var(--blue-dark); }
.explore-bg { position: absolute; inset: 0; }
.explore-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.15; }
.explore-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 5rem 2.5rem; align-items: center; gap: 4rem; }
.explore-left { color: rgba(255,255,255,0.75); font-size: 0.95rem; line-height: 1.8; }
.explore-left h3 { font-family: var(--font-heading); font-weight: 700; font-size: 1.1rem; color: #fff; margin-bottom: 1rem; }
.explore-right { text-align: right; }
.explore-big { font-family: var(--font-display); font-size: clamp(4rem,10vw,9rem); line-height: 0.9; font-weight: 800; }
.explore-big .line1 { color: #fff; }
.explore-big .line2 { color: rgba(255,255,255,0.5); }
@media(max-width:900px) { .explore-inner { grid-template-columns: 1fr; } .explore-right { text-align: left; } }

/* ─── SPONSOR SECTION ────────────────────────────────────── */
.sponsor-section { background: var(--bg-soft); padding: 5rem 0; text-align: center; }

/* ─── FOOTER ─────────────────────────────────────────────── */
.footer { background: var(--bg-soft); color: var(--muted); border-top: 1px solid var(--border); }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 3rem; padding: 4rem 0 3rem; border-bottom: 1px solid var(--border); }
.footer-brand-name { font-family: var(--font-heading); font-size: 1.1rem; font-weight: 800; letter-spacing: -0.01em; margin-bottom: 0.75rem; display: flex; align-items: center; gap: 0.6rem; color: var(--ink); }
.footer-brand-name .teal, .footer-brand-name .red { color: var(--blue); }
.footer-logo-img { width: 30px; height: 30px; object-fit: contain; }
.footer-tagline { font-size: 0.82rem; color: var(--muted); line-height: 1.7; margin-bottom: 1.25rem; max-width: 260px; }
.footer-contact-row { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1.25rem; }
.footer-contact-item { display: flex; align-items: center; gap: 0.6rem; font-size: 0.78rem; color: var(--muted); }
.footer-contact-item i { color: var(--blue); width: 14px; flex-shrink: 0; }
.footer-contact-item a { color: var(--muted); transition: var(--t1); }
.footer-contact-item a:hover { color: var(--blue); }
.footer-socials { display: flex; gap: 0.5rem; }
.footer-social-btn { width: 34px; height: 34px; background: var(--white); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--muted); transition: var(--t1); font-size: 0.82rem; border-radius: 50%; box-shadow: 0 2px 8px rgba(0,0,0,0.04); }
.footer-social-btn:hover { background: var(--blue); color: #fff; border-color: var(--blue); transform: translateY(-2px); }
.footer-col h5 { font-family: var(--font-body); font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink); margin-bottom: 1.1rem; }
.footer-links { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-link { font-size: 0.82rem; color: var(--muted); transition: var(--t1); }
.footer-link:hover { color: var(--blue); padding-left: 3px; }
.footer-bottom { padding: 1.25rem 0; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer-bottom-copy { font-size: 0.72rem; color: var(--muted-lt); }
.footer-bottom-links { display: flex; gap: 1.5rem; align-items: center; flex-wrap: wrap; }
.footer-bottom-link { font-size: 0.72rem; color: var(--muted-lt); transition: var(--t1); }
.footer-bottom-link:hover { color: var(--blue); }
.footer-bottom-socials { display: flex; gap: 0.875rem; }
.footer-bottom-social { font-size: 1rem; color: var(--muted-lt); transition: var(--t1); }
.footer-bottom-social:hover { color: var(--blue); }
@media(max-width:1100px) { .footer-top { grid-template-columns: 1fr 1fr 1fr; } }
@media(max-width:640px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-bottom { flex-direction: column; text-align: center; } }

/* ─── WHATSAPP FAB ───────────────────────────────────────── */
.fab-wa {
  position: fixed; bottom: 28px; right: 28px;
  width: 56px; height: 56px;
  background: #25d366; color: #fff;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 28px; z-index: 900;
  box-shadow: 0 8px 24px rgba(37,211,102,0.35);
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease;
}
.fab-wa:hover { transform: scale(1.1) translateY(-2px); color: #fff; box-shadow: 0 12px 32px rgba(37,211,102,0.45); }

/* ─── CALLBACK MODAL ─────────────────────────────────────── */
.modal-overlay { position: fixed; inset: 0; background: rgba(15,23,42,0.45); backdrop-filter: blur(4px); z-index: 2000; display: none; align-items: center; justify-content: center; padding: 1.5rem; }
.modal-overlay.open { display: flex; }
.modal-box { background: var(--white); border-radius: 20px; padding: 2.5rem; max-width: 480px; width: 100%; box-shadow: 0 32px 80px rgba(0,0,0,0.15); animation: scaleIn 0.35s var(--ease); }
.modal-close { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--bg-soft); color: var(--muted); font-size: 0.9rem; transition: var(--t1); }
.modal-close:hover { background: var(--border); color: var(--ink); }

/* ─── DASHBOARD ──────────────────────────────────────────── */
.dashboard-page { padding-top: calc(var(--bar-h) + var(--nav-h) + 2.5rem); min-height: 100vh; background: var(--bg-soft); }

/* ─── SCROLL ANIMATIONS (Intersection Observer) ──────────── */
.section-animate { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.section-animate.in-view { opacity: 1; transform: translateY(0); }

/* ─── SECTION SPACING FIX ────────────────────────────────── */
/* Reduce excessive section padding */
.section { padding: 4rem 0; }
.section-sm { padding: 2.5rem 0; }
.section-header { margin-bottom: 2.75rem; }

/* ─── INNER HERO (packages, about, contact inner pages) ──── */
.inner-hero {
  background: linear-gradient(135deg, var(--bg-soft) 0%, var(--bg-muted) 100%);
  padding: calc(var(--bar-h) + var(--nav-h) + 3.5rem) 0 3.5rem;
  color: var(--ink);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.inner-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 60% 0%, rgba(96,165,250,0.15) 0%, transparent 65%);
  pointer-events: none;
}
.inner-hero .container { position: relative; z-index: 1; }
.inner-hero .eyebrow { color: rgba(255,255,255,0.55); }
.inner-hero .eyebrow::before { background: rgba(255,255,255,0.3); }
.inner-hero .display-xl {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: #fff;
  margin-top: 0.75rem;
}
.inner-hero p { color: rgba(255,255,255,0.65); }

/* ─── BUTTON VARIANTS (missing) ─────────────────────────── */
.btn-navy { background: var(--ink); color: #fff; box-shadow: 0 4px 16px rgba(15,23,42,0.2); }
.btn-navy:hover { background: var(--ink-2); color: #fff; box-shadow: 0 8px 24px rgba(15,23,42,0.25); }
.btn-red { background: var(--blue); color: #fff; box-shadow: 0 4px 16px var(--blue-glow); }
.btn-red:hover { background: var(--blue-dark); color: #fff; box-shadow: 0 8px 24px var(--blue-glow); }

/* ─── PRICING PAGE STYLES ────────────────────────────────── */
.pricing-tabs {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}
.pricing-tab {
  padding: 0.5rem 1.25rem;
  font-size: 0.82rem; font-weight: 600;
  background: var(--bg-soft);
  color: var(--muted);
  border: 1.5px solid var(--border);
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.pricing-tab.active, .pricing-tab:hover {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}
.pricing-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.05);
}
.pricing-card.featured {
  border-color: var(--blue);
  box-shadow: 0 8px 32px rgba(29,78,216,0.12);
}
.pricing-exam-badge {
  display: inline-block;
  font-size: 0.7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--blue); margin-bottom: 0.4rem;
}
.pricing-name {
  font-family: var(--font-display);
  font-size: 1.85rem; font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--ink); margin-bottom: 0.5rem;
}
.pricing-desc { font-size: 0.9rem; color: var(--muted); line-height: 1.6; }
.pricing-price {
  font-family: var(--font-display);
  font-size: 3rem; font-weight: 800;
  color: var(--ink); line-height: 1;
}
.pricing-price .currency { font-size: 1.5rem; vertical-align: super; margin-right: 2px; }
.pricing-price .original { font-size: 1.25rem; color: var(--muted-lt); text-decoration: line-through; margin-left: 0.75rem; font-weight: 400; }
.pricing-features { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 2rem; }
.pricing-feat-item {
  display: flex; align-items: flex-start; gap: 0.75rem;
  font-size: 0.9rem; color: var(--ink-3); line-height: 1.5;
}
.pricing-feat-item i { color: var(--blue); margin-top: 3px; flex-shrink: 0; }
.pricing-divider { border: none; border-top: 1px solid var(--border); margin: 1.5rem 0; }
.pricing-addon {
  font-size: 0.85rem; color: var(--muted);
  background: var(--bg-soft);
  border-radius: 10px; padding: 0.875rem 1rem;
  margin-bottom: 1.5rem; line-height: 1.6;
}
.pricing-addon strong { color: var(--ink); display: block; margin-bottom: 0.25rem; }
.badge-gold {
  background: rgba(245,158,11,0.1);
  color: #b45309;
  border: 1px solid rgba(245,158,11,0.2);
}

/* ─── SECTION TITLE & EYEBROW VISIBILITY ─────────────────── */
/* Ensure these always show correctly */
.section-header .eyebrow,
.section-header .section-eyebrow,
.section-header .section-title,
.section-header p,
.editorial-left .eyebrow,
.editorial-left .section-title,
.why-left .eyebrow,
.why-left .section-title {
  opacity: 1 !important;
  transform: none !important;
}

/* ─── SPACING TIGHTEN ────────────────────────────────────── */
.potshow-hero + * { margin-top: 0; }
.marquee-bar { margin-top: 0; }

/* ─── PACKAGES PLAN CARDS ────────────────────────────────── */
.pkg-plan-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 0 4px 24px rgba(0,0,0,0.04);
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1), box-shadow 0.4s ease, border-color 0.2s;
  display: flex;
  flex-direction: column;
}
.pkg-plan-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.09);
}
.pkg-plan-card .btn-block { margin-top: auto; }
.pkg-plan-card img:hover { transform: scale(1.04); }

@media(max-width:1024px) {
  div[style*="grid-template-columns:repeat(3,1fr)"] {
    grid-template-columns: repeat(2,1fr) !important;
  }
}
@media(max-width:640px) {
  div[style*="grid-template-columns:repeat(3,1fr)"] {
    grid-template-columns: 1fr !important;
  }
}

/* ═══════════════════════════════════════════════════════════
   AUTH PAGES — Login · Register · Forgot Password
   ═══════════════════════════════════════════════════════════ */
.auth-page {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}
.auth-left {
  background: linear-gradient(145deg, var(--ink) 0%, #1e3a8a 100%);
  padding: 3rem 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.auth-left::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(96,165,250,0.15) 0%, transparent 65%);
  pointer-events: none;
}
.auth-left::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(29,78,216,0.2) 0%, transparent 65%);
  pointer-events: none;
}
.auth-left > div { position: relative; z-index: 1; }

.auth-left-features { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1.25rem; }
.auth-feature-item { display: flex; align-items: flex-start; gap: 0.875rem; }
.auth-feature-icon {
  width: 36px; height: 36px;
  background: rgba(96,165,250,0.15);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: #60a5fa;
  font-size: 0.875rem;
  flex-shrink: 0;
}

.auth-right {
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.auth-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.5rem;
  width: 100%;
  max-width: 440px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.06);
}

/* Auth link colours — use blue not red */
.auth-box a { color: var(--blue); }
.auth-box a:hover { color: var(--blue-dark); }

/* Auth button */
.auth-box .btn-red,
.auth-box .btn-teal { background: var(--blue); color: #fff; }
.auth-box .btn-red:hover,
.auth-box .btn-teal:hover { background: var(--blue-dark); }

/* Remember me checkbox */
input[type="checkbox"] { accent-color: var(--blue); }

/* Responsive auth */
@media(max-width: 768px) {
  .auth-page { grid-template-columns: 1fr; }
  .auth-left { display: none; }
  .auth-right { padding: 1.5rem; align-items: flex-start; padding-top: 3rem; }
  .auth-box { box-shadow: none; border: none; }
}

/* ═══════════════════════════════════════════════════════════
   GLOBAL COLOUR FIXES
   Ensure all text using var(--black) / var(--dark) shows correctly
   ═══════════════════════════════════════════════════════════ */
/* Any element still using dark theme variable names → map to light theme */
[style*="color:var(--black)"] { color: var(--ink) !important; }
[style*="background:var(--dark)"] { background: var(--bg-soft) !important; }
[style*="color:white"]:not(button):not(.btn):not([class*="inner-hero"]):not([class*="potshow-hero"]):not(.auth-left *):not(.badge-red):not(.badge-green):not(.dashboard-layout *) {
  color: var(--ink) !important;
}

/* Force all body text to be dark */
body, p, span, div, li, td, th, label {
  color: inherit;
}
/* Fix any leftover invisible-text elements */
.section-eyebrow, .eyebrow { color: var(--blue) !important; opacity: 1 !important; }
.section-title, h1, h2, h3, h4, h5, h6 { color: var(--ink); }
.body-md, .body-sm { color: var(--ink-3); }

/* Fix display-lg used on white bg */
.display-xl, .display-lg, .display-md {
  color: var(--ink);
  opacity: 1;
}

/* Ensure stats-inline numbers are visible */
.stat-inline-num { color: var(--ink) !important; }
.stat-inline-lbl { color: var(--muted) !important; }

/* Platform bar icons/labels */
.platform-logo-item i, .platform-logo-item span { color: var(--muted) !important; }

/* Ensure all buttons have proper text */
.btn { color: inherit; }
.btn-teal, .btn-blue, .btn-primary { background: var(--blue); color: #fff !important; }
.btn-black { background: var(--ink); color: #fff !important; }
.btn-white { background: #fff; color: var(--ink) !important; }
.btn-outline { background: transparent; color: var(--ink); border: 1.5px solid var(--border); }
.btn-outline:hover { background: var(--bg-soft); border-color: var(--ink); }
.btn-outline-white { background: transparent; color: var(--ink); border: 1.5px solid var(--border); }

/* Fix form inputs */
.form-input, input[type="text"], input[type="email"], input[type="password"], textarea, select {
  color: var(--ink) !important;
  background: var(--white) !important;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  font-size: 16px;
  width: 100%;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-input:focus, input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(29,78,216,0.12);
}
.form-label, label { color: var(--ink-2) !important; font-weight: 600; font-size: 0.85rem; margin-bottom: 0.4rem; display: block; }
.form-error { color: #dc2626; font-size: 0.8rem; margin-top: 0.35rem; }
.form-group { margin-bottom: 1.25rem; }

/* ═══════════════════════════════════════════════════════════
   DASHBOARD PAGES
   ═══════════════════════════════════════════════════════════ */
.dashboard-layout {
  display: flex;
  min-height: calc(100vh - var(--nav-h) - var(--bar-h));
  background: var(--bg-soft);
}
.sidebar {
  width: 280px;
  background: var(--ink);
  color: var(--white);
  padding: 2rem 1.5rem;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--border);
}
.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.sidebar-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 10px;
  transition: all 0.2s;
}
.sidebar-link:hover {
  background: rgba(255,255,255,0.1);
  color: var(--white);
}
.sidebar-link.active {
  background: var(--blue);
  color: var(--white);
  font-weight: 600;
}
.sidebar-link i {
  font-size: 1.1rem;
  width: 20px;
  text-align: center;
}
.dashboard-main {
  flex: 1;
  padding: 2.5rem 3rem;
  background: var(--bg-soft);
  overflow-y: auto;
}
@media (max-width: 1024px) {
  .dashboard-layout { flex-direction: column; }
  .sidebar { width: 100%; border-right: none; border-bottom: 1px solid var(--border); }
  .dashboard-main { padding: 1.5rem; }
}

/* ═══════════════════════════════════════════════════════════
   BLOG FIXES
   ═══════════════════════════════════════════════════════════ */
.blog-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}
.blog-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: var(--bg-muted);
}
.blog-card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.blog-card-category {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}
.blog-card-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.75rem;
  line-height: 1.4;
  text-decoration: none;
}
.blog-card-title:hover {
  color: var(--blue);
}
.blog-card-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--muted);
}
.blog-card-img-placeholder {
  width: 100%;
  height: 200px;
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--blue-dim);
  border-bottom: 1px solid var(--border);
}

/* ═══════════════════════════════════════════════════════════
   PREDICTOR - MINIMAL CURVED AESTHETIC
   ═══════════════════════════════════════════════════════════ */
.predictor-hero {
  padding: 4rem 0 6rem;
  background: var(--bg-soft);
  position: relative;
  border-bottom: 1px solid var(--border);
}
.predictor-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  padding: 3rem;
  box-shadow: 0 10px 40px rgba(0,0,0,0.04);
  transition: all 0.3s ease;
}
.exam-tabs {
  display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 2rem;
  background: var(--off-white);
  padding: 0.35rem;
  border-radius: 999px;
  display: inline-flex;
}
.exam-tab {
  padding: 0.6rem 1.25rem; border-radius: 999px; background: transparent;
  border: none; font-size: 0.85rem; font-weight: 700;
  color: var(--muted); cursor: pointer; transition: all 0.2s ease;
  font-family: var(--font-display);
}
.exam-tab:hover { color: var(--ink); }
.exam-tab.active { background: var(--white); color: var(--ink); box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
.predictor-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-bottom: 2rem;
}
.predictor-field { display: flex; flex-direction: column; gap: 0.6rem; }
.predictor-field label { font-size: 0.8rem; font-weight: 700; color: var(--muted); text-transform: uppercase; font-family: var(--font-display); letter-spacing: 0.05em; }
.predictor-field select, .predictor-field input[type="number"], .predictor-field input[type="text"], .predictor-field input[type="range"] {
  padding: 0.875rem 1rem; border: 1px solid var(--border); border-radius: 0.75rem;
  font-size: 0.95rem; background: var(--off-white); color: var(--ink) !important; font-weight: 600;
  transition: all 0.2s ease; width: 100%; box-shadow: none;
}
.predictor-field select:focus, .predictor-field input:focus {
  outline: none; background: #fff; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}
.predictor-result {
  background: var(--off-white); border: 1px solid var(--border); border-radius: 1rem; padding: 2rem; margin-top: 2rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
}
.predictor-count { font-family: var(--font-display); font-size: 3rem; font-weight: 800; color: var(--ink); line-height: 1; }
.predictor-count .highlight { color: var(--teal); font-size: 1.25rem; text-transform: uppercase; }
.lock-overlay {
  position: relative; border: 1px solid var(--border); border-radius: 1rem; background: var(--white); overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}
.lock-overlay .blur-content { filter: blur(4px); opacity: 0.4; padding: 1.5rem; background: var(--white); }
.lock-gate {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.85); z-index: 2; padding: 2rem; border-radius: 1rem;
}
@media (max-width: 768px) {
  .predictor-grid { grid-template-columns: 1fr; }
  .predictor-card { padding: 1.5rem; }
}

/* -------------------------------------------------------------------------- */
/* Pagination Custom Styles */
/* -------------------------------------------------------------------------- */
nav[role="navigation"] {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2rem;
    width: 100%;
}
nav[role="navigation"] svg {
    width: 1.25rem;
    height: 1.25rem;
}
nav[role="navigation"] > div {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}
nav[role="navigation"] a, 
nav[role="navigation"] span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 0.5rem;
    border-radius: 8px;
    border: 1px solid var(--border);
    color: var(--ink);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    background: var(--white);
    transition: all 0.2s ease;
}
nav[role="navigation"] a:hover {
    background: var(--bg-soft);
    border-color: var(--blue-dim);
    color: var(--blue);
}
nav[role="navigation"] span[aria-current="page"] {
    background: var(--blue);
    color: var(--white);
    border-color: var(--blue);
}
nav[role="navigation"] span[aria-disabled="true"] {
    opacity: 0.5;
    cursor: not-allowed;
    background: var(--bg-soft);
}
.hidden {
    display: none !important;
}

/* Hide the default showing '1 to 10 of x results' text on mobile/desktop if it conflicts */
nav[role="navigation"] > div.hidden.sm\:flex-1.sm\:flex.sm\:items-center.sm\:justify-between {
    display: flex !important;
    width: 100%;
    justify-content: space-between;
}
@media (max-width: 640px) {
    nav[role="navigation"] > div.hidden.sm\:flex-1.sm\:flex.sm\:items-center.sm\:justify-between {
        flex-direction: column;
        gap: 1rem;
    }
}

/* ─── MOBILE OPTIMIZATION FIXES ─── */
@media (max-width: 560px) {
    .announce-bar { display: none !important; }
    .potshow-hero-title, .hero-title { font-size: 2.5rem !important; }
    .display-xl { font-size: 2.25rem !important; }
    .display-lg { font-size: 1.85rem !important; }
    .card, .ep-card, .why-item { padding: 1.25rem; }
    .nav-brand-text { font-size: 0.8rem; }
    .hero-bottom { gap: 2rem; grid-template-columns: 1fr; }
    .hero-sidebar { text-align: left; }
    .testimonial-strip, .blog-strip, .ep-grid { grid-template-columns: 1fr !important; }
    .potshow-hero-subtitle-row { gap: 1rem; }
    .stats-inline { flex-direction: column; gap: 1rem; }
    .stats-inner { grid-template-columns: 1fr; }
    .host-grid, .grid-2, .grid-3, .grid-4, .blog-grid, .predictor-grid { grid-template-columns: 1fr !important; }
    .auth-page, .contact-section, .why-section, .editorial-split { display: flex !important; flex-direction: column !important; }
}
