*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --font: "Inter", system-ui, -apple-system, sans-serif;

  /* Brand */
  --brand-primary: #1e3a8a;
  --brand-accent: #2563eb;
  --brand-accent-light: #dbeafe;

  /* Text */
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;

  /* Surfaces & Tints (Enhanced) */
  --surface-white: #ffffff;
  --surface-subtle: #f8fafc;
  --surface-border: #e2e8f0;

  --surface-blue-tint: #f4f8ff;
  --surface-cool-tint: #f6f9fc;

  /* Category colors */
  --cat-core: #2563eb;
  --cat-core-bg: #eff6ff;
  --cat-core-border: #bfdbfe;

  --cat-ap: #7c3aed;
  --cat-ap-bg: #f5f3ff;
  --cat-ap-border: #ddd6fe;

  --cat-stem: #059669;
  --cat-stem-bg: #ecfdf5;
  --cat-stem-border: #a7f3d0;

  --cat-college: #d97706;
  --cat-college-bg: #fffbeb;
  --cat-college-border: #fde68a;

  /* Layout */
  --section-pad: 96px;
  --container-width: 1200px;
  --container-pad: 32px;

  /* Shape */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;

  /* Shadow (Enhanced for richness) */
  --shadow-sm:
    0 2px 4px rgba(15, 23, 42, 0.03), 0 1px 2px rgba(15, 23, 42, 0.02);
  --shadow-md:
    0 4px 12px rgba(15, 23, 42, 0.06), 0 2px 6px rgba(15, 23, 42, 0.03);
  --shadow-hover:
    0 12px 28px rgba(15, 23, 42, 0.06), 0 4px 10px rgba(15, 23, 42, 0.04);

  /* Nav heights */
  --navbar-h: 72px;
  --nav-h: 57px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--text-primary);
  background: var(--surface-white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

/* ════════════════════════════════════════
       BUTTONS
    ════════════════════════════════════════ */

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand-accent);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow:
    0 4px 12px rgba(37, 99, 235, 0.25),
    inset 0 1px 1px rgba(255, 255, 255, 0.2);
  white-space: nowrap;
}

.btn-primary:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
  box-shadow:
    0 6px 20px rgba(37, 99, 235, 0.35),
    inset 0 1px 1px rgba(255, 255, 255, 0.2);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text-secondary);
  font-size: 15px;
  font-weight: 500;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  text-decoration: none;
  border: 1.5px solid var(--surface-border);
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-ghost:hover {
  background: #f8fafc;
  color: var(--brand-accent);
  border-color: var(--brand-accent-light);
}

/* ════════════════════════════════════════
       NAVBAR
    ════════════════════════════════════════ */

.navbar {
  height: var(--navbar-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--container-pad);
  background: var(--surface-white);
  border-bottom: 1px solid var(--surface-border);
  position: sticky;
  top: 0;
  z-index: 1000;
  max-width: 100%;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-brand-container {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-logo {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  object-fit: cover;
}

.nav-brand-name {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.nav-dropdown-container {
  position: relative;
}

.nav-dropdown-btn {
  background: transparent;
  border: none;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.nav-dropdown-btn svg {
  transition: transform 0.2s ease;
}

.nav-dropdown-btn:hover,
.nav-dropdown-btn.active {
  background: var(--surface-subtle);
  color: var(--text-primary);
}

.nav-dropdown-btn.active svg {
  transform: rotate(180deg);
}

/* Megamenu */
.nav-megamenu {
  position: fixed;
  top: var(--navbar-h);
  left: 0;
  width: 100%;
  background: var(--surface-white);
  border-bottom: 1px solid var(--surface-border);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.06);
  padding: 40px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 950;
}

.nav-megamenu.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mega-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.mega-item-title {
  font-weight: 700;
  font-size: 15px;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.mega-item-desc {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.5;
}

.mega-item-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-accent);
  text-decoration: none;
  transition: gap 0.2s;
}

.mega-item-link:hover {
  gap: 8px;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-btn-login {
  background: transparent;
  color: var(--text-primary);
  font-weight: 600;
  border: none;
  font-size: 14px;
  cursor: pointer;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  transition: background 0.2s;
}

.nav-btn-login:hover {
  background: var(--surface-subtle);
}

.nav-btn-signup {
  font-size: 14px;
  padding: 10px 20px;
}

/* ════════════════════════════════════════
       HERO
    ════════════════════════════════════════ */

#hero {
  background: var(--surface-white);
  padding: 80px 0 88px;
  position: relative;
  overflow: hidden;
}

#hero::after {
  content: "";
  position: absolute;
  top: -160px;
  right: -100px;
  width: 720px;
  height: 720px;
  background: radial-gradient(
    circle,
    rgba(37, 99, 235, 0.06) 0%,
    rgba(37, 99, 235, 0.01) 40%,
    transparent 70%
  );
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--brand-accent);
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  padding: 6px 12px;
  border-radius: 100px;
  margin-bottom: 24px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.06);
  width: max-content;
}

.hero-headline {
  font-size: clamp(38px, 4.8vw, 54px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 20px;
  max-width: 600px;
}

.hero-headline em {
  font-style: normal;
  color: var(--brand-accent);
}

.hero-subtext {
  font-size: 17px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Hero visual: 2×2 stat cards */
.hero-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  position: relative;
  z-index: 1;
}

.hero-stat-card {
  background: var(--surface-white);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-md);
  padding: 22px 20px;
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}

.hero-stat-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.hero-stat-card:nth-child(2) {
  margin-top: 28px;
}

.hero-stat-card:nth-child(4) {
  margin-top: -28px;
}

.stat-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  border: 1px solid rgba(0, 0, 0, 0.02);
  box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.5);
}

.stat-value {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.4;
}

/* ════════════════════════════════════════
       PROGRAM EXPLORATION GRID
    ════════════════════════════════════════ */

#programs {
  background: var(--surface-subtle);
  padding-bottom: var(--section-pad);
}

/* Sticky category nav */
.programs-nav-wrapper {
  position: sticky;
  top: var(--navbar-h);
  /* Under main navbar */
  z-index: 900;
  background: rgba(248, 250, 252, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--surface-border);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.02);
}

.programs-nav {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-tab {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 20px;
  height: var(--nav-h);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition:
    color 0.18s,
    border-color 0.18s;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-tab:hover {
  color: var(--text-primary);
}

.nav-tab.active {
  font-weight: 600;
}

.nav-tab[data-cat="common-core"].active {
  color: var(--cat-core);
  border-bottom-color: var(--cat-core);
}

.nav-tab[data-cat="ap-pre-ap"].active {
  color: var(--cat-ap);
  border-bottom-color: var(--cat-ap);
}

.nav-tab[data-cat="stem"].active {
  color: var(--cat-stem);
  border-bottom-color: var(--cat-stem);
}

.nav-tab[data-cat="college"].active {
  color: var(--cat-college);
  border-bottom-color: var(--cat-college);
}

/* Category section anatomy */
.cat-section {
  scroll-margin-top: calc(var(--navbar-h) + var(--nav-h));
}

.cat-section-header {
  padding: 60px 0 36px;
}

.cat-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 100px;
  margin-bottom: 14px;
  border: 1px solid rgba(0, 0, 0, 0.03);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
  width: max-content;
  /* Ensures it stays a compact tag */
  flex-shrink: 0;
}

.cat-title {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.cat-subtitle {
  font-size: 14.5px;
  color: var(--text-secondary);
  max-width: 580px;
  line-height: 1.6;
}

/* 4-column card grid */
.program-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.program-card {
  background: var(--surface-white);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease;
}

.program-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.program-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

/* Color accents per category section */
[data-section="common-core"] .program-card::before {
  background: var(--cat-core);
}

[data-section="ap-pre-ap"] .program-card::before {
  background: var(--cat-ap);
}

[data-section="stem"] .program-card::before {
  background: var(--cat-stem);
}

[data-section="college"] .program-card::before {
  background: var(--cat-college);
}

/* Hover soft backgrounds */
[data-section="common-core"] .program-card:hover {
  border-color: var(--cat-core-border);
  background: linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
}

[data-section="ap-pre-ap"] .program-card:hover {
  border-color: var(--cat-ap-border);
  background: linear-gradient(180deg, #ffffff 0%, #fcfaff 100%);
}

[data-section="stem"] .program-card:hover {
  border-color: var(--cat-stem-border);
  background: linear-gradient(180deg, #ffffff 0%, #f6fdfa 100%);
}

[data-section="college"] .program-card:hover {
  border-color: var(--cat-college-border);
  background: linear-gradient(180deg, #ffffff 0%, #fffcf5 100%);
}

/* Virtual Live Tag */
.virtual-tag {
  position: absolute;
  top: 24px;
  right: 24px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--surface-subtle);
  padding: 4px 10px;
  border-radius: 100px;
  border: 1px solid var(--surface-border);
  z-index: 2;
  transition: all 0.2s ease;
  width: max-content;
}

.virtual-tag svg {
  width: 12px;
  height: 12px;
  color: var(--text-secondary);
}

.program-card:hover .virtual-tag {
  border-color: #cbd5e1;
  background: #ffffff;
}

.card-icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  flex-shrink: 0;
  border: 1px solid rgba(0, 0, 0, 0.02);
  box-shadow:
    inset 0 2px 4px rgba(255, 255, 255, 0.6),
    0 2px 4px rgba(0, 0, 0, 0.02);
}

.card-title {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin-bottom: 7px;
}

.card-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 20px;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: gap 0.18s;
}

.card-link:hover {
  gap: 9px;
}

[data-section="common-core"] .card-link {
  color: var(--cat-core);
}

[data-section="ap-pre-ap"] .card-link {
  color: var(--cat-ap);
}

[data-section="stem"] .card-link {
  color: var(--cat-stem);
}

[data-section="college"] .card-link {
  color: var(--cat-college);
}

.section-rule {
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--surface-border) 10%,
    var(--surface-border) 90%,
    transparent 100%
  );
}

/* ════════════════════════════════════════
       COLLEGE READINESS (Integrated Pathway)
    ════════════════════════════════════════ */

.college-highlight-box {
  background: #ffffff;
  border: 1px solid var(--surface-border);
  border-radius: 24px;
  padding: 32px;
  position: relative;
  margin: 48px 0 64px 0;
  box-shadow:
    0 16px 48px rgba(15, 23, 42, 0.04),
    0 4px 12px rgba(15, 23, 42, 0.02);
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 40px;
}

.college-highlight-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--brand-primary), var(--cat-college));
  border-radius: 24px 24px 0 0;
}

.cr-framework-panel {
  background: linear-gradient(
    180deg,
    var(--cat-college-bg) 0%,
    rgba(255, 251, 235, 0.1) 100%
  );
  border: 1px solid var(--cat-college-border);
  border-radius: 16px;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.cr-framework-panel .cat-title {
  font-size: 24px;
  margin-bottom: 12px;
  margin-top: 8px;
  line-height: 1.2;
}

.cr-framework-panel .cat-subtitle {
  font-size: 14px;
  margin-bottom: 40px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.cr-timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 36px;
  margin-top: auto;
  padding-top: 32px;
  border-top: 1px solid rgba(217, 119, 6, 0.2);
}

.cr-timeline::before {
  content: "";
  position: absolute;
  left: 23px;
  /* Centers the line under the 48px icon */
  top: 32px;
  bottom: 24px;
  width: 2px;
  background: linear-gradient(
    180deg,
    var(--cat-college-border) 0%,
    rgba(253, 230, 138, 0.2) 100%
  );
  z-index: 0;
}

.cr-t-step {
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
  z-index: 1;
}

.cr-t-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--surface-white);
  border: 2px solid var(--cat-college-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cat-college);
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.08);
  flex-shrink: 0;
}

.cr-t-icon svg {
  width: 20px;
  height: 20px;
  stroke-width: 2;
}

.cr-t-text {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.cr-cards-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
  padding: 16px 0;
}

/* ════════════════════════════════════════
       DISCOVERY SECTION
    ════════════════════════════════════════ */
#discovery {
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    var(--surface-blue-tint) 100%
  );
  padding: 112px 0 64px 0;
}

.discovery-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  align-items: center;
}

.discovery-content {
  max-width: 460px;
}

.discovery-title {
  font-size: clamp(30px, 3.8vw, 42px);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  margin-bottom: 16px;
  line-height: 1.15;
}

.discovery-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.65;
}

.discovery-ui-panel {
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.8),
    rgba(255, 255, 255, 0.4)
  );
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 24px;
  padding: 40px;
  box-shadow:
    0 16px 40px rgba(30, 58, 138, 0.04),
    inset 0 2px 4px rgba(255, 255, 255, 0.6);
}

.discovery-filter-item {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 16px;
  padding: 20px 24px;
  margin-bottom: 16px;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.02);
  transition: all 0.25s ease;
  cursor: default;
}

.discovery-filter-item:last-child {
  margin-bottom: 0;
}

.discovery-filter-item:hover {
  background: #ffffff;
  border-color: #bfdbfe;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.08);
  transform: translateY(-2px);
}

.df-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, #dbeafe 0%, #eff6ff 100%);
  color: var(--brand-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-right: 20px;
  box-shadow:
    inset 0 2px 4px rgba(255, 255, 255, 0.8),
    0 2px 4px rgba(37, 99, 235, 0.05);
  border: 1px solid rgba(37, 99, 235, 0.1);
}

.df-content {
  flex: 1;
}

.df-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.df-desc {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.df-chevron {
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  flex-shrink: 0;
  margin-left: 16px;
  transition:
    transform 0.2s ease,
    color 0.2s ease;
}

.discovery-filter-item:hover .df-chevron {
  color: var(--brand-accent);
  transform: translateX(2px);
}

/* ════════════════════════════════════════
       WHY TABMENTOR
    ════════════════════════════════════════ */
#why-tabmentor {
  background: var(--surface-cool-tint);
  padding: var(--section-pad) 0;
  border-top: 1px solid #eaeff5;
}

.why-header {
  margin-bottom: 56px;
  text-align: center;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.why-card {
  background: var(--surface-white);
  border: 1px solid #eaeff5;
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow:
    0 4px 12px rgba(15, 23, 42, 0.02),
    0 1px 2px rgba(15, 23, 42, 0.01);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}

.why-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.why-card-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
  color: var(--brand-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
}

.why-card-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

/* ════════════════════════════════════════
       HOW IT WORKS
    ════════════════════════════════════════ */

#how-it-works {
  background: var(--surface-white);
  padding: var(--section-pad) 0;
  border-top: 1px solid var(--surface-border);
}

.section-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--brand-accent);
  margin-bottom: 12px;
}

.how-header {
  margin-bottom: 68px;
}

.how-title {
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  line-height: 1.15;
  margin-bottom: 12px;
  max-width: 480px;
}

.how-subtitle {
  font-size: 15.5px;
  color: var(--text-secondary);
  max-width: 500px;
  line-height: 1.65;
}

.how-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

/* Horizontal connector between step circles */
.how-steps::before {
  content: "";
  position: absolute;
  top: 27px;
  left: 28px;
  width: calc(75% + 28px);
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--surface-border) 10%,
    var(--surface-border) 90%,
    transparent 100%
  );
  z-index: 0;
}

.how-step {
  display: flex;
  flex-direction: column;
  padding: 0 28px;
  align-items: flex-start;
}

.how-step:first-child {
  padding-left: 0;
}

.how-step:last-child {
  padding-right: 0;
}

.step-num-wrap {
  position: relative;
  z-index: 1;
  margin-bottom: 24px;
  width: 56px;
}

.step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid var(--surface-border);
  background: var(--surface-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  color: var(--brand-accent);
  letter-spacing: -0.01em;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.02);
}

.how-step:hover .step-num {
  border-color: var(--brand-accent);
  background: var(--brand-accent);
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.25);
  transform: translateY(-2px);
}

.step-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

/* ════════════════════════════════════════
       CTA CLOSE
    ════════════════════════════════════════ */

#cta-close {
  background: linear-gradient(
    180deg,
    var(--surface-subtle) 0%,
    var(--surface-blue-tint) 100%
  );
  border-top: 1px solid var(--surface-border);
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}

#cta-close::before {
  content: "";
  position: absolute;
  bottom: -200px;
  right: -50px;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(37, 99, 235, 0.06) 0%,
    rgba(37, 99, 235, 0.01) 40%,
    transparent 70%
  );
  pointer-events: none;
}

.cta-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 48px;
  position: relative;
  z-index: 1;
}

.cta-headline {
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  line-height: 1.15;
  margin-bottom: 12px;
}

.cta-headline em {
  font-style: normal;
  color: var(--brand-accent);
}

.cta-subtext {
  font-size: 15.5px;
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 540px;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  flex-shrink: 0;
}

.cta-note {
  font-size: 12px;
  color: var(--text-muted);
}

/* ════════════════════════════════════════
       HORIZONTAL SCROLL SECTIONS
    ════════════════════════════════════════ */

.horizontal-scroll-section {
  padding: 96px 0 0 0;
  background: var(--surface-subtle);
}

.hs-wrapper {
  display: flex;
  border-radius: 16px;
  padding: 16px;
  gap: 16px;
  align-items: stretch;
  overflow: hidden;
}

.hs-wrapper.masterclass {
  background: linear-gradient(90deg, #1e3a8a 0%, #2563eb 50%, #34d399 100%);
}

.hs-wrapper.events {
  background: linear-gradient(90deg, #4c1d95 0%, #7c3aed 50%, #f472b6 100%);
}

.hs-left-panel {
  width: 260px;
  flex-shrink: 0;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #ffffff;
}

.hs-eyebrow {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
}

.hs-title {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 24px;
  line-height: 1.2;
  color: #ffffff;
}

.hs-btn {
  background: #ffffff;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  transition: opacity 0.2s ease;
}

.hs-wrapper.masterclass .hs-btn {
  color: #1e3a8a;
}

.hs-wrapper.events .hs-btn {
  color: #4c1d95;
}

.hs-btn:hover {
  opacity: 0.9;
}

.hs-cards-container {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* Internet Explorer 10+ */
}

.hs-cards-container::-webkit-scrollbar {
  display: none;
  /* Safari and Chrome */
}

.hs-card {
  background: #ffffff;
  border-radius: 12px;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease;
}

.hs-card:hover {
  transform: translateY(-2px);
}

.hs-card-img {
  height: 140px;
  background: #e2e8f0;
  width: 100%;
}

.hs-card-content {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.hs-card-tag {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.hs-card-title {
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.4;
}

.hs-card-rating {
  margin-top: auto;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--text-secondary);
}

/* ════════════════════════════════════════
       GET IN TOUCH BANNER
    ════════════════════════════════════════ */

#get-in-touch {
  padding: 96px 0;
  background: var(--surface-subtle);
}

.git-banner {
  background: #02163b;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 48px 64px;
  position: relative;
  overflow: hidden;
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(2, 22, 59, 0.15);
}

.git-content {
  position: relative;
  z-index: 2;
  max-width: 500px;
}

.git-content h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #ffffff;
  line-height: 1.2;
}

.git-content p {
  font-size: 16px;
  color: #e2e8f0;
  margin-bottom: 24px;
  line-height: 1.6;
}

.git-link {
  color: #ffffff;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-size: 15px;
  transition: gap 0.2s ease;
}

.git-link:hover {
  gap: 12px;
}

.git-visual-wrapper {
  position: absolute;
  right: -40px;
  top: -80px;
  bottom: -80px;
  width: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.9;
  pointer-events: none;
}

.git-circle-outer {
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 36px solid #1e3a8a;
  border-top-color: #34d399;
  border-right-color: #34d399;
  transform: rotate(-15deg);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.git-circle-inner {
  width: 140px;
  height: 140px;
  background: #0f172a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(15deg);
}

/* ════════════════════════════════════════
       FOOTER
    ════════════════════════════════════════ */
.site-footer {
  background: var(--surface-subtle);
  border-top: 1px solid var(--surface-border);
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 64px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.footer-logo {
  width: 28px;
  height: 28px;
  border-radius: 4px;
  object-fit: cover;
}

.footer-desc {
  font-size: 14.5px;
  color: var(--text-secondary);
  margin-bottom: 24px;
  max-width: 340px;
  line-height: 1.6;
}

.footer-socials {
  display: flex;
  gap: 16px;
}

.footer-socials a {
  color: var(--text-muted);
  transition: color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-socials a:hover {
  color: var(--brand-accent);
}

.footer-col-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--brand-accent);
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--surface-border);
  text-align: center;
  font-size: 13.5px;
  color: var(--text-muted);
}

/* ════════════════════════════════════════
       RESPONSIVE
    ════════════════════════════════════════ */

@media (max-width: 1060px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-visual {
    max-width: 440px;
  }

  .program-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .how-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .how-steps::before {
    display: none;
  }

  .how-step {
    padding: 0;
  }

  .cta-inner {
    grid-template-columns: 1fr;
  }

  .cta-actions {
    align-items: flex-start;
  }

  .discovery-inner {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .discovery-content {
    max-width: 600px;
    text-align: center;
    margin: 0 auto;
  }

  .discovery-ui-panel {
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
  }

  .mega-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .college-highlight-box {
    grid-template-columns: 1fr;
    padding: 32px;
    gap: 48px;
  }

  .cr-timeline {
    flex-direction: row;
    justify-content: space-between;
    padding-top: 32px;
  }

  .cr-timeline::before {
    top: 23px;
    left: 40px;
    right: 40px;
    height: 2px;
    width: auto;
    background: linear-gradient(
      90deg,
      var(--cat-college-border) 0%,
      rgba(253, 230, 138, 0.2) 100%
    );
  }

  .cr-t-step {
    flex-direction: column;
  }

  .hs-wrapper {
    flex-direction: column;
  }

  .hs-left-panel {
    width: 100%;
    padding: 24px;
  }

  .git-banner {
    padding: 40px;
  }

  .git-visual-wrapper {
    display: none;
  }
}

@media (max-width: 640px) {
  :root {
    --section-pad: 64px;
    --container-pad: 20px;
  }

  .nav-brand-name {
    display: none;
  }

  .nav-right {
    gap: 8px;
  }

  .nav-btn-login {
    padding: 8px 12px;
  }

  .mega-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .nav-megamenu {
    position: fixed;
    top: var(--navbar-h);
    width: 100vw;
    height: calc(100vh - var(--navbar-h));
    overflow-y: auto;
  }

  #hero {
    padding: 60px 0 60px;
  }

  .program-cards-grid {
    grid-template-columns: 1fr;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .how-steps {
    grid-template-columns: 1fr;
  }

  .programs-nav {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .discovery-ui-panel {
    padding: 20px;
    border-radius: 16px;
  }

  .discovery-filter-item {
    padding: 16px;
  }

  .df-icon-box {
    width: 40px;
    height: 40px;
    margin-right: 16px;
    border-radius: 10px;
  }

  .df-icon-box svg {
    width: 20px;
    height: 20px;
  }

  .df-chevron {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .college-highlight-box {
    padding: 20px;
    gap: 32px;
  }

  .cr-framework-panel {
    padding: 24px 20px;
  }

  .cr-cards-layout {
    grid-template-columns: 1fr;
    padding: 0;
  }

  .cr-timeline {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    padding-top: 24px;
  }

  .cr-timeline::before {
    top: 24px;
    bottom: 24px;
    left: 23px;
    width: 2px;
    height: auto;
    background: linear-gradient(
      180deg,
      var(--cat-college-border) 0%,
      rgba(253, 230, 138, 0.2) 100%
    );
  }

  .cr-t-step {
    flex-direction: row;
    gap: 16px;
  }

  .git-banner {
    padding: 32px 24px;
  }
}
