/* CRACKALL Platform Stylesheet - dark AI-SaaS look */
:root {
  --bg-dark: #02040a;
  --bg-card: #081026;
  --bg-card-hover: #0d1b3e;
  --bg-card-subtle: #040816;
  --text-main: #FFFFFF;
  --text-muted: #93a4c8;
  --text-dim: #5c6e94;
  
  --primary-teal: #3b82f6;
  --primary-teal-glow: rgba(37, 99, 235, 0.45);
  --primary-blue: #1d4ed8;
  --accent-cyan: #38bdf8;
  --accent-gold: #fbbf24;
  --accent-red: #ef4444;
  
  --gradient-brand: linear-gradient(135deg, #1d4ed8 0%, #3b82f6 50%, #60a5fa 100%);
  --gradient-glow: linear-gradient(90deg, #1d4ed8, #3b82f6, #38bdf8);
  
  --border-subtle: rgba(59, 130, 246, 0.18);
  --border-focus: rgba(96, 165, 250, 0.65);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Outfit", system-ui, -apple-system, sans-serif;
  --font-heading: "George-SemiBold", "Outfit", sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.5;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Form controls do not inherit fonts by default: without this every <button>, <input>,
   <select> and <textarea> falls back to Arial / monospace next to Outfit text. */
button, input, select, textarea { font-family: inherit; }

/* Scroll lock while a dialog is open. Whoever opens a modal adds "modal-open" to <html>
   (nav.js, app.js, page scripts); the :has() lines cover dialogs opened without that class. */
html.modal-open, html.modal-open body { overflow: hidden; }
html:has(.custom-modal-backdrop.is-active),
html:has(.modal-overlay.is-active),
html:has(.video-modal-backdrop.is-active) { overflow: hidden; }

h1 { letter-spacing: -0.03em; text-wrap: balance; }

/* Background Atmosphere */
.bg-ambient {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: 
    radial-gradient(circle at 15% 15%, rgba(29, 78, 216, 0.22) 0%, transparent 45%),
    radial-gradient(circle at 85% 20%, rgba(37, 99, 235, 0.18) 0%, transparent 50%),
    radial-gradient(circle at 50% 85%, rgba(30, 58, 138, 0.25) 0%, transparent 55%),
    #02040a;
}

/* Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header & Nav */
header.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(2, 4, 10, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(59, 130, 246, 0.2);
  z-index: 100;
  transition: all 0.3s ease;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.5rem;
}

.brand-logo {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-right: 2.25rem;
  flex-shrink: 0;
}

.brand-logo span,
.brand-logo .brand-all {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  list-style: none;
  flex-wrap: nowrap;
}

.nav-links > li {
  flex-shrink: 0;
  white-space: nowrap;
}

.nav-link, button.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  padding: 0.5rem 0.2rem;
  background: none;
  border: none;
  font-family: inherit;
  outline: none;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}

.nav-link:focus-visible, button.nav-link:focus-visible, .nav-toggle:focus-visible, .nav-actions .btn:focus-visible {
  outline: 2px solid #38bdf8;
  outline-offset: 3px;
  border-radius: 6px;
}

#btnMegamenu {
  white-space: nowrap !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.4rem !important;
  flex-shrink: 0 !important;
  cursor: pointer;
}

.nav-link:hover, .nav-link.active {
  color: #FFFFFF;
}

.nav-link.badge-grad {
  background: var(--gradient-glow);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 3s linear infinite;
  font-weight: 700;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
  margin-left: 1rem; /* PRICING never touches Sign in / the signed-in chip */
}
.nav-actions .btn { white-space: nowrap; }

/* Highlighted nav link modifier (kept so active page stands out without colour noise) */
.nav-link-accent, .nav-link-accent-soft { font-weight: 700; }
.nav-mobile-only { display: none; } /* "Sign in" entry shown only inside the phone menu */

/* Signed-in chip: nav.js swaps the Sign-in button for this, Try Free stays */
.nav-user-chip { display: inline-flex; align-items: center; gap: 0.5rem; max-width: 230px; }
.nav-user-avatar {
  width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, #38bdf8, #3b82f6);
  display: inline-flex; align-items: center; justify-content: center;
  color: #000; font-weight: 800; font-size: 0.85rem;
}
.nav-user-name { font-size: 0.85rem; color: #f8fafc; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 120px; }
.nav-user-logout {
  background: none; border: 1px solid rgba(255, 255, 255, 0.15); color: #94a3b8;
  font-size: 0.72rem; padding: 0.3rem 0.6rem; border-radius: 999px; cursor: pointer; white-space: nowrap; font-family: inherit;
}
.nav-user-logout:hover { color: #ffffff; border-color: rgba(255, 255, 255, 0.35); }

/* Sign-in modal preview note, checkout success panel, mock-room fallback note */
.auth-preview-note {
  margin: 0.75rem auto 1rem; max-width: 420px; font-size: 0.76rem; line-height: 1.45; color: #fbbf24;
  background: rgba(251, 191, 36, 0.08); border: 1px solid rgba(251, 191, 36, 0.35); border-radius: 10px; padding: 0.5rem 0.75rem;
}
.checkout-success { color: #e2e8f0; font-size: 0.92rem; line-height: 1.55; outline: none; }
.checkout-success p { margin: 0 0 0.75rem; }
.checkout-success .co-success-title { font-size: 1.25rem; font-weight: 800; color: #ffffff; }
.checkout-success code { background: rgba(255, 255, 255, 0.08); padding: 0.1rem 0.4rem; border-radius: 6px; font-size: 0.85em; word-break: break-all; }
.checkout-success .co-success-test { color: #fbbf24; font-size: 0.82rem; }
.checkout-success .co-success-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1rem; }
.checkout-success .co-success-actions .btn { flex: 1 1 100%; justify-content: center; text-decoration: none; white-space: nowrap; }
.feedback-fallback-note {
  background: rgba(251, 191, 36, 0.1); border: 1px solid rgba(251, 191, 36, 0.4); color: #fbbf24;
  padding: 0.5rem 0.75rem; border-radius: 8px; font-size: 0.82rem; margin-bottom: 0.6rem; line-height: 1.45;
}

/* Mobile navigation toggle (shown <= 1180px, see media queries) */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  min-width: 44px;
  height: 44px;
  flex-shrink: 0;
  margin-left: auto;
  margin-right: 0.75rem;
  padding: 0;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: #ffffff;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
header.navbar.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
header.navbar.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
header.navbar.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

a.comm-tool-card { color: inherit; text-decoration: none; }

/* Initials avatar: honest placeholder for people without a real photo yet.
   <div class="avatar-initials" data-initials="SU" aria-label="Subhadeep"></div>
   Size with --avatar-size; hue with --avatar-hue (0-360). */
.avatar-initials {
  --avatar-size: 64px;
  --avatar-hue: 200;
  width: var(--avatar-size);
  height: var(--avatar-size);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 800;
  font-size: calc(var(--avatar-size) * 0.36);
  letter-spacing: 0.02em;
  color: #ffffff;
  background: linear-gradient(135deg, hsl(var(--avatar-hue) 85% 55%), hsl(calc(var(--avatar-hue) + 40) 85% 45%));
  border: 2px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  user-select: none;
}
.avatar-initials::after { content: attr(data-initials); }

/* Pulsing ring while the AI interviewer is speaking (set by app.js) */
.is-speaking {
  animation: speakingPulse 1.1s ease-in-out infinite;
}
@keyframes speakingPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.55); }
  50% { box-shadow: 0 0 0 10px rgba(56, 189, 248, 0); }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-full);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.btn:disabled, .btn[disabled], .btn[aria-disabled="true"] {
  opacity: 0.5;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
  filter: grayscale(0.3);
}

.btn-signin {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  padding: 0.5rem 1.25rem;
  font-size: 0.85rem;
}

.btn-signin:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-primary {
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 50%, #3b82f6 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 22px rgba(37, 99, 235, 0.5);
  border: 1px solid rgba(96, 165, 250, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(37, 99, 235, 0.7);
  background: linear-gradient(135deg, #2563eb 0%, #3b82f6 50%, #60a5fa 100%);
  color: #FFFFFF;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  border: 1px solid var(--border-subtle);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.btn-gradient {
  background: var(--gradient-brand);
  color: #FFFFFF;
  box-shadow: 0 4px 20px rgba(0, 98, 255, 0.35);
}

.btn-gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 98, 255, 0.5);
}

/* Megamenu Dropdown */
.megamenu-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: min(880px, 95vw);
  background: #081026;
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85), 0 0 40px rgba(56, 189, 248, 0.15);
  padding: 1.5rem;
  display: none;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  z-index: 99999;
  animation: fadeInDown 0.25s ease forwards;
  /* .nav-links > li must stay nowrap (header guardrail); the dropdown lives inside that li,
     so its own text has to wrap again or cards and tab descriptions overflow the panel */
  white-space: normal;
}

.megamenu-dropdown.is-open {
  display: grid !important;
}

#btnMegamenu svg {
  transition: transform 0.25s ease;
}

#btnMegamenu.is-active svg {
  transform: rotate(180deg);
}

.megamenu-sidebar {
  border-right: 1px solid var(--border-subtle);
  padding-right: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.megamenu-tab-btn {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-muted);
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: normal;
  width: 100%;
}
.megamenu-tab-btn > div { min-width: 0; }
.megamenu-content { min-width: 0; }

.megamenu-tab-btn:hover {
  background: rgba(255, 255, 255, 0.04);
  color: #FFFFFF;
}

.megamenu-tab-btn.active {
  background: rgba(59, 130, 246, 0.1);
  border-color: rgba(59, 130, 246, 0.3);
  color: #FFFFFF;
}

.megamenu-tab-btn.active .tab-icon {
  color: var(--primary-teal);
}

.megamenu-tab-btn h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.megamenu-tab-btn p {
  font-size: 0.78rem;
  color: var(--text-dim);
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.megamenu-content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.megamenu-search-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 0.4rem 1rem;
}

.megamenu-search-input {
  background: transparent;
  border: none;
  outline: none;
  color: #FFFFFF;
  font-size: 0.9rem;
  width: 100%;
}

.megamenu-roles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.megamenu-empty {
  margin: 0;
  padding: 1rem 0.75rem;
  text-align: center;
  color: #94a3b8;
  font-size: 0.9rem;
  line-height: 1.5;
}
.megamenu-empty a { color: #38bdf8; }
.megamenu-soon {
  display: inline-block;
  vertical-align: middle;
  margin-left: 0.35rem;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  background: rgba(251, 191, 36, 0.15);
  color: #fbbf24;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.role-column h5 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary-teal);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.role-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.role-list li a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.85rem;
  transition: all 0.18s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.25rem 0.4rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.role-list li a:hover {
  background: rgba(56, 189, 248, 0.12);
  color: #38bdf8;
  padding-left: 0.6rem;
}

.role-arrow {
  opacity: 0;
  transform: translateX(-4px);
  transition: all 0.18s ease;
  font-size: 0.8rem;
  color: #38bdf8;
}

.role-list li a:hover .role-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* Communication Tools Grid inside Megamenu */
.comm-tools-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.comm-tool-card {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: var(--radius-md);
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.75rem;
  cursor: pointer;
  transition: all 0.25s ease;
}

.comm-tool-card:hover {
  background: rgba(56, 189, 248, 0.12);
  border-color: #38bdf8;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(56, 189, 248, 0.2);
}

.comm-tool-icon {
  font-size: 1.5rem;
}

.comm-tool-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.comm-tool-card p {
  font-size: 0.8rem;
  color: #94a3b8;
  line-height: 1.4;
}

.btn-tool-go {
  font-size: 0.78rem;
  font-weight: 700;
  color: #38bdf8;
  align-self: flex-start;
}

/* Hero Section */
.hero {
  padding-top: 8rem;
  padding-bottom: 4rem;
  text-align: center;
  position: relative;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.3);
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  color: var(--primary-teal);
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  max-width: 20ch;
  margin: 0 auto 1.25rem;
}

.hero h1 span.gradient-text {
  background: var(--gradient-glow);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 4s linear infinite;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-muted);
  max-width: 60ch;
  margin: 0 auto 2.5rem;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
}

/* 3-Step Section & Live Simulator */
.section-steps {
  padding: 5rem 0;
  position: relative;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.section-title p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.steps-bar-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 3rem;
}

.step-indicator {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-dim);
  font-weight: 600;
  font-size: 0.95rem;
}

.step-indicator.active {
  color: var(--primary-teal);
}

.step-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 12px currentColor;
}

/* Live Interview Showcase Card (from Image 1) */
.live-interview-card {
  background: #11181c;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 50px rgba(59, 130, 246, 0.05);
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  min-height: 480px;
}

.interview-preview-left {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
  background: radial-gradient(circle at 10% 10%, rgba(59, 130, 246, 0.08), transparent 50%);
}

.interview-preview-left h3 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #FFFFFF;
}

.feature-check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feature-check-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #e2e8f0;
  font-size: 1rem;
  font-weight: 500;
}

.feature-check-list li svg {
  color: var(--primary-teal);
  flex-shrink: 0;
}

.interview-stage-preview {
  background: #090d10;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-left: 1px solid var(--border-subtle);
  position: relative;
}

.interview-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.interview-badge-live {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
}

.interview-timer-pill {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 0.25rem 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.interviewer-viewport {
  margin: 1.5rem 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.interviewer-video-box {
  background: #151f25;
  border-radius: var(--radius-md);
  height: 180px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
}

.interviewer-video-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.interviewer-label {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  background: rgba(0, 0, 0, 0.7);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
}

.user-video-box {
  background: #111619;
  border: 1px dashed rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  height: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--text-dim);
}

.waveform-anim {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 24px;
}

.wave-bar {
  width: 3px;
  background: var(--primary-teal);
  border-radius: 99px;
  animation: wave 1s ease-in-out infinite alternate;
}

.wave-bar:nth-child(2) { animation-delay: 0.15s; height: 16px; }
.wave-bar:nth-child(3) { animation-delay: 0.3s; height: 22px; }
.wave-bar:nth-child(4) { animation-delay: 0.45s; height: 12px; }
.wave-bar:nth-child(5) { animation-delay: 0.6s; height: 18px; }

@keyframes wave {
  0% { transform: scaleY(0.3); }
  100% { transform: scaleY(1); }
}

.dialogue-prompt-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  font-size: 0.92rem;
  color: #e2e8f0;
}

/* Modals (Login & Setup) */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  z-index: 200;
  display: none;
  place-items: center;
  padding: 1.5rem;
}

.modal-overlay.is-active {
  display: grid;
  animation: fadeIn 0.25s ease forwards;
}
/* Contract: overlays scroll, cards never exceed the visible height (dvh = with phone URL bar) */
.modal-overlay { overflow-y: auto; overscroll-behavior: contain; }
.modal-overlay > * {
  max-height: calc(100vh - 2rem);
  max-height: calc(100dvh - 2rem);
  overflow-y: auto;
  overscroll-behavior: contain;
}

/* Login Modal - Image 2 */
.login-modal-card {
  background: #081026;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  width: min(840px, 96vw);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.8);
}

.login-form-side {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.login-form-side h2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.btn-google {
  background: #FFFFFF;
  color: #1e293b;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-weight: 600;
  padding: 0.75rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
  cursor: pointer;
  border: none;
}

.divider-text {
  display: flex;
  align-items: center;
  text-align: center;
  color: var(--text-dim);
  font-size: 0.8rem;
  margin-bottom: 1.5rem;
}

.divider-text::before, .divider-text::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.divider-text:not(:empty)::before { margin-right: 0.75rem; }
.divider-text:not(:empty)::after { margin-left: 0.75rem; }

.form-group {
  margin-bottom: 1.25rem;
  position: relative;
}

.form-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem 0.85rem 2.75rem;
  color: #FFFFFF;
  font-size: 0.95rem;
  outline: none;
}

.form-input:focus {
  border-color: var(--primary-teal);
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

.form-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-dim);
}

.login-info-side {
  background: radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.25), transparent 60%),
              linear-gradient(135deg, #092a2a 0%, #0d1e2e 100%);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.login-info-side h3 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.login-info-side h4 {
  font-size: 1.15rem;
  color: var(--primary-teal);
  margin-bottom: 1.25rem;
}

.login-info-card {
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  color: #e2e8f0;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Interview Setup Modal - Image 3 */
.setup-modal-card {
  background: #081026;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  width: min(960px, 96vw);
  max-height: 90vh;
  max-height: min(90vh, calc(100dvh - 2rem));
  overflow-y: auto;
  padding: 2rem;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.8);
  position: relative;
}

.setup-modal-header {
  text-align: center;
  margin-bottom: 1.75rem;
}

.setup-modal-header h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #FFFFFF;
}

.setup-modal-header p {
  color: var(--primary-teal);
  font-size: 0.95rem;
  margin-top: 0.25rem;
}

.setup-mode-tabs {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.setup-tab-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 0.5rem 1.4rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.setup-tab-btn.active {
  background: var(--primary-teal);
  color: #000000;
  border-color: var(--primary-teal);
}

.setup-body-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 2rem;
}

.packs-sidebar {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

.packs-sidebar h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.packs-sidebar p {
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-bottom: 1rem;
}

.pack-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.pack-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.85rem;
  font-size: 0.85rem;
}

.pack-item:hover {
  background: rgba(255, 255, 255, 0.08);
}

.pack-btn-add {
  background: rgba(59, 130, 246, 0.15);
  color: var(--primary-teal);
  border: none;
  border-radius: var(--radius-full);
  padding: 0.4rem 0.8rem;
  min-height: 32px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}

.pack-btn-add:hover {
  background: var(--primary-teal);
  color: #000;
}

.setup-form-side {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.field-label {
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 0.45rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pill-group {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.pill-choice {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  border-radius: var(--radius-full);
  padding: 0.5rem 1.15rem;
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pill-choice.active {
  background: var(--primary-teal);
  color: #000000;
  border-color: var(--primary-teal);
  font-weight: 600;
}

.interviewer-selector {
  display: flex;
  gap: 0.85rem;
}

.interviewer-card {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 0.4rem 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.interviewer-card.active {
  background: rgba(59, 130, 246, 0.15);
  border-color: var(--primary-teal);
}

.interviewer-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.premium-banner {
  background: linear-gradient(90deg, #18221e, #141f29);
  border: 1px solid rgba(251, 191, 36, 0.3);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close-btn:hover {
  color: #FFF;
  background: rgba(255, 255, 255, 0.15);
}

/* Anchor jumps (index.html#pricing-section, practice.html#pace) must land below the fixed header */
section[id], #pricing-section, #pace { scroll-margin-top: 5.5rem; }

/* Pricing Section */
.section-pricing {
  padding: 6rem 0;
  background: #090d10;
  position: relative;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
}

.pricing-card {
  background: #12191d;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-4px);
  border-color: rgba(59, 130, 246, 0.4);
}

.pricing-card.featured {
  background: #142023;
  border-color: var(--primary-teal);
  box-shadow: 0 15px 40px rgba(59, 130, 246, 0.15);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-brand);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.25rem 1rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
  max-width: calc(100% - 1.5rem);
  overflow: hidden;
  text-overflow: ellipsis;
}

.pricing-price {
  font-size: 2.75rem;
  font-weight: 800;
  margin: 1.25rem 0 0.5rem;
}

.pricing-features {
  list-style: none;
  margin: 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  flex: 1;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.92rem;
  line-height: 1.5;
  color: #cbd5e1;
}
/* index.html wraps everything after the tick / cross in .pf-text so label + description
   stay one flowing block instead of becoming separate flex columns */
.pricing-features li .pf-text { flex: 1; min-width: 0; }

/* ATS Resume Checker Section */
.section-ats {
  padding: 5rem 0;
}

.ats-card-box {
  background: #081026;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 3rem;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
}

.ats-dropzone {
  border: 2px dashed rgba(59, 130, 246, 0.4);
  background: rgba(59, 130, 246, 0.04);
  border-radius: var(--radius-md);
  padding: 2.5rem 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ats-dropzone:hover {
  background: rgba(59, 130, 246, 0.08);
  border-color: var(--primary-teal);
}

/* Shared site footer (chrome/footer.html, stamped by scripts/apply-chrome.mjs) */
.site-footer {
  background: #040816;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 3.5rem 0 5.5rem; /* room for the floating help button so it never covers the legal links */
}
.pricing-features li .pf-tick { flex: 0 0 1.1em; text-align: center; }
.site-footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.site-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.5rem;
  font-size: 0.9rem;
}
.site-footer-links a,
.site-footer-legal a,
.site-footer-bottom a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s ease;
}
.site-footer-links a:hover,
.site-footer-legal a:hover,
.site-footer-bottom a:hover {
  color: #ffffff;
}
.site-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
  color: #94a3b8;
}
.site-footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Toggle switch (Autopay in the Razorpay modal) */
.switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  cursor: pointer;
  flex-shrink: 0;
}
.switch input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.switch-track {
  position: absolute;
  inset: 0;
  background: #334155;
  border-radius: 24px;
  transition: background 0.25s ease;
}
.switch-track::before {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ffffff;
  transition: transform 0.25s ease;
}
.switch input:checked + .switch-track { background: #38bdf8; }
.switch input:checked + .switch-track::before { transform: translateX(20px); }
.switch input:focus-visible + .switch-track { outline: 2px solid #93c5fd; outline-offset: 2px; }

footer.main-footer {
  background: #000000;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4.5rem 0 2.5rem;
  color: #FFFFFF;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-col h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: #FFFFFF;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-col ul li a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.15s ease;
}

.footer-col ul li a:hover {
  color: #FFFFFF;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
  color: #64748b;
}

/* Floating help / contact button (shared footer, every page that has the footer) */
.floating-help {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 54px;
  height: 54px;
  background: linear-gradient(135deg, #38bdf8, #3b82f6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(56, 189, 248, 0.35);
  color: #041020;
  z-index: 90;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.floating-help:hover {
  transform: scale(1.1);
}

.floating-roadmap-btn {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  background: #081026;
  border: 1px solid rgba(59, 130, 246, 0.4);
  color: #FFFFFF;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  cursor: pointer;
  z-index: 90;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateX(-50%) translateY(0); }
  to { opacity: 1; transform: translateX(-50%) translateY(10px); }
}

@keyframes shimmer {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .megamenu-dropdown { width: 95vw; grid-template-columns: 1fr; }
  .megamenu-sidebar { border-right: none; border-bottom: 1px solid var(--border-subtle); padding-bottom: 1rem; }
  .megamenu-roles-grid { grid-template-columns: repeat(2, 1fr); }
  .live-interview-card { grid-template-columns: 1fr; }
  .ats-card-box { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* Desktop header, every width above the hamburger breakpoint. The container is capped at
   1280px (1232px of content), so a wider screen never gives the header more room: the seven
   links plus Sign in / signed-in chip plus Try Free only fit with this tighter spacing.
   (This used to apply below 1340px only, which pushed Try Free off-screen above it.) */
.nav-links { gap: 0.7rem; }
.nav-link, button.nav-link { font-size: 0.74rem; letter-spacing: 0.02em; }
.brand-logo { margin-right: 1rem; font-size: 1.5rem; }
.nav-actions { gap: 0.5rem; }
.nav-actions .btn { padding: 0.5rem 0.75rem; font-size: 0.78rem; }
@media (min-width: 1181px) {
  /* tall megamenu on a short laptop window stays reachable */
  .megamenu-dropdown { max-height: calc(100vh - 5.5rem); overflow-y: auto; overscroll-behavior: contain; }
}

/* Mobile navigation: hamburger + stacked menu (also tablets and small laptops).
   1180 leaves room for the two header buttons without wrapping them onto two lines. */
@media (max-width: 1180px) {
  .nav-toggle { display: flex; }
  .nav-actions { margin-left: 0; }
  .nav-mobile-only { display: block; }
  .nav-actions .nav-user-chip { display: none; } /* the phone menu carries "Sign out (name)" */
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgb(4, 8, 22); /* opaque: page text must not ghost through the open menu */
    border-bottom: 1px solid rgba(56, 189, 248, 0.25);
    padding: 0.5rem 1.25rem 1rem;
    max-height: calc(100vh - 4.5rem);
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  }
  header.navbar.nav-open .nav-links { display: flex; }
  .nav-links > li { white-space: normal; }
  .nav-link, button.nav-link {
    width: 100%;
    padding: 0.85rem 0.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.85rem;
  }
  .nav-actions .btn-signin { display: none; }
  .megamenu-dropdown {
    position: static;
    transform: none;
    animation: none; /* the desktop fade-in ends on translateX(-50%), which would shift it off-screen here */
    width: 100%;
    box-shadow: none;
    padding: 1rem;
    margin: 0.5rem 0 0.75rem;
    grid-template-columns: 1fr;
  }
  .megamenu-roles-grid { grid-template-columns: 1fr 1fr; }
  .megamenu-search-bar { flex-direction: column; align-items: stretch; gap: 0.5rem; }
  .megamenu-search-input { min-height: 40px; font-size: 1rem; }
  .megamenu-search-bar .btn { min-height: 44px; }
  .role-list li a { padding: 0.6rem 0.5rem; min-height: 40px; }
  .role-list { gap: 0.2rem; }
  .comm-tool-card { min-height: 44px; }
  .modal-close-btn { width: 40px; height: 40px; }
}

@media (max-width: 768px) {
  .megamenu-roles-grid { grid-template-columns: 1fr; }
  .login-modal-card { grid-template-columns: 1fr; }
  .login-info-side { display: none; }
  .setup-body-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
/* Further tablet/phone overrides live at the END of this file so they win over the
   component rules declared later in the cascade (same specificity, later source order). */

/* ======================================================== */
/* LANDING-PAGE SECTIONS & COMPONENTS (career levels, showcase, lab) */
/* ======================================================== */

/* Career Levels Section */
.section-career-levels {
  padding: 5rem 0;
  position: relative;
}

.career-level-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.career-tab-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 0.65rem 1.5rem;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.career-tab-btn:hover,
.career-tab-btn.active {
  background: var(--gradient-brand);
  color: #FFFFFF;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.25);
}

.career-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.career-card {
  background: #081026;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.career-card:hover {
  transform: translateY(-5px);
  border-color: rgba(59, 130, 246, 0.4);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.career-card .badge-target {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary-teal);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.6rem;
}

.career-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #FFFFFF;
}

.career-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 1.75rem;
}

/* Practice by Domain Grid (9 Domains) */
.section-domains {
  padding: 5rem 0;
  position: relative;
}

.domain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.domain-card {
  background: #081026;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  transition: all 0.25s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: relative;
}

.domain-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-teal);
  background: #141f24;
}

.domain-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.domain-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(59, 130, 246, 0.1);
  color: var(--primary-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
}

.domain-card h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #FFFFFF;
}

.domain-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.domain-card .arrow-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-teal);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: auto;
}

/* Practice by Interview Type Grid */
.section-interview-types {
  padding: 5rem 0;
}

.interview-type-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.interview-type-card {
  background: #081026;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.interview-type-card:hover {
  transform: translateY(-4px);
  border-color: rgba(59, 130, 246, 0.4);
}

.interview-type-card .type-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  background: rgba(59, 130, 246, 0.15);
  color: var(--primary-teal);
  margin-bottom: 1rem;
}

/* Roadmap Section */
.section-roadmap {
  padding: 5rem 0;
  background: radial-gradient(circle at 50% 50%, rgba(0, 98, 255, 0.08), transparent 60%);
}

.roadmap-card-wrapper {
  background: #10161a;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 3rem;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.readiness-score-box {
  background: #0d1215;
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
}

.readiness-circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 6px solid var(--primary-teal);
  border-right-color: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  transform: rotate(-35deg);
}

.readiness-circle-inner {
  transform: rotate(35deg);
}

.roadmap-steps-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.roadmap-step-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--primary-teal);
}

/* English Coach / Spoken Practice Section */
.section-english-coach {
  padding: 5rem 0;
}

.english-coach-banner {
  background: linear-gradient(135deg, #0e171b 0%, #112028 100%);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* Social Proof & Metrics */
.section-stats {
  padding: 4rem 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.015);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item h3 {
  font-size: 3rem;
  font-weight: 800;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.35rem;
}

.stat-item p {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
}

/* Reviews & Testimonials */
.section-reviews {
  padding: 5rem 0;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.review-card {
  background: #081026;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.review-author-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.review-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
}

/* FAQ Accordion */
.section-faq {
  padding: 5rem 0;
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: #081026;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.2s ease;
}

.faq-item.active {
  border-color: rgba(59, 130, 246, 0.4);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: #FFFFFF;
  text-align: left;
  padding: 1.35rem 1.75rem;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--font-body);
}

.faq-chevron {
  transition: transform 0.25s ease;
  color: var(--primary-teal);
  flex-shrink: 0;
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1), padding 0.3s ease;
  color: #cbd5e1;
  font-size: 0.95rem;
  line-height: 1.6;
  padding: 0 1.75rem;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 1.75rem 1.5rem;
}

/* ==========================================================================
   CRACKALL 8 - Master Roadmap & Notebook Designs Additions
   ========================================================================== */

/* Focus Areas Badges on Hero */
.hero-focus-areas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  margin: 1.5rem auto 2.25rem;
  max-width: 900px;
}

.focus-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(30, 41, 59, 0.7);
  border: 1px solid rgba(59, 130, 246, 0.35);
  border-radius: var(--radius-full);
  padding: 0.4rem 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #e2e8f0;
  backdrop-filter: blur(8px);
  transition: all 0.2s ease;
}

.focus-pill:hover {
  background: rgba(59, 130, 246, 0.2);
  border-color: var(--primary-teal);
  transform: translateY(-2px);
  color: #38bdf8;
}

/* Faculty & Orientation Showcase */
.section-faculty {
  padding: 5rem 0;
  background: radial-gradient(circle at 50% 0%, rgba(59, 130, 246, 0.08), transparent 70%);
}

.faculty-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.faculty-grid > * { flex: 1 1 200px; max-width: 280px; min-width: 0; }

.faculty-card {
  background: #081026;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.25rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.faculty-card:hover {
  transform: translateY(-5px);
  border-color: rgba(56, 189, 248, 0.5);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.faculty-avatar-wrap {
  position: relative;
  width: 84px;
  height: 84px;
  margin: 0 auto 1rem;
}

.faculty-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(56, 189, 248, 0.4);
}

.faculty-verified {
  position: absolute;
  bottom: 0;
  right: 0;
  background: #3b82f6;
  color: #fff;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  border: 2px solid #081026;
}

.faculty-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.faculty-role {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary-teal);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.faculty-specialty {
  font-size: 0.84rem;
  color: #94a3b8;
  line-height: 1.4;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.faculty-badge-pill {
  display: inline-block;
  background: rgba(56, 189, 248, 0.12);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
}

/* Orientation Timetable Bar */
.orientation-timetable {
  background: rgba(255, 253, 248, 0.94);
  border: 1px solid rgba(22, 30, 46, 0.12);
  border-radius: var(--radius-md);
  padding: 1.25rem 2rem;
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-around;
  gap: 1.25rem 1.5rem;
}

.timetable-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.timetable-icon {
  font-size: 1.6rem;
  background: rgba(212, 72, 53, 0.1);
  border: 1px solid rgba(212, 72, 53, 0.22);
  padding: 0.5rem;
  border-radius: var(--radius-sm);
}

/* P.A.C.E. Articulation Framework */
.section-articulation {
  padding: 5rem 0;
  background: #060b18;
}

.pace-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.pace-card {
  background: #0b142c;
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  position: relative;
  transition: all 0.3s ease;
}

.pace-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-teal);
}

.pace-letter {
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--primary-teal);
  line-height: 1;
  margin-bottom: 0.5rem;
  display: block;
}

.pace-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.pace-desc {
  font-size: 0.88rem;
  color: #94a3b8;
  line-height: 1.5;
}

/* Mouth Workout & Tongue Twister Drills */
.workout-gym-box {
  background: linear-gradient(135deg, #091226, #0e1e3e);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  margin-top: 3rem;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.twister-display {
  background: rgba(15, 23, 42, 0.8);
  border: 1px dashed rgba(56, 189, 248, 0.4);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin: 1.25rem 0;
  text-align: center;
}

.twister-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.4;
  letter-spacing: 0.02em;
}

/* Social Experiment / Reels Showcase */
.section-reels {
  padding: 5rem 0;
  background: radial-gradient(circle at 50% 50%, rgba(168, 85, 247, 0.08), transparent 70%);
}

.reels-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.reel-card {
  background: #081026;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  transition: all 0.3s ease;
  cursor: pointer;
}

.reel-card:hover {
  transform: translateY(-6px);
  border-color: rgba(168, 85, 247, 0.5);
  box-shadow: 0 12px 30px rgba(168, 85, 247, 0.2);
}

.reel-thumbnail {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.reel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
}

.reel-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  padding: 0.25rem 0.65rem;
  font-size: 0.72rem;
  font-weight: 600;
  backdrop-filter: blur(4px);
}

.reel-play-icon {
  width: 44px;
  height: 44px;
  background: rgba(59, 130, 246, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto;
  color: #fff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

/* Career / 'Chance to do job with us' Section */
.section-careers-banner {
  padding: 4rem 0;
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.2), rgba(15, 23, 42, 0.8));
  border-top: 1px solid rgba(59, 130, 246, 0.25);
  border-bottom: 1px solid rgba(59, 130, 246, 0.25);
}

.careers-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

/* Modals (Sign-in & Razorpay Checkout) */
.custom-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.custom-modal-backdrop.is-active {
  display: flex;
}

.custom-modal-card {
  background: #0b1329;
  border: 1px solid rgba(56, 189, 248, 0.4);
  border-radius: var(--radius-lg);
  max-width: 480px;
  width: 100%;
  padding: 2.25rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.75);
  position: relative;
  animation: modalFadeIn 0.25s ease-out;
  /* never taller than the visible screen: the card scrolls, so the close button,
     the fields and the Pay / Sign in button are always reachable (phones, short laptops) */
  margin: auto;
  max-height: calc(100vh - 2rem);
  max-height: calc(100dvh - 2rem);
  overflow-y: auto;
  overscroll-behavior: contain;
}

@keyframes modalFadeIn {
  from { opacity: 0; transform: scale(0.96) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
}

.modal-close-btn:hover {
  color: #ffffff;
}
.modal-close-btn:focus-visible { outline: 2px solid #38bdf8; outline-offset: 2px; }
/* 40px target on every screen. Sticky, not absolute: the card is the scroll container, so
   the X stays pinned to the card's top-right corner while a tall checkout or sign-in form
   scrolls under it. The negative margins lift it into the card padding and give it no height
   in the flow (40px - 1.5rem top = 1rem, taken back by the bottom margin), so the content
   starts where it did before. */
.custom-modal-card .modal-close-btn {
  position: sticky;
  top: -1.5rem;
  right: auto;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: -1.5rem -1.5rem -1rem auto;
  border-radius: 50%;
  z-index: 3;
  background: rgba(11, 19, 41, 0.92);
}
.custom-modal-card .modal-close-btn:hover { background: rgba(255, 255, 255, 0.1); }

/* Auth Modal Tabs */
.auth-tabs {
  display: flex;
  gap: 0.5rem;
  background: rgba(15, 23, 42, 0.8);
  padding: 0.35rem;
  border-radius: var(--radius-sm);
  margin: 1.25rem 0;
}

.auth-tab-btn {
  flex: 1;
  background: none;
  border: none;
  color: #94a3b8;
  padding: 0.6rem;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
}

.auth-tab-btn.active {
  background: #2563eb; /* white label like the other primary buttons, 5.2:1 contrast */
  color: #ffffff;
  font-weight: 700;
}
.auth-tab-btn:focus-visible { outline: 2px solid #38bdf8; outline-offset: 2px; }

.auth-input-group {
  margin-bottom: 1.25rem;
  text-align: left;
}

.auth-input-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #cbd5e1;
  margin-bottom: 0.4rem;
}

.auth-input {
  width: 100%;
  background: #081026;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  color: #ffffff;
  font-size: 0.95rem;
}

.auth-input:focus {
  outline: none;
  border-color: var(--primary-teal);
}

.google-auth-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: #ffffff;
  color: #1e293b;
  border: none;
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 1.25rem;
  transition: all 0.2s ease;
}

.google-auth-btn:hover {
  background: #f1f5f9;
}

/* Razorpay Checkout Modal Styles */
.checkout-plan-summary {
  background: #081026;
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  margin: 1.25rem 0;
}

.autopay-switch-box {
  background: rgba(30, 58, 138, 0.25);
  border: 1px solid rgba(59, 130, 246, 0.35);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 1rem 0 1.5rem;
}

.price-strikethrough {
  text-decoration: line-through;
  color: #ef4444;
  font-size: 1.15rem;
  font-weight: 600;
  margin-right: 0.5rem;
}


/* ==========================================================================
   Visual Demo Showcase & High-Conversion Media Styles
   ========================================================================== */

/* Visual Product Demo Container */
.section-visual-demo {
  padding: 4.5rem 0 5rem;
  background: radial-gradient(circle at 50% 30%, rgba(59, 130, 246, 0.12), transparent 70%);
}

.demo-tabs-bar {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.demo-tab-btn {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(59, 130, 246, 0.25);
  color: #94a3b8;
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.25s ease;
}

.demo-tab-btn:hover, .demo-tab-btn.active {
  background: var(--gradient-brand);
  color: #000000;
  border-color: transparent;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(56, 189, 248, 0.35);
}

.demo-screen-mockup {
  background: #070e20;
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 50px rgba(56, 189, 248, 0.15);
  position: relative;
}

.demo-screen-header {
  background: #040816;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.demo-screen-dots {
  display: flex;
  gap: 0.4rem;
}

.screen-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.demo-stage-body {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  min-height: 440px;
}

@media (max-width: 900px) {
  .demo-stage-body {
    grid-template-columns: 1fr;
  }
}

.demo-video-pane {
  background: #020617;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem;
  background-size: cover;
  background-position: center;
}

.demo-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(239, 68, 68, 0.9);
  color: #ffffff;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  width: fit-content;
}

.demo-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffffff;
  animation: pulseDot 1.4s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.9); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.5; }
  100% { transform: scale(0.9); opacity: 1; }
}

.demo-candidate-pip {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 120px;
  height: 90px;
  border-radius: var(--radius-md);
  border: 2px solid rgba(56, 189, 248, 0.6);
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
}

.demo-candidate-pip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.demo-wave-box {
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.soundwave-bars {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 24px;
}

.soundwave-bar {
  width: 3px;
  background: var(--primary-teal);
  border-radius: 2px;
  animation: waveBar 1.2s infinite ease-in-out;
}

.soundwave-bar:nth-child(1) { height: 8px; animation-delay: 0.1s; }
.soundwave-bar:nth-child(2) { height: 16px; animation-delay: 0.2s; }
.soundwave-bar:nth-child(3) { height: 24px; animation-delay: 0.3s; }
.soundwave-bar:nth-child(4) { height: 14px; animation-delay: 0.4s; }
.soundwave-bar:nth-child(5) { height: 20px; animation-delay: 0.5s; }
.soundwave-bar:nth-child(6) { height: 10px; animation-delay: 0.6s; }
.soundwave-bar:nth-child(7) { height: 22px; animation-delay: 0.7s; }

@keyframes waveBar {
  0%, 100% { transform: scaleY(0.4); }
  50% { transform: scaleY(1.2); }
}

.demo-controls-pane {
  background: #081126;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.demo-score-chip {
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

/* Before vs After Visual Comparison Section */
.section-before-after {
  padding: 4.5rem 0;
  background: #050a17;
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2.5rem;
}

@media (max-width: 768px) {
  .comparison-grid {
    grid-template-columns: 1fr;
  }
}

.comparison-card {
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  position: relative;
}

.comparison-card.before {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.06), rgba(15, 23, 42, 0.9));
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.comparison-card.after {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.1), rgba(15, 23, 42, 0.9));
  border: 1px solid rgba(56, 189, 248, 0.4);
  box-shadow: 0 10px 40px rgba(56, 189, 248, 0.15);
}

.comparison-badge {
  display: inline-block;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.comparison-badge.bad {
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
}

.comparison-badge.good {
  background: rgba(56, 189, 248, 0.2);
  color: #38bdf8;
}

.comparison-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.comparison-item {
  display: flex;
  gap: 0.75rem;
  font-size: 0.95rem;
  line-height: 1.45;
  color: #cbd5e1;
}

/* Company Placements Marquee */
.section-company-marquee {
  padding: 3rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(15, 23, 42, 0.4);
  text-align: center;
}

.company-logo-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  margin-top: 1.5rem;
}

.company-pill {
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  padding: 0.45rem 1.25rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: #e2e8f0;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
}

.company-pill:hover {
  background: rgba(56, 189, 248, 0.15);
  border-color: rgba(56, 189, 248, 0.4);
  transform: translateY(-2px);
  color: #ffffff;
}

/* Brief Core Pillars Section */
.section-pillars-brief {
  padding: 4.5rem 0;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

@media (max-width: 992px) {
  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .pillars-grid {
    grid-template-columns: 1fr;
  }
}

.pillar-card {
  background: #081026;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
}

.pillar-card:hover {
  transform: translateY(-5px);
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.pillar-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: var(--primary-teal);
}

.pillar-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.pillar-desc {
  font-size: 0.88rem;
  color: #94a3b8;
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

/* Video Modal */
.video-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  z-index: 999999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.video-modal-backdrop.is-active {
  display: flex;
}

.video-modal-card {
  background: #070e20;
  border: 1px solid rgba(56, 189, 248, 0.4);
  border-radius: var(--radius-lg);
  max-width: 860px;
  width: 100%;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9);
  position: relative;
}

.video-modal-inner {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  background: #000;
}

.video-modal-inner iframe, .video-modal-inner video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}


/* Visual Feature Cards with Photos */
.visual-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.visual-feature-card {
  background: #081026;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.visual-feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(56, 189, 248, 0.5);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}

.visual-feature-img-wrap {
  position: relative;
  height: 160px;
  overflow: hidden;
}

.visual-feature-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.visual-feature-card:hover .visual-feature-img {
  transform: scale(1.05);
}

.visual-feature-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.35);
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
}

.visual-feature-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.visual-feature-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.visual-feature-desc {
  font-size: 0.88rem;
  color: #94a3b8;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.visual-feature-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-size: 0.84rem;
  color: #cbd5e1;
}

.visual-feature-bullets li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.visual-feature-bullets li span {
  color: var(--primary-teal);
  font-weight: 800;
}


/* Big 4 Core Skills Attraction Cards */
.hero-skills-showcase {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  max-width: 1080px;
  margin: 2.25rem auto 2.5rem;
  text-align: left;
}

@media (max-width: 900px) {
  .hero-skills-showcase {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 540px) {
  .hero-skills-showcase {
    grid-template-columns: 1fr;
  }
}

.skill-showcase-card {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.75));
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: var(--radius-md);
  padding: 1.4rem 1.25rem;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.skill-showcase-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-teal);
  box-shadow: 0 15px 35px rgba(56, 189, 248, 0.25);
}

.skill-showcase-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient-brand);
}

.skill-icon-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.skill-icon {
  font-size: 1.75rem;
}

.skill-tag {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.skill-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.35rem;
  letter-spacing: -0.01em;
}

.skill-desc {
  font-size: 0.82rem;
  color: #94a3b8;
  line-height: 1.45;
}

/* Big Hero Target Exams Strip */
.target-exams-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  margin: 1.75rem auto;
  max-width: 960px;
}


/* ==========================================================================
   Ultra-Attractive Visual Upgrades (No Lonely Wrap, Infinite Marquee, Skill Glows)
   ========================================================================== */

/* Enhanced Skills Cards with Distinct Color Identifiers */
.skill-showcase-card.card-confidence {
  border-color: rgba(245, 158, 11, 0.35);
  background: linear-gradient(145deg, rgba(30, 24, 15, 0.85), rgba(15, 23, 42, 0.9));
}
.skill-showcase-card.card-confidence::before {
  background: linear-gradient(90deg, #f59e0b, #fbbf24);
}
.skill-showcase-card.card-confidence:hover {
  border-color: #f59e0b;
  box-shadow: 0 15px 35px rgba(245, 158, 11, 0.25);
}

.skill-showcase-card.card-speaking {
  border-color: rgba(56, 189, 248, 0.35);
  background: linear-gradient(145deg, rgba(12, 33, 56, 0.85), rgba(15, 23, 42, 0.9));
}
.skill-showcase-card.card-speaking::before {
  background: linear-gradient(90deg, #38bdf8, #00c896);
}
.skill-showcase-card.card-speaking:hover {
  border-color: #38bdf8;
  box-shadow: 0 15px 35px rgba(56, 189, 248, 0.25);
}

.skill-showcase-card.card-communication {
  border-color: rgba(168, 85, 247, 0.35);
  background: linear-gradient(145deg, rgba(35, 15, 55, 0.85), rgba(15, 23, 42, 0.9));
}
.skill-showcase-card.card-communication::before {
  background: linear-gradient(90deg, #a855f7, #c084fc);
}
.skill-showcase-card.card-communication:hover {
  border-color: #a855f7;
  box-shadow: 0 15px 35px rgba(168, 85, 247, 0.25);
}

.skill-showcase-card.card-interview {
  border-color: rgba(34, 197, 94, 0.35);
  background: linear-gradient(145deg, rgba(15, 38, 26, 0.85), rgba(15, 23, 42, 0.9));
}
.skill-showcase-card.card-interview::before {
  background: linear-gradient(90deg, #22c55e, #4ade80);
}
.skill-showcase-card.card-interview:hover {
  border-color: #22c55e;
  box-shadow: 0 15px 35px rgba(34, 197, 94, 0.25);
}

/* ======================================================== */
/* Highlighted Target Exam Tracks (Notebook 6-Track System) */
/* ======================================================== */
.tracks-highlight-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.15), rgba(0, 200, 150, 0.15));
  border: 1px solid rgba(56, 189, 248, 0.45);
  color: #38bdf8;
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.25);
  margin-bottom: 0.25rem;
}

.target-exams-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.85rem;
  max-width: 1160px;
  margin: 1rem auto 2.25rem;
}

@media (max-width: 1100px) {
  .target-exams-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.85rem;
  }
}

@media (max-width: 640px) {
  .target-exams-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
}

.exam-track-pill {
  border-radius: var(--radius-full);
  padding: 0.75rem 0.6rem;
  min-width: 0;
  font-size: 0.84rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  white-space: nowrap;
  backdrop-filter: blur(14px);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  outline: none;
  border: none;
}

.exam-track-pill span.pill-icon {
  font-size: 1.15rem;
  line-height: 1;
  transition: transform 0.25s ease;
}

.exam-track-pill:hover span.pill-icon {
  transform: scale(1.25) rotate(6deg);
}

/* 1. CAT (Interview) - Luminous Amber / Gold */
.exam-track-pill.pill-cat {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.22), rgba(180, 83, 9, 0.12));
  border: 1.5px solid #fbbf24;
  color: #fef08a;
  box-shadow: 0 4px 18px rgba(245, 158, 11, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}
.exam-track-pill.pill-cat:hover {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.4), rgba(217, 119, 6, 0.25));
  border-color: #fef08a;
  color: #ffffff;
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 8px 30px rgba(245, 158, 11, 0.6), 0 0 20px rgba(251, 191, 36, 0.5);
}

/* 2. PSU (Interview) - Radiant Fire / Orange */
.exam-track-pill.pill-psu {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.22), rgba(194, 65, 12, 0.12));
  border: 1.5px solid #fb923c;
  color: #ffedd5;
  box-shadow: 0 4px 18px rgba(249, 115, 22, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}
.exam-track-pill.pill-psu:hover {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.4), rgba(234, 88, 12, 0.25));
  border-color: #ffedd5;
  color: #ffffff;
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 8px 30px rgba(249, 115, 22, 0.6), 0 0 20px rgba(249, 115, 22, 0.5);
}

/* 3. GD / GT - Vivid Emerald / Mint */
.exam-track-pill.pill-gd {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.22), rgba(4, 120, 87, 0.12));
  border: 1.5px solid #34d399;
  color: #d1fae5;
  box-shadow: 0 4px 18px rgba(16, 185, 129, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}
.exam-track-pill.pill-gd:hover {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.4), rgba(5, 150, 105, 0.25));
  border-color: #a7f3d0;
  color: #ffffff;
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 8px 30px rgba(16, 185, 129, 0.6), 0 0 20px rgba(52, 211, 153, 0.5);
}

/* 4. All Exam Interview - Electric Sapphire / Cyan */
.exam-track-pill.pill-all {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.22), rgba(3, 105, 161, 0.12));
  border: 1.5px solid #38bdf8;
  color: #e0f2fe;
  box-shadow: 0 4px 18px rgba(56, 189, 248, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}
.exam-track-pill.pill-all:hover {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.4), rgba(2, 132, 199, 0.25));
  border-color: #bae6fd;
  color: #ffffff;
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 8px 30px rgba(56, 189, 248, 0.6), 0 0 20px rgba(56, 189, 248, 0.5);
}

/* 5. Communication - High-Voltage Purple / Violet */
.exam-track-pill.pill-comm {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.22), rgba(126, 34, 206, 0.12));
  border: 1.5px solid #c084fc;
  color: #f3e8ff;
  box-shadow: 0 4px 18px rgba(168, 85, 247, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}
.exam-track-pill.pill-comm:hover {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.4), rgba(147, 51, 234, 0.25));
  border-color: #e9d5ff;
  color: #ffffff;
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 8px 30px rgba(168, 85, 247, 0.6), 0 0 20px rgba(192, 132, 252, 0.5);
}

/* 6. Public Speaking - Luminous Rose / Crimson */
.exam-track-pill.pill-public {
  background: linear-gradient(135deg, rgba(244, 63, 94, 0.22), rgba(190, 18, 60, 0.12));
  border: 1.5px solid #fb7185;
  color: #ffe4e6;
  box-shadow: 0 4px 18px rgba(244, 63, 94, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}
.exam-track-pill.pill-public:hover {
  background: linear-gradient(135deg, rgba(244, 63, 94, 0.4), rgba(225, 29, 72, 0.25));
  border-color: #fecdd3;
  color: #ffffff;
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 8px 30px rgba(244, 63, 94, 0.6), 0 0 20px rgba(251, 113, 133, 0.5);
}

/* Glowing Neon CTAs */
.btn-glow-primary {
  background: linear-gradient(135deg, #00c896, #0062ff) !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  border: none !important;
  box-shadow: 0 0 30px rgba(0, 200, 150, 0.45), 0 8px 25px rgba(0, 0, 0, 0.4) !important;
  transition: all 0.3s ease !important;
  position: relative;
  overflow: hidden;
}

.btn-glow-primary:hover {
  box-shadow: 0 0 45px rgba(0, 200, 150, 0.7), 0 10px 30px rgba(0, 0, 0, 0.5) !important;
  transform: translateY(-3px) scale(1.02) !important;
}

.btn-glow-secondary {
  background: rgba(15, 23, 42, 0.8) !important;
  border: 1px solid rgba(56, 189, 248, 0.4) !important;
  color: #ffffff !important;
  backdrop-filter: blur(10px) !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35) !important;
  transition: all 0.3s ease !important;
}

.btn-glow-secondary:hover {
  border-color: #38bdf8 !important;
  background: rgba(30, 41, 59, 0.9) !important;
  box-shadow: 0 0 25px rgba(56, 189, 248, 0.3) !important;
  transform: translateY(-3px) !important;
}

/* Seamless Continuous Marquee (Stripe / Vercel style) */
.marquee-container {
  overflow: hidden;
  width: 100%;
  position: relative;
  padding: 1rem 0;
  margin-top: 1rem;
  mask-image: linear-gradient(to right, transparent 0%, black 12%, black 88%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 12%, black 88%, transparent 100%);
}

.marquee-track {
  display: flex;
  gap: 1.25rem;
  padding-right: 1.25rem; /* one gap after the last pill: -50% then lands exactly on the second copy (no jump at the lap) */
  width: max-content;
  animation: marqueeScroll 32s linear infinite;
}

.marquee-container:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.marquee-pill {
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  padding: 0.5rem 1.4rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: #cbd5e1;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  white-space: nowrap;
  backdrop-filter: blur(6px);
  transition: all 0.25s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.marquee-pill:hover {
  background: rgba(56, 189, 248, 0.2);
  border-color: var(--primary-teal);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(56, 189, 248, 0.3);
}


/* ==========================================================================
   Interactive Live Speech & Confidence Lab (High-Attraction Conversion)
   ========================================================================== */

.section-speech-lab {
  padding: 5rem 0;
  background: radial-gradient(circle at 50% 20%, rgba(56, 189, 248, 0.12), transparent 70%);
}

.lab-container-grid {
  display: grid;
  grid-template-columns: minmax(0, 740px);
  justify-content: center;
  gap: 2rem;
  margin-top: 2.5rem;
  align-items: stretch;
}

@media (max-width: 900px) {
  .lab-container-grid {
    grid-template-columns: 1fr;
  }
}

/* Left: Interactive Voice Diagnostics Console */
.lab-voice-console {
  background: #070e20;
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(56, 189, 248, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden; /* fallback for browsers without overflow: clip */
  overflow: clip;   /* crops the ::before glow without becoming a scroll container */
}

.lab-voice-console::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.05) 0%, transparent 60%);
  pointer-events: none;
}

.lab-header-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.lab-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: #4ade80;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
}

.lab-mic-stage {
  text-align: center;
  padding: 1.75rem 1rem;
  background: rgba(15, 23, 42, 0.65);
  border: 1px dashed rgba(56, 189, 248, 0.3);
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  position: relative;
}

.btn-lab-mic {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00c896, #0062ff);
  border: none;
  color: #ffffff;
  font-size: 2rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 30px rgba(0, 200, 150, 0.5);
  transition: all 0.3s ease;
  position: relative;
}

.btn-lab-mic:hover {
  transform: scale(1.08);
  box-shadow: 0 0 45px rgba(0, 200, 150, 0.8);
}

.btn-lab-mic.is-recording {
  background: linear-gradient(135deg, #ef4444, #f97316);
  box-shadow: 0 0 40px rgba(239, 68, 68, 0.8);
  animation: pulseRecording 1.2s infinite;
}

@keyframes pulseRecording {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

.live-wave-visualizer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 38px;
  margin-top: 1.25rem;
}

.wave-bar-lg {
  width: 4px;
  background: var(--primary-teal);
  border-radius: 3px;
  transition: height 0.15s ease;
}

/* Metric Gauges Grid */
.lab-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}

.lab-metric-card {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 1rem 0.85rem;
  text-align: center;
}

.lab-metric-val {
  font-size: 1.4rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.2rem;
}

.lab-metric-label {
  font-size: 0.72rem;
  color: #94a3b8;
  text-transform: uppercase;
  font-weight: 600;
}

/* Right: Verified Salary & Offer Growth Cards */
.lab-offers-column {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.offer-proof-card {
  background: #081026;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-md);
  padding: 1.35rem 1.25rem;
  display: flex;
  gap: 1rem;
  align-items: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.offer-proof-card:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 189, 248, 0.45);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.offer-avatar-wrap {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid rgba(56, 189, 248, 0.5);
}

.offer-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.offer-proof-body {
  flex-grow: 1;
}

.offer-company-tag {
  display: inline-block;
  background: rgba(56, 189, 248, 0.12);
  color: #38bdf8;
  padding: 0.15rem 0.6rem;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.offer-salary-jump {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.offer-salary-jump span.badge-jump {
  background: rgba(34, 197, 94, 0.2);
  color: #4ade80;
  font-size: 0.75rem;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-sm);
  font-weight: 800;
}

.offer-quote {
  font-size: 0.8rem;
  color: #94a3b8;
  margin-top: 0.35rem;
  line-height: 1.4;
  font-style: italic;
}



/* Rapid Word Pacer (AccelaReader-style RSVP Speed-Speaking Studio in #hero) */
.word-pacer-card {
  max-width: 960px;
  margin: 0 auto 2.5rem;
  background: linear-gradient(180deg, rgba(11, 22, 48, 0.94) 0%, rgba(6, 12, 29, 0.98) 100%);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.5rem 1.4rem;
  text-align: left;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 40px rgba(56, 189, 248, 0.08);
}
.pacer-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.pacer-title-wrap {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.pacer-title-wrap h2 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.01em;
}
.pacer-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.14);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: #38bdf8;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.pacer-samples {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.pacer-sample-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(148, 163, 184, 0.25);
  color: #cbd5e1;
  border-radius: 999px;
  padding: 0.32rem 0.72rem;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
}
.pacer-sample-btn:hover, .pacer-sample-btn.active {
  background: rgba(56, 189, 248, 0.16);
  border-color: rgba(56, 189, 248, 0.55);
  color: #ffffff;
}
.pacer-sample-btn-clear {
  color: #fca5a5;
  border-color: rgba(248, 113, 113, 0.3);
}
.pacer-sample-btn-clear:hover {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(248, 113, 113, 0.55);
  color: #fecaca;
}
.pacer-stage {
  position: relative;
  min-height: 144px;
  background: #02050f;
  border: 1px solid rgba(56, 189, 248, 0.28);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1.25rem;
  overflow: hidden;
  box-shadow: inset 0 0 36px rgba(0, 0, 0, 0.75);
}
.pacer-reticle-top,
.pacer-reticle-bottom {
  position: absolute;
  left: 50%;
  width: 2px;
  height: 14px;
  background: rgba(56, 189, 248, 0.45);
  transform: translateX(-50%);
  pointer-events: none;
}
.pacer-reticle-top { top: 0; }
.pacer-reticle-bottom { bottom: 3px; }
.pacer-guide-line {
  position: absolute;
  left: 1rem;
  right: 1rem;
  height: 1px;
  background: rgba(148, 163, 184, 0.1);
  pointer-events: none;
}
.pacer-guide-top { top: 14px; }
.pacer-guide-bottom { bottom: 17px; }
.pacer-word {
  position: relative;
  z-index: 1;
  font-weight: 800;
  color: #f8fafc;
  text-align: center;
  line-height: 1.2;
  letter-spacing: -0.01em;
  word-break: break-word;
  max-width: 100%;
  user-select: none;
  font-size: var(--pacer-font-size, clamp(2rem, 4.4vw, 3.35rem));
}
.pacer-word.is-placeholder {
  font-size: 1rem;
  font-weight: 600;
  color: #94a3b8;
}
.pacer-word .orp-focal {
  color: #38bdf8;
  text-shadow: 0 0 18px rgba(56, 189, 248, 0.45);
}
.pacer-progress-track {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}
.pacer-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #38bdf8, #3b82f6);
  transition: width 0.08s linear;
}
.pacer-meta-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin: 0.65rem 0 0.9rem;
  font-size: 0.8rem;
  color: #94a3b8;
}
.pacer-meta-strip strong { color: #e2e8f0; }
.pacer-controls-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.pacer-transport {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.pacer-btn-step {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(148, 163, 184, 0.28);
  color: #e2e8f0;
  border-radius: var(--radius-sm);
  padding: 0.55rem 0.85rem;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  min-height: 40px;
  transition: all 0.16s ease;
}
.pacer-btn-step:hover {
  background: rgba(56, 189, 248, 0.14);
  border-color: rgba(56, 189, 248, 0.5);
  color: #ffffff;
}
.pacer-play-btn {
  min-width: 148px;
  min-height: 42px;
  padding: 0.6rem 1.25rem;
  font-size: 0.92rem;
}
.pacer-settings-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 0.85rem 1.25rem;
  padding: 0.9rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  margin-bottom: 0.9rem;
}
.pacer-speed-box {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-width: 0;
}
.pacer-setting-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: #cbd5e1;
}
.pacer-wpm-readout {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.pacer-wpm-input {
  width: 68px;
  padding: 0.2rem 0.4rem;
  border-radius: 6px;
  border: 1px solid rgba(56, 189, 248, 0.4);
  background: rgba(2, 6, 23, 0.8);
  color: #38bdf8;
  font-size: 0.92rem;
  font-weight: 800;
  text-align: center;
}
.pacer-slider-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.pacer-wpm-slider {
  flex: 1 1 auto;
  min-width: 0;
  accent-color: #38bdf8;
  cursor: pointer;
}
.pacer-nudge-btn {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(148, 163, 184, 0.25);
  color: #e2e8f0;
  border-radius: 6px;
  padding: 0.25rem 0.55rem;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  min-height: 30px;
}
.pacer-nudge-btn:hover { border-color: #38bdf8; color: #ffffff; }
.pacer-presets {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.pacer-preset-pill {
  background: transparent;
  border: 1px solid rgba(148, 163, 184, 0.22);
  color: #94a3b8;
  border-radius: 999px;
  padding: 0.18rem 0.58rem;
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
}
.pacer-preset-pill.active,
.pacer-preset-pill:hover {
  background: rgba(56, 189, 248, 0.16);
  border-color: rgba(56, 189, 248, 0.55);
  color: #ffffff;
}
.pacer-options-box {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.65rem;
  min-width: 0;
}
.pacer-option-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: #cbd5e1;
}
.pacer-chip-group {
  display: inline-flex;
  background: rgba(2, 6, 23, 0.75);
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 8px;
  padding: 2px;
  gap: 2px;
}
.pacer-seg-btn {
  background: transparent;
  border: none;
  color: #94a3b8;
  border-radius: 6px;
  padding: 0.25rem 0.55rem;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
}
.pacer-seg-btn.active {
  background: #2563eb;
  color: #ffffff;
}
.pacer-checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  color: #cbd5e1;
  cursor: pointer;
}
.pacer-checkbox-label input {
  width: 16px;
  height: 16px;
  accent-color: #38bdf8;
  cursor: pointer;
}
.pacer-textarea-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.pacer-textarea-wrap[hidden] { display: none; }
.pacer-textarea-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: #94a3b8;
}
.pacer-textarea {
  width: 100%;
  min-height: 92px;
  max-height: 220px;
  resize: vertical;
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(2, 6, 23, 0.82);
  color: #f8fafc;
  font-size: 0.9rem;
  line-height: 1.5;
}
.pacer-textarea:focus {
  outline: none;
  border-color: #38bdf8;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.16);
}
.pacer-shortcuts-note {
  font-size: 0.74rem;
  color: #64748b;
}

/* Cookie consent banner (consent.js). The phone layout is in the responsive block at the end of
   this file. z-index 95: above page content and the floating help button (90), under the header
   (100) so the phone menu covers it, and under every modal and overlay (200+). */
.consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 95;
  background: rgba(4, 8, 22, 0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid rgba(56, 189, 248, 0.35);
  box-shadow: 0 -14px 40px rgba(0, 0, 0, 0.6);
  color: #e2e8f0;
  font-family: var(--font-body);
  padding: 0.9rem 0 calc(0.9rem + env(safe-area-inset-bottom, 0px));
}
.consent-banner[hidden],
.consent-banner-status[hidden] { display: none; }
.consent-banner:focus { outline: none; }
.consent-banner:focus-visible { outline: 2px solid #38bdf8; outline-offset: -2px; }
.consent-banner-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem 2rem;
}
.consent-banner-copy { flex: 1 1 auto; min-width: 0; }
.consent-banner-title { margin: 0 0 0.2rem; font-size: 0.95rem; font-weight: 700; color: #ffffff; }
.consent-banner-text { margin: 0; font-size: 0.88rem; line-height: 1.55; color: #cbd5e1; }
.consent-banner-text a {
  color: #38bdf8;
  text-decoration: underline;
  text-decoration-color: rgba(56, 189, 248, 0.5);
  text-underline-offset: 3px;
  white-space: nowrap;
}
.consent-banner-text a:hover { color: #7dd3fc; text-decoration-color: currentColor; }
.consent-banner-status { margin: 0.35rem 0 0; font-size: 0.8rem; color: #93a4c8; }
.consent-banner-actions { display: flex; gap: 0.75rem; flex-shrink: 0; }
.consent-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 7.5rem;
  padding: 0 1.4rem;
  border-radius: var(--radius-full);
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  color: #ffffff;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
/* Decline and Accept get the same size and weight: refusing is as easy as accepting */
.consent-btn-decline { background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(148, 163, 184, 0.5); }
.consent-btn-decline:hover { background: rgba(255, 255, 255, 0.16); border-color: rgba(203, 213, 225, 0.75); }
.consent-btn-accept { background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%); border: 1px solid rgba(96, 165, 250, 0.5); }
.consent-btn-accept:hover { border-color: rgba(147, 197, 253, 0.9); box-shadow: 0 6px 22px rgba(37, 99, 235, 0.55); }
/* "Keep my choice": closes a reopened banner without choosing again (consent.js) */
.consent-btn-keep { background: transparent; border: 1px solid transparent; color: #cbd5e1; text-decoration: underline; text-underline-offset: 3px; min-width: 0; padding: 0 0.75rem; }
.consent-btn-keep:hover { color: #ffffff; }
.consent-btn[hidden] { display: none; }
.consent-btn:focus-visible,
.consent-banner-text a:focus-visible { outline: 2px solid #38bdf8; outline-offset: 3px; }
.consent-banner:not([hidden]) { animation: consentSlideUp 0.3s ease-out both; } /* owner's decision (4 Dec 2026): effects play even when the system asks for less motion */
@keyframes consentSlideUp {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: none; opacity: 1; }
}
/* While the banner is open consent.js sets --consent-banner-h on <html>: keep the end of the page,
   the floating help button (roles.html) and the coaching admin pill above it */
html.consent-open body { padding-bottom: var(--consent-banner-h, 0px); }
html.consent-open .floating-help,
html.consent-open .admin-floating-pill { bottom: calc(var(--consent-banner-h, 0px) + 1rem); }

/* Auth mode toggles, plan badge in navbar, inline feedback */
.nav-plan-badge {
  font-size: 0.68rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase;
  padding: 0.16rem 0.5rem; border-radius: 999px; white-space: nowrap;
  background: rgba(148, 163, 184, 0.16); color: #cbd5e1; border: 1px solid rgba(148, 163, 184, 0.28);
}
.nav-plan-badge.paid {
  background: rgba(16, 185, 129, 0.16); color: #6ee7b7; border-color: rgba(16, 185, 129, 0.45);
}
.auth-mode-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.4rem;
  background: rgba(15, 23, 42, 0.6); padding: 0.25rem; border-radius: 8px;
  border: 1px solid rgba(148, 163, 184, 0.14); margin-bottom: 1rem;
}
.auth-mode-btn {
  background: transparent; border: none; color: #94a3b8; font-size: 0.8rem; font-weight: 600;
  padding: 0.42rem 0.5rem; border-radius: 6px; cursor: pointer; font-family: inherit; transition: all 0.15s ease;
}
.auth-mode-btn.active { background: rgba(56, 189, 248, 0.18); color: #e0f2fe; font-weight: 700; }
.auth-link-btn {
  background: none; border: none; color: #38bdf8; font-size: 0.78rem; font-weight: 600;
  cursor: pointer; padding: 0; font-family: inherit; text-decoration: underline; text-underline-offset: 2px;
}
.auth-link-btn:hover { color: #7dd3fc; }
.auth-feedback {
  border-radius: 9px; padding: 0.55rem 0.75rem; font-size: 0.82rem; line-height: 1.45; margin-bottom: 0.9rem;
  background: rgba(239, 68, 68, 0.12); border: 1px solid rgba(248, 113, 113, 0.45); color: #fecaca;
}
.auth-feedback.ok {
  background: rgba(16, 185, 129, 0.12); border-color: rgba(52, 211, 153, 0.45); color: #a7f3d0;
}

/* Video Courses Showcase (Home + courses.html library) */
.section-courses { padding: 4.5rem 0; background: linear-gradient(180deg, rgba(8,16,38,0.6) 0%, rgba(2,6,23,0.95) 100%); border-top: 1px solid var(--border-subtle); border-bottom: 1px solid var(--border-subtle); }
.courses-home-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 2rem; }
.course-mod-card {
  background: rgba(15, 23, 42, 0.72); border: 1px solid var(--border-subtle); border-radius: var(--radius-md);
  padding: 1.35rem; display: flex; flex-direction: column; justify-content: space-between; gap: 1rem;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.course-mod-card:hover { transform: translateY(-2px); border-color: rgba(56, 189, 248, 0.45); }
.course-mod-top { display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; margin-bottom: 0.6rem; }
.course-mod-num { font-size: 0.74rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; color: #38bdf8; }
.course-mod-badge {
  font-size: 0.7rem; font-weight: 700; padding: 0.2rem 0.55rem; border-radius: 999px;
  background: rgba(148, 163, 184, 0.14); color: #cbd5e1; border: 1px solid rgba(148, 163, 184, 0.25);
}
.course-mod-badge.free { background: rgba(16, 185, 129, 0.16); color: #6ee7b7; border-color: rgba(16, 185, 129, 0.4); }
.course-mod-card h3 { font-size: 1.08rem; font-weight: 700; color: #fff; margin: 0 0 0.45rem; line-height: 1.35; }
.course-mod-card p { font-size: 0.85rem; color: var(--text-muted); margin: 0; line-height: 1.5; }
.course-mod-meta { display: flex; justify-content: space-between; align-items: center; padding-top: 0.75rem; border-top: 1px solid rgba(255,255,255,0.06); font-size: 0.78rem; color: #94a3b8; }

.courses-portal-layout { display: grid; grid-template-columns: 360px 1fr; gap: 1.5rem; align-items: start; margin-top: 1.5rem; }
.course-sidebar { background: rgba(15, 23, 42, 0.78); border: 1px solid var(--border-subtle); border-radius: var(--radius-md); overflow: hidden; }
.course-module-hdr { padding: 0.85rem 1rem; background: rgba(30, 41, 59, 0.55); border-bottom: 1px solid var(--border-subtle); font-weight: 700; font-size: 0.86rem; color: #f8fafc; display: flex; justify-content: space-between; gap: 0.5rem; }
.course-lesson-btn {
  width: 100%; text-align: left; background: none; border: none; border-bottom: 1px solid rgba(255,255,255,0.05);
  padding: 0.75rem 1rem; color: #cbd5e1; cursor: pointer; display: flex; align-items: flex-start; justify-content: space-between; gap: 0.5rem;
  font-family: inherit; font-size: 0.84rem; line-height: 1.4; transition: background 0.15s ease;
}
.course-lesson-btn:hover { background: rgba(56, 189, 248, 0.08); }
.course-lesson-btn.active { background: rgba(37, 99, 235, 0.22); color: #ffffff; border-left: 3px solid #38bdf8; }
.course-viewer { background: rgba(15, 23, 42, 0.78); border: 1px solid var(--border-subtle); border-radius: var(--radius-md); padding: 1.5rem; }
.course-video-stage {
  background: #020617; border: 1px solid rgba(148, 163, 184, 0.2); border-radius: 12px;
  aspect-ratio: 16 / 9; display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 1.5rem; text-align: center; margin-bottom: 1.25rem; overflow: hidden; position: relative;
}
.course-video-stage video { width: 100%; height: 100%; object-fit: contain; background: #000; border-radius: 10px; }
.course-playbook-list { margin: 0.75rem 0 1.25rem; padding-left: 1.25rem; color: #e2e8f0; line-height: 1.65; font-size: 0.92rem; }
.course-playbook-list li { margin-bottom: 0.45rem; }

/* ==========================================================================
   RESPONSIVE OVERRIDES - keep this block at the very end of the file.
   Component rules above use the same specificity, so these must come later
   in source order to win (tablet/phone layouts, modals, pills, grids).
   ========================================================================== */
@media (max-width: 768px) {
  .career-cards-grid, .domain-grid, .visual-features-grid, .roadmap-card-wrapper, .pacer-settings-grid, .courses-home-grid, .courses-portal-layout { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
  .stat-item h3 { font-size: 2.1rem; }
  .reels-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .target-exams-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .modal-overlay { padding: 0.5rem; }
  .setup-modal-card { width: calc(100vw - 16px); max-width: 100%; max-height: 94vh; padding: 1.1rem; border-radius: var(--radius-md); box-sizing: border-box; }
  .setup-mode-tabs { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; gap: 0.5rem; margin-bottom: 1.25rem; padding-bottom: 0.25rem; }
  .setup-tab-btn { flex: 0 0 auto; min-height: 40px; white-space: nowrap; padding: 0.5rem 1rem; }
  .interviewer-selector { flex-wrap: wrap; }
  .interviewer-card { flex: 1 1 100%; }
  .pill-choice { padding: 0.45rem 0.9rem; font-size: 0.82rem; min-height: 40px; }
  .stats-grid { grid-template-columns: 1fr; }
  .target-exams-grid { grid-template-columns: repeat(2, 1fr); gap: 0.6rem; }
  .target-exams-grid { align-items: stretch; }
  .exam-track-pill { white-space: normal; text-align: center; padding: 0.55rem 0.5rem; font-size: 0.76rem; letter-spacing: 0; gap: 0.4rem; line-height: 1.25; min-width: 0; min-height: 44px; }
  .video-modal-card { max-height: 92vh; overflow: auto; }
  .video-modal-inner { height: auto; min-height: 320px; padding-bottom: 0; display: flex; align-items: center; justify-content: center; }
  .video-modal-inner iframe, .video-modal-inner video { position: absolute; inset: 0; width: 100%; height: 100%; }
  .nav-user-name { display: none; }
  .nav-user-chip { max-width: none; }
  .legal-page .table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

/* Phone and tablet tap targets in the shared footer (links were 20-22px tall) */
@media (max-width: 768px) {
  .site-footer-links { gap: 0 0.75rem; }
  .site-footer-links a, .site-footer-legal a, .site-footer-bottom a {
    display: inline-flex; align-items: center; min-height: 44px; padding: 0 0.35rem;
  }
  .site-footer-legal { gap: 0 0.5rem; }
  .site-footer-bottom { gap: 0.25rem 1rem; }
}

/* Cookie consent banner on phones: compact text on top, Decline / Accept side by side,
   full width, still 44px tall ("Keep my choice" drops to its own row when it is shown) */
@media (max-width: 640px) {
  .consent-banner { padding: 0.65rem 0 calc(0.65rem + env(safe-area-inset-bottom, 0px)); }
  .consent-banner-inner { flex-direction: column; align-items: stretch; gap: 0.55rem; padding: 0 1rem; }
  .consent-banner-title { font-size: 0.9rem; margin-bottom: 0.1rem; }
  .consent-banner-text { font-size: 0.8rem; line-height: 1.4; }
  .consent-banner-status { margin-top: 0.2rem; font-size: 0.76rem; }
  .consent-banner-actions { gap: 0.6rem; flex-wrap: wrap; }
  .consent-btn { flex: 1 1 0; min-width: 0; font-size: 0.88rem; }
  .consent-btn-keep { flex: 1 1 100%; order: 3; min-height: 36px; }
}

/* ---- Header: signed-in chip on narrow desktops ------------------------------------------
   Between the hamburger breakpoint and 1280px there is no room for a long name next to
   seven links and Try Free: keep the avatar + Sign out, drop the name (the avatar keeps
   the initial). */
@media (min-width: 1181px) and (max-width: 1280px) {
  .nav-actions .nav-user-name { display: none; }
  .nav-actions .nav-user-chip { max-width: none; }
}

/* ---- Dialogs on small or short screens (sign-in, checkout, setup, video) -------------- */
@media (max-height: 720px) {
  .custom-modal-backdrop, .video-modal-backdrop { align-items: flex-start; }
  .modal-overlay { align-items: start; }
}
@media (max-width: 640px) {
  .custom-modal-backdrop { padding: 0.5rem; align-items: flex-start; }
  .custom-modal-card {
    padding: 1.5rem 1.1rem 1.25rem;
    max-height: calc(100vh - 1rem);
    max-height: calc(100dvh - 1rem);
    border-radius: var(--radius-md);
  }
  /* card padding here is 1.5rem top / 1.1rem sides: X sits 0.4rem from the corner */
  .custom-modal-card .modal-close-btn { top: -1.1rem; margin: -1.1rem -0.7rem calc(1.1rem - 40px) auto; }
  .auth-tabs { margin: 1rem 0; }
  .auth-input-group { margin-bottom: 1rem; }
  .video-modal-backdrop { padding: 0.5rem; }
  .modal-overlay > * { max-height: calc(100vh - 1rem); max-height: calc(100dvh - 1rem); }
  .setup-modal-card { max-height: calc(100vh - 1rem); max-height: calc(100dvh - 1rem); }
}

/* ---- Interview setup modal, one-column layout (tablet + phone) --------------------------
   Required fields and Start Interview come first; the optional practice packs follow as one
   swipeable row of cards (the next pack peeks in from the right), so they add about one card
   of height instead of a nested scroll box or two extra screens. */
@media (max-width: 768px) {
  .setup-body-grid { gap: 1.25rem; }
  .setup-form-side { order: -1; }
  .packs-sidebar { order: 1; padding: 0.9rem; min-width: 0; }
  .packs-sidebar p { margin-bottom: 0.75rem; }
  .pack-list { flex-direction: row; align-items: stretch; overflow-x: auto; gap: 0.6rem; padding-bottom: 0.5rem; scroll-snap-type: x proximity; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; }
  .pack-item { flex: 0 0 82%; max-width: 320px; box-sizing: border-box; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 0.6rem; scroll-snap-align: start; }
  .pack-btn-add { min-height: 40px; padding: 0.5rem 0.9rem; }
  /* optional hook: a page can put class "setup-actions" on its Cancel / Start row */
  .setup-actions { position: sticky; bottom: -1.1rem; z-index: 2; background: #081026; padding: 0.75rem 0; margin-bottom: -1.1rem; }
}

/* ---- Megamenu inside the phone menu ---------------------------------------------------- */
@media (max-width: 640px) {
  .comm-tools-grid { grid-template-columns: 1fr; gap: 0.75rem; }
  .comm-tool-card { padding: 0.9rem 1rem; gap: 0.5rem; }
  .megamenu-tab-btn { padding: 0.75rem 0.85rem; }
}

/* ---- Card grids at tablet widths: no orphan cards --------------------------------------- */
@media (min-width: 769px) and (max-width: 1100px) {
  .visual-features-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
  .faculty-grid > * { flex-basis: 250px; }
}
/* Pricing: three columns on desktop, two (third card centred underneath) on tablets and
   small laptops, one on phones */
@media (max-width: 1024px) {
  .pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem 1.5rem; max-width: 860px; margin-left: auto; margin-right: auto; }
  .pricing-grid > :last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 0.75rem); }
}
@media (max-width: 700px) {
  .pricing-grid { grid-template-columns: minmax(0, 1fr); max-width: 520px; }
  .pricing-grid > :last-child:nth-child(odd) { grid-column: auto; justify-self: stretch; width: auto; }
}

/* ---- Homepage on phones: shorter page, nothing overlapping ------------------------------ */
@media (max-width: 640px) {
  /* tighter section rhythm (was 4-6rem top and bottom on every section) */
  .section-steps, .section-pricing, .section-ats, .section-career-levels, .section-domains,
  .section-interview-types, .section-roadmap, .section-english-coach, .section-stats,
  .section-reviews, .section-faq, .section-faculty, .section-articulation, .section-reels,
  .section-careers-banner, .section-visual-demo, .section-speech-lab, .section-before-after,
  .section-pillars-brief { padding-top: 2.75rem; padding-bottom: 2.75rem; }
  .section-company-marquee { padding-top: 2rem; padding-bottom: 2rem; }
  .hero { padding-top: 6.25rem; padding-bottom: 2.5rem; }
  .hero-sub { margin-bottom: 1.5rem; }
  .section-title { margin-bottom: 1.75rem; }
  .section-title p { font-size: 0.95rem; }
  .pricing-grid, .faculty-grid, .reels-grid, .visual-features-grid, .lab-container-grid { margin-top: 1.75rem; }

  /* hero: full-width CTAs that wrap cleanly (sizes are inline in index.html, hence !important) */
  .hero-cta-group { gap: 0.6rem; margin-bottom: 1.5rem; }
  .hero-cta-group .btn { width: 100%; font-size: 1rem !important; padding: 0.85rem 1rem !important; flex-wrap: wrap; justify-content: center; row-gap: 0.1rem; text-align: center; }
  #btnOpenDemoVideo > span:last-child { flex-basis: 100%; text-align: center; }

  /* hero skill cards: two compact rows instead of four stacked cards */
  .hero-skills-showcase { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem; margin: 1.5rem auto 1.75rem; }
  .skill-showcase-card { padding: 0.85rem 0.75rem; }
  .skill-icon-header { margin-bottom: 0.45rem; gap: 0.35rem; }
  .skill-icon { font-size: 1.3rem; }
  .skill-tag { font-size: 0.56rem; padding: 0.15rem 0.4rem; letter-spacing: 0.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
  .skill-title { font-size: 0.95rem; }
  .skill-desc { font-size: 0.74rem; line-height: 1.4; }

  /* platform-tour mock: small "you" tile that no longer covers the host name or question */
  .demo-video-pane { padding: 1rem; gap: 0.75rem; }
  .demo-candidate-pip { width: 64px; height: 64px; top: 0.75rem; right: 0.75rem; }
  /* 64px leaves no room for a caption: the YOU avatar alone marks the tile (aria-label stays) */
  .demo-candidate-pip.demo-candidate-tile > span:last-child { display: none; }
  .demo-candidate-pip.demo-candidate-tile .avatar-initials { --avatar-size: 40px !important; }
  .demo-video-pane > div:first-child { padding-right: 76px; min-height: 64px; }
  .demo-wave-box { padding: 0.75rem 0.85rem; gap: 0.6rem; }

  /* Speech Lab: three equal metric cards */
  .lab-voice-console { padding: 1.25rem 1rem; }
  .lab-metrics-grid { gap: 0.5rem; }
  .lab-metric-card { padding: 0.75rem 0.35rem; }
  .lab-metric-val { font-size: 1.2rem; }
  .lab-metric-label { font-size: 0.62rem; letter-spacing: 0.02em; overflow-wrap: anywhere; }

  /* sample-session cards: one swipeable row instead of four stacked placeholders */
  .reels-grid { display: flex; overflow-x: auto; scroll-snap-type: x proximity; gap: 0.75rem; padding-bottom: 0.5rem; -webkit-overflow-scrolling: touch; }
  .reels-grid > * { flex: 0 0 78%; scroll-snap-align: start; }

  /* feature cards and mentor cards: less air */
  .visual-feature-img-wrap { height: 120px; }
  .faculty-grid { gap: 0.75rem; }
  .faculty-grid > * { flex: 1 1 150px; max-width: none; }
  .faculty-card { padding: 1.1rem 0.75rem; border-radius: var(--radius-md); }
  .orientation-timetable { padding: 1rem 1.1rem; margin-top: 1.5rem; justify-content: flex-start; gap: 0.9rem; }

  /* pricing cards */
  .pricing-card { padding: 1.75rem 1.25rem 1.5rem; }
  .pricing-badge { font-size: 0.66rem; padding: 0.25rem 0.7rem; letter-spacing: 0; }
  .pricing-price { font-size: 2.3rem; margin: 0.9rem 0 0.4rem; }
  .pricing-features { margin: 1.25rem 0; gap: 0.6rem; }
  .pricing-features li { font-size: 0.88rem; }

  /* floating help: smaller and tucked into the corner so it covers less text */
  .floating-help { width: 46px; height: 46px; right: 1rem; bottom: 1rem; }

  /* feature cards: one swipeable row (next card peeks in) instead of four stacked cards */
  .visual-features-grid { display: flex; overflow-x: auto; scroll-snap-type: x proximity; gap: 0.75rem; padding-bottom: 0.5rem; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; }
  .visual-features-grid > * { flex: 0 0 84%; scroll-snap-align: start; }
  .visual-feature-card:hover { transform: none; }
  .visual-feature-img-wrap { height: 96px; }
  .visual-feature-body { padding: 1rem; }
  .visual-feature-title { font-size: 1.08rem; }
  .visual-feature-desc { margin-bottom: 0.75rem; }
  .visual-feature-bullets { margin-bottom: 1rem; gap: 0.35rem; }

  /* Speech Lab: tighter console and audience cards */
  .lab-container-grid { gap: 1.25rem; }
  .lab-offers-column { gap: 0.75rem; }
  .lab-header-status { margin-bottom: 1rem; }
  .lab-mic-stage { padding: 1.1rem 0.75rem; margin-bottom: 1rem; }
  .lab-metrics-grid { margin-top: 1rem; }
  .lab-offers-column .offer-proof-card { padding: 0.9rem 1rem; gap: 0.75rem; align-items: flex-start; }

  /* mock room: 40px tap target for the main voice control (its padding is inline) */
  #btnMicToggle { min-height: 40px; padding: 0.5rem 0.9rem !important; }

  /* Rapid Word Pacer on phones */
  .word-pacer-card { padding: 1rem 0.9rem 1.05rem; margin-bottom: 1.75rem; }
  .pacer-stage { min-height: 118px; padding: 1.15rem 0.75rem; }
  .pacer-settings-grid { grid-template-columns: 1fr; padding: 0.75rem 0.8rem; }
  .pacer-transport { width: 100%; }
  .pacer-play-btn { flex: 1 1 auto; }
  .pacer-shortcuts-note { display: none; }
}

/* ==========================================================================
   PHONE PASS - keep this block LAST in the file (after RESPONSIVE OVERRIDES).
   Screens under 768px wide, which is also the width below which three-stage.js
   serves the lite stage (no 3D canvas). Tuned at 360x800, 375x812 and 412x915
   for budget Android phones on slow networks. What it guarantees:
     1. text is at least 14px, form fields are 16px (the browser does not zoom
        in when a field is tapped) and everything tappable is at least 40px;
     2. the sign-in, checkout and mock-room dialogs can be scrolled far enough
        to bring their main button above the on-screen keyboard;
     3. nothing is expensive to paint: no endless animation, and (see the
        matching block at the end of light-studio.css) no blurred backdrops and
        only short shadows.
   Rules that must beat light-studio.css or a page's own <style> live in the
   "PHONE PASS" block at the end of light-studio.css, which loads after both.
   ========================================================================== */

/* "CRACKALL" is one word. The flex gap between "CRACK" and "ALL" read as two. */
.brand-logo { gap: 0; }

/* The open menu ends above the browser's own bottom bar: dvh follows the visible height,
   vh (declared earlier, kept as the fallback) is the height with the bars hidden. */
@media (max-width: 1180px) {
  .nav-links { max-height: calc(100dvh - 4.5rem); overscroll-behavior: contain; }
}

@media (max-width: 767px) {
  /* ---- Header ------------------------------------------------------------------------ */
  header.navbar .brand-logo, .site-footer .brand-logo { min-height: 44px; }
  .nav-actions .btn { min-height: 40px; padding: 0.5rem 0.9rem; font-size: 0.875rem; }
  .nav-link, button.nav-link { min-height: 48px; font-size: 0.9rem; }

  /* ---- Megamenu inside the phone menu ------------------------------------------------- */
  .megamenu-dropdown { padding: 0.85rem; }
  .megamenu-search-bar { border-radius: var(--radius-md); padding: 0.4rem 0.75rem 0.75rem; }
  .megamenu-search-input { min-height: 44px; font-size: 1rem; }
  .megamenu-search-bar .btn { font-size: 0.875rem !important; } /* 0.78rem inline in chrome/header.html */
  .role-column h5 { font-size: 0.875rem; letter-spacing: 0.05em; margin-bottom: 0.35rem; }
  .role-list li a { min-height: 44px; font-size: 0.9rem; }
  .megamenu-foot { justify-content: flex-start !important; gap: 0 1.25rem !important; padding-top: 0.35rem !important; }
  .megamenu-foot a { display: inline-flex; align-items: center; min-height: 44px; }

  /* ---- Cookie banner and floating help ------------------------------------------------ */
  .consent-banner-text, .consent-banner-status { font-size: 0.875rem; }
  /* the title runs into the first line of the text: one line shorter, so the banner covers
     less of the first screen */
  .consent-banner-title { display: inline; margin: 0 0.4em 0 0; font-size: 0.875rem; }
  .consent-banner-text { display: inline; }
  .consent-banner-status { margin-top: 0.35rem; }
  /* While the banner waits for an answer the help button would float in the middle of the
     screen, on top of the page's own buttons. It returns as soon as the visitor has chosen;
     Contact stays reachable from the menu and the footer. */
  html.consent-open .floating-help { display: none; }

  /* ---- Footer ------------------------------------------------------------------------ */
  .site-footer-links { font-size: 0.95rem; }
  .site-footer-bottom { font-size: 0.875rem; }

  /* ---- Sign-in and checkout dialogs ----------------------------------------------------
     The card starts at the top of the screen and the dimmed backdrop is the only scroller
     (the card no longer scrolls inside itself). Below the card the backdrop keeps 45vh of
     spare room, so with the on-screen keyboard covering the lower part of the screen the
     Sign in / Pay button can still be scrolled up above it. The close button stays pinned
     to the top of the screen while the card passes under it. */
  .custom-modal-backdrop { align-items: flex-start; padding: 0.5rem 0.5rem 0; }
  .custom-modal-card {
    max-height: none;
    overflow: visible;
    margin: 0 auto 45vh;
    padding: 1.5rem 1.1rem 1.25rem;
    border-radius: var(--radius-md);
  }
  .custom-modal-card .modal-close-btn {
    width: 44px;
    height: 44px;
    top: 0.25rem;
    margin: -1.1rem -0.7rem calc(1.1rem - 44px) auto;
  }
  .auth-tabs { margin: 0.85rem 0; }
  .auth-tab-btn { min-height: 44px; padding: 0.5rem 0.35rem; font-size: 0.875rem; }
  .auth-mode-btn { min-height: 40px; font-size: 0.875rem; }
  .auth-link-btn { min-height: 40px; font-size: 0.875rem; }
  .auth-input-group label { font-size: 0.9rem; }
  .auth-input { min-height: 48px; font-size: 16px; }
  .google-auth-btn { min-height: 48px; font-size: 1rem; }
  .auth-feedback, .auth-preview-note, .checkout-success .co-success-test { font-size: 0.875rem; }
  .checkout-plan-summary { padding: 1rem; margin: 1rem 0; }
  /* Autopay switch: the label is the tap target (52x40), the track is drawn inside it */
  .autopay-switch-box { align-items: flex-start; gap: 0.75rem; }
  .switch { width: 52px; height: 40px; }
  .switch-track { inset: 6px 0; }
  .switch-track::before { width: 22px; height: 22px; }
  .switch input:checked + .switch-track::before { transform: translateX(24px); }

  /* ---- Interview setup and mock room ---------------------------------------------------
     These cards keep scrolling inside themselves (the sticky room header and the sticky
     Cancel / Start row depend on it) but start at the top of the screen. The mock room has a
     text field, so its overlay gets the same 45vh of spare room below the card. */
  .modal-overlay { padding: 0.5rem 0.5rem 0; place-items: start center; }
  .modal-overlay > * { overscroll-behavior: auto; } /* a swipe past the card's end reaches the overlay's spare room */
  /* max-content rows: without it the grid squeezes the card's row to fit the screen and the spare room adds no scroll range */
  #interviewRoomModal { grid-auto-rows: max-content; }
  #interviewRoomModal::after { content: ''; display: block; width: 1px; height: 45vh; }
  .modal-overlay .form-input { font-size: 16px; }
  .setup-modal-header { margin-bottom: 1rem; }
  .setup-modal-header h2 { padding: 0 2.6rem; font-size: 1.4rem; line-height: 1.2; } /* clear of the close button */
  .setup-modal-header p { font-size: 0.95rem; }
  .field-label { font-size: 0.95rem; }
  .pill-choice { min-height: 44px; padding: 0.5rem 1rem; font-size: 0.9rem; }
  .interviewer-card { min-height: 48px; }
  .pack-btn-add { min-height: 40px; font-size: 0.875rem; }
  #btnMicToggle { min-height: 44px; font-size: 0.875rem !important; }
  #btnSubmitAnswer { width: 100%; min-height: 48px; }
  .video-modal-backdrop { align-items: flex-start; }
  .video-modal-card .modal-close-btn { flex: 0 0 44px; width: 44px; height: 44px; }

  /* ---- Home page ---------------------------------------------------------------------- */
  /* the headline gradient no longer slides (it repainted the whole heading on every frame);
     the decorative sound bars and pulse dot of the showcase stand still too */
  .hero h1 span.gradient-text { animation: none; }
  .wave-bar, .soundwave-bar, .demo-pulse-dot { animation: none; }
  /* a shorter first screen: the main button stays above the cookie banner on a 360x800
     phone with the browser bars showing (about 720px of visible height) */
  .hero-pill { font-size: 0.875rem; padding: 0.4rem 0.9rem; margin-bottom: 1rem; text-align: left; }
  .hero-sub { margin-top: 1rem !important; margin-bottom: 1.25rem !important; } /* margins are inline in index.html */
  /* hero skill cards: one row the visitor swipes (the next card peeks in). The old two-column
     grid only fitted with 9px tags and 12px text. */
  .hero-skills-showcase {
    display: flex;
    gap: 0.75rem;
    margin: 1.5rem -1.5rem 1.75rem;
    padding: 0.25rem 1.5rem 0.6rem;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scroll-padding-left: 1.5rem;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .hero-skills-showcase::-webkit-scrollbar { display: none; }
  .hero-skills-showcase > * { flex: 0 0 78%; max-width: 300px; scroll-snap-align: start; }
  .skill-showcase-card { padding: 1rem; }
  .skill-icon-header { margin-bottom: 0.6rem; gap: 0.5rem; }
  .skill-icon { font-size: 1.5rem; }
  .skill-tag { font-size: 0.875rem; padding: 0.15rem 0.55rem; letter-spacing: 0.02em; }
  .skill-title { font-size: 1.1rem; }
  .skill-desc { font-size: 0.9rem; line-height: 1.45; }
  .exam-track-pill { font-size: 0.875rem; min-height: 48px; padding: 0.5rem 0.4rem; gap: 0.35rem; }

  /* pricing */
  .pricing-badge { font-size: 0.875rem; padding: 0.25rem 0.8rem; letter-spacing: 0; max-width: calc(100% - 1rem); overflow: hidden; text-overflow: ellipsis; }
  .pricing-features li { font-size: 0.95rem; }
  .pricing-card .btn { min-height: 48px; }

  /* mentors: one readable row per mentor (avatar on the left) instead of two narrow columns */
  .faculty-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.75rem; }
  .faculty-grid > * { max-width: none; }
  .faculty-card {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    column-gap: 0.9rem;
    align-items: start;
    justify-items: start;
    padding: 1rem;
    text-align: left;
  }
  .faculty-card > * { grid-column: 2; }
  .faculty-avatar-wrap { grid-column: 1; grid-row: 1 / span 4; width: 64px; height: 64px; margin: 0; }
  .faculty-card .faculty-avatar-wrap .avatar-initials { --avatar-size: 64px; } /* the home page sets 84px with two classes */
  .faculty-verified { font-size: 0.875rem; }
  .faculty-name { font-size: 1.1rem; margin-bottom: 0.1rem; }
  .faculty-role { font-size: 0.875rem; letter-spacing: 0.03em; margin-bottom: 0.35rem; }
  .faculty-specialty { font-size: 0.9rem; margin-bottom: 0.6rem; }
  .faculty-badge-pill { font-size: 0.875rem; }
  .orientation-timetable { flex-direction: column; align-items: flex-start; }

  /* sample-session cards */
  .reel-badge { font-size: 0.875rem; }

  /* ---- Role directory ------------------------------------------------------------------ */
  .career-card .badge-target { font-size: 0.875rem; }
  .domain-card .arrow-link { font-size: 0.9rem; min-height: 40px; }
  /* sample roadmap card: the nested paddings (3rem + 2rem a side) left about 130px for text */
  .roadmap-card-wrapper { padding: 1.25rem; gap: 1.5rem; }
  .roadmap-card-wrapper h2 { font-size: 1.6rem !important; } /* 2.2rem inline in roles.html */
  .roadmap-card-wrapper .btn { width: 100%; padding: 0.85rem 1rem !important; justify-content: center; text-align: center; }
  .readiness-score-box { padding: 1.25rem 1rem; }
  .roadmap-step-item { gap: 0.75rem; text-align: left; }
  .roadmap-step-item > span:first-child { flex: 0 0 auto; white-space: nowrap; }
}

/* Narrow phones: the home and role-directory headline one step smaller (five lines, not six).
   The size is inline in the markup, hence !important. */
@media (max-width: 480px) {
  .hero h1 { font-size: 1.9rem !important; }
}

/* ---- Short laptop screens: interview setup and checkout dialogs --------------------------
   Windows wider than 768px and 500 to 900px high (a 1366 x 768 laptop). Both cards were
   taller than the window, so Start Interview and the Pay button sat below the fold inside
   the card. Here the spacing is tighter and the main button stays at the bottom of the
   card while the rest scrolls under it. Phones, phones held sideways (under 500px high)
   and taller windows are not touched.
   light-studio.css loads later and sets some of these values with !important, and a few
   are inline in the markup, so the selectors carry the dialog's id and !important. */
@media (min-width: 769px) and (min-height: 500px) and (max-height: 900px) {
  /* Interview setup: the card may use the window up to 0.75rem from each edge */
  #setupModal { padding: 0.75rem; }
  #setupModal .setup-modal-card {
    max-height: calc(100vh - 1.5rem) !important;
    max-height: calc(100dvh - 1.5rem) !important;
    padding: 1rem 1.75rem !important;
    scroll-padding-bottom: 4.5rem; /* a field reached with Tab stops above the button row */
  }
  #setupModal .setup-modal-header { margin-bottom: 0.6rem !important; }
  #setupModal .setup-form-side { gap: 0.6rem !important; }
  #setupModal .field-label { margin-bottom: 0.3rem; }
  /* Cancel / Start row. "bottom" is minus the card's bottom padding, so the row reaches
     the card's edge while it is stuck. */
  #setupModal .setup-actions {
    position: sticky;
    bottom: -1rem;
    z-index: 2;
    margin-top: 0 !important;
    padding: 0.5rem 0 0.6rem;
    background: #fffdf8;
    border-top: 1px solid rgba(22, 30, 46, 0.1);
  }
  #setupModal .setup-ai-notice { margin-top: 0 !important; }

  /* Checkout */
  #razorpayModal .custom-modal-card { padding: 1.5rem 2.25rem 1.25rem; scroll-padding-bottom: 7rem; }
  /* the close button keeps its place in the corner with the smaller top padding */
  #razorpayModal .custom-modal-card .modal-close-btn { top: -0.9rem; margin: -0.9rem -1.5rem calc(0.9rem - 40px) auto; }
  #razorpayModal .modal-close-btn + div { margin-bottom: 0.75rem !important; }
  #razorpayModal .checkout-plan-summary { padding: 0.9rem 1.25rem; margin: 0.75rem 0; }
  #razorpayModal #checkoutContact { margin-bottom: 0.75rem !important; }
  #razorpayModal .autopay-switch-box { margin: 0 0 0.75rem; }
  #razorpayModal #checkoutPayMethods { margin-bottom: 0.75rem !important; }
  /* The Pay button and the terms line stay at the bottom of the card. The terms line
     carries the solid panel behind the button (::before), so the form does not show
     through while it scrolls under them. While payments are closed the pay methods and
     the terms line are hidden, and the button then stays in the flow.
     1.58rem = the terms line (0.72rem x 1.5) + the 0.5rem gap above it. */
  #checkoutPayMethods:not([hidden]) ~ #btnConfirmPayment { position: sticky; bottom: 1.58rem; z-index: 2; }
  #checkoutTermsNote {
    position: sticky;
    bottom: -1.25rem;
    z-index: 1;
    margin: 0.5rem 0 -1.25rem !important;
    padding-bottom: 1.25rem;
    background: #fffdf8;
  }
  #checkoutTermsNote::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 100%;
    height: 4.4rem;
    background: #fffdf8;
    border-top: 1px solid rgba(22, 30, 46, 0.1);
  }
}

/* ---- Phones: 40px tap areas for three links that sit inside a sentence --------------------
   No word moves: the padding is taken back by a negative margin, or sits on an inline box,
   where it adds no line height.
   "How we use cookies" grows mostly upward (Decline / Accept are 9px below it).
   "Terms" grows upward as far as the Pay button and "Refund & Cancellation Policy" grows
   downward, so on two stacked lines neither area covers the other link's words. */
@media (max-width: 767px) {
  .consent-banner-text a { display: inline-block; padding: 0.9rem 0 0.5rem; margin: -0.9rem 0 -0.5rem; }
  #checkoutTermsNote a:first-of-type { display: inline-block; position: relative; padding: 0.85rem 0.4rem 0.35rem; margin: -0.85rem -0.4rem -0.35rem; }
  #checkoutTermsNote a:last-of-type { padding-bottom: 1.4rem; }
}

/* ---- "Reduce motion" (system setting) is NOT honoured: by the owner's decision ----------
   4 Dec 2026: every effect plays on every PC, including those where Windows "Animation
   effects" is off (common on budget laptops, and the setting on the owner's own PC):
   hover lifts, cards sliding in, sheens, dialog fades, the recruiter strip, smooth scrolling
   and the 3D stage (three-stage.js slows the stage to 0.65 speed for these visitors).
   Do not add a `prefers-reduced-motion` rule here or in a page without asking the owner. */
