/* ============================================================
   EDUFRONT — MAIN STYLESHEET
   Premium EdTech Platform · India's K-12 Solution
   ============================================================ */


/* ── DESIGN TOKENS ── */
:root {
  --navy:        #0F2354;
  --navy-deep:   #091840;
  --navy-mid:    #1A3A6B;
  --navy-light:  #E6EEF8;
  --navy-xlight: #F2F6FC;

  --purple:      #6B4EAA;
  --purple-light:#F0EAF8;

  --amber:       #D4870A;
  --amber-light: #FEF3DC;

  --emerald:     #1A7A4A;
  --emerald-light:#E4F5ED;

  --coral:       #C43B1E;
  --coral-light: #FAEAE6;

  --silver:      #6E7A90;
  --silver-light:#F0F2F6;

  --ink:         #0D1117;
  --ink-70:      #3A4455;
  --ink-40:      #7A8699;
  --ink-15:      #D8DCE5;
  --paper:       #FAFBFD;
  --white:       #FFFFFF;

  --radius-sm:   6px;
  --radius:      12px;
  --radius-lg:   20px;
  --radius-xl:   32px;

  --shadow-sm:   0 2px 8px rgba(15,35,84,0.08);
  --shadow:      0 8px 32px rgba(15,35,84,0.10);
  --shadow-lg:   0 24px 64px rgba(15,35,84,0.14);
  --shadow-xl:   0 40px 96px rgba(15,35,84,0.18);

  --transition:  all 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);

  --max-w:       1240px;
  --section-py:  100px;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-font-smoothing: antialiased; }

body {
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.65;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; outline: none; }
input, select, textarea { font-family: inherit; }

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--paper); }
::-webkit-scrollbar-thumb { background: var(--ink-15); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--ink-40); }

/* ── UTILITY ── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 40px; }
.text-center { text-align: center; }
.d-flex { display: flex; }
.align-center { align-items: center; }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-32px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(32px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.94); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes floatA {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-12px); }
}
@keyframes floatB {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50%       { transform: translateY(-8px) rotate(4deg); }
}
@keyframes countUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}
@keyframes pulse-ring {
  0%   { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.6); opacity: 0; }
}
@keyframes draw-line {
  from { stroke-dashoffset: 1000; }
  to   { stroke-dashoffset: 0; }
}

/* Scroll-triggered reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}
.reveal-right {
  opacity: 0;
  transform: translateX(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}
.reveal-scale {
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* Delay classes */
.d-100 { transition-delay: 0.10s !important; }
.d-200 { transition-delay: 0.20s !important; }
.d-300 { transition-delay: 0.30s !important; }
.d-400 { transition-delay: 0.40s !important; }
.d-500 { transition-delay: 0.50s !important; }

/* ── TYPOGRAPHY ── */
.display-serif {
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  font-weight: 400;
  font-style: normal;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.display-serif em { font-style: italic; color: var(--amber); }

h1, h2, h3, h4, h5, h6 {
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy-mid);
  background: var(--navy-light);
  border-radius: 100px;
  padding: 6px 14px;
}
.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
}

.section-title {
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--ink);
}
.section-title em { font-style: italic; color: var(--navy-mid); }

.section-subtitle {
  font-size: 17px;
  color: var(--ink-70);
  line-height: 1.7;
  max-width: 560px;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
  border-radius: 10px;
  padding: 14px 28px;
  transition: var(--transition);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.08);
  opacity: 0;
  transition: opacity 0.2s;
}
.btn:hover::before { opacity: 1; }

.btn-primary {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(15,35,84,0.28);
}
.btn-primary:hover {
  background: var(--navy-deep);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(15,35,84,0.36);
}
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  background: var(--white);
  color: var(--navy);
  border: 1.5px solid var(--ink-15);
  box-shadow: var(--shadow-sm);
}
.btn-secondary:hover {
  border-color: var(--navy);
  background: var(--navy-xlight);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-ghost {
  background: transparent;
  color: var(--navy-mid);
  font-weight: 600;
  padding: 10px 0;
  gap: 6px;
}
.btn-ghost:hover { color: var(--navy-deep); gap: 10px; }
.btn-ghost .arrow { transition: var(--transition-fast); }

.btn-lg {
  padding: 18px 36px;
  font-size: 16px;
  border-radius: 12px;
}

/* Shimmer effect on primary CTAs */
.btn-shine {
  background: linear-gradient(
    110deg,
    var(--navy) 0%,
    var(--navy-mid) 40%,
    #2A5AA8 50%,
    var(--navy-mid) 60%,
    var(--navy) 100%
  );
  background-size: 200% auto;
  animation: shimmer 4s linear infinite;
  animation-play-state: paused;
}
.btn-shine:hover { animation-play-state: running; }

/* ── NAVIGATION ── */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: var(--transition);
  padding: 20px 0;
}
#navbar.scrolled {
  background: rgba(250,251,253,0.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  padding: 12px 0;
  box-shadow: 0 1px 0 rgba(15,35,84,0.08), 0 4px 24px rgba(15,35,84,0.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  font-size: 22px;
  color: var(--navy);
  letter-spacing: -0.02em;
}
.nav-logo-mark {
  width: 36px;
  height: 36px;
  background: var(--navy);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.nav-logo:hover .nav-logo-mark {
  transform: rotate(-8deg) scale(1.05);
}
.nav-logo-mark svg { width: 20px; height: 20px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}
.nav-links li a {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-70);
  padding: 8px 16px;
  border-radius: 8px;
  transition: var(--transition-fast);
}
.nav-links li a:hover,
.nav-links li a.active {
  color: var(--navy);
  background: var(--navy-light);
}

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

/* Mobile hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: var(--transition-fast);
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--ink-15);
  padding: 20px 24px;
  box-shadow: var(--shadow-lg);
  z-index: 999;
  animation: fadeIn 0.2s ease;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-70);
  padding: 12px 0;
  border-bottom: 1px solid var(--ink-15);
  transition: var(--transition-fast);
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover { color: var(--navy); }
.mobile-menu .mobile-cta { margin-top: 16px; width: 100%; text-align: center; }

/* ── HERO SECTION ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
  background: var(--white);
}

/* Mesh gradient background */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-bg-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.6;
}
.hero-bg-blob-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, #D6E4FF 0%, transparent 70%);
  top: -200px; right: -100px;
}
.hero-bg-blob-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #FEF3DC 0%, transparent 70%);
  bottom: -100px; left: 40%;
}
.hero-bg-blob-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, #E4F5ED 0%, transparent 70%);
  top: 50%; left: -80px;
}

/* Grid pattern */
.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15,35,84,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15,35,84,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, black 20%, transparent 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-content { max-width: 580px; }

.hero-eyebrow { margin-bottom: 24px; }

.hero-title {
  /* font-family: 'Instrument Serif', Georgia, serif; */
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  font-size: clamp(44px, 5.5vw, 72px);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 24px;
  animation: fadeUp 0.8s ease both;
  animation-delay: 0.1s;
}
.hero-title em {
  font-style: italic;
  color: var(--navy-mid);
  position: relative;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--ink-70);
  line-height: 1.7;
  margin-bottom: 40px;
  animation: fadeUp 0.8s ease both;
  animation-delay: 0.25s;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeUp 0.8s ease both;
  animation-delay: 0.4s;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 48px;
  animation: fadeUp 0.8s ease both;
  animation-delay: 0.55s;
}
.hero-trust-avatars {
  display: flex;
}
.hero-trust-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2.5px solid var(--white);
  margin-left: -8px;
  overflow: hidden;
  background: var(--navy-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--navy);
}
.hero-trust-avatars .hero-trust-avatar:first-child { margin-left: 0; }
.hero-trust-text {
  font-size: 13px;
  color: var(--ink-40);
  font-weight: 500;
}
.hero-trust-text strong { color: var(--ink); }

/* Hero visual */
.hero-visual {
  position: relative;
  animation: fadeIn 1s ease both;
  animation-delay: 0.3s;
}

/* Floating cards in hero */
.hero-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  position: absolute;
  white-space: nowrap;
  border: 1px solid var(--ink-15);
}
.hero-card-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.hero-main-card {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 40px;
  color: var(--white);
  aspect-ratio: 4/3;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.hero-main-card::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
}
.hero-main-card::after {
  content: '';
  position: absolute;
  bottom: -40px; left: -40px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
}

/* Segment pill tabs */
.segment-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.segment-tab {
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.15);
  cursor: pointer;
  transition: var(--transition-fast);
}
.segment-tab:hover,
.segment-tab.active {
  background: rgba(255,255,255,0.22);
  color: var(--white);
  border-color: rgba(255,255,255,0.35);
}

/* Stats row */
.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
  position: relative;
  z-index: 1;
}
.hero-stat-item { text-align: center; }
.hero-stat-num {
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  font-size: 36px;
  color: var(--white);
  line-height: 1;
}
.hero-stat-label {
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
  margin-top: 4px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Floating badges */
.float-badge {
  animation: floatA 3s ease-in-out infinite;
}
.float-badge-2 {
  animation: floatB 3.5s ease-in-out infinite;
  animation-delay: -1s;
}
.float-badge-3 {
  animation: floatA 4s ease-in-out infinite;
  animation-delay: -2s;
}

/* ── SECTION STYLES ── */
.section {
  padding: var(--section-py) 0;
  position: relative;
}

.section-header {
  margin-bottom: 64px;
}
.section-header-centered {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.section-header-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: end;
}

/* ── VALUE PROP / SEGMENT CARDS ── */
.segments-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.segment-card {
  background: var(--white);
  border: 1.5px solid var(--ink-15);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: var(--transition);
  cursor: pointer;
  text-decoration: none;
  display: block;
  position: relative;
  overflow: hidden;
}
.segment-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.32s ease;
}
.segment-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.segment-card:hover::before { transform: scaleX(1); }

.segment-card.students::before  { background: var(--purple); }
.segment-card.parents::before   { background: var(--amber); }
.segment-card.teachers::before  { background: var(--emerald); }
.segment-card.principals::before{ background: var(--navy-mid); }

.segment-card.students:hover  { background: var(--purple-light); }
.segment-card.parents:hover   { background: var(--amber-light); }
.segment-card.teachers:hover  { background: var(--emerald-light); }
.segment-card.principals:hover{ background: var(--navy-xlight); }

.segment-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
  transition: var(--transition);
}
.segment-card.students .segment-icon  { background: var(--purple-light); }
.segment-card.parents .segment-icon   { background: var(--amber-light); }
.segment-card.teachers .segment-icon  { background: var(--emerald-light); }
.segment-card.principals .segment-icon{ background: var(--navy-light); }

.segment-card:hover .segment-icon { transform: scale(1.1) rotate(-5deg); }

.segment-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.segment-card.students .segment-label  { color: var(--purple); }
.segment-card.parents .segment-label   { color: var(--amber); }
.segment-card.teachers .segment-label  { color: var(--emerald); }
.segment-card.principals .segment-label{ color: var(--navy-mid); }

.segment-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
  line-height: 1.3;
}
.segment-desc {
  font-size: 14px;
  color: var(--ink-70);
  line-height: 1.6;
  margin-bottom: 20px;
}
.segment-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  transition: var(--transition-fast);
}
.segment-card.students .segment-arrow  { color: var(--purple); }
.segment-card.parents .segment-arrow   { color: var(--amber); }
.segment-card.teachers .segment-arrow  { color: var(--emerald); }
.segment-card.principals .segment-arrow{ color: var(--navy-mid); }
.segment-card:hover .segment-arrow { gap: 10px; }

/* ── BENEFITS SECTION ── */
.benefits-section {
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.benefit-item {
  background: var(--navy);
  padding: 48px 40px;
  transition: var(--transition);
  position: relative;
}
.benefit-item:hover { background: rgba(255,255,255,0.05); }

.benefit-num {
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  font-size: 64px;
  line-height: 1;
  color: rgba(255,255,255,0.08);
  margin-bottom: 20px;
}
.benefit-icon {
  font-size: 28px;
  margin-bottom: 16px;
  display: block;
}
.benefit-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}
.benefit-desc {
  font-size: 15px;
  color: rgba(255,255,255,0.6);
  line-height: 1.65;
}

/* ── FEATURES GRID ── */
.features-section { background: var(--paper); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--white);
  border: 1.5px solid var(--ink-15);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: var(--transition);
}
.feature-card:hover {
  border-color: var(--navy-mid);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.feature-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.feature-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 12px;
  line-height: 1.3;
}
.feature-desc {
  font-size: 14px;
  color: var(--ink-70);
  line-height: 1.65;
  margin-bottom: 24px;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--ink-70);
}
.feature-list li::before {
  content: '';
  width: 18px;
  height: 18px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 1px;
  background-image: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 18 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='9' cy='9' r='9' fill='%230F2354' fill-opacity='0.08'/%3E%3Cpath d='M5.5 9L7.5 11L12.5 7' stroke='%230F2354' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.feature-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  margin-top: 24px;
  color: var(--navy-mid);
  transition: var(--transition-fast);
}
.feature-link:hover { gap: 10px; }

/* ── STATS / COVERAGE ── */
.stats-section {
  background: var(--white);
  border-top: 1px solid var(--ink-15);
  border-bottom: 1px solid var(--ink-15);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.stat-item {
  padding: 64px 48px;
  text-align: center;
  border-right: 1px solid var(--ink-15);
  position: relative;
}
.stat-item:last-child { border-right: none; }

.stat-num {
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  font-size: 80px;
  line-height: 1;
  color: var(--navy);
  letter-spacing: -0.03em;
}
.stat-unit {
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  font-size: 48px;
  color: var(--amber);
}
.stat-label {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin-top: 8px;
  margin-bottom: 12px;
}
.stat-desc {
  font-size: 14px;
  color: var(--ink-40);
  line-height: 1.6;
  max-width: 220px;
  margin: 0 auto;
}

/* ── TESTIMONIALS ── */
.testimonials-section { background: var(--navy-xlight); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--ink-15);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.testimonial-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
}
.testimonial-stars span { color: #F59E0B; font-size: 16px; }

.testimonial-quote {
  font-size: 15px;
  color: var(--ink-70);
  line-height: 1.7;
  flex: 1;
  font-style: italic;
  margin-bottom: 28px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  flex-shrink: 0;
}
.testimonial-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}
.testimonial-role {
  font-size: 12px;
  color: var(--ink-40);
  font-weight: 500;
}

/* ── MEDIA BAR ── */
.media-bar {
  background: var(--white);
  border-top: 1px solid var(--ink-15);
  border-bottom: 1px solid var(--ink-15);
  padding: 32px 0;
  overflow: hidden;
}

.media-bar-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-40);
  text-align: center;
  margin-bottom: 24px;
}

.marquee-track {
  display: flex;
  gap: 64px;
  animation: marquee 20s linear infinite;
  width: max-content;
}
.marquee-track:hover { animation-play-state: paused; }

.marquee-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink-40);
  white-space: nowrap;
  transition: var(--transition-fast);
}
.marquee-item:hover { color: var(--navy); }

/* ── ABOUT CTA STRIP ── */
.about-strip {
  background: var(--navy-light);
  border-radius: var(--radius-xl);
  padding: 64px 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  margin: 0 auto;
  max-width: calc(var(--max-w) - 80px);
}

.about-strip-text h2 {
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  font-size: 36px;
  color: var(--navy);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.about-strip-text p {
  font-size: 16px;
  color: var(--ink-70);
}

/* ── FOOTER CTA ── */
.footer-cta {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.footer-cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 100px 0;
}
.footer-cta h2 {
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 400;
  color: var(--white);
  letter-spacing: -0.025em;
  margin-bottom: 20px;
}
.footer-cta p {
  font-size: 17px;
  color: rgba(255,255,255,0.65);
  margin-bottom: 40px;
}
.footer-cta-bg-circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
}

/* ── FOOTER ── */
footer {
  background: var(--ink);
  color: rgba(255,255,255,0.65);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  margin-top: 16px;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-col ul li a {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  transition: var(--transition-fast);
}
.footer-col ul li a:hover { color: var(--white); }

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

.footer-logo {
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  font-size: 20px;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-logo-mark {
  width: 28px;
  height: 28px;
  background: rgba(255,255,255,0.12);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── PRODUCT PAGE SPECIFIC ── */
.product-hero {
  padding: 140px 0 80px;
  background: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.product-seg-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 48px;
}
.seg-pill {
  padding: 10px 24px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  border: 1.5px solid var(--ink-15);
  color: var(--ink-70);
  background: var(--white);
  cursor: pointer;
  transition: var(--transition-fast);
  text-decoration: none;
}
.seg-pill:hover,
.seg-pill.active { border-color: var(--navy); color: var(--navy); background: var(--navy-xlight); }
.seg-pill.active { background: var(--navy); color: var(--white); }

/* Feature sections */
.product-features-section {
  padding: 80px 0;
  border-bottom: 1px solid var(--ink-15);
}
.product-features-section:last-of-type { border-bottom: none; }

.product-section-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.product-section-inner.reverse { direction: rtl; }
.product-section-inner.reverse > * { direction: ltr; }

.product-seg-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}
.product-seg-eyebrow.students  { background: var(--purple-light);  color: var(--purple); }
.product-seg-eyebrow.parents   { background: var(--amber-light);   color: var(--amber); }
.product-seg-eyebrow.teachers  { background: var(--emerald-light); color: var(--emerald); }
.product-seg-eyebrow.principals{ background: var(--navy-light);    color: var(--navy-mid); }

.product-features-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
}

.product-feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--ink-15);
  background: var(--white);
  transition: var(--transition-fast);
}
.product-feature-item:hover {
  border-color: var(--navy-mid);
  box-shadow: var(--shadow-sm);
}
.product-feature-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.pfi-students  { background: var(--purple-light); }
.pfi-parents   { background: var(--amber-light); }
.pfi-teachers  { background: var(--emerald-light); }
.pfi-principals{ background: var(--navy-light); }

.product-feature-text h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.product-feature-text p {
  font-size: 13px;
  color: var(--ink-70);
  line-height: 1.6;
}

/* Screenshot mock */
.product-mockup {
  background: var(--navy-xlight);
  border-radius: var(--radius-xl);
  padding: 24px;
  border: 1px solid var(--ink-15);
  position: relative;
  overflow: hidden;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-mockup-inner {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  width: 100%;
  overflow: hidden;
}
.mockup-bar {
  background: var(--ink);
  height: 36px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 6px;
}
.mockup-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.mockup-content {
  padding: 24px;
  min-height: 300px;
  background: var(--paper);
}

/* All features panel */
.all-features-panel {
  background: var(--navy);
  border-radius: var(--radius-xl);
  padding: 64px;
  margin: 40px 0;
}
.all-features-panel h2 {
  color: var(--white);
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  font-weight: 400;
  font-size: 36px;
  margin-bottom: 8px;
}
.all-features-panel > p {
  color: rgba(255,255,255,0.6);
  font-size: 16px;
  margin-bottom: 40px;
}
.all-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.all-feature-tag {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  transition: var(--transition-fast);
}
.all-feature-tag:hover {
  background: rgba(255,255,255,0.10);
  color: var(--white);
}

/* ── ABOUT PAGE ── */
.about-hero {
  padding: 140px 0 80px;
  background: var(--white);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.mission-section { background: var(--paper); }
.mission-text {
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  font-size: clamp(22px, 2.5vw, 32px);
  line-height: 1.5;
  color: var(--ink);
  font-weight: 400;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.mission-text em { font-style: italic; color: var(--navy-mid); }

.belief-strip {
  background: var(--navy);
  color: var(--white);
  padding: 80px 0;
  text-align: center;
}
.belief-quote {
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 400;
  line-height: 1.4;
  max-width: 800px;
  margin: 0 auto;
  color: var(--white);
}
.belief-quote em { font-style: italic; color: rgba(255,255,255,0.55); }

/* Advisors */
.advisors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.advisor-card {
  background: var(--white);
  border: 1.5px solid var(--ink-15);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: var(--transition);
}
.advisor-card:hover {
  border-color: var(--navy-mid);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}
.advisor-initials {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--navy-light);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
}
.advisor-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}
.advisor-desc {
  font-size: 13px;
  color: var(--ink-70);
  line-height: 1.6;
}

/* Partners */
.partners-section { background: var(--paper); }
.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.partner-logo {
  background: var(--white);
  border: 1px solid var(--ink-15);
  border-radius: var(--radius);
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-40);
  transition: var(--transition-fast);
}
.partner-logo:hover { border-color: var(--navy-mid); color: var(--navy); background: var(--navy-xlight); }

/* ── CONTACT PAGE ── */
.contact-hero {
  padding: 140px 0 80px;
  background: var(--white);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  align-items: start;
}

.contact-info-card {
  background: var(--navy);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  color: var(--white);
  position: sticky;
  top: 100px;
}
.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.contact-info-item:last-child { border-bottom: none; }
.contact-info-icon {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.contact-info-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 4px;
}
.contact-info-value {
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
}

/* Contact form */
.contact-form-card {
  background: var(--white);
  border: 1.5px solid var(--ink-15);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}
.form-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.form-label span { color: var(--coral); }
.form-control {
  background: var(--paper);
  border: 1.5px solid var(--ink-15);
  border-radius: 10px;
  padding: 13px 16px;
  font-size: 15px;
  color: var(--ink);
  transition: var(--transition-fast);
  width: 100%;
  appearance: none;
}
.form-control:focus {
  outline: none;
  border-color: var(--navy);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(15,35,84,0.08);
}
.form-control::placeholder { color: var(--ink-40); }

textarea.form-control {
  resize: vertical;
  min-height: 140px;
}
select.form-control {
  background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 6L8 10L12 6' stroke='%237A8699' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}

.form-alert {
  display: none;
  padding: 14px 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  margin-top: 20px;
}
.form-alert.success { background: var(--emerald-light); color: var(--emerald); border: 1px solid #A3D9BC; display: flex; align-items: center; gap: 10px; }
.form-alert.error   { background: var(--coral-light);   color: var(--coral);   border: 1px solid #F0B8A8; display: flex; align-items: center; gap: 10px; }

/* ── PAGE TRANSITIONS ── */
.page-transition {
  position: fixed;
  inset: 0;
  background: var(--navy);
  z-index: 9999;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.76, 0, 0.24, 1);
  pointer-events: none;
}
.page-transition.entering { transform: translateY(0); }
.page-transition.leaving { transform: translateY(-100%); }

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .segments-grid { grid-template-columns: repeat(2, 1fr); }
  .advisors-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-hero { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  :root { --section-py: 72px; }
  .container { padding: 0 24px; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { order: -1; max-height: 360px; overflow: hidden; }
  .benefits-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--ink-15); }
  .stat-item:last-child { border-bottom: none; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .product-section-inner { grid-template-columns: 1fr; gap: 40px; }
  .product-section-inner.reverse { direction: ltr; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-info-card { position: static; }
  .all-features-grid { grid-template-columns: 1fr; }
  .about-strip { flex-direction: column; padding: 48px 40px; }
  .section-header-split { grid-template-columns: 1fr; }
  nav .nav-links,
  nav .nav-cta .btn-secondary { display: none; }
  .nav-hamburger { display: flex; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .segments-grid { grid-template-columns: 1fr; }
  .advisors-grid { grid-template-columns: 1fr; }
  .partners-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .about-strip { padding: 40px 28px; }
  .all-features-panel { padding: 40px 28px; }
}










.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

/* Icon */
.nav-logo-icon {
  width: 40px;
  height: 40px;
  display: block;
}

/* Text logo */
.nav-logo-text {
  height: 22px;
  display: block;
}

/* Slight polish */
.nav-logo:hover {
  opacity: 0.9;
}

/* Mobile: only icon */
@media (max-width: 768px) {
  .nav-logo-text {
    display: none;
  }
}