/* ═══════════════════════════════════════════════════════════════
   MSM Aventra — Master Overrides & New Components v3
   Fixes: Logo sizing, University logos, Hero, new sections
═══════════════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────────────────────────
   1. LOGO SIZING — Aventra BIG, MSM Unify SMALL
───────────────────────────────────────────────────────────── */

/* Nav: Aventra logo — primary/large */
.nav-logo .logo-img {
  height: 42px !important;
  width: auto !important;
  object-fit: contain !important;
}

/* Badge logo in hero — MSM Unify stays tiny */
.badge-logo {
  height: 18px !important;
  width: auto !important;
  filter: brightness(0) invert(1) !important;
  opacity: 0.75 !important;
  flex-shrink: 0;
}
[data-theme="light"] .badge-logo {
  filter: none !important;
  opacity: 0.7 !important;
}

/* MSM Unify banner img — small, secondary */
.msm-unify-img {
  height: 28px !important;
  width: auto !important;
  opacity: 0.7 !important;
}
[data-theme="light"] .msm-unify-img {
  filter: none !important;
  opacity: 0.8 !important;
  height: 28px !important;
}

/* Laul/parentage banner logo — small */
.laul-logo-img {
  height: 28px !important;
  width: auto !important;
  filter: brightness(0) invert(0.8) !important;
  opacity: 0.7 !important;
}
[data-theme="light"] .laul-logo-img {
  filter: none !important;
  opacity: 0.7 !important;
}

/* Footer parent logo — micro */
.footer-parent-logo {
  height: 20px !important;
  width: auto !important;
  filter: brightness(0) invert(0.7) !important;
  opacity: 0.6 !important;
}

/* Footer Aventra logo — larger */
.footer-logo {
  height: 36px !important;
  width: auto !important;
}

/* Outcomes case study teaser icon */
.cs-teaser-icon {
  height: 32px !important;
  width: auto !important;
  filter: brightness(0) invert(0.8) !important;
  opacity: 0.7 !important;
}

/* ─────────────────────────────────────────────────────────────
   2. HERO SECTION — tighter text, better layout
───────────────────────────────────────────────────────────── */

.hero {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  grid-template-rows: 1fr !important;
  align-items: center !important;
  min-height: 100vh !important;
  padding-top: var(--nav-h) !important;
  overflow: hidden !important;
  position: relative !important;
}

.hero-content {
  position: relative !important;
  z-index: 2 !important;
  max-width: 600px !important;
  padding: 60px 0 60px 64px !important;
  flex: unset !important;
  grid-column: 1 !important;
  grid-row: 1 !important;
}

.hero-visual {
  position: relative !important;
  right: unset !important;
  top: unset !important;
  transform: none !important;
  z-index: 2 !important;
  grid-column: 2 !important;
  grid-row: 1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  animation: heroVisualIn 1.2s 0.3s cubic-bezier(0.4,0,0.2,1) both !important;
}

@keyframes heroVisualIn {
  from { opacity: 0; transform: translateX(60px) scale(0.9); }
  to   { opacity: 1; transform: translateX(0) scale(1); }
}

/* Reduce hero title font size */
.hero-title {
  font-size: clamp(30px, 4vw, 58px) !important;
  line-height: 1.08 !important;
  margin-bottom: 20px !important;
}

.hero-subtitle {
  font-size: 16px !important;
  margin-bottom: 36px !important;
}

/* Larger globe on desktop */
.platform-globe {
  width: 440px !important;
  height: 440px !important;
}

/* ─────────────────────────────────────────────────────────────
   3. UNIVERSITY LOGOS — enhanced display
───────────────────────────────────────────────────────────── */

.university-logos-section {
  padding: 50px 0 !important;
  background: var(--bg-secondary) !important;
  border-top: 1px solid var(--border) !important;
  border-bottom: 1px solid var(--border) !important;
  overflow: hidden !important;
}

.logos-label {
  text-align: center !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  color: var(--text-muted) !important;
  margin-bottom: 32px !important;
}
.logos-label strong { color: var(--red-light) !important; }

.uni-logos-track-wrap {
  overflow: hidden !important;
  position: relative !important;
  mask-image: linear-gradient(90deg, transparent 0%, black 6%, black 94%, transparent 100%) !important;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 6%, black 94%, transparent 100%) !important;
}

.uni-logos-track {
  display: flex !important;
  gap: 12px !important;
  animation: scrollLogos 35s linear infinite !important;
  width: max-content !important;
}

.uni-logo-item {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 16px 22px !important;
  background: var(--bg-card) !important;
  border: 1px solid var(--border) !important;
  border-radius: 14px !important;
  min-width: 140px !important;
  transition: all 0.3s !important;
  cursor: default !important;
  flex-shrink: 0 !important;
}

.uni-logo-item:hover {
  border-color: var(--border-accent) !important;
  box-shadow: 0 8px 32px rgba(229,28,35,0.15) !important;
  transform: translateY(-4px) !important;
}

.uni-logo-icon {
  width: 52px !important;
  height: 52px !important;
  border-radius: 12px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-family: var(--font-display) !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  color: #fff !important;
  letter-spacing: 0.5px !important;
  flex-shrink: 0 !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3) !important;
}

.uni-logo-text {
  font-size: 10.5px !important;
  color: var(--text-muted) !important;
  text-align: center !important;
  line-height: 1.4 !important;
}
.uni-logo-text strong {
  color: var(--text-primary) !important;
  display: block !important;
  font-size: 11px !important;
}

[data-theme="light"] .uni-logo-item {
  background: #fff !important;
  border-color: rgba(10,15,40,0.06) !important;
  box-shadow: 0 2px 8px rgba(10,15,40,0.05) !important;
}

/* ─────────────────────────────────────────────────────────────
   4. HERO CANVAS — proper z-index
───────────────────────────────────────────────────────────── */
#heroCanvas {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  pointer-events: none !important;
  z-index: 1 !important;
  opacity: 0.5 !important;
}

/* ─────────────────────────────────────────────────────────────
   5. HERO DASHBOARD VISUAL (right side replacement)
───────────────────────────────────────────────────────────── */

.hero-dashboard {
  width: 100%;
  max-width: 520px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.5), 0 0 0 1px var(--border);
  position: relative;
  animation: dashFloat 6s ease-in-out infinite;
}

@keyframes dashFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}

.dash-header {
  background: var(--bg-card2);
  border-bottom: 1px solid var(--border);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.dash-dots {
  display: flex;
  gap: 6px;
}
.dash-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.dash-dot:nth-child(1) { background: #ff5f56; }
.dash-dot:nth-child(2) { background: #ffbd2e; }
.dash-dot:nth-child(3) { background: #27c93f; }

.dash-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  margin-left: 6px;
}

.dash-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.dash-kpi-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.dash-kpi {
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px;
  text-align: center;
  transition: all 0.3s;
}
.dash-kpi:hover { border-color: var(--border-accent); transform: translateY(-2px); }

.dash-kpi-num {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 4px;
}
.dash-kpi-num.red { color: var(--red-light); }
.dash-kpi-num.blue { color: var(--blue-light); }
.dash-kpi-num.green { color: #10b981; }

.dash-kpi-label {
  font-size: 10px;
  color: var(--text-muted);
  font-weight: 500;
}

.dash-chart-area {
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
}

.dash-chart-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.dash-chart-label span {
  color: var(--green, #10b981);
  font-size: 11px;
}

.dash-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 60px;
}
.dash-bar {
  flex: 1;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, var(--red-light), var(--red-dark));
  animation: barGrow 1s ease-out both;
  transform-origin: bottom;
}
.dash-bar.blue-bar {
  background: linear-gradient(180deg, var(--blue-light), var(--blue-dark));
}
@keyframes barGrow {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}
.dash-bar:nth-child(1) { height: 30%; animation-delay: 0.1s; }
.dash-bar:nth-child(2) { height: 50%; animation-delay: 0.2s; }
.dash-bar:nth-child(3) { height: 40%; animation-delay: 0.3s; }
.dash-bar:nth-child(4) { height: 70%; animation-delay: 0.4s; }
.dash-bar:nth-child(5) { height: 60%; animation-delay: 0.5s; }
.dash-bar:nth-child(6) { height: 85%; animation-delay: 0.6s; }
.dash-bar:nth-child(7) { height: 75%; animation-delay: 0.7s; }
.dash-bar.blue-bar:nth-child(2) { height: 45%; }
.dash-bar.blue-bar:nth-child(4) { height: 62%; }
.dash-bar.blue-bar:nth-child(6) { height: 78%; }

.dash-alert {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(229,28,35,0.08);
  border: 1px solid rgba(229,28,35,0.2);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 12px;
  color: var(--text-primary);
}
.dash-alert i {
  color: var(--red-light);
  font-size: 14px;
  flex-shrink: 0;
}
.dash-alert-badge {
  margin-left: auto;
  background: var(--red);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 99px;
  white-space: nowrap;
}

.dash-students {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.dash-student-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--text-primary);
}
.dash-avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.dash-student-name { flex: 1; font-weight: 500; }
.dash-student-status {
  font-size: 10px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 99px;
}
.dash-student-status.at-risk {
  background: rgba(245,158,11,0.15);
  color: #f59e0b;
}
.dash-student-status.enrolled {
  background: rgba(16,185,129,0.15);
  color: #10b981;
}

/* Light mode dashboard */
[data-theme="light"] .hero-dashboard {
  background: #fff;
  border-color: rgba(10,15,40,0.08);
  box-shadow: 0 32px 80px rgba(10,15,40,0.12);
}
[data-theme="light"] .dash-header,
[data-theme="light"] .dash-kpi,
[data-theme="light"] .dash-chart-area {
  background: #f8f9fc;
  border-color: rgba(10,15,40,0.07);
}
[data-theme="light"] .dash-body { background: #fff; }

/* ─────────────────────────────────────────────────────────────
   6. TECH GRAPHS SECTION
───────────────────────────────────────────────────────────── */

.tech-graphs-section {
  padding: 100px 0;
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

.tech-graphs-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--red), var(--blue), transparent);
}

.graphs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 60px;
}

.graph-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.graph-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--red), var(--blue));
  opacity: 0.6;
}

.graph-card:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.graph-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 20px;
}

.graph-card-title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.graph-card-sub {
  font-size: 12px;
  color: var(--text-muted);
}

.graph-card-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 99px;
  background: rgba(16,185,129,0.12);
  color: #10b981;
  white-space: nowrap;
}
.graph-card-badge.red {
  background: rgba(229,28,35,0.1);
  color: var(--red-light);
}

.graph-canvas-wrap {
  position: relative;
  height: 200px;
}

[data-theme="light"] .graph-card {
  background: #fff;
  border-color: rgba(10,15,40,0.07);
}

/* ─────────────────────────────────────────────────────────────
   7. ROI CALCULATOR
───────────────────────────────────────────────────────────── */

.roi-section {
  padding: 100px 0;
  background: var(--bg-primary);
  position: relative;
}

.roi-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 60% at 30% 50%, rgba(229,28,35,0.05) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 70% 50%, rgba(14,165,233,0.04) 0%, transparent 60%);
  pointer-events: none;
}

.roi-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  position: relative;
  z-index: 1;
}

.roi-inputs {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
}

.roi-inputs h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.roi-inputs > p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.roi-input-group {
  margin-bottom: 22px;
}

.roi-input-group label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary, var(--text-primary));
  margin-bottom: 10px;
}

.roi-input-group label span {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  color: var(--red-light);
}

.roi-range {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--red) var(--fill, 50%), var(--border) var(--fill, 50%));
  outline: none;
  cursor: pointer;
}

.roi-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--red-light);
  box-shadow: 0 2px 8px rgba(229,28,35,0.4);
  cursor: pointer;
  transition: transform 0.2s;
}

.roi-range::-webkit-slider-thumb:hover { transform: scale(1.2); }

.roi-select {
  width: 100%;
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 14px;
  font-family: var(--font-main);
  padding: 10px 14px;
  outline: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238892a4' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.roi-select:focus {
  border-color: var(--border-accent);
}

.roi-results {
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(229,28,35,0.04) 100%);
  border: 1px solid rgba(229,28,35,0.15);
  border-radius: var(--radius-lg);
  padding: 36px;
  position: sticky;
  top: calc(var(--nav-h) + 20px);
}

.roi-results h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.roi-results h3 i { color: var(--red-light); }

.roi-metric {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.roi-metric:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

.roi-metric-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.roi-metric-value {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 4px;
}

.roi-metric-value.green { color: #10b981; }
.roi-metric-value.blue  { color: var(--blue-light); }
.roi-metric-value.gold  { color: var(--gold); }
.roi-metric-value.red   { color: var(--red-light); }

.roi-metric-sub {
  font-size: 12px;
  color: var(--text-muted);
}

.roi-disclaimer {
  margin-top: 20px;
  padding: 12px;
  background: rgba(255,255,255,0.03);
  border-radius: var(--radius-sm);
  font-size: 11px;
  color: var(--text-faint, var(--text-muted));
  line-height: 1.5;
}

.roi-cta {
  display: block;
  width: 100%;
  text-align: center;
  margin-top: 20px;
  padding: 14px;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  transition: all 0.3s;
  box-shadow: 0 4px 20px rgba(229,28,35,0.3);
}
.roi-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(229,28,35,0.4);
}

[data-theme="light"] .roi-inputs,
[data-theme="light"] .roi-results {
  background: #fff;
  border-color: rgba(10,15,40,0.08);
  box-shadow: 0 4px 24px rgba(10,15,40,0.05);
}
[data-theme="light"] .roi-results {
  background: linear-gradient(135deg, #fff 0%, #fff8f8 100%);
  border-color: rgba(229,28,35,0.12);
}
[data-theme="light"] .roi-select {
  background-color: #f8f9fc;
  border-color: rgba(10,15,40,0.1);
  color: var(--text-primary);
}

/* ─────────────────────────────────────────────────────────────
   8. PRODUCT TOUR SECTION
───────────────────────────────────────────────────────────── */

.tour-section {
  padding: 100px 0;
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

.tour-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  margin-top: 40px;
}

.tour-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-card);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.25s;
}

.tour-tab:hover {
  color: var(--text-primary);
  border-color: rgba(229,28,35,0.2);
}

.tour-tab.active {
  background: linear-gradient(135deg, var(--red-dark), var(--red));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(229,28,35,0.3);
}

.tour-content {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: center;
}

.tour-panel { display: none; }
.tour-panel.active { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: center; }

.tour-info h3 {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: 16px;
}

.tour-info p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.tour-feature-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.tour-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--text-primary);
}

.tour-feature-icon {
  width: 28px; height: 28px;
  background: rgba(229,28,35,0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red-light);
  font-size: 12px;
  flex-shrink: 0;
  margin-top: 1px;
}

.tour-stat-row {
  display: flex;
  gap: 24px;
  margin-top: 24px;
}

.tour-stat {
  text-align: center;
}

.tour-stat-num {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--red-light), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.tour-stat-lbl {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
}

.tour-screen {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  position: relative;
}

.tour-screen-bar {
  background: var(--bg-card2);
  border-bottom: 1px solid var(--border);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.tour-screen-dot { width: 8px; height: 8px; border-radius: 50%; }
.tour-screen-dot:nth-child(1) { background: #ff5f56; }
.tour-screen-dot:nth-child(2) { background: #ffbd2e; }
.tour-screen-dot:nth-child(3) { background: #27c93f; }

.tour-screen-url {
  flex: 1;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 99px;
  padding: 4px 12px;
  font-size: 11px;
  color: var(--text-muted);
  text-align: center;
}

.tour-screen-body {
  padding: 20px;
  min-height: 280px;
}

/* ─────────────────────────────────────────────────────────────
   9. AI ADVISORS SECTION
───────────────────────────────────────────────────────────── */

.advisors-section {
  padding: 90px 0;
  background: var(--bg-primary);
  position: relative;
}

.advisors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.advisor-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: center;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.advisor-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--blue));
  transform: scaleX(0);
  transition: transform 0.3s;
}

.advisor-card:hover {
  border-color: rgba(229,28,35,0.2);
  transform: translateY(-6px);
  box-shadow: var(--shadow-red);
}

.advisor-card:hover::before { transform: scaleX(1); }

.advisor-avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  position: relative;
}

.advisor-avatar::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red), var(--blue));
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s;
}
.advisor-card:hover .advisor-avatar::after { opacity: 1; }

.advisor-name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.advisor-role {
  font-size: 12px;
  color: var(--red-light);
  font-weight: 600;
  margin-bottom: 8px;
}

.advisor-affiliation {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 14px;
  line-height: 1.4;
}

.advisor-expertise {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}

.advisor-tag {
  font-size: 10px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 99px;
  background: rgba(14,165,233,0.1);
  color: var(--blue-light);
  border: 1px solid rgba(14,165,233,0.15);
}

[data-theme="light"] .advisor-card {
  background: #fff;
  box-shadow: 0 2px 12px rgba(10,15,40,0.05);
}

/* ─────────────────────────────────────────────────────────────
   10. FAQ & COMPARISON SECTION
───────────────────────────────────────────────────────────── */

.faq-compare-section {
  padding: 100px 0;
  background: var(--bg-secondary);
  position: relative;
}

.faq-compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 60px;
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}
.faq-item:last-child { border-bottom: none; }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-main);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
  gap: 16px;
  transition: background 0.2s, color 0.2s;
}

.faq-question:hover {
  background: rgba(229,28,35,0.04);
  color: var(--red-light);
}

.faq-question.open {
  color: var(--red-light);
  background: rgba(229,28,35,0.04);
}

.faq-arrow {
  font-size: 12px;
  color: var(--text-muted);
  transition: transform 0.3s, color 0.2s;
  flex-shrink: 0;
}
.faq-question.open .faq-arrow {
  transform: rotate(180deg);
  color: var(--red-light);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.3s;
  padding: 0 24px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}
.faq-answer.open {
  max-height: 300px;
  padding: 0 24px 20px;
}

[data-theme="light"] .faq-list {
  background: #fff;
  border-color: rgba(10,15,40,0.08);
}

/* COMPARISON TABLE */
.comparison-table {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.compare-header {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  background: var(--bg-card2);
  border-bottom: 1px solid var(--border);
  padding: 0;
}

.compare-header-cell {
  padding: 16px 20px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  text-align: center;
}
.compare-header-cell:first-child { text-align: left; }
.compare-header-cell.aventra {
  background: rgba(229,28,35,0.08);
  color: var(--red-light);
}

.compare-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}
.compare-row:last-child { border-bottom: none; }
.compare-row:hover { background: rgba(229,28,35,0.03); }

.compare-cell {
  padding: 14px 20px;
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--border);
}
.compare-cell:first-child {
  text-align: left;
  justify-content: flex-start;
  color: var(--text-primary);
  font-weight: 500;
}
.compare-cell:last-child { border-right: none; }
.compare-cell.aventra { background: rgba(229,28,35,0.04); }

.compare-check { color: #10b981; font-size: 16px; }
.compare-cross { color: #ef4444; font-size: 16px; }
.compare-partial { color: var(--gold); font-size: 12px; font-weight: 600; }

[data-theme="light"] .comparison-table {
  background: #fff;
  border-color: rgba(10,15,40,0.08);
}
[data-theme="light"] .compare-header { background: #f8f9fc; }

/* ─────────────────────────────────────────────────────────────
   11. LIGHT THEME FIXES — comprehensive
───────────────────────────────────────────────────────────── */

[data-theme="light"] body { background: var(--bg-primary); color: var(--text-primary); }

[data-theme="light"] .section-title { color: var(--text-primary) !important; }
[data-theme="light"] .section-subtitle { color: var(--text-muted) !important; }

[data-theme="light"] .platform-card,
[data-theme="light"] .outcome-card,
[data-theme="light"] .ai-feature-card,
[data-theme="light"] .security-item,
[data-theme="light"] .testimonial-card,
[data-theme="light"] .step-icon-wrap,
[data-theme="light"] .pricing-card,
[data-theme="light"] .integration-category {
  background: #fff !important;
  border-color: rgba(10,15,40,0.07) !important;
  box-shadow: 0 2px 12px rgba(10,15,40,0.05) !important;
}

[data-theme="light"] .platform-card h3,
[data-theme="light"] .ai-feature-card h4,
[data-theme="light"] .security-item h4,
[data-theme="light"] .outcome-title,
[data-theme="light"] .step-item h4,
[data-theme="light"] .pricing-tier {
  color: var(--text-primary) !important;
}

[data-theme="light"] .trust-bar {
  background: #fff !important;
}

[data-theme="light"] .what-is { background: var(--bg-primary) !important; }
[data-theme="light"] .modules-section { background: var(--bg-secondary) !important; }
[data-theme="light"] .outcomes-section { background: var(--bg-primary) !important; }
[data-theme="light"] .testimonials-section { background: var(--bg-secondary) !important; }
[data-theme="light"] .integrations-section { background: var(--bg-primary) !important; }
[data-theme="light"] .security-section { background: var(--bg-secondary) !important; }
[data-theme="light"] .pricing-section { background: var(--bg-primary) !important; }
[data-theme="light"] .global-section { background: var(--bg-secondary) !important; }
[data-theme="light"] .how-it-works { background: var(--bg-primary) !important; }

[data-theme="light"] .module-mockup {
  background: var(--bg-tertiary) !important;
  border-color: rgba(10,15,40,0.07) !important;
}

[data-theme="light"] .mock-stat, [data-theme="light"] .mock-student-card,
[data-theme="light"] .mock-course-card, [data-theme="light"] .mock-finance-item,
[data-theme="light"] .mock-kpi, [data-theme="light"] .mock-live-session,
[data-theme="light"] .portal-item {
  background: var(--bg-card2) !important;
  border-color: rgba(10,15,40,0.06) !important;
}

[data-theme="light"] .msm-unify-banner {
  background: linear-gradient(135deg, #fff8f8, #f0f7ff) !important;
}

[data-theme="light"] .laul-group-banner {
  background: linear-gradient(135deg, #fff8f8, #f0f9ff) !important;
}

[data-theme="light"] .btn-ghost {
  color: var(--text-primary) !important;
  border-color: rgba(10,15,40,0.15) !important;
}
[data-theme="light"] .btn-ghost:hover {
  background: rgba(10,15,40,0.05) !important;
}

[data-theme="light"] .hero-stat .stat-num { color: var(--text-primary) !important; }
[data-theme="light"] .hero-stat-divider { background: rgba(10,15,40,0.12) !important; }

[data-theme="light"] .footer { background: #0a0d18 !important; }

[data-theme="light"] .global-stat-card {
  background: #fff !important;
  box-shadow: 0 4px 24px rgba(10,15,40,0.07) !important;
}

[data-theme="light"] .graph-card {
  background: #fff !important;
  border-color: rgba(10,15,40,0.07) !important;
}

/* ─────────────────────────────────────────────────────────────
   12. THEME TOGGLE BUTTON — ensure visible
───────────────────────────────────────────────────────────── */

.theme-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 99px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.3s;
  white-space: nowrap;
}

.theme-toggle:hover {
  border-color: var(--border-accent);
  color: var(--text-primary);
}

[data-theme="light"] .theme-toggle {
  background: rgba(10,15,40,0.04) !important;
  border-color: rgba(10,15,40,0.1) !important;
  color: var(--text-muted) !important;
}

.theme-toggle-track {
  width: 36px; height: 20px;
  background: var(--bg-card2);
  border-radius: 99px;
  position: relative;
  border: 1px solid var(--border);
  transition: background 0.3s;
}

.theme-toggle-thumb {
  position: absolute;
  top: 2px; left: 2px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--red);
  transition: transform 0.3s;
}

[data-theme="light"] .theme-toggle-thumb { transform: translateX(16px); }
[data-theme="light"] .theme-toggle-track { background: rgba(229,28,35,0.1); border-color: rgba(229,28,35,0.2); }

/* ─────────────────────────────────────────────────────────────
   13. SCROLL REVEAL ANIMATIONS
───────────────────────────────────────────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ─────────────────────────────────────────────────────────────
   13b. NAV ACTIVE LINK COLOR FIX
───────────────────────────────────────────────────────────── */
.nav-links a.nav-highlight {
  color: var(--gold) !important;
  font-weight: 600;
}
.nav-links a.nav-highlight:hover {
  color: var(--gold) !important;
  background: rgba(245,158,11,0.08) !important;
}

/* ─────────────────────────────────────────────────────────────
   13c. HERO BADGE RESPONSIVE
───────────────────────────────────────────────────────────── */
.hero-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  flex-wrap: nowrap !important;
  max-width: 100% !important;
}

/* ─────────────────────────────────────────────────────────────
   13d. MODULE PANELS FIX
───────────────────────────────────────────────────────────── */
.module-panel {
  display: none;
}
.module-panel.active {
  display: block;
}
.module-panel-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

/* ─────────────────────────────────────────────────────────────
   13e. LIGHT MODE TEXT VISIBILITY FIXES
───────────────────────────────────────────────────────────── */
[data-theme="light"] .module-info h3 { color: var(--text-primary) !important; }
[data-theme="light"] .module-info p  { color: var(--text-muted) !important; }
[data-theme="light"] .module-features-list li { color: var(--text-primary) !important; }
[data-theme="light"] .module-features-list li i { color: var(--red) !important; }
[data-theme="light"] .module-icon-large { color: var(--red) !important; }
[data-theme="light"] .mockup-title { color: var(--text-primary) !important; }
[data-theme="light"] .mock-name { color: var(--text-primary) !important; }
[data-theme="light"] .mock-num { color: var(--text-primary) !important; }
[data-theme="light"] .pricing-features li { color: var(--text-muted) !important; }
[data-theme="light"] .pricing-ideal { color: var(--text-muted) !important; }
[data-theme="light"] .pricing-price { color: var(--text-primary) !important; }
[data-theme="light"] .ai-cap-item strong { color: var(--text-primary) !important; }
[data-theme="light"] .ai-cap-item span { color: var(--text-muted) !important; }
[data-theme="light"] .ava-core { color: var(--red) !important; background: rgba(229,28,35,0.08) !important; }
[data-theme="light"] .outcome-num { color: var(--red) !important; }
[data-theme="light"] .step-number { color: var(--red) !important; }
[data-theme="light"] .global-stat-num { color: var(--red) !important; }

/* ─────────────────────────────────────────────────────────────
   13f. FOOTER ALWAYS DARK
───────────────────────────────────────────────────────────── */
.footer {
  background: #040508 !important;
  color: rgba(255,255,255,0.7) !important;
}
.footer-logo {
  filter: brightness(0) invert(1) !important;
  opacity: 0.9 !important;
}
.footer-parent-logo {
  filter: brightness(0) invert(0.6) !important;
  opacity: 0.6 !important;
}
.footer-parent-note { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 12px; color: rgba(255,255,255,0.4); }
.footer h5 { color: rgba(255,255,255,0.9) !important; }
.footer-col a { color: rgba(255,255,255,0.5) !important; }
.footer-col a:hover { color: rgba(255,255,255,0.9) !important; }
.footer-bottom { color: rgba(255,255,255,0.35) !important; }
.footer-brand p { color: rgba(255,255,255,0.45) !important; }
.footer-social a { color: rgba(255,255,255,0.5) !important; }
.footer-social a:hover { color: #fff !important; }
.footer-legal a { color: rgba(255,255,255,0.35) !important; }
.footer-legal a:hover { color: rgba(255,255,255,0.7) !important; }

/* ─────────────────────────────────────────────────────────────
   13g. LIGHT THEME — NEW SECTIONS
───────────────────────────────────────────────────────────── */

[data-theme="light"] .tech-graphs-section {
  background: var(--bg-secondary) !important;
}
[data-theme="light"] .tech-graphs-section::before {
  background: linear-gradient(90deg, transparent, rgba(229,28,35,0.15), rgba(14,165,233,0.15), transparent);
}
[data-theme="light"] .advisors-section { background: var(--bg-primary) !important; }
[data-theme="light"] .tour-section { background: var(--bg-secondary) !important; }
[data-theme="light"] .roi-section { background: var(--bg-primary) !important; }
[data-theme="light"] .faq-compare-section { background: var(--bg-secondary) !important; }

[data-theme="light"] .tour-tab {
  background: #fff !important;
  border-color: rgba(10,15,40,0.08) !important;
  color: var(--text-muted) !important;
}
[data-theme="light"] .tour-tab:hover {
  color: var(--text-primary) !important;
  border-color: rgba(229,28,35,0.2) !important;
}
[data-theme="light"] .tour-tab.active {
  background: linear-gradient(135deg, var(--red-dark), var(--red)) !important;
  color: #fff !important;
}

[data-theme="light"] .tour-screen {
  background: #fff !important;
  border-color: rgba(10,15,40,0.08) !important;
  box-shadow: 0 20px 60px rgba(10,15,40,0.1) !important;
}
[data-theme="light"] .tour-screen-bar {
  background: #f8f9fc !important;
  border-color: rgba(10,15,40,0.07) !important;
}
[data-theme="light"] .tour-screen-url {
  background: #fff !important;
  border-color: rgba(10,15,40,0.1) !important;
  color: var(--text-muted) !important;
}
[data-theme="light"] .tour-feature-icon {
  background: rgba(229,28,35,0.08) !important;
  color: var(--red) !important;
}
[data-theme="light"] .tour-info h3 { color: var(--text-primary) !important; }
[data-theme="light"] .tour-info p { color: var(--text-muted) !important; }
[data-theme="light"] .tour-feature-item { color: var(--text-primary) !important; }

[data-theme="light"] .faq-question { color: var(--text-primary) !important; }
[data-theme="light"] .faq-answer { color: var(--text-muted) !important; }
[data-theme="light"] .advisor-name { color: var(--text-primary) !important; }
[data-theme="light"] .advisor-affiliation { color: var(--text-muted) !important; }

[data-theme="light"] .roi-metric-label { color: var(--text-muted) !important; }
[data-theme="light"] .roi-metric-sub { color: var(--text-muted) !important; }
[data-theme="light"] .roi-disclaimer { background: rgba(10,15,40,0.03) !important; color: var(--text-muted) !important; }

[data-theme="light"] .compare-cell { color: var(--text-muted) !important; }
[data-theme="light"] .compare-cell:first-child { color: var(--text-primary) !important; }
[data-theme="light"] .compare-cell.aventra { background: rgba(229,28,35,0.04) !important; }
[data-theme="light"] .compare-row:hover { background: rgba(229,28,35,0.02) !important; }

/* Dashboard light theme */
[data-theme="light"] .dash-kpi-num.red { color: var(--red) !important; }
[data-theme="light"] .dash-kpi-num.blue { color: var(--blue-dark) !important; }
[data-theme="light"] .dash-student-name { color: var(--text-primary) !important; }
[data-theme="light"] .dash-chart-label { color: var(--text-muted) !important; }
[data-theme="light"] .dash-alert {
  background: rgba(229,28,35,0.06) !important;
  border-color: rgba(229,28,35,0.15) !important;
  color: var(--text-primary) !important;
}

/* Graph card text in light mode */
[data-theme="light"] .graph-card-title { color: var(--text-primary) !important; }
[data-theme="light"] .graph-card-sub { color: var(--text-muted) !important; }

/* ─────────────────────────────────────────────────────────────
   14. RESPONSIVE FIXES
───────────────────────────────────────────────────────────── */

@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr !important;
    grid-template-rows: auto auto !important;
  }
  .hero-content {
    grid-column: 1 !important;
    grid-row: 1 !important;
    padding: 80px 24px 40px !important;
    max-width: 100% !important;
  }
  .hero-visual {
    grid-column: 1 !important;
    grid-row: 2 !important;
    padding: 0 24px 60px !important;
  }
  .platform-globe { width: 320px !important; height: 320px !important; }
  .hero-dashboard { max-width: 380px !important; }
  .roi-wrapper, .faq-compare-grid, .graphs-grid { grid-template-columns: 1fr !important; }
  .advisors-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .tour-panel.active { grid-template-columns: 1fr !important; }
}

@media (max-width: 768px) {
  .hero-title { font-size: clamp(26px, 7vw, 40px) !important; }
  .hero-stats { flex-wrap: wrap; gap: 20px !important; }
  .hero-stat-divider { display: none; }
  .hero-cta-group { flex-direction: column; align-items: flex-start; }
  .advisors-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .graphs-grid { grid-template-columns: 1fr !important; }
  .tour-tabs { gap: 6px; }
  .tour-tab { font-size: 12px; padding: 8px 14px; }
}

@media (max-width: 480px) {
  .advisors-grid { grid-template-columns: 1fr 1fr !important; }
  .hero-content { padding: 80px 20px 40px !important; }
}
