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

:root {
  color-scheme: light;
  
  /* dhimantAI Theme Palette - Deep Royal Blue, Sky Blue, Saffron Orange */
  --primary: #1e40af;       /* Deep Royal Blue - Focus, Trust, Academic Rigor */
  --primary-light: #3b82f6; /* Bright Sky/Blue */
  --primary-dark: #1e3a8a;  /* Deep Navy */
  --primary-subtle: #eff6ff;
  
  --secondary: #0ea5e9;     /* Sky Blue - Freshness, Clarity */
  --secondary-light: #38bdf8;
  --secondary-dark: #0284c7;
  --secondary-subtle: #f0f9ff;
  
  --accent: #ff7316;        /* Saffron Energy Orange - Action, High Energy */
  --accent-light: #fb923c;
  --accent-dark: #ea580c;
  --accent-subtle: #fff7ed;
  
  /* Semantic / Subject Colors */
  --success: #10b981;
  --success-light: #34d399;
  --success-subtle: #ecfdf5;
  --warning: #f59e0b;
  --warning-subtle: #fffbeb;
  --error: #ef4444;
  --error-subtle: #fef2f2;
  --purple: #8b5cf6;
  --purple-subtle: #f5f3ff;

  /* Neutrals & Surfaces */
  --ink-950: #0f172a;       /* Deep Slate */
  --ink-900: #1e293b;
  --ink-800: #334155;
  --ink-700: #475569;
  --ink-600: #64748b;
  --ink-500: #94a3b8;
  --ink-400: #cbd5e1;
  --ink-300: #e2e8f0;
  --ink-200: #f1f5f9;
  --ink-100: #f8fafc;
  --ink-50:  #f8fafc;
  
  --canvas: #f8fafc;        /* Slate-tinted crisp canvas */
  --canvas-alt: #f1f5f9;
  --canvas-card: #ffffff;
  --canvas-dark: #0f172a;   /* Rich navy-slate for dark contrast */
  --canvas-dark-card: #1e293b;
  --white: #ffffff;
  
  --line: rgba(15, 23, 42, 0.08);
  --line-light: rgba(15, 23, 42, 0.05);
  --line-dark: rgba(255, 255, 255, 0.12);
  --line-accent: rgba(255, 115, 22, 0.3);
  --line-primary: rgba(30, 64, 175, 0.25);
  
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.04), 0 0 0 1px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 8px 24px -4px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 20px 48px -10px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(15, 23, 42, 0.08);
  --shadow-glow: 0 0 40px rgba(255, 115, 22, 0.25);
  --shadow-primary-glow: 0 0 40px rgba(30, 64, 175, 0.25);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 9999px;

  /* Typography */
  --sans: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  --body-font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: 'JetBrains Mono', monospace;
  
  --shell: min(1200px, calc(100% - 3rem));
  --shell-narrow: min(940px, calc(100% - 3rem));
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-width: 320px;
  background-color: var(--canvas);
  color: var(--ink-800);
  font-family: var(--body-font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.18s ease, opacity 0.18s ease;
}

img, video, svg {
  display: block;
  max-width: 100%;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
  border: none;
  background: none;
}

/* ==========================================================================
   Utility & Containers
   ========================================================================== */
.shell {
  width: var(--shell);
  margin-left: auto;
  margin-right: auto;
}

.shell-narrow {
  width: var(--shell-narrow);
  margin-left: auto;
  margin-right: auto;
}

.t-display {
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.t-h1 {
  font-family: var(--sans);
  font-size: clamp(28px, 4.2vw, 46px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: var(--ink-950);
}

.t-h2 {
  font-family: var(--sans);
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.t-h3 {
  font-family: var(--sans);
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.4;
}

.t-body-lg {
  font-size: clamp(15.5px, 1.2vw, 18px);
  line-height: 1.65;
  color: var(--ink-700);
}

.t-micro {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.u-mono {
  font-family: var(--mono);
  font-size: 14px;
}

.kicker {
  color: var(--primary);
  margin-bottom: 12px;
  display: inline-block;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.kicker--primary {
  color: var(--primary);
}

.em {
  font-style: italic;
  font-weight: 600;
  color: var(--primary);
}

/* ==========================================================================
   Handwritten Highlights (SVGs)
   ========================================================================== */
.hl {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}

.hl span {
  position: relative;
  z-index: 1;
}

.hl__svg {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.hl--circle .hl__svg {
  left: -8%;
  top: -20%;
  width: 116%;
  height: 140%;
}

.hl--circle .hl__path {
  stroke: var(--primary-light);
  stroke-width: 2.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 800;
  stroke-dashoffset: 800;
  animation: drawLoop 1.2s cubic-bezier(0.25, 1, 0.5, 1) forwards 0.4s;
}

.hl--marker .hl__svg {
  left: -2%;
  bottom: -4px;
  width: 104%;
  height: 14px;
}

.hl--marker.hl--orange .hl__path {
  stroke: var(--accent);
  stroke-width: 8;
  opacity: 0.35;
  stroke-linecap: round;
  fill: none;
}

.hl--marker.hl--blue .hl__path {
  stroke: var(--primary-light);
  stroke-width: 8;
  opacity: 0.35;
  stroke-linecap: round;
  fill: none;
}

@keyframes drawLoop {
  to {
    stroke-dashoffset: 0;
  }
}

/* ==========================================================================
   Animated Interactive Dot Grid Background (igrid)
   ========================================================================== */
.igrid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(15, 23, 42, 0.08) 1.2px, transparent 1.2px);
  background-size: 32px 32px;
  mask-image: radial-gradient(circle at center, black 40%, transparent 85%);
  pointer-events: none;
  z-index: 0;
}

.igrid--dark {
  background-image: radial-gradient(rgba(255, 255, 255, 0.09) 1.2px, transparent 1.2px);
  mask-image: radial-gradient(circle at center, black 50%, transparent 90%);
}

.igrid--colorful {
  background-image: 
    radial-gradient(circle at 15% 25%, rgba(30, 64, 175, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 85% 65%, rgba(255, 115, 22, 0.07) 0%, transparent 50%),
    radial-gradient(rgba(15, 23, 42, 0.05) 1.2px, transparent 1.2px);
  background-size: 100% 100%, 100% 100%, 32px 32px;
}

/* ==========================================================================
   Signature Floating Waves
   ========================================================================== */
.signature-waves {
  position: absolute;
  top: -10px;
  right: 0;
  bottom: 0;
  left: 0;
  pointer-events: none;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.6;
}

.signature-waves svg {
  width: 100%;
  height: 100%;
  min-height: 480px;
}

/* ==========================================================================
   Buttons & Flow Arrows
   ========================================================================== */
.flow-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 14.5px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.flow-btn--accent {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: #ffffff;
  box-shadow: 0 4px 18px rgba(255, 115, 22, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.2) inset;
}

.flow-btn--accent:hover {
  background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent) 100%);
  box-shadow: 0 8px 26px rgba(255, 115, 22, 0.48), 0 0 0 1px rgba(255, 255, 255, 0.3) inset;
  transform: translateY(-2px);
}

.flow-btn--primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #ffffff;
  box-shadow: 0 4px 18px rgba(30, 64, 175, 0.32), 0 0 0 1px rgba(255, 255, 255, 0.2) inset;
}

.flow-btn--primary:hover {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
  box-shadow: 0 8px 26px rgba(30, 64, 175, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.3) inset;
  transform: translateY(-2px);
}

.flow-btn--light {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--ink-950);
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.06), 0 0 0 1px rgba(15, 23, 42, 0.08);
}

.flow-btn--light:hover {
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(30, 64, 175, 0.2);
  transform: translateY(-2px);
}

.flow-btn--outline {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}

.flow-btn--outline:hover {
  background: var(--primary-subtle);
  transform: translateY(-2px);
}

.flow-btn--dark {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.flow-btn--dark:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
}

.flow-btn__icon {
  position: relative;
  display: inline-flex;
  width: 16px;
  height: 16px;
  overflow: hidden;
}

.flow-btn__arrow-out,
.flow-btn__arrow-in {
  width: 16px;
  height: 16px;
  position: absolute;
  top: 0;
  left: 0;
  transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}

.flow-btn__arrow-in {
  transform: translate(-150%, 150%);
}

.flow-btn:hover .flow-btn__arrow-out {
  transform: translate(150%, -150%);
}

.flow-btn:hover .flow-btn__arrow-in {
  transform: translate(0, 0);
}

/* ==========================================================================
   Navigation Bar (Floating Island)
   ========================================================================== */
.nav-wrap {
  position: fixed;
  top: 20px;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  pointer-events: none;
}

.nav-island {
  pointer-events: auto;
}

.nav-island--logo {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 18px 6px 12px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(30, 64, 175, 0.15);
  height: 48px;
}

.nav-island--logo img {
  height: 30px;
  width: auto;
  border-radius: 6px;
}

.nav-island--logo .brand-name {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--primary-dark);
}

.nav-island--logo .brand-name span {
  color: var(--accent);
}

.nav-island--links {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 24px -4px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(30, 64, 175, 0.2);
  height: 48px;
  display: flex;
  align-items: center;
  padding: 0 6px;
}

.nav-island--links nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-island--links a {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-700);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  transition: all 0.18s ease;
}

.nav-island--links a:hover,
.nav-island--links a.active {
  color: var(--primary);
  background: var(--primary-subtle);
}

.nav-island--cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav__burger {
  display: none;
  pointer-events: auto;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(30, 64, 175, 0.15);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--ink-950);
}

.nav__mobile {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.97);
  backdrop-filter: blur(24px);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 32px;
}

.nav__mobile.open {
  opacity: 1;
  pointer-events: auto;
}

.nav__mobile a {
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 600;
  color: #ffffff;
}

.nav__mobile a:hover {
  color: var(--primary-light);
}

.nav__close {
  position: absolute;
  top: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 140px 0 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
}

.hero__status-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(30, 64, 175, 0.2);
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.92) 0%, rgba(30, 58, 138, 0.95) 100%);
  padding: 8px 20px;
  color: #ffffff;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.15);
  margin-bottom: 24px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero__status-pill:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(30, 64, 175, 0.25);
}

.hero__beacon {
  position: relative;
  display: inline-flex;
  width: 8px;
  height: 8px;
}

.hero__beacon-ping {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #10b981;
  opacity: 0.75;
  animation: beaconPing 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.hero__beacon-dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
}

@keyframes beaconPing {
  75%, 100% {
    transform: scale(2.4);
    opacity: 0;
  }
}

.hero__ticker {
  font-size: 13.5px;
  font-weight: 500;
  color: #ffffff;
  display: inline-block;
  white-space: nowrap;
}

.hero__ticker strong {
  color: #60a5fa;
  font-weight: 600;
}

.hero__title {
  font-family: var(--sans);
  font-size: clamp(32px, 5.5vw, 64px);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.03em;
  color: var(--ink-950);
  max-width: 980px;
  margin: 0 auto 24px;
}

.hero__sub {
  font-size: clamp(16px, 1.75vw, 21px);
  color: var(--ink-700);
  max-width: 780px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

.hero__ctas {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.hero__scroll-indicator {
  position: absolute;
  bottom: 28px;
  right: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--ink-500);
}

.hero__scroll-arrow {
  width: 2px;
  height: 36px;
  background: linear-gradient(to bottom, var(--ink-400), transparent);
  border-radius: 1px;
  position: relative;
}

.hero__scroll-dot {
  position: absolute;
  top: 0;
  left: -2px;
  width: 6px;
  height: 10px;
  background: var(--primary);
  border-radius: 3px;
  animation: scrollBounce 1.6s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(24px); }
}

/* ==========================================================================
   Section: Education 4.0 Quantum Shift (#shift)
   ========================================================================== */
.shift-section {
  position: relative;
  padding: 100px 0;
  background: var(--canvas-alt);
}

.shift-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 48px;
}

.shift-card {
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.shift-card--legacy {
  background: var(--white);
  opacity: 0.92;
}

.shift-card--modern {
  background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: var(--shadow-lg);
}

.shift-card--modern .t-h2,
.shift-card--modern .t-h3 {
  color: #ffffff;
}

.shift-card--modern p {
  color: rgba(255, 255, 255, 0.85);
}

.shift-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 24px;
}

.shift-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  line-height: 1.5;
}

.shift-list--legacy li svg {
  color: var(--ink-500);
  flex-shrink: 0;
  margin-top: 3px;
}

.shift-list--modern li svg {
  color: #60a5fa;
  flex-shrink: 0;
  margin-top: 3px;
}

/* ==========================================================================
   Section: 9 Specialized AI Modes (#modes)
   ========================================================================== */
.modes-section {
  padding: 110px 0;
  background: var(--canvas);
}

.modes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 50px;
}

.mode-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 260px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
  overflow: hidden;
}

.mode-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(30, 64, 175, 0.3);
}

.mode-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  opacity: 0;
  transition: opacity 0.25s ease;
}

.mode-card:hover::before {
  opacity: 1;
}

.mode-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.mode-card__num {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-subtle);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.mode-card__pedagogy {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.mode-card h3 {
  font-family: var(--sans);
  font-size: 21px;
  font-weight: 700;
  color: var(--ink-950);
  margin-bottom: 10px;
  letter-spacing: -0.015em;
}

.mode-card p {
  font-size: 14.5px;
  color: var(--ink-700);
  line-height: 1.6;
}

.mode-card__feature {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line-light);
  font-size: 13px;
  color: var(--ink-600);
  display: flex;
  align-items: center;
  gap: 8px;
}

.mode-card__feature svg {
  color: var(--primary-light);
  flex-shrink: 0;
}

/* ==========================================================================
   Section: Closed-Loop Remediation Engine (#remediation)
   ========================================================================== */
.remediation-section {
  position: relative;
  background: var(--canvas-dark);
  color: #ffffff;
  padding: 120px 0;
  overflow: hidden;
}

.remediation-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 56px;
  margin-top: 48px;
}

.loop-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.loop-step {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: all 0.25s ease;
}

.loop-step:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(96, 165, 250, 0.4);
  transform: translateX(4px);
}

.loop-step__num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary-light);
  color: #ffffff;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.loop-step__content h4 {
  font-family: var(--sans);
  font-size: 16.5px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 4px;
}

.loop-step__content p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.5;
}

.remediation-preview-card {
  background: var(--canvas-dark-card);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-lg);
}

/* ==========================================================================
   Section: Multimodal & Interactive Tools (#tools)
   ========================================================================== */
.tools-section {
  padding: 110px 0;
  background: var(--canvas-alt);
}

.tools-showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.tool-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.tool-card__preview {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-radius: var(--radius-md);
  padding: 20px;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: #ffffff;
  text-align: center;
  overflow: hidden;
}

.tool-card h4 {
  font-family: var(--sans);
  font-size: 19px;
  font-weight: 700;
  color: var(--ink-950);
  margin-bottom: 8px;
}

.tool-card p {
  font-size: 14.5px;
  color: var(--ink-700);
  line-height: 1.55;
}

/* ==========================================================================
   Section: Stakeholders / Institutional Value (#schools)
   ========================================================================== */
.stakeholders-section {
  padding: 110px 0;
  background: var(--canvas);
}

.stakeholder-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.stakeholder-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.stakeholder-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.stakeholder-card--featured {
  background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow-lg);
}

.stakeholder-card--featured .t-h2,
.stakeholder-card--featured h3 {
  color: #ffffff;
}

.stakeholder-card--featured p {
  color: rgba(255, 255, 255, 0.88);
}

.stakeholder-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 18px;
}

.stakeholder-badge--student { background: var(--primary-subtle); color: var(--primary); }
.stakeholder-badge--teacher { background: var(--accent-subtle);  color: var(--accent); }
.stakeholder-badge--school  { background: rgba(255, 255, 255, 0.2); color: #ffffff; }

/* ==========================================================================
   Section: Testimonials (#testimonials)
   ========================================================================== */
.testimonials-section {
  padding: 100px 0;
  overflow: hidden;
  background: var(--canvas-alt);
}

.quote-marquee {
  display: flex;
  overflow: hidden;
  user-select: none;
  gap: 24px;
  margin-top: 48px;
  padding: 16px 0;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.quote-marquee__track {
  display: flex;
  gap: 24px;
  flex-shrink: 0;
  animation: marqueeScroll 36s linear infinite;
}

.quote-marquee:hover .quote-marquee__track {
  animation-play-state: paused;
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.quote-card {
  width: 380px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-shrink: 0;
}

.quote__mark {
  font-family: var(--sans);
  font-size: 36px;
  font-weight: 800;
  line-height: 1;
  color: var(--primary-light);
  margin-bottom: 8px;
}

.quote__text {
  font-size: 15px;
  color: var(--ink-800);
  line-height: 1.6;
  margin-bottom: 20px;
}

.quote__who {
  display: flex;
  align-items: center;
  gap: 12px;
}

.quote__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  font-family: var(--sans);
}

.quote__avatar--primary { background: var(--primary-subtle); color: var(--primary); }
.quote__avatar--accent  { background: var(--accent-subtle);  color: var(--accent); }
.quote__avatar--purple  { background: var(--purple-subtle);  color: var(--purple); }

.quote__name {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 14.5px;
  color: var(--ink-950);
}

.quote__role {
  font-size: 12.5px;
  color: var(--ink-600);
}

/* ==========================================================================
   Section: Contact & Direct Channels (#contact)
   ========================================================================== */
.contact-section {
  padding: 110px 0;
  position: relative;
  background: var(--canvas);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 32px;
  margin-top: 48px;
}

.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-800);
  margin-bottom: 8px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--ink-300);
  background: var(--ink-100);
  color: var(--ink-950);
  font-family: var(--body-font);
  font-size: 14.5px;
  transition: all 0.2s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.15);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-info-card {
  background: var(--canvas-alt);
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
  color: var(--ink-800);
}

.contact-item svg {
  color: var(--primary);
  flex-shrink: 0;
}

/* ==========================================================================
   Scroll To Top Button
   ========================================================================== */
.scroll-top-btn {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 900;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  color: var(--primary);
}

.scroll-top-btn.visible {
  opacity: 1;
  pointer-events: auto;
}

.scroll-top-btn:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: var(--canvas-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 80px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer__brand img {
  height: 36px;
  width: auto;
  margin-bottom: 16px;
}

.footer__brand p {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.65);
  max-width: 320px;
}

.footer h5 {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #ffffff;
  margin-bottom: 20px;
}

.footer ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer ul a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
}

.footer ul a:hover {
  color: var(--accent-light);
}

.footer__socials {
  display: flex;
  gap: 14px;
}

.footer__socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: all 0.2s ease;
}

.footer__socials a:hover {
  background: var(--primary);
  transform: translateY(-2px);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  flex-wrap: wrap;
  gap: 16px;
}

.footer__bottom a {
  color: rgba(255, 255, 255, 0.65);
}

.footer__bottom a:hover {
  color: #ffffff;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .nav-island--links {
    display: none;
  }
  .nav__burger {
    display: flex;
  }
  .shift-grid {
    grid-template-columns: 1fr;
  }
  .remediation-grid {
    grid-template-columns: 1fr;
  }
  .tools-showcase {
    grid-template-columns: 1fr;
  }
  .stakeholder-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .nav-wrap {
    padding: 0 16px;
  }
  .hero {
    padding-top: 110px;
  }
  .hero__scroll-indicator {
    display: none;
  }
  .footer__grid {
    grid-template-columns: 1fr;
  }
  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
