/* ==========================================================================
   JOBREADY DESIGN SYSTEM TOKENS (§4)
   Fluid, token-driven, pixel-perfect design system for light & dark themes.
   ========================================================================== */

:root {
  /* Brand & Core Palette */
  --accent: #f05736;
  --accent-hover: #d94524;
  --accent-subtle: rgba(240, 87, 54, 0.12);
  --brand-navy: #304974;
  --brand-navy-subtle: rgba(48, 73, 116, 0.12);

  /* Role-Specific Accents (Consistent across tabs, cards, avatars, loop) */
  --role-student: #f05736;
  --role-student-rgb: 240, 87, 54;
  --role-student-bg: rgba(240, 87, 54, 0.1);
  --role-mentor: #6366f1;
  --role-mentor-rgb: 99, 102, 241;
  --role-mentor-bg: rgba(99, 102, 241, 0.1);
  --role-industry: #14b8a6;
  --role-industry-rgb: 20, 184, 166;
  --role-industry-bg: rgba(20, 184, 166, 0.1);

  /* Calibrated 300-900 Score Bands (Used strictly for score framework) */
  --band-elite: #10b981;
  --band-advanced: #0ea5e9;
  --band-proficient: #304974;
  --band-developing: #f59e0b;
  --band-foundation: #f05736;

  /* Surfaces & Borders (Dark Theme Default: near-black navy #070b14) */
  --bg: #070b14;
  --bg-raised: #0f172a;
  --bg-sunken: #030712;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-glass-bright: rgba(255, 255, 255, 0.16);
  --bg-surface: rgba(15, 23, 42, 0.75);
  --bg-surface-elevated: rgba(22, 35, 64, 0.85);

  /* Text Hierarchy (Dark Theme) */
  --text-strong: #ffffff;
  --text: #cbd5e1;
  --text-muted: #94a3b8;
  --text-faint: #64748b;

  /* Elevation Shadows & Highlights */
  --shadow-1: 0 4px 16px rgba(0, 0, 0, 0.35);
  --shadow-2: 0 12px 32px rgba(0, 0, 0, 0.45);
  --shadow-3: 0 20px 48px rgba(0, 0, 0, 0.55);
  --inner-highlight: inset 0 1px 0 rgba(255, 255, 255, 0.06);

  /* Layout & 4px Spacing Scale */
  --container-max-w: 1200px;
  --container-gutter: clamp(20px, 4vw, 40px);
  --section-py: clamp(72px, 9vw, 128px);
  --section-py-half: calc(var(--section-py) * 0.5);

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;

  /* Corner Radii */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 9999px;

  /* Score Component Constraints */
  --score-card-w: 560px;

  /* Typography Families */
  --font-display: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  /* Fluid Type Scale */
  --fs-h1: clamp(2.5rem, 5.2vw, 4rem);
  --lh-h1: 1.06;
  --ls-h1: -0.035em;

  --fs-h2: clamp(2rem, 3.6vw, 2.875rem);
  --lh-h2: 1.12;
  --ls-h2: -0.03em;

  --fs-h3: clamp(1.25rem, 2vw, 1.5rem);
  --lh-h3: 1.25;
  --ls-h3: -0.02em;

  --fs-eyebrow: 0.75rem;
  --ls-eyebrow: 0.14em;

  --fs-lead: clamp(1.05rem, 1.6vw, 1.2rem);
  --lh-lead: 1.65;
  --ls-lead: -0.005em;

  --fs-body: 1rem;
  --lh-body: 1.65;

  --fs-caption: 0.875rem;
  --lh-caption: 1.5;

  --fs-stat: clamp(2.5rem, 4vw, 3.5rem);
  --lh-stat: 1;
  --ls-stat: -0.04em;
}

[data-theme="light"] {
  /* Surfaces & Borders (Light Theme) */
  --bg: #f8fafc;
  --bg-raised: #ffffff;
  --bg-sunken: #f1f5f9;
  --border: rgba(48, 73, 116, 0.12);
  --border-strong: rgba(48, 73, 116, 0.22);
  --border-glass: rgba(48, 73, 116, 0.12);
  --border-glass-bright: rgba(48, 73, 116, 0.22);
  --bg-surface: #ffffff;
  --bg-surface-elevated: #ffffff;

  /* Text Tokens (Contrast Verified >= 4.5:1 against #ffffff & #f8fafc) */
  --text-strong: #0f172a;
  --text: #334155;
  --text-muted: #475569;
  --text-faint: #64748b;

  /* Shadows (Light Theme) */
  --shadow-1: 0 4px 16px rgba(48, 73, 116, 0.06);
  --shadow-2: 0 12px 28px rgba(48, 73, 116, 0.09);
  --shadow-3: 0 20px 44px rgba(48, 73, 116, 0.14);
  --inner-highlight: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

/* --------------------------------------------------------------------------
   0. Layout Container (1200px Capped Measure & Gutters)
   -------------------------------------------------------------------------- */
.home-section .container,
.site-navbar .container,
.site-footer .container,
.tech-marquee-section .container,
.how-it-works-section .container,
.paths-section .container,
.mentor-rail-section .container,
.proof-section .container,
.final-cta-section .container {
  max-width: var(--container-max-w, 1200px) !important;
  width: 100% !important;
  padding-left: var(--container-gutter, clamp(20px, 4vw, 40px)) !important;
  padding-right: var(--container-gutter, clamp(20px, 4vw, 40px)) !important;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  transition: background-color 0.25s ease, color 0.25s ease;
}

/* --------------------------------------------------------------------------
   Typography Tokens & Shared Section Headers
   -------------------------------------------------------------------------- */
.eyebrow,
.home-section-eyebrow {
  font-family: var(--font-display);
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
}

.home-section-title,
.section-title {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 800;
  line-height: var(--lh-h2);
  letter-spacing: var(--ls-h2);
  color: var(--text-strong);
  margin-bottom: var(--space-3);
  text-wrap: balance;
}

.home-section-sub,
.section-lead {
  font-family: var(--font-body);
  font-size: var(--fs-lead);
  font-weight: 400;
  line-height: var(--lh-lead);
  letter-spacing: var(--ls-lead);
  color: var(--text-muted);
  max-width: 62ch;
  margin-bottom: var(--space-6);
  text-wrap: pretty;
}

.section-head {
  margin-bottom: var(--space-8);
}

.section-head.text-center .home-section-sub,
.section-head.text-center .section-lead {
  margin-left: auto;
  margin-right: auto;
}

/* Focus Visibility Ring on Interactive Elements */
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   0.1. Navbar Refinements (Theme toggle, user pill & dynamic carets)
   -------------------------------------------------------------------------- */
.site-navbar .theme-toggle-btn {
  width: 52px !important;
  height: 28px !important;
  padding: 2px !important;
  border-radius: 9999px !important;
  position: relative !important;
  background: var(--bg-surface-elevated, rgba(22, 35, 64, 0.75)) !important;
  border: 1.5px solid var(--border-glass-bright, rgba(255, 255, 255, 0.15)) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  cursor: pointer !important;
  box-sizing: border-box !important;
  flex-shrink: 0 !important;
}

.site-navbar .theme-toggle-btn .theme-icon {
  width: 22px !important;
  height: 22px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 0.72rem !important;
  z-index: 2 !important;
  color: var(--text-muted, #94a3b8) !important;
  transition: opacity 0.2s ease, color 0.2s ease !important;
}

.site-navbar .theme-toggle-btn .theme-toggle-thumb {
  position: absolute !important;
  top: 2px !important;
  left: 2px !important;
  width: 20px !important;
  height: 20px !important;
  border-radius: 50% !important;
  z-index: 1 !important;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.25s ease !important;
}

[data-theme="dark"] .site-navbar .theme-toggle-btn .theme-toggle-thumb {
  transform: translateX(24px) !important;
  background: linear-gradient(135deg, #304974, #466ca8) !important;
  box-shadow: 0 1px 6px rgba(48, 73, 116, 0.6) !important;
}

[data-theme="dark"] .site-navbar .theme-toggle-btn .moon-icon {
  color: #ffffff !important;
  opacity: 1 !important;
}

[data-theme="dark"] .site-navbar .theme-toggle-btn .sun-icon {
  color: #64748b !important;
  opacity: 0.6 !important;
}

[data-theme="light"] .site-navbar .theme-toggle-btn .theme-toggle-thumb {
  transform: translateX(0) !important;
  background: linear-gradient(135deg, #f59e0b, #f05736) !important;
  box-shadow: 0 1px 6px rgba(240, 87, 54, 0.4) !important;
}

[data-theme="light"] .site-navbar .theme-toggle-btn .sun-icon {
  color: #ffffff !important;
  opacity: 1 !important;
}

[data-theme="light"] .site-navbar .theme-toggle-btn .moon-icon {
  color: #94a3b8 !important;
  opacity: 0.6 !important;
}

/* User Profile & Connect Buttons: Remove Bootstrap duplicate caret and make single arrow rotate */
.nav-user-pill-btn.dropdown-toggle::after,
.nav-connect-pill-btn.dropdown-toggle::after {
  display: none !important;
}

.nav-user-caret {
  display: inline-block !important;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  will-change: transform;
}

.dropdown.show .nav-user-caret,
.nav-user-pill-btn[aria-expanded="true"] .nav-user-caret,
.nav-connect-pill-btn[aria-expanded="true"] .nav-user-caret,
.nav-user-pill-btn.show .nav-user-caret,
.nav-connect-pill-btn.show .nav-user-caret {
  transform: rotate(180deg) !important;
}

/* --------------------------------------------------------------------------
   0.1. Top Navbar "Let's Connect" Dropdown Widget
   -------------------------------------------------------------------------- */
.nav-connect-dropdown-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-connect-pill-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  height: 36px !important;
  padding: 3px 13px 3px 10px !important;
  border-radius: 9999px !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  color: #ffffff !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  cursor: pointer;
  outline: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  user-select: none;
  flex-shrink: 0;
}

.nav-connect-pill-btn:hover,
.nav-connect-pill-btn:focus,
.nav-connect-pill-btn[aria-expanded="true"],
.dropdown.show .nav-connect-pill-btn {
  background: rgba(255, 255, 255, 0.15) !important;
  border-color: rgba(240, 87, 54, 0.6) !important;
  box-shadow: 0 0 14px rgba(240, 87, 54, 0.25) !important;
  color: #ffffff !important;
  transform: translateY(-1px);
}

.nav-connect-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #10b981;
  position: relative;
  display: inline-block;
  box-shadow: 0 0 8px #10b981;
  flex-shrink: 0;
  animation: pulseConnectGlow 2.2s infinite;
}

@keyframes pulseConnectGlow {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 5px rgba(16, 185, 129, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

.nav-connect-title {
  white-space: nowrap;
  line-height: 1;
}

.nav-connect-menu {
  position: absolute !important;
  top: calc(100% + 8px) !important;
  right: 0 !important;
  left: auto !important;
  background: rgba(15, 23, 42, 0.97) !important;
  backdrop-filter: blur(20px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: 16px !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55) !important;
  padding: 8px !important;
  min-width: 260px !important;
  margin: 0 !important;
  transform-origin: top right;
  z-index: 1050 !important;
}

.nav-connect-menu::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
}

.nav-connect-menu .dropdown-item {
  color: #cbd5e1 !important;
  border-radius: 10px !important;
  transition: all 0.2s ease !important;
}

.nav-connect-menu .dropdown-item:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #ffffff !important;
  transform: translateX(3px);
}

.nav-connect-icon-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.92rem;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.nav-connect-menu .dropdown-item:hover .nav-connect-icon-circle {
  transform: scale(1.1);
}

/* Light Mode Overrides for Connect Button & Menu */
[data-theme="light"] .nav-connect-pill-btn {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  color: #0f172a !important;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.05) !important;
}

[data-theme="light"] .nav-connect-pill-btn:hover,
[data-theme="light"] .nav-connect-pill-btn:focus,
[data-theme="light"] .nav-connect-pill-btn[aria-expanded="true"],
[data-theme="light"] .dropdown.show .nav-connect-pill-btn {
  border-color: #f05736 !important;
  color: #0f172a !important;
  box-shadow: 0 0 12px rgba(240, 87, 54, 0.2) !important;
}

[data-theme="light"] .nav-connect-menu {
  background: #ffffff !important;
  border: 1px solid rgba(226, 232, 240, 0.95) !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12) !important;
}

[data-theme="light"] .nav-connect-menu .dropdown-item {
  color: #334155 !important;
}

[data-theme="light"] .nav-connect-menu .dropdown-item:hover {
  background: #f1f5f9 !important;
  color: #0f172a !important;
}

[data-theme="light"] .nav-connect-item-title {
  color: #0f172a !important;
}

/* Desktop Hover Interaction (Opens on hover like user requested) */
@media (min-width: 992px) {

  .nav-connect-dropdown-wrap:hover>.dropdown-menu,
  .nav-user-profile-wrap:hover>.dropdown>.dropdown-menu {
    display: block !important;
    animation: navPillDropdownIn 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }

  .nav-connect-dropdown-wrap:hover .nav-user-caret,
  .nav-user-profile-wrap:hover .nav-user-caret {
    transform: rotate(180deg) !important;
  }
}

@keyframes navPillDropdownIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Floating AI Robot Button Clean Placement */
.floating-robot-trigger {
  margin-bottom: 0 !important;
}

/* --------------------------------------------------------------------------
   0.2. Desktop Navbar Centering & Light Mode Alignment
   -------------------------------------------------------------------------- */
@media (min-width: 992px) {
  .site-navbar {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1030;
  }

  .site-navbar .container {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
  }

  .site-navbar .navbar-collapse {
    position: static !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    width: 100% !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    max-height: none !important;
    overflow: visible !important;
  }

  /* Center Nav Buttons Perfectly in Screen/Container */
  .site-navbar .navbar-nav {
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 6px !important;
    margin: 0 !important;
    padding: 0 !important;
    z-index: 5 !important;
  }

  .site-navbar .nav-right-controls {
    margin-left: auto !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    z-index: 6 !important;
  }
}

.site-navbar .nav-link-custom {
  font-family: var(--font-display, 'Plus Jakarta Sans', sans-serif) !important;
  font-size: 0.92rem !important;
  font-weight: 600 !important;
  letter-spacing: -0.01em !important;
  padding: 7px 16px !important;
  border-radius: 9999px !important;
  color: rgba(255, 255, 255, 0.78) !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.site-navbar .nav-link-custom:hover {
  color: #ffffff !important;
  background-color: rgba(255, 255, 255, 0.08) !important;
  transform: translateY(-1px);
}

.site-navbar .nav-link-custom.active {
  color: #ffffff !important;
  background-color: rgba(240, 87, 54, 0.16) !important;
  border: 1px solid rgba(240, 87, 54, 0.35) !important;
}

/* Light Theme Navbar Harmonization */
[data-theme="light"] .site-navbar,
[data-bs-theme="light"] .site-navbar {
  background-color: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(20px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 2px 14px rgba(15, 23, 42, 0.04) !important;
}

[data-theme="light"] .site-navbar.scrolled,
[data-bs-theme="light"] .site-navbar.scrolled {
  background-color: rgba(255, 255, 255, 0.98) !important;
  border-bottom-color: rgba(0, 0, 0, 0.1) !important;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.08) !important;
}

[data-theme="light"] .site-navbar .nav-link-custom {
  color: #334155 !important;
}

[data-theme="light"] .site-navbar .nav-link-custom:hover {
  color: #0f172a !important;
  background-color: rgba(15, 23, 42, 0.06) !important;
}

[data-theme="light"] .site-navbar .nav-link-custom.active {
  color: #f05736 !important;
  background-color: rgba(240, 87, 54, 0.1) !important;
  border-color: rgba(240, 87, 54, 0.25) !important;
}

[data-theme="light"] .nav-user-pill-btn {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  color: #0f172a !important;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.05) !important;
}

[data-theme="light"] .nav-user-pill-btn:hover {
  border-color: #f05736 !important;
  color: #0f172a !important;
}



/* --------------------------------------------------------------------------
   2. Hero Section Typography & Balanced Layout (§5.1)
   -------------------------------------------------------------------------- */
.hero-v2 {
  padding-top: clamp(36px, 5vw, 64px);
  padding-bottom: clamp(48px, 6vw, 80px);
  min-height: min(88vh, 820px);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 75% 45%, rgba(240, 87, 54, 0.08) 0%, transparent 60%),
              radial-gradient(circle at 25% 65%, rgba(48, 73, 116, 0.12) 0%, transparent 70%);
}

/* Calm Ambient Background */
.hero-ambient-fx {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: 
    linear-gradient(to right, var(--border) 1px, transparent 1px),
    linear-gradient(to bottom, var(--border) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at 60% 45%, black 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at 60% 45%, black 20%, transparent 75%);
  opacity: 0.55;
  z-index: 1;
}

.hero-announcement-chip {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--accent-subtle);
  border: 1px solid rgba(240, 87, 54, 0.28);
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: var(--space-4);
  text-decoration: none;
  transition: all 0.2s ease;
}

.hero-announcement-chip:hover {
  background: rgba(240, 87, 54, 0.18);
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
}

.hero-v2-h1 {
  font-family: var(--font-display);
  font-size: var(--fs-h1);
  font-weight: 800;
  line-height: var(--lh-h1);
  letter-spacing: var(--ls-h1);
  color: var(--text-strong);
  margin-bottom: var(--space-4);
  text-wrap: balance;
  max-width: 22ch;
}

/* Simplified Highlight: solid accent with crisp 3px underline, no filter or negative z */
.hero-highlight-word {
  color: var(--accent);
  background-image: linear-gradient(currentColor, currentColor);
  background-position: 0 94%;
  background-repeat: no-repeat;
  background-size: 100% 3px;
  padding-bottom: 2px;
}

.hero-v2-sub {
  font-family: var(--font-body);
  font-size: var(--fs-lead);
  font-weight: 400;
  line-height: var(--lh-lead);
  color: var(--text-muted);
  max-width: 58ch;
  margin-bottom: var(--space-5);
  text-wrap: pretty;
}

/* Three-Sided Promise Line (§5.1 Item 4) */
.hero-promise-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3) var(--space-4);
  margin-bottom: var(--space-6);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-1);
}

.hero-promise-item {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--fs-caption);
  font-weight: 600;
  color: var(--text);
}

.hero-promise-item i {
  font-size: 0.95rem;
}

.hero-promise-item.student i { color: var(--role-student); }
.hero-promise-item.mentor i { color: var(--role-mentor); }
.hero-promise-item.industry i { color: var(--role-industry); }

.hero-promise-divider {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: var(--text-faint);
}

/* Hero Role Buttons */
.hero-role-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-2);
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  height: 48px;
  padding: 0 var(--space-6);
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: #ffffff !important;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  border: none;
  box-shadow: 0 4px 18px rgba(240, 87, 54, 0.4);
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-hero-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(240, 87, 54, 0.5);
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  height: 48px;
  padding: 0 var(--space-5);
  border-radius: var(--radius-pill);
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  color: var(--text-strong) !important;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--text-muted);
  transform: translateY(-2px);
}

[data-theme="light"] .btn-hero-secondary {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #0f172a !important;
}

[data-theme="light"] .btn-hero-secondary:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
}

.hero-cta-helper {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: var(--space-2);
  margin-bottom: var(--space-6);
}

/* Hero Proof / Trust Strip */
.hero-trust-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid var(--border);
}

.hero-trust-item {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
}

.hero-trust-item i {
  color: var(--accent);
}

/* Score Card Mount Width Alignment (§5.1 & §5.2) */
.hero-score-wrapper {
  max-width: var(--score-card-w, 560px);
  width: 100%;
  margin-left: auto;
}

/* --------------------------------------------------------------------------
   NEW SECTION: How JobReady Works — The Loop (§5.4)
   -------------------------------------------------------------------------- */
.how-it-works-section {
  padding: var(--section-py) 0;
  position: relative;
  background-color: var(--bg);
  border-top: 1px solid var(--border);
}

/* The 5-Step Loop Visual */
.loop-diagram-wrap {
  position: relative;
  margin-bottom: var(--space-9);
}

.loop-nodes-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-4);
  position: relative;
}

.loop-node-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  box-shadow: var(--shadow-1);
}

.loop-node-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-2);
  border-color: var(--border-strong);
}

.loop-node-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-3);
}

.loop-step-chip {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--text-strong);
  display: flex;
  align-items: center;
  justify-content: center;
}

.loop-role-actor-badge {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
}

.loop-node-card.actor-industry { border-top: 3px solid var(--role-industry); }
.loop-node-card.actor-industry .loop-role-actor-badge { background: var(--role-industry-bg); color: var(--role-industry); }
.loop-node-card.actor-industry .loop-icon-chip { color: var(--role-industry); background: var(--role-industry-bg); }

.loop-node-card.actor-mentor { border-top: 3px solid var(--role-mentor); }
.loop-node-card.actor-mentor .loop-role-actor-badge { background: var(--role-mentor-bg); color: var(--role-mentor); }
.loop-node-card.actor-mentor .loop-icon-chip { color: var(--role-mentor); background: var(--role-mentor-bg); }

.loop-node-card.actor-student { border-top: 3px solid var(--role-student); }
.loop-node-card.actor-student .loop-role-actor-badge { background: var(--role-student-bg); color: var(--role-student); }
.loop-node-card.actor-student .loop-icon-chip { color: var(--role-student); background: var(--role-student-bg); }

.loop-node-card.actor-score { border-top: 3px solid #38bdf8; }
.loop-node-card.actor-score .loop-role-actor-badge { background: rgba(56, 189, 248, 0.12); color: #38bdf8; }
.loop-node-card.actor-score .loop-icon-chip { color: #38bdf8; background: rgba(56, 189, 248, 0.12); }

.loop-icon-chip {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  margin-bottom: var(--space-4);
}

.loop-node-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-strong);
  margin-bottom: var(--space-2);
}

.loop-node-desc {
  font-size: var(--fs-caption);
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 0;
}

/* Loop Connecting Arrows (Desktop) */
.loop-connector-arrow {
  position: absolute;
  top: 50%;
  right: -14px;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  color: var(--text-faint);
  z-index: 2;
  pointer-events: none;
}

/* Loop Completion Return Banner */
.loop-cycle-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-5);
  margin-top: var(--space-5);
  border-radius: var(--radius-pill);
  background: var(--bg-surface);
  border: 1px dashed var(--border-strong);
  color: var(--text-muted);
  font-size: 0.88rem;
  text-align: center;
}

.loop-cycle-banner i {
  color: var(--role-industry);
}

/* "Who Wins What" Ledger Strip (§5.4 Item 3) */
.ledger-wrap {
  margin-bottom: var(--space-9);
}

.ledger-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}

.ledger-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  position: relative;
  box-shadow: var(--shadow-1);
}

.ledger-card.student { border-top: 3px solid var(--role-student); }
.ledger-card.mentor { border-top: 3px solid var(--role-mentor); }
.ledger-card.industry { border-top: 3px solid var(--role-industry); }

.ledger-header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.ledger-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.ledger-card.student .ledger-icon { background: var(--role-student-bg); color: var(--role-student); }
.ledger-card.mentor .ledger-icon { background: var(--role-mentor-bg); color: var(--role-mentor); }
.ledger-card.industry .ledger-icon { background: var(--role-industry-bg); color: var(--role-industry); }

.ledger-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-strong);
  margin-bottom: 0;
}

.ledger-row {
  margin-bottom: var(--space-3);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--border);
}

.ledger-row:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.ledger-row-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 3px;
}

.ledger-row.gives .ledger-row-label { color: var(--text-faint); }
.ledger-row.gets .ledger-row-label { color: var(--accent); }

.ledger-row-val {
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--text);
  margin-bottom: 0;
}

/* Score Explainer Row (§5.4 Item 4) */
.score-explainer-card {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-glass-bright);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-2);
  margin-bottom: var(--space-7);
}

.score-explainer-head {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}

.score-explainer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}

.score-explainer-col {
  padding: var(--space-4);
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  border: 1px solid var(--border);
}

.score-explainer-col.student { border-left: 3px solid var(--role-student); }
.score-explainer-col.mentor { border-left: 3px solid var(--role-mentor); }
.score-explainer-col.industry { border-left: 3px solid var(--role-industry); }

.score-explainer-target {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-strong);
  margin-bottom: var(--space-2);
}

.score-explainer-text {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   3. Mentorship Tracks & Technologies Marquee (Dual-Stream Infinite Ribbon)
   -------------------------------------------------------------------------- */
.tech-marquee-section {
  padding: clamp(52px, 6vw, 76px) 0;
  background: var(--bg-dark-secondary, #0b1120);
  border-top: 1px solid var(--border-glass, rgba(255, 255, 255, 0.08));
  border-bottom: 1px solid var(--border-glass, rgba(255, 255, 255, 0.08));
  position: relative;
  overflow: hidden;
  z-index: 2;
}

.tech-marquee-header {
  margin-bottom: 32px;
}

.tech-marquee-badge-wrap {
  display: inline-flex;
  margin-bottom: 14px;
}

.tech-marquee-title {
  margin-bottom: 10px;
}

.tech-marquee-subtitle {
  max-width: 620px;
}

.marquee-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  user-select: none;
  padding: 4px 0;
}

.marquee-content {
  display: flex;
  gap: 16px;
  flex-shrink: 0;
  padding-right: 16px;
}

.marquee-row-1 {
  animation: scrollMarqueeLeft 45s linear infinite;
}

.marquee-row-2 {
  animation: scrollMarqueeRight 45s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

@keyframes scrollMarqueeLeft {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

@keyframes scrollMarqueeRight {
  0% {
    transform: translateX(-50%);
  }

  100% {
    transform: translateX(0);
  }
}

.tech-pill-card {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 12px 22px;
  background: var(--bg-surface, rgba(16, 25, 46, 0.85));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-glass, rgba(255, 255, 255, 0.1));
  border-radius: 9999px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
  cursor: pointer;
  white-space: nowrap;
}

.tech-pill-card:hover {
  background: rgba(26, 40, 72, 0.95);
  border-color: var(--accent, #f05736);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 16px rgba(240, 87, 54, 0.25);
}

.tech-pill-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(240, 87, 54, 0.12);
  border: 1px solid rgba(240, 87, 54, 0.25);
  color: var(--accent, #f05736);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.tech-pill-card:hover .tech-pill-icon {
  background: #f05736;
  color: #ffffff;
}

.tech-pill-info {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.tech-pill-title {
  font-family: var(--font-display, 'Plus Jakarta Sans', sans-serif);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-heading, #f8fafc);
  line-height: 1.25;
}

.tech-pill-sub {
  font-size: 0.76rem;
  color: var(--text-muted, #94a3b8);
  line-height: 1.2;
}

/* Light Theme Overrides */
[data-theme="light"] .tech-marquee-section {
  background: #f8fafc !important;
  border-color: #e2e8f0 !important;
}

[data-theme="light"] .tech-marquee-title {
  color: #0f172a !important;
}

[data-theme="light"] .tech-pill-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05) !important;
}

[data-theme="light"] .tech-pill-card:hover {
  background: #ffffff !important;
  border-color: #f05736 !important;
  box-shadow: 0 8px 24px rgba(240, 87, 54, 0.15) !important;
}

[data-theme="light"] .tech-pill-icon {
  background: #fff5f2 !important;
  border-color: rgba(240, 87, 54, 0.25) !important;
  color: #f05736 !important;
}

[data-theme="light"] .tech-pill-card:hover .tech-pill-icon {
  background: #f05736 !important;
  color: #ffffff !important;
}

[data-theme="light"] .tech-pill-title {
  color: #0f172a !important;
}

[data-theme="light"] .tech-pill-sub {
  color: #64748b !important;
}

@media (prefers-reduced-motion: reduce) {

  .marquee-row-1,
  .marquee-row-2 {
    animation: none !important;
  }

  .marquee-wrapper {
    overflow-x: auto;
  }
}



/* --------------------------------------------------------------------------
   4. "Everyone Wins" — 3 Cards Side-by-Side Layout (§5.3)
   -------------------------------------------------------------------------- */
.paths-section {
  padding: var(--section-py) 0;
  position: relative;
  background-color: var(--bg);
}

/* Desktop 3-Card Grid */
.everyone-wins-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.win-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, box-shadow 0.25s ease;
  box-shadow: var(--shadow-1);
  scroll-margin-top: 96px;
}

.win-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-2);
  border-color: var(--border-strong);
}

.win-card.card-student { border-top: 3px solid var(--role-student); }
.win-card.card-mentor { border-top: 3px solid var(--role-mentor); }
.win-card.card-industry { border-top: 3px solid var(--role-industry); }

.win-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-4);
}

.win-role-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}

.win-card.card-student .win-role-badge { background: var(--role-student-bg); color: var(--role-student); }
.win-card.card-mentor .win-role-badge { background: var(--role-mentor-bg); color: var(--role-mentor); }
.win-card.card-industry .win-role-badge { background: var(--role-industry-bg); color: var(--role-industry); }

.win-card-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--text-strong);
  margin-bottom: var(--space-4);
}

/* Gives / Gets Pill Strip */
.win-gives-gets {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  margin-bottom: var(--space-5);
  font-size: 0.84rem;
  line-height: 1.5;
}

[data-theme="light"] .win-gives-gets {
  background: #f8fafc;
}

.win-gives-gets-item {
  display: flex;
  gap: var(--space-2);
  margin-bottom: 4px;
}

.win-gives-gets-item:last-child {
  margin-bottom: 0;
}

.win-gives-gets-tag {
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.72rem;
  flex-shrink: 0;
  padding-top: 1px;
}

.win-gives-gets-tag.gives { color: var(--text-faint); }
.win-gives-gets-tag.gets { color: var(--accent); }

/* Benefits List in Cards */
.win-benefits-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}

.win-benefit-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
}

.win-benefit-icon {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.win-card.card-student .win-benefit-icon { background: var(--role-student-bg); color: var(--role-student); }
.win-card.card-mentor .win-benefit-icon { background: var(--role-mentor-bg); color: var(--role-mentor); }
.win-card.card-industry .win-benefit-icon { background: var(--role-industry-bg); color: var(--role-industry); }

.win-benefit-title {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text-strong);
  margin-bottom: 2px;
}

.win-benefit-desc {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 0;
}

/* Clean UI Snippet Preview (No macOS Traffic Light Dots) */
.win-ui-snippet {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  margin-bottom: var(--space-6);
}

.win-ui-snippet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-3);
  padding-bottom: var(--space-2);
  border-bottom: 1px solid var(--border);
}

.win-ui-metric-tile {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-strong);
}

.win-sample-badge {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 2px 6px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
}

.win-ui-activity-row {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.win-card-cta {
  margin-top: auto;
  width: 100%;
}

.btn-win-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  height: 48px;
  width: 100%;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}

.win-card.card-student .btn-win-card {
  background: var(--role-student);
  color: #ffffff !important;
}

.win-card.card-student .btn-win-card:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(240, 87, 54, 0.4);
}

.win-card.card-mentor .btn-win-card {
  background: transparent;
  border: 1.5px solid var(--role-mentor);
  color: var(--role-mentor) !important;
}

.win-card.card-mentor .btn-win-card:hover {
  background: var(--role-mentor);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.35);
}

.win-card.card-industry .btn-win-card {
  background: transparent;
  border: 1.5px solid var(--role-industry);
  color: var(--role-industry) !important;
}

.win-card.card-industry .btn-win-card:hover {
  background: var(--role-industry);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(20, 184, 166, 0.35);
}

/* Mobile Segmented Switcher for Win Cards */
.win-mobile-nav {
  display: none;
  justify-content: center;
  margin-bottom: var(--space-6);
}

@media (max-width: 991px) {
  .win-mobile-nav {
    display: flex;
  }
  .everyone-wins-grid {
    grid-template-columns: 1fr;
  }
  .win-card {
    display: none;
  }
  .win-card.active-mobile {
    display: flex;
  }
}

/* --------------------------------------------------------------------------
   5. The Mentor Rail — Editorial Showcase Spec
   -------------------------------------------------------------------------- */
.mentor-rail-section {
  padding: clamp(56px, 7vw, 92px) 0;
  position: relative;
  background: var(--bg-dark-secondary, #0b1120);
}

.company-strip-text {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-dim, #64748b);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 8px;
  margin-bottom: 2.5rem;
}

/* Mentor Rail Desktop Container */
.mentor-rail-track {
  display: flex;
  gap: 14px;
  padding: 10px 4px 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.mentor-rail-track::-webkit-scrollbar {
  height: 6px;
}

.mentor-rail-track::-webkit-scrollbar-thumb {
  background: var(--border-glass-bright, rgba(255, 255, 255, 0.15));
  border-radius: 999px;
}

/* Mobile Carousel Dots & Progress Line */
.mentor-rail-indicators {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
}

.mentor-rail-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--border-glass-bright, rgba(255, 255, 255, 0.2));
  border: none;
  padding: 0;
  transition: all 0.25s ease;
  cursor: pointer;
}

.mentor-rail-dot.active {
  width: 24px;
  background: var(--accent, #f05736);
  box-shadow: 0 0 10px rgba(240, 87, 54, 0.4);
}

[data-theme="light"] .mentor-rail-dot {
  background: #cbd5e1;
}

[data-theme="light"] .mentor-rail-dot.active {
  background: var(--accent, #f05736);
}

/* Base Portrait Panel (≈3:4 arched top) */
.mentor-panel {
  flex: 0 0 260px;
  height: 420px;
  border-radius: 40px 40px 18px 18px;
  position: relative;
  overflow: hidden;
  scroll-snap-align: start;
  text-decoration: none;
  color: #ffffff !important;
  cursor: pointer;
  background: var(--primary, #304974);
  transition: all 400ms cubic-bezier(0.2, 0.8, 0.2, 1);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Staggered height wave on desktop */
@media (min-width: 992px) {
  .mentor-rail-track {
    overflow-x: visible;
    scroll-snap-type: none;
    align-items: flex-end;
  }

  .mentor-panel {
    flex: 1 1 0px;
    min-width: 140px;
  }

  .mentor-panel:nth-child(1) {
    height: 440px;
  }

  .mentor-panel:nth-child(2) {
    height: 470px;
  }

  .mentor-panel:nth-child(3) {
    height: 410px;
  }

  .mentor-panel:nth-child(4) {
    height: 460px;
  }

  .mentor-panel:nth-child(5) {
    height: 425px;
  }

  .mentor-panel:nth-child(6) {
    height: 450px;
  }

  .mentor-panel:nth-child(7) {
    height: 440px;
  }

  /* Smooth flex-grow expansion on hover */
  .mentor-panel:hover,
  .mentor-panel:focus-visible,
  .mentor-panel.is-expanded {
    flex-grow: 2.4;
    height: 470px;
    z-index: 5;
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.5);
    border-color: rgba(240, 87, 54, 0.5);
  }

  .mentor-panel:hover .mentor-photo-layer,
  .mentor-panel:focus-visible .mentor-photo-layer,
  .mentor-panel.is-expanded .mentor-photo-layer {
    filter: none;
    transform: scale(1.04);
  }

  .mentor-panel:hover .mentor-hover-details,
  .mentor-panel:focus-visible .mentor-hover-details,
  .mentor-panel.is-expanded .mentor-hover-details {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
}

/* Mobile Carousel Spec */
@media (max-width: 991px) {
  .mentor-panel {
    flex: 0 0 78%;
    height: 400px;
  }

  .mentor-hover-details {
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto !important;
  }

  .mentor-panel .mentor-photo-layer {
    filter: none;
  }
}

/* Layers inside Mentor Panel */
.mentor-photo-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms cubic-bezier(0.2, 0.8, 0.2, 1), filter 400ms ease;
  filter: contrast(1.05) brightness(0.9);
}

/* Duotone Gradient Overlay */
.mentor-duotone-layer {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(48, 73, 116, 0.35) 0%, rgba(240, 87, 54, 0.45) 100%);
  mix-blend-mode: color;
  pointer-events: none;
  transition: opacity 350ms ease;
}

.mentor-panel:hover .mentor-duotone-layer,
.mentor-panel:focus-visible .mentor-duotone-layer,
.mentor-panel.is-expanded .mentor-duotone-layer {
  opacity: 0.15;
}

/* Bottom Scrim for WCAG AA Contrast */
.mentor-scrim-layer {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 11, 20, 0.95) 0%, rgba(7, 11, 20, 0.65) 45%, transparent 75%);
  pointer-events: none;
}

/* Outlined Index Number (01, 02...) */
.mentor-index-num {
  position: absolute;
  top: 16px;
  left: 20px;
  font-family: var(--font-display, 'Plus Jakarta Sans', sans-serif);
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.45);
  pointer-events: none;
}

/* Monogram Fallback Panel */
.mentor-monogram-layer {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 30%, #466ca8 0%, #304974 60%, #10192e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mentor-monogram-initials {
  font-family: var(--font-display, 'Plus Jakarta Sans', sans-serif);
  font-size: 4rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.18);
  letter-spacing: 0.05em;
  user-select: none;
}

/* Panel Content Body */
.mentor-content-body {
  position: relative;
  z-index: 2;
  padding: 20px;
}

.mentor-name {
  font-family: var(--font-display, 'Plus Jakarta Sans', sans-serif);
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 4px;
}

.mentor-role-line {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Hover Details (Skill chips + Action) */
.mentor-hover-details {
  opacity: 0;
  transform: translateY(8px);
  transition: all 300ms cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.mentor-skill-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 12px;
}

.mentor-chip {
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 0.72rem;
  font-weight: 600;
  color: #ffffff;
}

.mentor-book-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent, #f05736);
  text-decoration: none;
}

/* Last Panel: Coral CTA Panel "Your Face Here" */
.mentor-panel-cta {
  background: linear-gradient(135deg, var(--accent, #f05736) 0%, #d94323 100%) !important;
  border-color: rgba(255, 255, 255, 0.2);
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
}

.mentor-panel-cta .mentor-content-body {
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mentor-cta-icon {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.9);
}

.mentor-cta-title {
  font-family: var(--font-display, 'Plus Jakarta Sans', sans-serif);
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: #ffffff;
}

.mentor-cta-sub {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 16px;
}



/* --------------------------------------------------------------------------
   6. Proof Counters & Testimonials (§5.6)
   Standardized section padding; zero dead space; tabular numbers; role badges
   -------------------------------------------------------------------------- */
.proof-section {
  padding: var(--section-py) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background-color: var(--bg-sunken);
  position: relative;
}

.proof-counters-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
  text-align: center;
  margin-bottom: var(--space-8);
  position: relative;
}

.proof-counter-item {
  padding: 0 var(--space-4);
  position: relative;
}

.proof-counter-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background-color: var(--border-strong);
}

.proof-num {
  font-family: var(--font-display);
  font-size: var(--fs-stat);
  font-weight: 800;
  line-height: var(--lh-stat);
  letter-spacing: var(--ls-stat);
  color: var(--text-strong);
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
  margin-bottom: var(--space-2);
}

.proof-label {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-strong);
  margin-bottom: var(--space-1);
}

.proof-subdesc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 0;
}

/* Testimonial Cards */
.proof-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}

.proof-quote-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-1);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.proof-quote-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-2);
}

.proof-quote-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-4);
}

.role-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}

.role-badge-student { background: var(--role-student-bg); color: var(--role-student); }
.role-badge-mentor { background: var(--role-mentor-bg); color: var(--role-mentor); }
.role-badge-industry { background: var(--role-industry-bg); color: var(--role-industry); }

.proof-quote-text {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-style: normal;
  line-height: 1.55;
  color: var(--text);
  margin-bottom: var(--space-5);
}

.proof-author-wrap {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-top: auto;
}

.proof-author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.92rem;
  flex-shrink: 0;
}

.proof-author-avatar.student { background: var(--role-student-bg); color: var(--role-student); border: 1.5px solid var(--role-student); }
.proof-author-avatar.mentor { background: var(--role-mentor-bg); color: var(--role-mentor); border: 1.5px solid var(--role-mentor); }
.proof-author-avatar.industry { background: var(--role-industry-bg); color: var(--role-industry); border: 1.5px solid var(--role-industry); }

.proof-author-name {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-strong);
}

.proof-author-role {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   7. Final CTA Section (§5.7)
   Role cards as action buttons; seamless 1px border into footer
   -------------------------------------------------------------------------- */
.final-cta-section {
  padding: var(--section-py) 0;
  position: relative;
  background-color: var(--bg);
  border-top: 1px solid var(--border);
  text-align: center;
}

.final-cta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
  margin-top: var(--space-7);
  text-align: left;
}

.final-cta-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-1);
  position: relative;
}

.final-cta-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-3);
  border-color: var(--border-strong);
}

.final-cta-card.student {
  border-top: 3px solid var(--role-student);
  background: linear-gradient(180deg, rgba(240, 87, 54, 0.04) 0%, var(--bg-surface) 100%);
}

.final-cta-card.mentor {
  border-top: 3px solid var(--role-mentor);
}

.final-cta-card.industry {
  border-top: 3px solid var(--role-industry);
}

.final-cta-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-4);
}

.final-cta-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}

.final-cta-card.student .final-cta-icon-box { background: var(--role-student-bg); color: var(--role-student); }
.final-cta-card.mentor .final-cta-icon-box { background: var(--role-mentor-bg); color: var(--role-mentor); }
.final-cta-card.industry .final-cta-icon-box { background: var(--role-industry-bg); color: var(--role-industry); }

.final-cta-arrow {
  color: var(--text-faint);
  transition: transform 0.2s ease, color 0.2s ease;
}

.final-cta-card:hover .final-cta-arrow {
  color: var(--text-strong);
  transform: translateX(4px);
}

.final-cta-card-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-strong);
  margin-bottom: var(--space-2);
}

.final-cta-card-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   8. Responsive Behavior & Reduced Motion (§7 & §8)
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
  .loop-nodes-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
  .loop-connector-arrow {
    display: none;
  }
  .ledger-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
  .score-explainer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
  .proof-counters-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
  }
  .proof-counter-item:nth-child(2)::after {
    display: none;
  }
  .proof-testimonials-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
  .final-cta-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
  .hero-v2-h1 {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .proof-counters-grid {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }
  .proof-counter-item::after {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
