/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   ALPHA LEARNING SOLUTIONS â€” WEBSITE STYLES
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

:root {
  --navy: #0f172a;
  --navy-mid: #152366;
  --blue: #1a56db;
  --blue-light: #3b82f6;
  --cyan: #06b6d4;
  --orange: #f97316;
  --orange-gold: #f59e0b;
  --gold: #fbbf24;
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-900: #0f172a;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 8px 32px rgba(13,27,75,0.15);
  --shadow-lg: 0 20px 60px rgba(13,27,75,0.25);
  --shadow-glow: 0 0 40px rgba(59,130,246,0.3);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Outfit', sans-serif;
  background: var(--gray-50);
  color: var(--gray-700);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--navy); }
::-webkit-scrollbar-thumb { background: var(--blue-light); border-radius: 3px; }

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; color: var(--navy); }
.text-gradient { background: linear-gradient(135deg, var(--blue-light), var(--cyan)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.text-gradient-gold { background: linear-gradient(135deg, var(--orange-gold), var(--gold)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: var(--radius-full);
  font-family: 'Outfit', sans-serif; font-size: 1rem; font-weight: 600; letter-spacing: 0.4px;
  text-decoration: none; border: none; cursor: pointer;
  transition: var(--transition); white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  color: var(--white); box-shadow: 0 4px 20px rgba(26,86,219,0.4);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  box-shadow: 0 8px 24px rgba(6,182,212,0.35);
  transform: translateY(-2px);
}
.btn-primary:active { transform: translateY(0); }
.btn-outline {
  background: transparent; color: var(--white);
  border: 2px solid rgba(255,255,255,0.5); backdrop-filter: blur(8px);
}
.btn-outline:hover { background: rgba(255,255,255,0.15); border-color: var(--white); }
.btn.full-width { width: 100%; justify-content: center; }

/* â”€â”€ SECTION BASE â”€â”€ */
.section { padding: 100px 0; }
.section-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.split-container { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.section-label {
  display: inline-block; background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: var(--white); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase; padding: 6px 18px; border-radius: var(--radius-full);
  margin-bottom: 20px;
}
.section-label.light { background: rgba(255,255,255,0.15); backdrop-filter: blur(8px); }
.section-title { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 16px; }
.section-sub { color: var(--gray-600); font-size: 1.1rem; max-width: 700px; margin: 0 auto 48px; text-align: center; }

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   NAVBAR
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 16px 0; transition: var(--transition);
  background: rgba(15, 23, 42, 0.98); backdrop-filter: blur(20px);
}
.navbar.scrolled {
  box-shadow: 0 4px 30px rgba(0,0,0,0.3); padding: 10px 0;
}
.navbar.scrolled {
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.nav-container {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { text-decoration: none; }
.logo-img { height: 48px; filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3)); }
.nav-brand { display: flex; flex-direction: column; justify-content: center; line-height: 1.2; text-decoration: none; }
.nav-brand-name { font-family: 'Outfit', sans-serif; font-size: 0.85rem; font-weight: 700; color: var(--white); letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; }
.nav-brand-tagline { font-family: 'Outfit', sans-serif; font-size: 0.7rem; font-weight: 400; color: rgba(255,255,255,0.65); letter-spacing: 0.04em; white-space: nowrap; }
.nav-logo-group { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-links { list-style: none; display: flex; align-items: center; gap: 8px; }
.nav-link {
  color: rgba(255,255,255,0.85); text-decoration: none; font-weight: 500;
  padding: 8px 16px; border-radius: var(--radius-full); transition: var(--transition);
  font-size: 0.95rem;
}
.nav-link:hover { color: var(--white); background: rgba(255,255,255,0.1); }
.nav-cta {
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  color: var(--white) !important; padding: 10px 22px !important;
  box-shadow: 0 4px 16px rgba(26,86,219,0.4);
}
.nav-cta:hover { background: rgba(255,255,255,0.15) !important; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(26,86,219,0.5) !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: var(--transition); }


/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   HERO
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.hero {
  min-height: 100vh; background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 60%, #1e3a8a 100%);
  display: flex; align-items: center; position: relative; overflow: hidden;
  padding: 100px 24px 60px;
}
.hero-bg-shapes { position: absolute; inset: 0; pointer-events: none; }
.shape {
  position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: 0.15;
}
.shape-1 { width: 600px; height: 600px; background: var(--blue-light); top: -200px; right: -200px; animation: float1  16s ease-in-out infinite; }
.shape-2 { width: 400px; height: 400px; background: var(--cyan); bottom: -100px; left: -100px; animation: float2 10s ease-in-out infinite; }
.shape-3 { width: 300px; height: 300px; background: var(--orange); top: 40%; left: 40%; animation: float3 6s ease-in-out infinite; }

@keyframes float1 { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-30px) rotate(10deg); } }
@keyframes float2 { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(20px) rotate(-10deg); } }
@keyframes float3 { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(30px); } }

.floating-numbers {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  display: flex; flex-wrap: wrap; align-content: space-around; justify-content: space-around;
  opacity: 0.04; font-size: 2.5rem; font-weight: 900; color: var(--white);
  pointer-events: none;
}

.hero-container {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center;
  max-width: 1200px; width: 100%; margin: 0 auto;
}
.hero-content {
  display: flex; flex-direction: column; align-items: flex-start; text-align: left;
  animation: slideInLeft 0.8s ease-out;
}
@keyframes slideInLeft { from { opacity: 0; transform: translateX(-40px); } to { opacity: 1; transform: translateX(0); } }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.1); backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.2); border-radius: var(--radius-full);
  color: var(--white); font-size: 0.85rem; font-weight: 500;
  padding: 8px 18px; margin-bottom: 28px;
}
.badge-dot { width: 8px; height: 8px; background: #22c55e; border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(1.4); } }

.hero-title { color: var(--white); font-size: clamp(3.5rem, 6vw, 5.5rem); margin-bottom: 16px; line-height: 1.1; }
.title-line { display: block; font-weight: 300; opacity: 0.85; }
.title-gradient { display: block; font-weight: 900; background: linear-gradient(135deg, #60a5fa, var(--cyan), #a78bfa); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

.hero-tagline { color: var(--orange); font-weight: 700; letter-spacing: 0.2em; font-size: 0.9rem; margin-bottom: 24px; text-transform: uppercase; }
.hero-sub { color: rgba(255,255,255,0.85); font-size: 1.25rem; margin-bottom: 40px; max-width: 480px; line-height: 1.6; }

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }

.hero-visual-math {
  position: relative; display: flex; justify-content: center; align-items: center;
  height: 500px;
  animation: slideInRight 0.8s ease-out 0.2s both;
}
@keyframes slideInRight { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: translateX(0); } }

.math-scene { position: relative; width: 100%; height: 100%; display: flex; justify-content: center; align-items: center; }

.math-center-orb {
  width: 140px; height: 140px;
  background: radial-gradient(circle at 30% 30%, var(--cyan), var(--blue));
  border-radius: 50%; display: flex; justify-content: center; align-items: center;
  color: white; box-shadow: 0 0 60px rgba(6, 182, 212, 0.4), inset -10px -10px 30px rgba(0,0,0,0.2);
  animation: floatOrb 6s ease-in-out infinite; z-index: 2;
}
@keyframes floatOrb { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-20px); } }

.math-card {
  position: absolute;
  background: rgba(255,255,255,0.95); backdrop-filter: blur(12px);
  padding: 16px 24px; border-radius: var(--radius-lg);
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
  display: flex; align-items: center; gap: 12px;
  font-family: 'Outfit', sans-serif; font-size: 1.25rem; font-weight: 700; color: var(--navy);
  pointer-events: auto;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease; z-index: 3;
}
.math-card:hover { transform: scale(1.05) translateY(-5px); box-shadow: 0 25px 50px rgba(0,0,0,0.3); }
.card-icon { font-size: 2rem; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; background: rgba(0,0,0,0.05); border-radius: 12px; }

.card-1 { top: 15%; left: 0; animation: orbit1 20s ease-in-out infinite; }
.card-2 { bottom: 20%; left: 10%; animation: orbit2 25s ease-in-out infinite reverse; }
.card-3 { top: 40%; right: -5%; animation: orbit3 22s ease-in-out infinite; }

@keyframes orbit1 { 0%, 100% { transform: translate(0, 0) rotate(-2deg); } 50% { transform: translate(20px, -20px) rotate(2deg); } }
@keyframes orbit2 { 0%, 100% { transform: translate(0, 0) rotate(2deg); } 50% { transform: translate(-20px, -15px) rotate(-2deg); } }
@keyframes orbit3 { 0%, 100% { transform: translate(0, 0) rotate(-1deg); } 50% { transform: translate(-15px, 20px) rotate(1deg); } }

.floating-shape { position: absolute; opacity: 0.6; z-index: 1; }
.fs-circle { width: 40px; height: 40px; border-radius: 50%; border: 4px solid var(--orange); top: 20%; right: 20%; animation: spin 8s linear infinite; }
.fs-triangle { width: 0; height: 0; border-left: 20px solid transparent; border-right: 20px solid transparent; border-bottom: 35px solid var(--gold); bottom: 15%; right: 30%; animation: floatOrb 5s ease-in-out infinite reverse, spin 12s linear infinite; }
.fs-square { width: 35px; height: 35px; background: var(--cyan); border-radius: 8px; top: 50%; left: 15%; animation: floatOrb 7s ease-in-out infinite, spin 10s linear infinite reverse; }
@keyframes spin { 100% { transform: rotate(360deg); } }


.scroll-indicator {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  animation: bounce 2s ease-in-out infinite;
}
@keyframes bounce { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(-8px); } }
.scroll-dot { width: 12px; height: 12px; background: rgba(255,255,255,0.5); border-radius: 50%; }


/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   PHILOSOPHY (SECTION 2)
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.philosophy { background: var(--gray-50); position: relative; overflow: hidden; }
.philosophy::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(13,27,75,0.1), transparent); }
.philosophy-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
  margin-top: 56px;
}
.philosophy-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 40px 32px;
  box-shadow: 0 10px 30px rgba(13,27,75,0.04);
  border: 1px solid rgba(13,27,75,0.04);
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; height: 100%;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease, border-color 0.4s ease;
}
.philosophy-card:hover {
  transform: translateY(-5px);
}
.phil-content { position: relative; z-index: 2; flex: 1; }
.phil-content h3 { color: var(--navy); font-size: 1.25rem; font-weight: 800; letter-spacing: 0.1em; margin-bottom: 16px; }
.phil-content p { color: var(--gray-600); font-size: 1.05rem; line-height: 1.6; }
.phil-icon { margin-top: 32px; opacity: 0.8; }

#phil-exp .phil-icon { color: var(--orange); }
#phil-expl .phil-icon { color: var(--cyan); }
#phil-excel .phil-icon { color: var(--blue); }

/* EXPERIENCE Hover */
#phil-exp:hover {
  border-color: rgba(249, 115, 22, 0.3);
  box-shadow: 0 15px 35px rgba(249, 115, 22, 0.08);
}
#phil-exp .phil-icon svg path { stroke-dasharray: 200; stroke-dashoffset: 0; }
#phil-exp:hover .phil-icon svg path { animation: drawLine 1.2s ease-in-out forwards; }
@keyframes drawLine { 0% { stroke-dashoffset: 200; } 100% { stroke-dashoffset: 0; } }

/* EXPLORE Hover */
#phil-expl:hover {
  border-color: rgba(6, 182, 212, 0.3);
  box-shadow: 0 15px 35px rgba(6, 182, 212, 0.08);
}
#phil-expl .phil-icon svg { transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1); }
#phil-expl:hover .phil-icon svg { transform: rotate(45deg) scale(1.1); }

/* EXCEL Hover */
#phil-excel:hover {
  border-color: rgba(59, 130, 246, 0.3);
  box-shadow: 0 15px 35px rgba(59, 130, 246, 0.08);
}
#phil-excel .phil-icon svg { transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1); }
#phil-excel:hover .phil-icon svg { transform: scale(1.15); }


/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   JOURNEY (SECTION 3)
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.journey { background: var(--white); overflow: hidden; padding-bottom: 80px; }
.journey-wrapper { position: relative; margin-top: 120px; margin-bottom: 40px; }
.journey-track {
  position: absolute; top: 50%; left: 0; width: 100%; height: 4px;
  background: linear-gradient(90deg, rgba(59,130,246,0.1), var(--cyan), var(--blue), rgba(59,130,246,0.1));
  transform: translateY(-50%); border-radius: 2px; z-index: 1;
}
.journey-steps {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px;
  position: relative; z-index: 2; height: 320px;
}
.journey-step { position: relative; display: flex; justify-content: center; align-items: center; }
.step-node {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--white); border: 4px solid var(--blue-light);
  color: var(--navy); font-weight: 800; font-size: 1.1rem;
  display: flex; justify-content: center; align-items: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1); transition: all 0.3s ease; position: relative; z-index: 3;
}
.journey-step:hover .step-node { transform: scale(1.15); background: var(--blue); color: var(--white); border-color: var(--cyan); }

.step-card {
  position: absolute; width: 180px; padding: 20px 16px;
  background: var(--white); border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(13,27,75,0.06);
  border: 1px solid rgba(13,27,75,0.04);
  text-align: center; opacity: 0.95; transition: all 0.4s ease; z-index: 4;
}
.journey-step:hover .step-card { opacity: 1; transform: translateY(-4px); box-shadow: 0 15px 40px rgba(13,27,75,0.12); border-color: var(--cyan); }
.step-card h3 { font-size: 0.95rem; color: var(--navy); margin-bottom: 8px; line-height: 1.3; }
.step-card p { font-size: 0.82rem; color: var(--gray-600); line-height: 1.4; }

.step-up .step-card { bottom: calc(50% + 40px); }
.step-down .step-card { top: calc(50% + 40px); }
.step-up:hover .step-card { transform: translateY(-4px); }
.step-down:hover .step-card { transform: translateY(4px); }

.step-connector {
  position: absolute; width: 2px; height: 40px;
  background: linear-gradient(to bottom, transparent, rgba(59,130,246,0.3), transparent);
  left: 50%; transform: translateX(-50%); z-index: 2;
}
.step-up .step-connector { bottom: 50%; }
.step-down .step-connector { top: 50%; }


/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   ECOSYSTEM (SECTION 4)
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.ecosystem { background: var(--gray-50); position: relative; overflow: hidden; padding-bottom: 80px; }
.ecosystem::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(13,27,75,0.1), transparent); }

.ecosystem-flow {
  display: flex; align-items: center; justify-content: center;
  margin-top: 64px; gap: 16px; position: relative; z-index: 2;
}

.eco-stage {
  flex: 1; min-width: 280px; background: var(--white);
  border-radius: var(--radius-lg); padding: 40px 24px;
  box-shadow: 0 10px 30px rgba(13,27,75,0.05);
  border: 1px solid rgba(13,27,75,0.05);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94); text-align: center;
  position: relative;
}
.eco-stage:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(13,27,75,0.1);
  border-color: rgba(59,130,246,0.3);
}

.eco-stage-header { margin-bottom: 24px; }
.eco-stage-visual {
  width: 64px; height: 64px; border-radius: 16px;
  display: flex; justify-content: center; align-items: center;
  margin: 0 auto 24px; transition: all 0.4s ease;
}
.visual-blue { background: rgba(59,130,246,0.08); color: var(--blue); }
.visual-orange { background: rgba(249,115,22,0.08); color: var(--orange); }
.visual-cyan { background: rgba(6,182,212,0.08); color: var(--cyan); }

.eco-stage:hover .eco-stage-visual { transform: scale(1.1) translateY(-4px); }
.eco-stage:hover .visual-blue { background: var(--blue); color: var(--white); box-shadow: 0 10px 20px rgba(59,130,246,0.25); }
.eco-stage:hover .visual-orange { background: var(--orange); color: var(--white); box-shadow: 0 10px 20px rgba(249,115,22,0.25); }
.eco-stage:hover .visual-cyan { background: var(--cyan); color: var(--white); box-shadow: 0 10px 20px rgba(6,182,212,0.25); }

.eco-stage-title { color: var(--navy); font-size: 1.2rem; font-weight: 800; letter-spacing: 0.05em; transition: color 0.3s ease; }
.eco-stage:hover .eco-stage-title { color: var(--blue); }

.eco-stage-components {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 8px; margin-bottom: 24px;
}
.eco-tag {
  padding: 8px 16px; background: rgba(59,130,246,0.08); color: var(--blue);
  border-radius: var(--radius-full); font-weight: 700; font-size: 0.9rem;
  transition: all 0.3s ease; border: 1px solid rgba(59,130,246,0.1);
}
.eco-stage:hover .eco-tag { background: var(--blue); color: var(--white); border-color: var(--blue); }
.eco-plus { font-weight: 800; color: var(--gray-400); font-size: 1.2rem; }

.eco-stage-desc { color: var(--gray-600); font-size: 0.95rem; line-height: 1.6; transition: color 0.3s ease; }
.eco-stage:hover .eco-stage-desc { color: var(--navy); }

.eco-arrow {
  color: var(--cyan); flex-shrink: 0; padding: 0 4px;
}

/* Sequential Animation */
.ecosystem-flow .eco-stage, .ecosystem-flow .eco-arrow {
  opacity: 0; transform: translateY(20px);
}
.ecosystem-flow.animate .eco-stage, .ecosystem-flow.animate .eco-arrow {
  animation: ecoFadeUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
.ecosystem-flow.animate .eco-stage:nth-child(1) { animation-delay: 0.1s; }
.ecosystem-flow.animate .eco-arrow:nth-child(2) { animation-delay: 0.6s; }
.ecosystem-flow.animate .eco-stage:nth-child(3) { animation-delay: 1.1s; }
.ecosystem-flow.animate .eco-arrow:nth-child(4) { animation-delay: 1.6s; }
.ecosystem-flow.animate .eco-stage:nth-child(5) { animation-delay: 2.1s; }

@keyframes ecoFadeUp {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}



/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   PRODUCT (SECTION 5)
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.product { background: var(--white); padding-bottom: 80px; }
.product-grid {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px;
  align-items: center; margin-top: 48px;
}
.product-subtitle { text-align: left; max-width: 100%; margin: 0 0 32px 0; font-size: 1.15rem; }

.product-features {
  list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
}
.feat-pill {
  display: flex; align-items: center; gap: 12px;
  background: var(--gray-50); padding: 12px 16px;
  border-radius: var(--radius-lg); border: 1px solid rgba(13,27,75,0.04);
  font-size: 0.95rem; color: var(--navy); font-weight: 600;
  transition: all 0.3s ease;
}
.feat-pill:hover { background: var(--white); box-shadow: 0 4px 12px rgba(13,27,75,0.05); border-color: rgba(59,130,246,0.2); transform: translateY(-2px); }

.feat-icon {
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(59,130,246,0.1); color: var(--blue);
  display: flex; justify-content: center; align-items: center;
  flex-shrink: 0;
}

.product-cta { box-shadow: 0 10px 20px rgba(59,130,246,0.2); }

.product-visual {
  position: relative; height: 100%; min-height: 480px;
  display: flex; justify-content: center; align-items: center;
}

.math-scene-integrated {
  position: relative; width: 100%; height: 100%; min-height: 480px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  transform: scale(1.1); transform-origin: center;
}

/* Ambient Mathematics */
.ambient-math { position: absolute; font-size: 2rem; font-weight: 800; opacity: 0.1; color: var(--navy); animation: floatAmbient 12s linear infinite; font-family: monospace; z-index: 1; pointer-events: none; }
.am-1 { top: 10%; left: 10%; font-size: 3rem; animation-delay: 0s; color: var(--blue); }
.am-2 { top: 20%; right: 10%; font-size: 2.5rem; animation-delay: -3s; color: var(--cyan); }
.am-3 { bottom: 20%; left: 20%; font-size: 3rem; animation-delay: -6s; color: var(--orange); opacity: 0.15; }
.am-4 { bottom: 30%; right: 15%; font-size: 2.5rem; animation-delay: -9s; color: var(--navy); }

@keyframes floatAmbient { 0% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-20px) rotate(180deg); } 100% { transform: translateY(0) rotate(360deg); } }

/* Discovery Layout */
.discovery-layout { position: relative; z-index: 2; width: 100%; max-width: 440px; display: flex; flex-direction: column; align-items: center; }

.subtle-label {
  font-size: 0.9rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.15em;
  color: rgba(13,27,75,0.4); margin-bottom: 24px; text-align: center;
}

/* The Dice Row */
.dice-row { display: flex; justify-content: center; gap: 32px; width: 100%; margin-bottom: 8px; position: relative; }
.dice-card {
  position: relative; width: 90px; height: 90px;
  background: var(--white); border-radius: 20px;
  box-shadow: 0 10px 24px rgba(13,27,75,0.06); border: 2px solid rgba(13,27,75,0.04);
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  justify-content: center; align-content: center; padding: 16px;
  transition: all 0.4s ease;
}
.dot {
  width: 20px; height: 20px; background: var(--blue); border-radius: 50%;
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Checkbox State Logic */
.math-toggle:checked ~ * .dice-card {
  border-color: rgba(249,115,22,0.3); box-shadow: 0 12px 30px rgba(249,115,22,0.15);
}
.math-toggle:checked ~ * .dot {
  background: var(--orange); animation: dotPop 0.4s ease forwards;
}
@keyframes dotPop { 0% { transform: scale(1); } 50% { transform: scale(1.3); } 100% { transform: scale(1); } }

/* Equation Container and States */
.equation-container { position: relative; width: 100%; height: 72px; display: flex; justify-content: center; align-items: center; }
.equation-row { position: absolute; display: flex; align-items: center; justify-content: center; gap: 16px; transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1); }

.eq-state-default { opacity: 1; transform: translateY(0) scale(1); z-index: 2; pointer-events: auto; }
.eq-state-active { opacity: 0; transform: translateY(10px) scale(0.95); z-index: 1; pointer-events: none; }

.math-toggle:checked ~ * .eq-state-default { opacity: 0; transform: translateY(-10px) scale(0.95); pointer-events: none; z-index: 1; }
.math-toggle:checked ~ * .eq-state-active { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; z-index: 2; transition-delay: 0.1s; }

/* Connection Zone */
.connection-zone { width: 100%; height: 60px; display: flex; justify-content: center; align-items: center; margin-bottom: 24px; color: rgba(13,27,75,0.15); }
.connection-svg { overflow: visible; }
.conn-path { transition: all 0.4s ease; }

/* Equation Blocks */
.eq-block {
  width: 64px; height: 64px; display: flex; justify-content: center; align-items: center;
  background: var(--white); border-radius: 16px; font-size: 2rem; font-weight: 900;
  font-family: monospace; color: var(--navy); cursor: default;
  box-shadow: 0 10px 24px rgba(13,27,75,0.06); border: 1px solid rgba(13,27,75,0.04);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.eq-symbol { font-size: 2.2rem; font-weight: 700; color: rgba(13,27,75,0.25); }

.eq-blue { color: var(--blue); }
.eq-neutral { color: var(--navy); }
.eq-orange { background: var(--orange); color: var(--white); box-shadow: 0 12px 30px rgba(249,115,22,0.3); border: none; }

.eq-block:hover { transform: translateY(-6px) scale(1.1); box-shadow: 0 12px 30px rgba(13,27,75,0.1); border-color: transparent; }
.eq-blue:hover { background: var(--blue); color: var(--white); box-shadow: 0 12px 30px rgba(59,130,246,0.3); }
.eq-neutral:hover { background: var(--cyan); color: var(--navy); box-shadow: 0 12px 30px rgba(6,182,212,0.3); }

.eq-orange:hover, .eq-orange:active {
  animation: successPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
@keyframes successPop {
  0% { transform: scale(1); box-shadow: 0 12px 30px rgba(249,115,22,0.3); }
  40% { transform: scale(1.25); box-shadow: 0 20px 40px rgba(249,115,22,0.5); background: #f97316; }
  60% { transform: scale(1.15); box-shadow: 0 15px 35px rgba(249,115,22,0.4); }
  100% { transform: scale(1.2); box-shadow: 0 15px 35px rgba(249,115,22,0.4); background: #ea580c; }
}


/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   ABOUT
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.about { background: var(--white); }
.about-grid { display: block; max-width: 900px; margin: 48px auto 0; text-align: center; }
.about-lead { font-size: 1.25rem; color: var(--navy); font-weight: 600; margin-bottom: 24px; line-height: 1.6; }
.about-text p { color: var(--gray-600); margin-bottom: 20px; font-size: 1.05rem; line-height: 1.7; }
.about-quote {
  border: none; padding: 32px 40px;
  background: linear-gradient(135deg, var(--gray-50), var(--white));
  border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
  font-style: italic; color: var(--blue); font-size: 1.15rem; margin-top: 40px;
  position: relative;
}
.about-quote::before {
  content: '"'; position: absolute; top: -10px; left: 20px;
  font-size: 4rem; color: var(--blue-light); opacity: 0.3; font-family: serif;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   MISSION
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.mission-section {
  position: relative; padding: 100px 0;
  background: linear-gradient(135deg, var(--navy) 0%, #1e3a8a 100%);
  overflow: hidden;
}
.mission-section .section-container { position: relative; z-index: 1; text-align: center; }
.mission-section .section-title.light { color: var(--white); }
.mission-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 48px; }
.mission-card {
  background: rgba(255,255,255,0.08); backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.15); border-radius: var(--radius-lg);
  padding: 32px 24px; text-align: center; transition: var(--transition);
}
.mission-card:hover { background: rgba(255,255,255,0.15); transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0,0,0,0.3); }
.mc-icon { font-size: 2.5rem; margin-bottom: 16px; }
.mission-card h3 { color: var(--white); font-size: 1.1rem; margin-bottom: 12px; }
.mission-card p { color: rgba(255,255,255,0.75); font-size: 0.9rem; line-height: 1.6; }

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   PRODUCT
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.product { background: var(--gray-50); }
.product-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; align-items: center; margin-top: 48px; }
.product-book { text-align: center; }
.book-3d {
  position: relative; display: inline-block;
  transform: perspective(1000px) rotateY(-8deg) rotateX(2deg);
  transition: var(--transition);
}
.book-3d:hover { transform: perspective(1000px) rotateY(0deg) rotateX(0deg); }
.book-cover { width: 100%; max-width: 360px; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.book-spine {
  position: absolute; left: 0; top: 10px; bottom: 10px; width: 20px;
  background: linear-gradient(to right, #0d1b4b, #1a56db);
  border-radius: var(--radius) 0 0 var(--radius);
  transform: translateX(-18px) rotateY(30deg);
}
.nep-badges { display: flex; gap: 12px; justify-content: center; margin-top: 20px; }
.nep-badge { padding: 8px 18px; border-radius: var(--radius-full); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.05em; }
.nep-badge.nep { background: linear-gradient(135deg, #1a56db, #3b82f6); color: var(--white); }
.nep-badge.ncf { background: linear-gradient(135deg, #f97316, #fbbf24); color: var(--white); }

/* â”€â”€ CSS 3D BOOK COVER â”€â”€ */
.css-book {
  position: relative; width: 100%; max-width: 320px; height: 420px;
  margin: 0 auto; perspective: 1200px;
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  transform: rotateY(-15deg) rotateX(5deg);
}
.css-book:hover { transform: rotateY(-5deg) rotateX(2deg) scale(1.05); }
.css-book-front {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #0d1b4b, #1a56db);
  border-radius: 4px 12px 12px 4px;
  box-shadow: inset 4px 0 10px rgba(0,0,0,0.1), 0 20px 40px rgba(13,27,75,0.3);
  padding: 40px 24px; text-align: center;
  display: flex; flex-direction: column; justify-content: center;
  z-index: 10; border: 1px solid rgba(255,255,255,0.1);
}
.css-book-spine {
  position: absolute; left: 0; top: 2px; bottom: 2px; width: 30px;
  background: linear-gradient(to right, #0a1438, #0d1b4b);
  transform-origin: left; transform: rotateY(-90deg);
  border-radius: 4px 0 0 4px; border: 1px solid rgba(255,255,255,0.05);
}
.css-book-pages {
  position: absolute; top: 4px; bottom: 4px; right: -12px; width: 12px;
  background: #f1f5f9; transform-origin: left; transform: rotateY(90deg);
  background-image: repeating-linear-gradient(to bottom, transparent, transparent 2px, #e2e8f0 2px, #e2e8f0 4px);
  border-radius: 0 4px 4px 0;
}
.css-book-logo { color: var(--cyan); font-size: 0.65rem; font-weight: 700; letter-spacing: 0.15em; margin-bottom: 24px; text-transform: uppercase; }
.css-book-title { color: var(--white); font-size: 2.2rem; line-height: 1.1; margin-bottom: 12px; font-weight: 800; }
.css-book-title .highlight { color: var(--gold); }
.css-book-subtitle { color: rgba(255,255,255,0.8); font-size: 1rem; font-weight: 500; margin-bottom: auto; }
.css-book-math { color: rgba(255,255,255,0.15); font-size: 3rem; font-weight: 900; letter-spacing: 0.2em; margin-top: 30px; }

.product-lead { font-size: 1.1rem; color: var(--navy); font-weight: 500; margin-bottom: 16px; }
.product-info p { color: var(--gray-600); margin-bottom: 16px; }
.product-promise { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 24px 0; }
.promise-item {
  display: flex; align-items: center; gap: 10px;
  background: var(--white); border-radius: var(--radius); padding: 12px 16px;
  border: 1px solid var(--gray-200); font-size: 0.9rem; font-weight: 500;
  color: var(--navy); box-shadow: var(--shadow-sm); transition: var(--transition);
}
.promise-item:hover { border-color: var(--blue-light); box-shadow: 0 4px 16px rgba(59,130,246,0.15); transform: translateY(-2px); }
.promise-icon { font-size: 1.2rem; }

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   FEATURES
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
/* â”€â”€ FEATURES FULL-WIDTH SLIDER â”€â”€ */
.features { background: var(--white); }
.features-slider-wrap {
  position: relative; margin-bottom: 60px;
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 20px 60px rgba(13,27,75,0.18);
  background: var(--white);
}
.features-slider { position: relative; overflow: hidden; }
.feat-slide {
  display: none;
  position: relative;
}
.feat-slide.active { display: block; animation: featIn 0.55s cubic-bezier(0.4,0,0.2,1); }
@keyframes featIn {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}
.feat-slide img {
  width: 100%; height: auto; display: block;
  transition: transform 0.4s ease;
}
.feat-slide-label {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(13,27,75,0.92) 0%, rgba(13,27,75,0.4) 70%, transparent 100%);
  color: var(--white); font-size: 0.85rem; font-weight: 600;
  letter-spacing: 0.04em; padding: 36px 24px 16px;
  text-align: center;
}
.feat-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(13,27,75,0.7); backdrop-filter: blur(8px);
  color: var(--white); border: 1.5px solid rgba(255,255,255,0.2);
  border-radius: 50%; width: 48px; height: 48px;
  font-size: 1.8rem; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition); z-index: 10;
}
.feat-arrow:hover { background: var(--blue); border-color: var(--blue); transform: translateY(-50%) scale(1.1); }
.feat-prev { left: 16px; }
.feat-next { right: 16px; }
.feat-dots {
  position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 10;
}
.feat-dot {
  width: 8px; height: 8px; border-radius: 50%; border: none;
  background: rgba(255,255,255,0.4); cursor: pointer; transition: var(--transition);
}
.feat-dot.active { background: var(--white); width: 24px; border-radius: 4px; }

/* progress bar animation on auto-advance */
.features-slider-wrap::after {
  content: ''; position: absolute; bottom: 0; left: 0; height: 3px;
  background: linear-gradient(90deg, var(--blue-light), var(--cyan));
  animation: progressBar 4s linear infinite;
  z-index: 20;
}
@keyframes progressBar { from { width: 0%; } to { width: 100%; } }

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   SHOWCASE GRID (SECTION 6)
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.showcase-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-bottom: 40px;
}

.showcase-card {
  background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column; transition: var(--transition);
  cursor: pointer; position: relative; box-shadow: var(--shadow-sm);
}
.showcase-card:hover {
  transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--blue-light);
}

/* Card Visual Header */
.sc-visual {
  background: var(--gray-50); height: 160px; border-bottom: 1px solid var(--gray-100);
  display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden;
}
.showcase-card.is-animated {
  border-color: var(--cyan);
  box-shadow: 0 15px 40px rgba(6, 182, 212, 0.15) !important;
}

/* Card Content Area */
.sc-content { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.sc-num { font-size: 0.75rem; font-weight: 900; color: var(--orange); letter-spacing: 1px; margin-bottom: 8px; }
.sc-content h3 { font-size: 1.1rem; color: var(--navy); margin-bottom: 8px; line-height: 1.3; }
.sc-content p { font-size: 0.9rem; color: var(--gray-600); line-height: 1.5; margin-bottom: 16px; flex: 1; }
.sc-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.sc-tags span {
  font-size: 0.7rem; background: rgba(59,130,246,0.08); color: var(--blue);
  padding: 4px 10px; border-radius: 4px; font-weight: 600;
}

/* Core Keyframes for Math Visuals */
@keyframes fadeIn { 0% { opacity: 0; } 100% { opacity: 1; } }
@keyframes fadeOut { 0% { opacity: 1; } 100% { opacity: 0; } }
@keyframes popIn { 0% { opacity: 0; transform: scale(0.5); } 100% { opacity: 1; transform: scale(1); } }
@keyframes scaleXIn { 0% { transform: scaleX(0); } 100% { transform: scaleX(1); } }
@keyframes scaleYIn { 0% { transform: scaleY(0); } 100% { transform: scaleY(1); } }
@keyframes widthIn { 0% { width: 0; } 100% { width: 100%; } }
@keyframes heightIn { 0% { height: 0; } 100% { height: 100%; } }
@keyframes slideRightF { 0% { transform: translateX(-20px); opacity: 0; } 100% { transform: translateX(0); opacity: 1; } }
@keyframes slideDownF { 0% { transform: translateY(-20px); opacity: 0; } 100% { transform: translateY(0); opacity: 1; } }

/* Specific Mathematical Visuals (Scaled down for cards) */
/* 1. Lattice */
.vis-lattice-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; width: 64px; height: 64px; background: var(--navy); border: 2px solid var(--navy); margin-top: 10px;}
.vlg-box { background: var(--white); position: relative; overflow: hidden; }
.vlg-line { position: absolute; width: 141%; height: 1.5px; background: var(--cyan); top: 0; right: 0; transform-origin: top right; transform: rotate(-45deg) scaleX(1); }
.vlg-top-num { position: absolute; top: -20px; font-size: 0.8rem; font-weight: 800; color: var(--navy); opacity: 1; }
.vlg-top-num:nth-child(1) { left: 10px; } .vlg-top-num:nth-child(2) { right: 10px; }
.vlg-side-num { position: absolute; right: -20px; font-size: 0.8rem; font-weight: 800; color: var(--navy); opacity: 1; }
.vlg-side-num:nth-child(3) { top: 8px; } .vlg-side-num:nth-child(4) { bottom: 8px; }
.vlg-val1 { position: absolute; top: 1px; left: 4px; font-size: 0.6rem; font-weight: 600; color: var(--gray-500); opacity: 1; }
.vlg-val2 { position: absolute; bottom: 1px; right: 4px; font-size: 0.6rem; font-weight: 600; color: var(--gray-500); opacity: 1; }
.vlg-ans { position: absolute; bottom: -24px; left: -10px; font-size: 0.9rem; font-weight: 900; color: var(--orange); opacity: 1; letter-spacing: 12px; }

.showcase-card.is-animated .vlg-top-num, .showcase-card.is-animated .vlg-side-num { animation: fadeIn 0.3s both 0.1s; }
.showcase-card.is-animated .vlg-line { animation: scaleXIn 0.3s both 0.4s; }
.showcase-card.is-animated .vlg-val1, .showcase-card.is-animated .vlg-val2 { animation: fadeIn 0.3s both 0.8s; }
.showcase-card.is-animated .vlg-ans { animation: fadeIn 0.3s both 1.3s; }

/* 2. Rows */
.vis-rc-grid { position: relative; width: 100px; height: 80px; display: flex; align-items: center; justify-content: center; flex-direction: column; }
.vrc-dots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; z-index: 2; position: relative; }
.vrc-dots span { width: 8px; height: 8px; background: var(--navy); border-radius: 50%; opacity: 1; }
.vrc-rows { position: absolute; top: 10px; left: 0; right: 0; bottom: 10px; display: flex; flex-direction: column; justify-content: space-between; z-index: 1; }
.vrc-r { height: 16px; background: rgba(59,130,246,0.2); border-radius: 8px; transform: scaleX(1); transform-origin: left; }
.vrc-cols { position: absolute; top: 0; bottom: 0; left: 6px; right: 6px; display: flex; justify-content: space-between; z-index: 1; }
.vrc-c { width: 16px; background: rgba(249,115,22,0.2); border-radius: 8px; transform: scaleY(1); transform-origin: top; }
.vrc-eq { position: absolute; bottom: -24px; font-size: 0.85rem; font-weight: 800; color: var(--navy); opacity: 1; white-space: nowrap; }

.showcase-card.is-animated .vrc-dots span { animation: fadeIn 0.1s both; }
.showcase-card.is-animated .vrc-dots span:nth-child(-n+4) { animation-delay: 0.2s; }
.showcase-card.is-animated .vrc-dots span:nth-child(n+5):nth-child(-n+8) { animation-delay: 0.4s; }
.showcase-card.is-animated .vrc-dots span:nth-child(n+9) { animation-delay: 0.6s; }
.showcase-card.is-animated .vrc-r { animation: scaleXIn 0.3s both 1.0s; }
.showcase-card.is-animated .vrc-c { animation: scaleYIn 0.3s both 1.5s; }
.showcase-card.is-animated .vrc-eq { animation: popIn 0.3s both 2.0s; }

/* 3. Broomstick */
.vis-broomstick { position: relative; width: 80px; height: 80px; transform: rotate(15deg); }
.vb-sticks-h { position: absolute; top: 20%; bottom: 20%; left: 0; right: 0; display: flex; flex-direction: column; justify-content: space-between; }
.vb-sticks-v { position: absolute; left: 15%; right: 15%; top: 0; bottom: 0; display: flex; justify-content: space-between; }
.vb-stick { background: var(--navy-mid); border-radius: 2px; }
.vb-h { height: 3px; width: 100%; }
.vb-v { width: 3px; height: 100%; }
.vb-nodes { position: absolute; top: 18%; bottom: 18%; left: 13%; right: 13%; display: grid; grid-template-columns: repeat(4, 1fr); align-items: center; justify-items: center; z-index: 3;}
.vb-nodes span { width: 6px; height: 6px; background: var(--orange); border-radius: 50%; opacity: 1; box-shadow: 0 0 4px var(--orange); }
.vb-eq { position: absolute; bottom: -20px; left: 0; width: 100%; text-align: center; font-size: 0.85rem; font-weight: 800; color: var(--navy); opacity: 1; transform: rotate(-15deg); white-space: nowrap; }

.showcase-card.is-animated .vb-h { animation: widthIn 0.4s both; }
.showcase-card.is-animated .vb-v { animation: heightIn 0.4s both 0.4s; }
.showcase-card.is-animated .vb-nodes span { animation: popIn 0.2s both 1s; }
.showcase-card.is-animated .vb-eq { animation: fadeIn 0.3s both 1.4s; }

/* 4. Film Strips */
.vis-film { position: relative; width: 100px; height: 70px; display: flex; align-items: center; justify-content: center; }
.vf-h-strips { position: absolute; top: 10px; bottom: 10px; left: 0; right: 0; display: flex; flex-direction: column; justify-content: space-between; }
.vf-v-strips { position: absolute; left: 15px; right: 15px; top: 0; bottom: 0; display: flex; justify-content: space-between; }
.vf-h { height: 12px; background: rgba(59,130,246,0.4); transform: translateX(0); opacity: 1; border-radius: 2px; }
.vf-v { width: 12px; background: rgba(249,115,22,0.4); transform: translateY(0); opacity: 1; mix-blend-mode: multiply; border-radius: 2px; }
.vf-eq { position: absolute; bottom: -24px; font-size: 0.85rem; font-weight: 800; color: var(--navy); opacity: 1; white-space: nowrap; }

.showcase-card.is-animated .vf-h { animation: slideRightF 0.3s both; }
.showcase-card.is-animated .vf-h:nth-child(1) { animation-delay: 0.1s; }
.showcase-card.is-animated .vf-h:nth-child(2) { animation-delay: 0.2s; }
.showcase-card.is-animated .vf-h:nth-child(3) { animation-delay: 0.3s; }
.showcase-card.is-animated .vf-v { animation: slideDownF 0.3s both; }
.showcase-card.is-animated .vf-v:nth-child(1) { animation-delay: 0.6s; }
.showcase-card.is-animated .vf-v:nth-child(2) { animation-delay: 0.7s; }
.showcase-card.is-animated .vf-v:nth-child(3) { animation-delay: 0.8s; }
.showcase-card.is-animated .vf-v:nth-child(4) { animation-delay: 0.9s; }
.showcase-card.is-animated .vf-eq { animation: fadeIn 0.3s both 1.3s; }

/* 5. Buttons (Grouping) */
.vis-grouping { position: relative; width: 100px; height: 90px; display: flex; align-items: center; justify-content: center; }
.vg-boundaries { position: absolute; top: 10px; bottom: 30px; left: 0; right: 0; display: flex; justify-content: space-between; align-items: center; }
.vg-ring { width: 30px; height: 30px; border: 2px dashed rgba(59,130,246,0.3); border-radius: 50%; opacity: 1; display: flex; align-items: center; justify-content: center; }
.vg-cluster { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; width: 14px; height: 14px; z-index: 2; }
.vg-cluster span { width: 6px; height: 6px; background: var(--orange); border-radius: 50%; opacity: 1; }
.vg-eq { position: absolute; bottom: 0px; font-size: 0.85rem; font-weight: 800; color: var(--navy); opacity: 1; }

.showcase-card.is-animated .vg-ring { animation: fadeIn 0.3s both 0.2s; }
.showcase-card.is-animated .vg-ring:nth-child(2) { animation-delay: 0.4s; }
.showcase-card.is-animated .vg-ring:nth-child(3) { animation-delay: 0.6s; }
.showcase-card.is-animated .vg-cluster span { animation: dropDot 0.4s both 1.0s; }
.showcase-card.is-animated .vg-cluster span:nth-child(1) { animation-delay: 0.9s; }
.showcase-card.is-animated .vg-cluster span:nth-child(2) { animation-delay: 1.1s; }
.showcase-card.is-animated .vg-cluster span:nth-child(3) { animation-delay: 1.0s; }
.showcase-card.is-animated .vg-cluster span:nth-child(4) { animation-delay: 1.2s; }
.showcase-card.is-animated .vg-eq { animation: popIn 0.3s both 1.6s; }

@keyframes dropDot { 0% { transform: translate(0, -30px); opacity: 0; } 100% { transform: translate(0, 0); opacity: 1; } }

/* 6. Fingers */
.vis-fingers { position: relative; width: 100px; height: 90px; display: flex; align-items: center; justify-content: center; flex-direction: column; }
.vfi-hands { display: flex; gap: 14px; transform: translateY(-10px); position: relative; }
.vfi-hand { display: flex; gap: 2px; align-items: flex-end; height: 28px; position: relative; width: 34px; }
.vfi-f { background: var(--blue-light); border-radius: 4px 4px 0 0; transform-origin: bottom; width: 5px; }
.vfi-pinky { height: 14px; }
.vfi-ring { height: 18px; }
.vfi-middle { height: 22px; }
.vfi-index { height: 18px; }
.vfi-thumb { height: 12px; position: absolute; bottom: 0; }
.left-hand .vfi-thumb { right: -6px; transform: rotate(35deg); transform-origin: bottom left; border-radius: 4px; }
.right-hand .vfi-thumb { left: -6px; transform: rotate(-35deg); transform-origin: bottom right; border-radius: 4px; }
.vfi-palm { position: absolute; bottom: -8px; left: 0; right: 0; height: 10px; background: var(--blue-light); border-radius: 2px 2px 6px 6px; }
.vfi-eq { position: absolute; bottom: 0px; font-size: 0.85rem; font-weight: 800; color: var(--navy); opacity: 0; }
.vfi-fold { transform: scaleY(0.2); background: var(--orange); }
.vfi-anno { position: absolute; font-size: 0.75rem; font-weight: 800; opacity: 0; left: 50%; transform: translateX(-50%); white-space: nowrap; }
.vfi-tens { top: -20px; color: var(--cyan); }
.vfi-ones { bottom: -18px; color: var(--orange); }

.showcase-card.is-animated .vfi-fold { animation: foldFinger 0.4s both 0.4s; }
.showcase-card.is-animated .vfi-up { animation: highlightUp 0.4s both 1.2s; }
.showcase-card.is-animated .vfi-tens { animation: popIn 0.4s both 1.2s; }
.showcase-card.is-animated .vfi-ones { animation: popIn 0.4s both 2.0s; }
.showcase-card.is-animated .vfi-eq { animation: popIn 0.4s both 2.8s; }

@keyframes foldFinger { 0% { transform: scaleY(1); background: var(--blue-light); } 100% { transform: scaleY(0.2); background: var(--orange); } }
@keyframes highlightUp { 0%, 100% { background: var(--blue-light); transform: scaleY(1); } 50% { background: var(--cyan); transform: scaleY(1.15); } }

/* 7. Napier Bones */
.vis-napier { position: relative; width: 100px; height: 90px; display: flex; align-items: center; justify-content: center; flex-direction: column; }
.vn-board { display: flex; gap: 4px; padding: 4px; background: var(--navy); border-radius: 4px; transform: translateY(-10px); }
.vn-rod { display: flex; flex-direction: column; background: var(--white); border-radius: 2px; overflow: hidden; width: 20px; }
.vn-cell { height: 16px; display: flex; align-items: center; justify-content: center; border-bottom: 1px solid var(--gray-200); font-family: monospace; font-size: 0.7rem; position: relative; }
.vn-cell.header { background: var(--orange); color: var(--white); font-weight: bold; border-bottom: 2px solid var(--navy); }
.vn-sliding { transform: translateY(0); opacity: 1; }
.tl, .br { position: absolute; }
.tl { top: 1px; left: 2px; font-size: 0.5rem; color: var(--gray-500); }
.br { bottom: 1px; right: 2px; font-size: 0.6rem; font-weight: bold; color: var(--navy); }
.vn-eq { position: absolute; bottom: -4px; font-size: 0.85rem; font-weight: 800; color: var(--navy); opacity: 1; }
.vn-hr { position: relative; }
.vn-hr::after { content: ''; position: absolute; top:0; left:0; width:100%; height:100%; background: rgba(249,115,22,0.2); opacity: 1; }
.vn-diag { color: var(--orange); font-size: 0.75rem; font-weight: 900; }

.showcase-card.is-animated .vn-sliding { animation: slideDownRod 0.5s both 0.2s; }
.showcase-card.is-animated .vn-hr::after { animation: fadeIn 0.3s both 1s; }
.showcase-card.is-animated .vn-diag { animation: pulseOrange 0.5s both 1.5s; }
.showcase-card.is-animated .vn-eq { animation: fadeIn 0.4s both 2s; }
@keyframes pulseOrange { 0% { color: var(--gray-500); font-size: 0.6rem; font-weight: normal; } 100% { color: var(--orange); font-size: 0.75rem; font-weight: 900; } }

/* 8. Napier Rods */
.vis-napier-rods { position: relative; width: 120px; height: 90px; display: flex; align-items: center; justify-content: center; flex-direction: column; }
.vnr-rods-container { display: flex; gap: 2px; transform: translateY(-10px); }
.vnr-idx { opacity: 1; transform: translateX(0); }
.vnr-2 { transform: translateX(0); opacity: 1; }
.vnr-4 { transform: translateX(0); opacity: 1; }
.vnr-eq { position: absolute; bottom: -4px; font-size: 0.85rem; font-weight: 800; color: var(--navy); opacity: 1; }
.vnr-add, .vnr-ans { color: var(--orange); font-size: 0.75rem; font-weight: 900; }
.vnr-final { color: var(--orange); display: inline-block; opacity: 1; }
.vis-napier-rods .vn-hr::after { content: ''; position: absolute; top:0; left:0; width:100%; height:100%; background: rgba(59,130,246,0.15); opacity: 1; }

.showcase-card.is-animated .vnr-2 { animation: assembleRod2 0.4s both 0.2s; }
.showcase-card.is-animated .vnr-4 { animation: assembleRod4 0.4s both 0.5s; }
.showcase-card.is-animated .vis-napier-rods .vn-hr::after { animation: fadeIn 0.3s both 1.1s; }
.showcase-card.is-animated .vnr-add { animation: pulseOrange 0.5s both 1.6s; }
.showcase-card.is-animated .vnr-ans { animation: pulseOrange 0.5s both 2.0s; }
.showcase-card.is-animated .vnr-eq { animation: fadeIn 0.3s both 2.5s; }
.showcase-card.is-animated .vnr-final { animation: popIn 0.3s both 2.8s; }
@keyframes assembleRod2 { 0% { transform: translateX(20px); opacity: 0; } 100% { transform: translateX(0); opacity: 1; } }
@keyframes assembleRod4 { 0% { transform: translateX(40px); opacity: 0; } 100% { transform: translateX(0); opacity: 1; } }

/* 9. Mind Map */
.vis-mindmap { position: relative; width: 100px; height: 90px; display: flex; align-items: center; justify-content: center; }
.vmm-center { width: 24px; height: 24px; background: var(--navy); border-radius: 50%; color: white; display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 0.8rem; z-index: 2; }
.vmm-branch { position: absolute; top: 50%; left: 50%; width: 45px; height: 2px; background: var(--cyan); transform-origin: left center; display: flex; align-items: center; }
.vmm-b1 { transform: rotate(-45deg); }
.vmm-b2 { transform: rotate(0deg); }
.vmm-b3 { transform: rotate(45deg); }
.vmm-label { position: absolute; left: 16px; top: -14px; font-size: 0.5rem; color: var(--gray-500); font-weight: bold; opacity: 1; transform: rotate(45deg); }
.vmm-b2 .vmm-label { transform: rotate(0); top: -12px; }
.vmm-b3 .vmm-label { transform: rotate(-45deg); top: -14px; }
.vmm-node { position: absolute; right: -12px; width: 16px; height: 16px; background: white; border: 2px solid var(--cyan); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.6rem; font-weight: bold; color: var(--navy); opacity: 1; transform: rotate(45deg); }
.vmm-b2 .vmm-node { transform: rotate(0); right: -16px; }
.vmm-b3 .vmm-node { transform: rotate(-45deg); }

.showcase-card.is-animated .vmm-branch { animation: growBranch 0.4s both; }
.showcase-card.is-animated .vmm-b1 { animation-delay: 0.2s; }
.showcase-card.is-animated .vmm-b2 { animation-delay: 0.8s; }
.showcase-card.is-animated .vmm-b3 { animation-delay: 1.4s; }
.showcase-card.is-animated .vmm-label, .showcase-card.is-animated .vmm-node { animation: popIn 0.3s both; }
.showcase-card.is-animated .vmm-b1 .vmm-label, .showcase-card.is-animated .vmm-b1 .vmm-node { animation-delay: 0.5s; }
.showcase-card.is-animated .vmm-b2 .vmm-label, .showcase-card.is-animated .vmm-b2 .vmm-node { animation-delay: 1.1s; }
.showcase-card.is-animated .vmm-b3 .vmm-label, .showcase-card.is-animated .vmm-b3 .vmm-node { animation-delay: 1.7s; }
@keyframes growBranch { 0% { width: 0; } 100% { width: 45px; } }

/* 10. Double */
.vis-double { position: relative; width: 100px; height: 90px; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; padding-top: 10px; }
.vd-dots-row { display: flex; gap: 6px; z-index: 2; position: relative;}
.vd-dots-row span { width: 8px; height: 8px; background: var(--navy); border-radius: 50%; }
.row-2 { position: absolute; top: 10px; opacity: 1; z-index: 1; transform: translateY(16px); }
.row-2 span { background: var(--orange); }
.vd-eq-step { position: absolute; bottom: 0px; font-size: 0.85rem; font-weight: 800; color: var(--navy); opacity: 0; }
.step-2 { color: var(--orange); opacity: 1; }

.showcase-card.is-animated .row-2 { animation: duplicateRow 0.6s both 0.4s; }
.showcase-card.is-animated .step-1 { animation: fadeInOut 1.5s both 1.2s; }
.showcase-card.is-animated .step-2 { animation: popIn 0.3s both 2.7s; }
@keyframes duplicateRow { 0% { opacity: 0; transform: translateY(0); } 50% { opacity: 1; transform: translateY(0); } 100% { opacity: 1; transform: translateY(16px); } }
@keyframes fadeInOut { 0% { opacity: 0; transform: scale(0.9); } 20% { opacity: 1; transform: scale(1); } 80% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(0.9); } }

/* 11. Mind Map Alt */
.vis-mindmap.alt { flex-direction: column; }
.vmm-center.alt { z-index: 2; width: 28px; height: 28px; }
.vmm-line { position: absolute; top: 44px; left: 16px; width: 68px; height: 2px; background: var(--cyan); }
.vmm-node-left, .vmm-node-right { position: absolute; top: 38px; font-size: 0.75rem; font-weight: bold; opacity: 1; }
.vmm-node-left { left: 0px; color: var(--gray-600); }
.vmm-node-right { right: 4px; color: var(--navy); }
.vmm-branch-down { position: absolute; top: 58px; left: 50%; width: 2px; height: 20px; background: var(--cyan); transform: translateX(-50%); display: flex; justify-content: center; }
.vmm-branch-down .vmm-label { left: 6px; top: 8px; transform: none; opacity: 1; }
.vmm-node-bottom { position: absolute; bottom: -20px; font-size: 0.75rem; font-weight: bold; color: var(--orange); opacity: 1; }

.showcase-card.is-animated .vmm-line { animation: widthInAlt 0.5s both 0.2s; }
.showcase-card.is-animated .vmm-node-left, .showcase-card.is-animated .vmm-node-right { animation: popIn 0.3s both 0.6s; }
.showcase-card.is-animated .vmm-branch-down { animation: heightInAlt 0.4s both 1.2s; }
.showcase-card.is-animated .vmm-branch-down .vmm-label { animation: popIn 0.3s both 1.4s; }
.showcase-card.is-animated .vmm-node-bottom { animation: popIn 0.3s both 1.7s; }
@keyframes widthInAlt { 0% { width: 0; } 100% { width: 68px; } }
@keyframes heightInAlt { 0% { height: 0; } 100% { height: 20px; } }

/* 12. Divisibility */
.vis-divisibility { position: relative; width: 100px; height: 90px; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; padding-top: 4px; }
.vdiv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.vdiv-cell { width: 20px; height: 20px; background: var(--white); border-radius: 4px; display: flex; align-items: center; justify-content: center; position: relative; box-shadow: 0 1px 2px rgba(0,0,0,0.05); }
.num { font-size: 0.65rem; font-family: monospace; font-weight: bold; color: var(--gray-600); opacity: 0; }
.let { position: absolute; font-size: 0.75rem; font-weight: 900; color: var(--gray-300); opacity: 1; }
.vdiv-yes { background: var(--orange); }
.vdiv-yes .let { color: var(--white); }
.vdiv-rule { position: absolute; bottom: -4px; font-size: 0.75rem; font-weight: bold; color: var(--gray-500); opacity: 1; }

.showcase-card.is-animated .vdiv-yes { animation: glowOrange 0.5s both 0.3s; }
.showcase-card.is-animated .vdiv-rule { animation: fadeIn 0.3s both 0.3s; }
.showcase-card.is-animated .num { animation: fadeOut 0.3s both 1.2s; }
.showcase-card.is-animated .vdiv-yes .let { animation: popInColor 0.3s both 1.5s; }
.showcase-card.is-animated .vdiv-cell:not(.vdiv-yes) .let { animation: popInColor2 0.3s both 1.5s; }
@keyframes glowOrange { 0% { background: var(--white); } 100% { background: var(--orange); } }
@keyframes fadeOut { 0% { opacity: 1; } 100% { opacity: 0; } }
@keyframes popInColor { 0% { opacity: 0; color: transparent; transform: scale(0.5); } 100% { opacity: 1; color: var(--white); transform: scale(1); } }
@keyframes popInColor2 { 0% { opacity: 0; color: transparent; transform: scale(0.5); } 100% { opacity: 1; color: var(--gray-300); transform: scale(1); } }

/* Showcase CTA Area */
.showcase-cta {
  text-align: center; background: linear-gradient(135deg, var(--gray-50), var(--white));
  border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 48px 32px;
  box-shadow: var(--shadow-sm); margin-top: 20px;
}
.scta-title { font-size: 2rem; color: var(--navy); margin-bottom: 12px; font-weight: 800; }
.scta-desc { font-size: 1.1rem; color: var(--gray-600); margin-bottom: 24px; max-width: 600px; margin-inline: auto; }

/* Responsive Grid */
@media (max-width: 1200px) {
  .showcase-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 992px) {
  .showcase-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) {
  .showcase-grid { grid-template-columns: 1fr; }
}

.einstein-quote {
  margin-top: 60px; text-align: center;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  border-radius: var(--radius-lg); padding: 48px 40px;
}
.eq-icon { font-size: 3rem; margin-bottom: 20px; }
.einstein-quote blockquote {
  font-family: 'Playfair Display', serif; font-size: clamp(1.3rem, 3vw, 1.8rem);
  color: var(--white); font-style: italic; margin-bottom: 12px;
}
.einstein-quote cite { color: var(--cyan); font-size: 0.95rem; }

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   AUTHORS
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.authors { background: var(--gray-50); }
.authors-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; margin-top: 48px; }
.author-card {
  display: flex; gap: 24px; align-items: flex-start;
  background: var(--white); border-radius: var(--radius-lg); padding: 32px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--gray-200);
  transition: var(--transition);
}
.author-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: var(--blue-light); }
.author-img-wrap { position: relative; flex-shrink: 0; }
.author-img {
  width: 90px; height: 90px; border-radius: 50%; object-fit: cover;
  border: 3px solid var(--white); box-shadow: 0 4px 16px rgba(0,0,0,0.15); position: relative; z-index: 1;
}
.author-img-placeholder {
  width: 90px; height: 90px; border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; font-weight: 800; color: var(--white); position: relative; z-index: 1;
}
.author-img-ring {
  position: absolute; inset: -6px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--cyan)); z-index: 0;
  animation: spin 8s linear infinite;
}
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.author-card:hover .author-img-ring { background: linear-gradient(135deg, var(--orange), var(--gold)); }

.author-info h3 { font-size: 1.05rem; color: var(--navy); margin-bottom: 4px; }
.author-role { font-size: 0.82rem; color: var(--blue-light); font-weight: 600; margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.05em; }
.author-bio { font-size: 0.88rem; color: var(--gray-600); line-height: 1.6; margin-bottom: 12px; }
.author-award {
  font-size: 0.8rem; font-weight: 600; color: var(--orange);
  background: rgba(249,115,22,0.1); border-radius: var(--radius-full);
  padding: 4px 12px; display: inline-block;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   PREFACE
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.preface-section { background: var(--white); }
.preface-card {
  background: linear-gradient(135deg, #eff6ff, #ecfdf5);
  border: 1px solid #bfdbfe; border-radius: var(--radius-lg);
  padding: 64px; text-align: center; max-width: 900px; margin: 0 auto;
}
.preface-icon { font-size: 3rem; margin-bottom: 20px; }
.preface-card h2 { font-size: 2rem; margin-bottom: 32px; }
.preface-text { text-align: left; }
.preface-text p { color: var(--gray-700); margin-bottom: 16px; font-size: 1rem; }
.preface-closing { color: var(--navy) !important; font-weight: 500; }
.preface-cta {
  margin-top: 32px; padding: 20px;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  border-radius: var(--radius); display: inline-block;
}
.cta-text { color: var(--white); font-size: 1rem; font-weight: 600; font-style: italic; }

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   CONTACT
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.contact { background: var(--gray-50); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 48px; }
.contact-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 28px;
  border: 1px solid var(--gray-200); box-shadow: var(--shadow-sm);
  margin-bottom: 20px; transition: var(--transition);
}
.contact-card:hover { border-color: var(--blue-light); transform: translateY(-2px); }
.contact-icon { width: 48px; height: 48px; background: rgba(6,182,212,0.1); color: var(--cyan); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; transition: all 0.3s ease; }
.contact-icon svg { width: 24px; height: 24px; }
.contact-card:hover .contact-icon { background: var(--cyan); color: var(--white); }
.contact-card h3 { font-size: 1rem; color: var(--navy); margin-bottom: 8px; }
.contact-card address { font-style: normal; color: var(--gray-600); font-size: 0.9rem; line-height: 1.6; }
.offices-img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-sm); margin-bottom: 20px; }
.cert-badge {
  display: flex; gap: 16px; align-items: center;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  border-radius: var(--radius); padding: 20px;
}
.cert-icon { font-size: 2rem; flex-shrink: 0; }
.cert-title { color: var(--white); font-size: 0.9rem; font-weight: 700; margin-bottom: 4px; }
.cert-sub { color: rgba(255,255,255,0.7); font-size: 0.8rem; }

.contact-form-wrap { background: var(--white); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-md); border: 1px solid var(--gray-200); }
.contact-form h3 { font-size: 1.4rem; color: var(--navy); margin-bottom: 24px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--gray-700); margin-bottom: 6px; }
.form-group input, .form-group textarea {
  width: 100%; padding: 12px 16px; border: 1.5px solid var(--gray-200);
  border-radius: var(--radius); font-family: 'Outfit', sans-serif; font-size: 0.95rem;
  color: var(--gray-900); background: var(--gray-50); transition: var(--transition);
}
.form-group input:focus, .form-group textarea:focus {
  outline: none; border-color: var(--blue-light);
  background: var(--white); box-shadow: 0 0 0 3px rgba(59,130,246,0.1);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-success {
  margin-top: 16px; padding: 14px 16px; background: #f0fdf4;
  border: 1px solid #86efac; border-radius: var(--radius);
  color: #16a34a; font-size: 0.9rem; text-align: center;
}
.hidden { display: none; }

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   FOOTER
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.footer { background: var(--gray-900); padding: 64px 0 0; }
.footer-container {
  max-width: 1200px; margin: 0 auto; padding: 0 24px 48px;
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px;
}
.footer-logo { height: 44px; filter: brightness(1.2); flex-shrink: 0; }
.footer-logo-group { display: flex; align-items: flex-start; gap: 14px; text-align: left; }
.footer-brand-block { display: flex; flex-direction: column; gap: 4px; text-align: left; justify-content: flex-start; }
.footer-brand-name { font-family: 'Outfit', sans-serif; font-size: 0.85rem; font-weight: 700; color: var(--white); letter-spacing: 0.08em; text-transform: uppercase; line-height: 1.1; margin-top: 2px; }
.footer-tagline { color: rgba(255,255,255,0.65); font-size: 0.8rem; margin: 0; line-height: 1.4; }
.footer-pillars { color: var(--orange); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; margin: 0; }
.footer-links h4, .footer-policies h4, .footer-info h4 { color: var(--white); font-size: 0.9rem; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.1em; }
.footer-links ul, .footer-policies ul { list-style: none; }
.footer-links ul li, .footer-policies ul li { margin-bottom: 10px; }
.footer-links ul a, .footer-policies ul a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 0.9rem; transition: var(--transition); }
.footer-links ul a:hover, .footer-policies ul a:hover { color: var(--blue-light); padding-left: 6px; }
.footer-info p { color: rgba(255,255,255,0.6); font-size: 0.9rem; margin-bottom: 6px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1); padding: 24px;
  text-align: center;
}
.footer-bottom p { color: rgba(255,255,255,0.5); font-size: 0.85rem; margin-bottom: 4px; }
.footer-disclaimer { font-size: 0.78rem !important; }

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   RESPONSIVE
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
@media (max-width: 1024px) {
  .mission-cards { grid-template-columns: repeat(2, 1fr); }
  .methods-grid { grid-template-columns: repeat(3, 1fr); }
}



@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links {
    display: none; flex-direction: column; position: fixed;
    top: 70px; left: 0; right: 0;
    background: rgba(13,27,75,0.98); backdrop-filter: blur(20px);
    padding: 24px; gap: 8px; border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  .nav-links.open { display: flex; }
  .hero { flex-direction: column; padding: 120px 24px 60px; }
  .hero-container { grid-template-columns: 1fr; gap: 60px; }
  .hero-content { align-items: center; text-align: center; }
  .hero-actions { justify-content: center; }
  .philosophy-grid, .about-grid, .product-grid, .contact-grid { grid-template-columns: 1fr; }
  .authors-grid { grid-template-columns: 1fr; }
  .author-card { flex-direction: column; }
  .mission-cards { grid-template-columns: 1fr 1fr; }
  .methods-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-container { grid-template-columns: 1fr; gap: 32px; }
  .preface-card { padding: 40px 24px; }
  
  .journey-wrapper { margin-top: 40px; margin-bottom: 20px; }
  .journey-steps { grid-template-columns: 1fr; height: auto; gap: 32px; }
  .journey-track {
    width: 4px; height: 100%; top: 0; left: 22px; transform: none;
    background: linear-gradient(180deg, rgba(59,130,246,0.1), var(--cyan), var(--blue), rgba(59,130,246,0.1));
  }
  .journey-step { justify-content: flex-start; }
  .step-node { position: absolute; left: 0; top: 50%; transform: translateY(-50%); z-index: 3; }
  .journey-step:hover .step-node { transform: translateY(-50%) scale(1.1); }
  .step-card {
    position: relative; width: calc(100% - 70px); left: 70px;
    top: auto !important; bottom: auto !important; text-align: left;
  }
  .step-connector { display: none; }
  .step-up:hover .step-card, .step-down:hover .step-card { transform: translateX(4px); }
  
  .ecosystem-flow { flex-direction: column; gap: 24px; }
  .eco-stage { width: 100%; }
  .eco-arrow { transform: rotate(90deg); padding: 16px 0; }
  @keyframes pulseArrow { 0%, 100% { opacity: 0.6; transform: rotate(90deg) translateY(0); } 50% { opacity: 1; transform: rotate(90deg) translateY(8px); } }
  
  .product-features { grid-template-columns: 1fr; gap: 16px; }
  .product-subtitle { text-align: center; }
  .product-content { text-align: center; display: flex; flex-direction: column; align-items: center; }
  .product-content .section-title { text-align: center !important; }
  .product-features li { justify-content: center; }
  .math-scene-integrated { transform: scale(0.85); transform-origin: top center; margin-top: 20px; }
}

@media (max-width: 480px) {
  .methods-grid { grid-template-columns: 1fr; }
  .mission-cards { grid-template-columns: 1fr; }
  .product-promise { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
}

/* ==========================================================================
   DIGITAL TEASER SECTION
   ========================================================================== */
.digital-teaser {
  background: linear-gradient(to bottom, var(--white), #f8fafc);
  border-top: 1px solid rgba(0,0,0,0.05);
  padding: 80px 0;
}

.dt-content {
  padding-right: 2rem;
}

.dt-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 40px;
  min-height: 380px;
  box-shadow: 0 20px 40px rgba(10, 25, 47, 0.15);
}

/* Digital Flow Visual */
.digital-flow-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  width: 100%;
}

.df-node {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: 15px 30px;
  text-align: center;
  width: 200px;
  position: relative;
  z-index: 2;
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.df-tag {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--cyan);
  letter-spacing: 1px;
  margin-bottom: 5px;
}

.df-eq, .df-ans {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  font-family: monospace;
}
.df-ans { color: var(--green); }
.df-check { margin-right: 5px; }

.df-path {
  position: relative;
  width: 2px;
  height: 40px;
}
.df-line {
  position: absolute;
  top: 0; bottom: 0; left: 0; right: 0;
  background: rgba(255,255,255,0.1);
}
.df-particle {
  position: absolute;
  top: 0; left: -4px;
  width: 10px; height: 10px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--cyan);
  opacity: 0;
}

.df-ring-container {
  position: relative;
  width: 50px; height: 50px;
  margin: 10px auto 0;
}
.df-ring {
  width: 100%; height: 100%;
  transform: rotate(-90deg);
}
.df-ring-icon {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  color: var(--gold);
}
.df-ring-icon svg { width: 18px; height: 18px; }

/* Auto-Play Animations for Digital Flow Visual */
.dt-visual.is-playing .df-particle.p-1 { animation: dfFlow 0.8s both 0.2s; }
.dt-visual.is-playing .df-feedback { animation: dfPulse 0.4s both 1s; }
.dt-visual.is-playing .df-particle.p-2 { animation: dfFlow 0.8s both 1.4s; }
.dt-visual.is-playing .ring-fill { animation: dfStroke 0.8s cubic-bezier(0.34,1.56,0.64,1) both 2.2s; }
.dt-visual.is-playing .df-ring-icon { animation: dfPop 0.4s both 2.8s; }

@keyframes dfFlow { 0% { top: 0; opacity: 1; } 90% { top: 100%; opacity: 1; } 100% { top: 100%; opacity: 0; } }
@keyframes dfPulse { 0%, 100% { transform: scale(1); border-color: rgba(255,255,255,0.05); } 50% { transform: scale(1.05); border-color: var(--green); } }
@keyframes dfStroke { 0% { stroke-dasharray: 0, 100; } 100% { stroke-dasharray: 100, 100; } }
@keyframes dfPop { 0% { opacity: 0; transform: translate(-50%, -50%) scale(0.5); } 100% { opacity: 1; transform: translate(-50%, -50%) scale(1); } }
/* ==========================================================================
   LEARNING MOMENT VISUAL
   ========================================================================== */
.lm-journey-card {
  background: linear-gradient(to right, var(--white), #f8fafc);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 40px rgba(10,25,47,0.06);
  width: 100%;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  position: relative;
}
.lm-stage {
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  padding: 24px 16px;
}
.lm-stage-header {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
  text-align: center;
  height: 24px;
}
.lm-stage-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Connectors */
.lm-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-300);
  width: 24px;
  flex-shrink: 0;
  z-index: 2;
}
.lm-connector svg { width: 24px; height: 24px; }

/* Stage 1 */
.lm-math-array { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.lm-group {
  display: flex; gap: 8px; padding: 6px; border-radius: 8px;
  border: 2px solid transparent; background: transparent;
}
.lm-dot {
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--blue);
}
.lm-equation {
  font-size: 1.5rem; font-weight: 800; color: var(--navy); font-family: monospace;
}
.lm-ans { color: var(--blue); }

/* Stage 2 */
.lm-fb-box {
  background: var(--white); border: 1px solid var(--cyan); border-radius: 16px;
  padding: 16px; display: flex; flex-direction: column; align-items: center; gap: 12px;
  box-shadow: 0 10px 20px rgba(56,189,248,0.1);
  text-align: center;
}
.lm-fb-icon { color: var(--gold); }
.lm-fb-icon svg { width: 32px; height: 32px; fill: var(--gold); }
.lm-fb-text { color: var(--navy); font-size: 0.85rem; line-height: 1.4; }
.lm-fb-text strong { color: var(--cyan); font-size: 0.95rem; }

/* Stage 3 */
.lm-prog-box {
  display: flex; flex-direction: column; align-items: center; gap: 16px;
}
.lm-prog-ring {
  position: relative; width: 70px; height: 70px;
}
.circular-chart { display: block; margin: 0 auto; max-width: 100%; max-height: 250px; }
.circle-bg { fill: none; stroke: var(--gray-100); stroke-width: 3.8; }
.circle { fill: none; stroke-width: 3.8; stroke-linecap: round; }
.circular-chart.cyan .circle { stroke: var(--cyan); }
.lm-prog-num {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  font-size: 1.5rem; font-weight: 800; color: var(--navy);
}
.lm-prog-label {
  font-size: 0.85rem; color: var(--gray-600); font-weight: 600; text-align: center; line-height: 1.4;
  text-transform: uppercase; letter-spacing: 0.5px;
}

/* Animations */
.stage-1 { animation: s1Fade 15s infinite; opacity: 0; }
@keyframes s1Fade {
  0%, 2% { opacity: 0; transform: translateY(10px); }
  5%, 95% { opacity: 1; transform: translateY(0); }
  98%, 100% { opacity: 0; transform: translateY(-10px); }
}

.conn-1 { animation: c1Fade 15s infinite; opacity: 0; }
@keyframes c1Fade {
  0%, 15% { opacity: 0; transform: translateX(-10px); }
  18%, 95% { opacity: 1; transform: translateX(0); }
  98%, 100% { opacity: 0; transform: translateX(10px); }
}

.stage-2 { animation: s2Fade 15s infinite; opacity: 0; }
@keyframes s2Fade {
  0%, 20% { opacity: 0; transform: translateY(10px); }
  23%, 95% { opacity: 1; transform: translateY(0); }
  98%, 100% { opacity: 0; transform: translateY(-10px); }
}

.conn-2 { animation: c2Fade 15s infinite; opacity: 0; }
@keyframes c2Fade {
  0%, 35% { opacity: 0; transform: translateX(-10px); }
  38%, 95% { opacity: 1; transform: translateX(0); }
  98%, 100% { opacity: 0; transform: translateX(10px); }
}

.stage-3 { animation: s3Fade 15s infinite; opacity: 0; }
@keyframes s3Fade {
  0%, 40% { opacity: 0; transform: translateY(10px); }
  43%, 95% { opacity: 1; transform: translateY(0); }
  98%, 100% { opacity: 0; transform: translateY(-10px); }
}

.lm-group { animation: gHigh 15s infinite; }
.lm-group.g1 { animation-name: gHigh1; }
.lm-group.g2 { animation-name: gHigh2; }
.lm-group.g3 { animation-name: gHigh3; }
@keyframes gHigh1 { 8%, 18% { border-color: rgba(56,189,248,0.6); background: rgba(56,189,248,0.1); } }
@keyframes gHigh2 { 10%, 20% { border-color: rgba(56,189,248,0.6); background: rgba(56,189,248,0.1); } }
@keyframes gHigh3 { 12%, 22% { border-color: rgba(56,189,248,0.6); background: rgba(56,189,248,0.1); } }

.lm-equation { animation: eqFade 15s infinite; opacity: 0; }
@keyframes eqFade {
  0%, 15% { opacity: 0; transform: scale(0.9); }
  18%, 95% { opacity: 1; transform: scale(1); }
  98%, 100% { opacity: 0; transform: scale(0.9); }
}

.lm-fb-icon { animation: bulbPop 15s infinite; }
@keyframes bulbPop {
  0%, 25% { transform: scale(1); filter: drop-shadow(0 0 0 rgba(250,204,21,0)); }
  28%, 38% { transform: scale(1.2); filter: drop-shadow(0 0 15px rgba(250,204,21,0.6)); }
  42%, 100% { transform: scale(1); filter: drop-shadow(0 0 0 rgba(250,204,21,0)); }
}

.circle { stroke-dasharray: 0, 100; animation: ringFill 15s infinite; }
@keyframes ringFill {
  0%, 45% { stroke-dasharray: 0, 100; }
  55%, 95% { stroke-dasharray: 100, 100; }
  100% { stroke-dasharray: 0, 100; }
}

@media (max-width: 768px) {
  .lm-journey-card { flex-direction: column; }
  .lm-connector { transform: rotate(90deg); margin: 10px 0; }
}

/* ==========================================================================
   ABOUT PAGE STYLES
   ========================================================================== */

/* 01: Hero / Who We Are */
.about-hero {
  padding-top: 120px;
  background: var(--white);
}
.about-lead {
  font-size: 1.25rem;
  color: var(--navy);
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 2rem;
}
.abstract-math-hero {
  position: relative;
  width: 100%;
  height: 400px;
  background: var(--navy);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(10,25,47,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}
.amh-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 40px 40px;
}
.amh-shape {
  position: absolute;
  border-radius: var(--radius-full);
  border: 1px solid rgba(56, 189, 248, 0.3);
}
.shape-1 { width: 200px; height: 200px; border-width: 2px; }
.shape-2 { width: 300px; height: 300px; border-color: rgba(255,255,255,0.1); }
.shape-3 { width: 100px; height: 100px; background: rgba(56, 189, 248, 0.1); backdrop-filter: blur(5px); }
.amh-float {
  position: relative;
  z-index: 2;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  padding: 12px 24px;
  border-radius: var(--radius-full);
  color: var(--white);
  font-family: monospace;
  font-size: 0.9rem;
  letter-spacing: 2px;
  border: 1px solid rgba(255,255,255,0.2);
}

/* 02: Mission Transformation */
.mission-transform-section {
  position: relative;
  background: var(--gray-50);
  padding: 100px 0;
  overflow: hidden;
}
.mission-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.mission-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 40px;
  transition: all 0.4s var(--ease-spring);
  box-shadow: 0 10px 30px rgba(13, 27, 75, 0.04);
  position: relative;
  display: flex;
  flex-direction: column;
}
.mission-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(13, 27, 75, 0.08);
  border-color: rgba(6, 182, 212, 0.3);
}
.mc-icon {
  width: 56px;
  height: 56px;
  background: rgba(6, 182, 212, 0.1);
  color: var(--cyan);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: all 0.4s ease;
}
.mc-icon svg { width: 28px; height: 28px; }
.mission-card:hover .mc-icon {
  transform: scale(1.1) rotate(-5deg);
  background: var(--cyan);
  color: var(--white);
}
.mc-shift {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 12px;
}
.mc-old {
  font-family: var(--font-secondary);
  color: var(--gray-400);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: line-through;
}
.mc-arrow {
  color: var(--cyan);
  font-size: 1.2rem;
  font-weight: bold;
}
.mc-new {
  font-size: 1.3rem;
  color: var(--navy);
  margin: 0;
  font-weight: 800;
  font-family: var(--font-secondary);
}
.mission-card p {
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.6;
  margin: 0;
}
.mission-card.highlight-card {
  background: rgba(6, 182, 212, 0.03);
  border-color: rgba(6, 182, 212, 0.2);
}
.mission-card.highlight-card .mc-icon {
  background: rgba(6, 182, 212, 0.15);
}
.mission-card.highlight-card:hover .mc-icon {
  background: var(--cyan);
  color: var(--white);
}
.mission-card.highlight-card:hover {
  border-color: var(--cyan);
}

@media (max-width: 768px) {
  .mission-grid { grid-template-columns: 1fr; }
  .mission-card { padding: 30px; }
}
/* 03: Editorial Team */
.editorial-team {
  background: var(--gray-100);
  padding-bottom: 100px;
}
.et-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 50px;
}
.et-member, .et-member.reverse {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--white);
  padding: 40px 30px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  transition: transform 0.4s var(--ease-spring), box-shadow 0.4s ease;
  gap: 0;
}
.et-member:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(13, 27, 75, 0.08);
}
.et-visual {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
  width: 100%;
}
.et-img-frame {
  position: relative;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  aspect-ratio: 1/1;
  box-shadow: 0 15px 30px rgba(0,0,0,0.12);
  overflow: hidden;
  border: 4px solid var(--white);
  background: var(--gray-100);
}
.et-img-frame img {
  width: 100%; height: 100%; object-fit: cover;
}
.et-frame-accent {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: 50%;
  pointer-events: none;
}
.et-info {
  width: 100%;
}
.et-info h3 {
  font-size: 1.6rem;
  color: var(--navy);
  margin-bottom: 6px;
  font-weight: 800;
}
.et-role {
  color: var(--blue);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.et-bio {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--gray-600);
  margin-bottom: 24px;
}
.et-bio strong { color: var(--navy); }
.et-award {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(56, 189, 248, 0.1);
  color: var(--navy);
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
}

/* Typographic Placeholder */
.et-typo-frame {
  position: relative;
  width: 100%;
  max-width: 400px;
  aspect-ratio: 3/4;
  border-radius: var(--radius-lg);
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  overflow: hidden;
}
.typo-initials {
  font-size: 4rem;
  font-weight: 800;
  color: var(--cyan);
  letter-spacing: 5px;
  z-index: 2;
}
.typo-ring {
  position: absolute;
  width: 200px; height: 200px;
  border: 2px solid rgba(56, 189, 248, 0.2);
  border-radius: 50%;
}

@media (max-width: 900px) {
  .et-list { grid-template-columns: 1fr; gap: 30px; }
  .et-member { padding: 30px 20px; }
}

/* 04 & 06: Philosophy Note */
.philosophy-note {
  background: var(--white);
  padding: 100px 0;
}
.phil-box {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  background: var(--white);
  padding: 60px 80px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  box-shadow: 0 20px 40px rgba(13, 27, 75, 0.04);
  position: relative;
}
.phil-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}
.phil-icon svg {
  width: 48px;
  height: 48px;
  color: var(--cyan);
}
.phil-box h2 {
  font-size: 2.2rem;
  color: var(--navy-dark);
  margin-bottom: 40px;
}
.phil-text {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--gray-600);
  text-align: left;
}
.phil-text p { margin-bottom: 24px; }
.phil-text p:last-child { margin-bottom: 0; }
.phil-quote-divider {
  width: 60px; height: 3px;
  background: var(--cyan);
  margin: 40px auto;
}
.phil-einstein blockquote {
  font-size: 1.6rem;
  font-family: 'Outfit', sans-serif;
  color: var(--navy);
  font-weight: 500;
  font-style: italic;
  margin-bottom: 15px;
}
  font-style: italic;
  margin-bottom: 15px;
}
.phil-einstein cite {
  font-size: 1.1rem;
  color: var(--gray-500);
  font-weight: 600;
}

/* 07 & 05: About CTA & Credentials */
.about-cta {
  background: var(--navy-dark);
  color: var(--white);
  padding: 100px 0;
}
.about-cta h2 { font-size: 2.5rem; margin-bottom: 15px; }
.about-cta-desc { font-size: 1.2rem; color: var(--gray-600); margin-bottom: 40px; }

.about-credentials {
  margin-top: 80px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--radius-md);
  padding: 30px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}
.ac-icon { font-size: 2rem; }
.ac-info { display: flex; flex-direction: column; gap: 5px; }
.ac-gov { color: var(--cyan); font-weight: 700; letter-spacing: 1px; font-size: 1.1rem; text-transform: uppercase; margin-bottom: 5px; }
.ac-detail { color: var(--gray-400); font-size: 0.9rem; font-family: monospace; }

/* ==========================================================================
   PRODUCT PAGE STYLES
   ========================================================================== */

/* 01: Product Hero */
.prod-hero { 
  padding-top: 120px; 
  background: var(--white); 
  border-top: 1px solid var(--gray-200);
  color: var(--navy); 
}
.ph-lead { font-size: 1.2rem; color: var(--gray-600); margin-bottom: 30px; line-height: 1.6; }
.ph-actions { display: flex; gap: 15px; }

.ph-math-scene { position: relative; width: 100%; height: 400px; display: flex; align-items: center; justify-content: center; }
.phms-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(0,0,0,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(0,0,0,0.05) 1px, transparent 1px); background-size: 30px 30px; border-radius: var(--radius-lg); }
.phms-array { display: flex; flex-direction: column; gap: 15px; z-index: 2; transform: perspective(800px) rotateY(-15deg) rotateX(10deg); transition: transform 0.5s ease; }
.phms-array:hover { transform: perspective(800px) rotateY(0deg) rotateX(0deg); }
.dot-row { display: flex; gap: 15px; }
.phms-array .dot { 
  width: 25px; height: 25px; 
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.8), rgba(56, 189, 248, 0.5) 40%, rgba(13, 27, 75, 0.8) 100%);
  border: 1px solid var(--cyan); 
  border-radius: 50%; 
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.4), inset 0 0 8px rgba(255,255,255,0.5); 
  animation: dotAppear 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
  transition: all 0.3s ease;
  cursor: pointer;
}

@keyframes dotAppear {
  0% { transform: scale(0); opacity: 0; box-shadow: 0 0 0 rgba(56,189,248,0); }
  50% { transform: scale(1.2); opacity: 1; box-shadow: 0 0 20px rgba(56,189,248,0.8); }
  100% { transform: scale(1); opacity: 1; box-shadow: 0 0 15px rgba(56,189,248,0.4); }
}

.dot-row:nth-child(1) .dot:nth-child(1) { animation-delay: 0.1s; }
.dot-row:nth-child(1) .dot:nth-child(2) { animation-delay: 0.2s; }
.dot-row:nth-child(1) .dot:nth-child(3) { animation-delay: 0.3s; }
.dot-row:nth-child(2) .dot:nth-child(1) { animation-delay: 0.4s; }
.dot-row:nth-child(2) .dot:nth-child(2) { animation-delay: 0.5s; }
.dot-row:nth-child(2) .dot:nth-child(3) { animation-delay: 0.6s; }
.dot-row:nth-child(3) .dot:nth-child(1) { animation-delay: 0.7s; }
.dot-row:nth-child(3) .dot:nth-child(2) { animation-delay: 0.8s; }
.dot-row:nth-child(3) .dot:nth-child(3) { animation-delay: 0.9s; }
.dot-row:nth-child(4) .dot:nth-child(1) { animation-delay: 1.0s; }
.dot-row:nth-child(4) .dot:nth-child(2) { animation-delay: 1.1s; }
.dot-row:nth-child(4) .dot:nth-child(3) { animation-delay: 1.2s; }

.dot-row:hover .dot {
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.9), rgba(249, 115, 22, 0.6) 40%, rgba(13, 27, 75, 0.8) 100%);
  border-color: var(--orange);
  box-shadow: 0 0 20px rgba(249, 115, 22, 0.6), inset 0 0 10px rgba(255,255,255,0.8);
  transform: scale(1.1);
}
.phms-array .dot:hover {
  transform: scale(1.3);
  z-index: 10;
}

@keyframes eqAppear {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

.phms-eq { position: absolute; bottom: 30px; right: 30px; font-size: 2.5rem; font-family: monospace; font-weight: 700; color: var(--navy); background: var(--white); padding: 10px 20px; border-radius: var(--radius-md); border: 1px solid var(--gray-200); box-shadow: 0 10px 20px rgba(0,0,0,0.05); z-index: 3; animation: eqAppear 0.5s ease-out forwards; animation-delay: 1.5s; opacity: 0; }
.phms-eq .n { color: var(--cyan); } .phms-eq .op { color: var(--gray-500); margin: 0 10px; } .phms-eq .res { color: var(--orange); }
.phms-badge { position: absolute; top: 30px; left: 30px; background: var(--orange); color: var(--navy-dark); font-weight: 700; font-size: 0.9rem; padding: 6px 14px; border-radius: 20px; text-transform: uppercase; letter-spacing: 1px; z-index: 3; }

/* 02: Idea */
.prod-idea { background: var(--white); }
.pi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; margin-top: 60px; }
.pi-card { padding: 40px; background: var(--gray-50); border-radius: var(--radius-lg); border: 1px solid var(--gray-200); text-align: center; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.pi-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.05); }
.pi-icon { width: 64px; height: 64px; background: rgba(6,182,212,0.1); color: var(--cyan); border-radius: 16px; display: flex; align-items: center; justify-content: center; margin: 0 auto 28px; transition: all 0.4s ease; }
.pi-icon svg { width: 32px; height: 32px; }
.pi-card:hover .pi-icon { background: var(--cyan); color: var(--white); transform: scale(1.1) rotate(-5deg); }
.pi-card h3 { font-size: 1.5rem; color: var(--navy); margin-bottom: 15px; }
.pi-card p { color: var(--gray-600); line-height: 1.6; }

/* 03: Methods */
.prod-methods { background: var(--gray-100); }
.pm-desc { font-size: 1.2rem; color: var(--gray-600); margin-bottom: 30px; line-height: 1.6; }
/* 03: Methods */
.pm-collage { position: relative; width: 100%; height: 400px; display: flex; align-items: center; justify-content: center; background: var(--white); border-radius: var(--radius-lg); box-shadow: 0 20px 40px rgba(0,0,0,0.05); }
.pmc-lattice { position: absolute; top: 40px; left: 40px; display: grid; grid-template-columns: 1fr 1fr; width: 120px; height: 120px; border: 2px solid var(--blue); opacity: 0.8; }
.pmc-lattice .cell { border: 1px solid var(--blue); position: relative; }
.pmc-lattice .diag { position: absolute; inset: 0; border-top: 1px solid var(--cyan); transform: rotate(45deg) scale(1.4); }
.pmc-array { position: absolute; bottom: 60px; right: 50px; display: flex; flex-direction: column; gap: 8px; opacity: 0.7; }
.pmc-array .row { display: flex; gap: 8px; }
.pmc-array i { display: block; width: 15px; height: 15px; background: var(--orange); border-radius: 4px; }
.pmc-grouping { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); display: flex; gap: 15px; }
.pmc-grouping .circle { width: 60px; height: 60px; border-radius: 50%; border: 3px dashed var(--navy); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.2rem; color: var(--navy); background: rgba(255,255,255,0.9); }

/* 04: Flow */
.prod-flow { background: var(--white); padding: 100px 0; }
.pf-timeline { display: flex; flex-direction: column; gap: 80px; margin-top: 60px; max-width: 900px; margin-inline: auto; }
.pf-step { display: flex; align-items: center; gap: 50px; }
.pf-step:nth-child(even) { flex-direction: row-reverse; }
.pf-info { flex: 1; }
.pf-info h3 { font-size: 1.8rem; color: var(--navy); margin-bottom: 10px; font-weight: 800; letter-spacing: 1px; }
.pf-info p { font-size: 1.1rem; color: var(--gray-600); }
.pf-demo { flex: 1; }
.demo-box { background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); height: 260px; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }

/* Flow Grid Setup */
.grid-4x5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; padding: 20px; }
.grid-4x5.empty .grid-cell { width: 30px; height: 30px; border: 2px dashed var(--gray-300); border-radius: 50%; }

.grid-4x5.filling .dot-anim { width: 30px; height: 30px; background: var(--cyan); border-radius: 50%; opacity: 0; animation: dotPop 3s infinite; }
@keyframes dotPop { 0%, 10% { opacity: 0; transform: scale(0.5); } 20%, 80% { opacity: 1; transform: scale(1); } 90%, 100% { opacity: 0; transform: scale(0.5); } }

.grid-4x5.grouped { display: flex; flex-direction: column; gap: 15px; }
.grid-4x5.grouped .group { display: flex; gap: 10px; padding: 10px; border: 2px solid var(--blue); border-radius: 25px; background: rgba(56, 189, 248, 0.1); }
.grid-4x5.grouped .dot { width: 20px; height: 20px; background: var(--navy); border-radius: 50%; }

.text-demo .apply-eq { font-size: 3rem; font-family: monospace; font-weight: 700; color: var(--navy); }
.text-demo .n { color: var(--cyan); } .text-demo .res { color: var(--orange); } .text-demo .op { color: var(--gray-400); margin: 0 15px; }

/* 06: Interactive Demo */
.prod-interactive { background: var(--navy-dark); padding: 100px 0; border-top: 1px solid rgba(255,255,255,0.05); }
.interactive-sandbox { max-width: 800px; margin: 0 auto; background: var(--navy); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius-lg); padding: 50px; box-shadow: 0 30px 60px rgba(0,0,0,0.3); }
.is-display { display: flex; align-items: center; justify-content: space-between; margin-bottom: 60px; min-height: 120px; }
.dynamic-array { display: flex; gap: 12px; }
.da-col { display: flex; flex-direction: column; gap: 12px; padding: 8px; background: rgba(56, 189, 248, 0.1); border-radius: 20px; border: 1px dashed rgba(56, 189, 248, 0.4); animation: slideIn 0.3s ease; }
.da-dot { width: 16px; height: 16px; background: var(--cyan); border-radius: 50%; }
@keyframes slideIn { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: translateX(0); } }
.is-equation { font-family: monospace; font-size: 2.5rem; font-weight: 700; color: var(--white); background: rgba(0,0,0,0.3); padding: 15px 25px; border-radius: var(--radius-md); border: 1px solid rgba(255,255,255,0.1); }
.eq-num { color: var(--cyan); } .eq-op { color: var(--gray-400); } .eq-res { color: var(--orange); }

.is-controls { position: relative; }
.math-slider { width: 100%; -webkit-appearance: none; appearance: none; height: 8px; background: rgba(255,255,255,0.1); border-radius: 4px; outline: none; transition: background 0.2s; }
.math-slider::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 28px; height: 28px; background: var(--cyan); border-radius: 50%; cursor: pointer; border: 4px solid var(--navy); box-shadow: 0 0 10px rgba(56, 189, 248, 0.5); }
.slider-labels { display: flex; justify-content: space-between; margin-top: 15px; color: var(--gray-400); font-size: 0.9rem; font-weight: 500; text-transform: uppercase; letter-spacing: 1px; }

/* 05: Claims */
.prod-claims { background: var(--gray-50); }
.claims-list { max-width: 800px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.claim-item { 
  display: flex; align-items: center; gap: 18px; 
  background: var(--white); 
  padding: 24px 32px; 
  border-radius: var(--radius-md); 
  border: 1px solid var(--gray-200); 
  box-shadow: 0 4px 15px rgba(0,0,0,0.02); 
  transition: all 0.3s ease; 
  cursor: default;
}
.claim-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(10,25,47,0.08);
  border-color: var(--cyan);
}
.claim-item.subdued { opacity: 0.6; background: transparent; border-style: dashed; box-shadow: none; }

.ci-check { 
  display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px;
  background: rgba(56, 189, 248, 0.1);
  border-radius: 50%;
  color: var(--cyan); font-weight: 800; font-size: 1rem; 
  transition: all 0.3s ease;
}
.claim-item:hover .ci-check {
  background: var(--cyan);
  color: var(--white);
}
.claim-item.subdued .ci-check { color: var(--gray-400); background: transparent; }
.ci-text { font-size: 1.1rem; color: var(--navy); font-weight: 600; }

/* 07: CTA */
.prod-cta { background: var(--white); padding: 100px 0 120px; border-top: 1px solid var(--gray-200); }
.prod-cta h2 { font-size: 2.5rem; }

@media (max-width: 900px) {
  .pf-step, .pf-step:nth-child(even) { flex-direction: column; gap: 30px; text-align: center; }
  .demo-box { height: auto; padding: 40px 20px; }
  .is-display { flex-direction: column; gap: 40px; }
  .claims-list { grid-template-columns: 1fr; }
  .phms-eq { font-size: 1.8rem; bottom: 15px; right: 15px; }
}

/* ==========================================================================
   DIGITAL PLATFORM PAGE STYLES
   ========================================================================== */

/* 01: DP Hero */
.dp-hero { padding-top: 120px; background: var(--white); }
.dph-desc { font-size: 1.2rem; color: var(--gray-600); margin-bottom: 30px; line-height: 1.6; }
.dph-actions { display: flex; gap: 15px; }
.dph-visual { display: flex; justify-content: center; align-items: center; }

/* 02: DP Journey */
.dp-journey { background: var(--white); }
.dpj-desc { font-size: 1.15rem; color: var(--gray-600); max-width: 800px; margin: 0 auto 50px; line-height: 1.6; }
.dpj-flow { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 15px; font-weight: 600; color: var(--navy); }
.dpjf-node { padding: 12px 24px; background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: 30px; font-size: 1rem; }
.dpjf-node.highlight { background: rgba(56, 189, 248, 0.1); border-color: var(--cyan); color: var(--cyan-dark); }
.dpjf-node.end { background: var(--navy); color: var(--white); border-color: var(--navy); }
.dpjf-arrow { color: var(--gray-400); font-size: 1.2rem; }

/* 03: DP Activities */
.dp-activities { background: var(--gray-50); }
.dpa-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; max-width: 1000px; margin: 0 auto; }
.dpa-card { background: var(--white); border: 1px solid var(--gray-200); padding: 30px; border-radius: var(--radius-md); text-align: center; font-size: 1.2rem; font-weight: 600; color: var(--navy); box-shadow: 0 4px 15px rgba(0,0,0,0.02); transition: transform 0.3s; }
.dpa-card:hover { transform: translateY(-3px); border-color: var(--cyan); }

/* DP Stakeholders Shared */
.dp-stakeholders-flow { position: relative; background: var(--white); }
.dp-stakeholder { padding: 100px 0; border-bottom: 1px solid var(--gray-100); }
.dp-stakeholder.reverse .split-container { flex-direction: row-reverse; }
.dps-list { list-style: none; padding: 0; margin: 30px 0 0 0; }
.dps-list li { position: relative; padding-left: 30px; margin-bottom: 15px; font-size: 1.1rem; color: var(--gray-700); }
.dps-list li::before { content: 'â†’'; position: absolute; left: 0; color: var(--cyan); font-weight: bold; }
.dps-visual { display: flex; justify-content: center; align-items: center; height: 100%; min-height: 350px; }

/* Dashboard Common */
.dps-desc { margin-top: 15px; color: var(--gray-600); line-height: 1.6; }
.dashboard-card {
  background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg);
  padding: 30px; box-shadow: 0 15px 35px rgba(10,25,47,0.08); position: relative;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease; width: 100%; max-width: 400px;
}
.dashboard-card:hover { transform: translateY(-8px); box-shadow: 0 25px 45px rgba(10,25,47,0.12); }
.dash-demo-label { position: absolute; bottom: 12px; right: 15px; font-size: 0.65rem; font-weight: 700; color: var(--gray-400); letter-spacing: 1px; }

/* Student Dash */
.dash-s-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; }
.dash-s-title { font-weight: 700; color: var(--navy); }
.dash-s-badge { background: var(--orange); color: white; font-size: 0.7rem; font-weight: 700; padding: 4px 10px; border-radius: 20px; text-transform: uppercase; letter-spacing: 1px; }
.dash-s-playarea { display: flex; flex-direction: column; gap: 10px; padding: 25px 20px; background: var(--gray-50); border-radius: var(--radius-md); border: 1px dashed var(--gray-300); margin-bottom: 20px; align-items: center; }
.s-block-group { display: flex; gap: 10px; justify-content: center; }
.s-block { width: 35px; height: 35px; background: var(--cyan); border-radius: 8px; box-shadow: inset 0 -4px 0 rgba(0,0,0,0.1); transition: transform 0.2s; }
.s-block:hover { transform: translateY(-3px); }
.dash-s-footer { display: flex; justify-content: space-between; align-items: center; font-weight: 700; color: var(--navy-dark); font-size: 1.1rem; }
.dash-s-companion { position: absolute; bottom: -20px; left: -20px; animation: compFloat 4s ease-in-out infinite; }
@keyframes compFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Parent Dash */
.dash-p-header { display: flex; gap: 15px; align-items: center; margin-bottom: 30px; }
.p-avatar { width: 50px; height: 50px; background: var(--cyan); color: white; display: flex; align-items: center; justify-content: center; border-radius: 50%; font-weight: 700; font-size: 1.1rem; }
.p-meta { display: flex; flex-direction: column; }
.p-meta strong { color: var(--navy); font-size: 1.1rem; }
.p-meta span { color: var(--gray-500); font-size: 0.85rem; }
.dash-p-stats { display: flex; flex-direction: column; gap: 15px; margin-bottom: 30px; }
.p-stat { display: flex; flex-direction: column; gap: 8px; position: relative; }
.p-stat-label { font-size: 0.85rem; font-weight: 600; color: var(--gray-600); }
.p-bar-track { width: 100%; height: 8px; background: var(--gray-100); border-radius: 4px; overflow: hidden; }
.p-bar-fill { height: 100%; border-radius: 4px; }
.p-stat-val { position: absolute; right: 0; top: 0; font-size: 0.85rem; font-weight: 700; color: var(--navy); }
.dash-p-lists { display: flex; flex-direction: column; gap: 15px; margin-bottom: 10px; }
.p-list { padding: 15px; background: var(--gray-50); border-radius: var(--radius-sm); border-left: 3px solid var(--cyan); }
.p-list.alert { border-left-color: var(--orange); }
.p-list strong { font-size: 0.85rem; color: var(--navy); display: block; margin-bottom: 8px; }
.p-list ul { list-style: none; padding: 0; margin: 0; font-size: 0.85rem; color: var(--gray-600); display: flex; flex-direction: column; gap: 5px; }

/* Teacher Dash */
.dash-t-header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 25px; border-bottom: 1px solid var(--gray-200); padding-bottom: 15px; }
.t-class { font-size: 1.4rem; font-weight: 800; color: var(--navy); }
.t-meta { font-size: 0.85rem; color: var(--gray-500); }
.dash-t-mastery { text-align: center; margin-bottom: 30px; }
.t-big-num { display: block; font-size: 3rem; font-weight: 800; color: var(--blue); line-height: 1; margin-bottom: 5px; }
.t-label { font-size: 0.85rem; font-weight: 600; color: var(--gray-500); text-transform: uppercase; letter-spacing: 1px; }
.dash-t-groups { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; margin-bottom: 10px; }
.t-group { background: var(--gray-50); padding: 15px 10px; border-radius: var(--radius-sm); text-align: center; }
.t-g-header { font-size: 0.85rem; color: var(--gray-600); margin-bottom: 10px; }
.t-g-header strong { font-size: 1.2rem; color: var(--navy); display: block; }
.t-g-label { font-size: 0.75rem; font-weight: 700; padding: 6px 0; border-radius: 4px; }
.t-g-label.strong { background: rgba(56,189,248,0.15); color: var(--cyan-dark); }
.t-g-label.developing { background: rgba(59,130,246,0.15); color: var(--blue); }
.t-g-label.support { background: rgba(249,115,22,0.15); color: var(--orange); }

/* School Dash */
.dash-sc-header { font-size: 0.85rem; font-weight: 800; color: var(--gray-500); letter-spacing: 1px; margin-bottom: 20px; border-bottom: 1px solid var(--gray-200); padding-bottom: 15px; text-transform: uppercase; }
.dash-sc-kpis { display: flex; justify-content: space-between; margin-bottom: 30px; }
.sc-kpi { display: flex; flex-direction: column; align-items: center; }
.sc-kpi strong { font-size: 1.5rem; font-weight: 800; color: var(--navy); }
.sc-kpi span { font-size: 0.75rem; font-weight: 600; color: var(--gray-500); text-transform: uppercase; margin-top: 5px; }
.dash-sc-grades { display: flex; flex-direction: column; gap: 15px; margin-bottom: 10px; }
.sc-grade-row { display: flex; align-items: center; gap: 15px; }
.g-label { width: 60px; font-size: 0.85rem; font-weight: 700; color: var(--navy); }
.g-bar-track { flex: 1; height: 10px; background: var(--gray-100); border-radius: 5px; overflow: hidden; }
.g-bar-fill { height: 100%; background: var(--cyan); border-radius: 5px; }

/* 08: DP Gamification Contrast */
.dp-gamification { background: var(--white); border-top: 1px solid var(--gray-200); }
.dpg-desc { font-size: 1.15rem; color: var(--navy); max-width: 700px; margin: 0 auto 60px; line-height: 1.6; }
.dpg-desc p:first-child { color: var(--navy); }
.dpg-contrast { display: flex; flex-direction: column; gap: 30px; max-width: 800px; margin: 0 auto; }
.dpgc-approved, .dpgc-rejected { padding: 40px; border-radius: var(--radius-lg); border: 1px solid var(--gray-200); background: var(--white); position: relative; }
.dpgc-approved { border-color: rgba(56, 189, 248, 0.3); background: rgba(56, 189, 248, 0.05); }
.dpgc-rejected { border-color: rgba(249, 115, 22, 0.3); background: rgba(249, 115, 22, 0.05); }
.dpgc-flow { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 15px; font-weight: 700; font-size: 1.2rem; color: var(--navy); }
.dpgc-flow .step { padding: 10px 20px; background: var(--white); border-radius: 20px; border: 1px solid var(--gray-200); }
.dpgc-flow .step.highlight { color: var(--blue); background: rgba(56, 189, 248, 0.1); border: 1px solid rgba(56, 189, 248, 0.3); }
.dpgc-label { position: absolute; top: 15px; left: 20px; font-size: 0.9rem; font-weight: 700; color: var(--navy); letter-spacing: 1px; }
.dpgc-flow.subdued .step { text-decoration: line-through; opacity: 0.5; }

/* 09: DP Loop Visual */
.dp-loop { background: var(--gray-50); padding: 120px 0; overflow: hidden; }
.cl-wrapper {
  position: relative;
  width: 500px;
  height: 500px;
  margin: 0 auto;
}
.cl-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 170px; height: 170px;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: var(--white);
  box-shadow: 0 15px 35px rgba(10,25,47,0.2);
  z-index: 10;
}
.cl-center-icon {
  width: 40px; height: 40px; margin-bottom: 10px; color: var(--cyan);
}
.cl-center h3 { color: var(--white); font-size: 1.1rem; text-align: center; margin: 0; line-height: 1.3; text-transform: uppercase; letter-spacing: 1px; }

.cl-ring {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 1;
}
.cl-ring-bg { fill: none; stroke: var(--gray-200); stroke-width: 4; stroke-dasharray: 6 6; }
.cl-ring-progress {
  fill: none; stroke: var(--cyan); stroke-width: 6; stroke-linecap: round;
  stroke-dasharray: 1256; 
  stroke-dashoffset: 1256;
  animation: loopProgress 5s linear infinite;
  transform-origin: center;
  transform: rotate(-90deg);
}

@keyframes loopProgress {
  0% { stroke-dashoffset: 1256; }
  100% { stroke-dashoffset: 0; }
}

.cl-node {
  position: absolute;
  width: 120px; height: 120px;
  margin-top: -60px; margin-left: -60px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--gray-200);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  z-index: 5;
  box-shadow: 0 10px 25px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
  animation: nodeActivate 5s infinite;
}
.cl-node:hover {
  transform: scale(1.1) !important;
  border-color: var(--cyan) !important;
  box-shadow: 0 15px 30px rgba(6, 182, 212, 0.2) !important;
  z-index: 15;
  animation-play-state: paused;
}
.cl-icon { color: var(--blue); margin-bottom: 6px; }
.cl-icon svg { width: 28px; height: 28px; }
.cl-text { font-size: 0.8rem; font-weight: 800; color: var(--navy); text-transform: uppercase; letter-spacing: 0.5px; }

.cl-node.n1 { left: 50%; top: 10%; animation-delay: 0s; }
.cl-node.n2 { left: 88%; top: 37.6%; animation-delay: 1s; }
.cl-node.n3 { left: 73.5%; top: 82.3%; animation-delay: 2s; }
.cl-node.n4 { left: 26.5%; top: 82.3%; animation-delay: 3s; }
.cl-node.n5 { left: 12%; top: 37.6%; animation-delay: 4s; }

@keyframes nodeActivate {
  0%, 18% { border-color: var(--cyan); box-shadow: 0 0 30px rgba(6, 182, 212, 0.3); transform: scale(1.1); }
  20%, 100% { border-color: var(--gray-200); box-shadow: 0 10px 25px rgba(0,0,0,0.06); transform: scale(1); }
}

/* 10: DP Future */
.dp-future { background: var(--white); }
.dpf-desc { font-size: 1.1rem; color: var(--gray-600); margin-bottom: 20px; line-height: 1.6; }
.dpf-list { display: flex; flex-direction: column; gap: 10px; }
.dpf-item { padding: 15px 25px; background: var(--gray-50); border: 1px dashed var(--gray-300); border-radius: var(--radius-md); color: var(--gray-500); font-weight: 500; }

/* 11: DP CTA */
.dp-cta { background: var(--white); padding: 100px 0 120px; }
.dpc-messages { margin: 40px 0; font-size: 1.3rem; color: var(--gray-600); line-height: 1.8; }

@media (max-width: 900px) {
  .dp-stakeholder .split-container, .dp-stakeholder.reverse .split-container { flex-direction: column; gap: 50px; text-align: center; }
  .dps-list { display: inline-block; text-align: left; }
  .dpg-contrast { flex-direction: column; }
  .dpl-loop { transform: scale(0.8); }
}






@keyframes fillBar { 0% { width: 0; } }
.dashboard-card .p-bar-fill, .dashboard-card .g-bar-fill { animation: fillBar 1.5s cubic-bezier(0.34,1.56,0.64,1) forwards; }

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   COMPREHENSIVE MOBILE-RESPONSIVE OVERRIDES
   Covers all pages: index, about, product, digital-platform
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

/* â”€â”€ SHARED UTILITIES â”€â”€ */
@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .section-container { padding: 0 16px; }
  .section-title { font-size: clamp(1.6rem, 5vw, 2.2rem); }
  .section-sub { font-size: 0.95rem; margin-bottom: 32px; }
  .btn { padding: 12px 24px; font-size: 0.9rem; }

  /* Split layouts */
  .split-layout, .split-container {
    display: flex !important;
    flex-direction: column !important;
    gap: 40px !important;
  }

  /* â”€â”€ HERO â”€â”€ */
  .hero { padding: 100px 16px 60px; }
  .hero-title { font-size: clamp(2.4rem, 8vw, 3.5rem); }
  .hero-sub { font-size: 1rem; }
  .hero-visual-math { height: 320px; }
  .math-center-orb { width: 100px; height: 100px; }
  .math-card { padding: 10px 14px; font-size: 1rem; }
  .card-1 { top: 10%; left: -10px; }
  .card-2 { bottom: 10%; left: 0; }
  .card-3 { top: 35%; right: -10px; }

  /* â”€â”€ PHILOSOPHY â”€â”€ */
  .philosophy-grid { grid-template-columns: 1fr; gap: 20px; }
  .philosophy-card { padding: 28px 20px; }

  /* â”€â”€ JOURNEY â”€â”€ */
  .journey-wrapper { margin-top: 40px; }
  .step-card { width: calc(100% - 60px); }

  /* â”€â”€ ECOSYSTEM â”€â”€ */
  .ecosystem-flow { flex-direction: column; gap: 16px; }
  .eco-stage { min-width: unset; width: 100%; }
  .eco-arrow { transform: rotate(90deg); }

  /* â”€â”€ PRODUCT (INDEX) â”€â”€ */
  .product-grid { grid-template-columns: 1fr; gap: 40px; }
  .math-scene-integrated { transform: scale(0.85); transform-origin: top center; }
  .dice-row { gap: 16px; }
  .dice-card { width: 70px; height: 70px; }
  .eq-block { width: 52px; height: 52px; font-size: 1.6rem; }

  /* â”€â”€ MISSION â”€â”€ */
  .mission-cards { grid-template-columns: 1fr 1fr; gap: 16px; }
  .mission-card { padding: 24px 16px; }
  .mc-icon { font-size: 2rem; }

  /* â”€â”€ AUTHORS / TEAM â”€â”€ */
  .authors-grid { grid-template-columns: 1fr; gap: 20px; }
  .author-card { flex-direction: column; align-items: center; text-align: center; gap: 16px; }
  .author-info { text-align: center; }

  /* â”€â”€ PREFACE â”€â”€ */
  .preface-card { padding: 32px 16px; }
  .preface-card h2 { font-size: 1.5rem; }

  /* â”€â”€ CONTACT â”€â”€ */
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-form-wrap { padding: 24px 16px; }

  /* â”€â”€ FOOTER â”€â”€ */
  .footer-container { grid-template-columns: 1fr; gap: 24px; }
  .footer-logo-group { justify-content: center; }
  .footer-links, .footer-policies, .footer-info { text-align: center; }
  .footer-links ul a:hover, .footer-policies ul a:hover { padding-left: 0; }

  /* â”€â”€ DIGITAL TEASER â”€â”€ */
  .digital-teaser .split-layout { flex-direction: column; gap: 32px; }
  .dt-content { padding-right: 0; text-align: center; }
  .dt-visual { min-height: 280px; padding: 24px; }
  .df-node { width: 160px; padding: 10px 16px; }
  .df-eq, .df-ans { font-size: 1rem; }

  /* â”€â”€ SHOWCASE GRID â”€â”€ */
  .showcase-grid { grid-template-columns: 1fr 1fr; gap: 16px; }

  /* â”€â”€ FEATURES SLIDER â”€â”€ */
  .feat-arrow { width: 36px; height: 36px; font-size: 1.2rem; }
  .feat-prev { left: 8px; }
  .feat-next { right: 8px; }

  /* â”€â”€ EINSTEIN QUOTE â”€â”€ */
  .einstein-quote { padding: 32px 20px; }
  .eq-icon { display: flex; }

  /* â”€â”€ ABOUT PAGE â”€â”€ */
  .about-hero { padding-top: 100px; }
  .abstract-math-hero { height: 260px; }
  .et-list { grid-template-columns: 1fr; gap: 30px; }
  .et-member { padding: 30px 20px; }
  .et-img-frame { width: 140px; height: 140px; }
  .tj-step { flex-direction: column; align-items: flex-start; padding-left: 44px; gap: 16px; }
  .tj-card { padding: 20px; }
  .tj-card.reverse { text-align: left; }
  .tj-content { width: 100%; text-align: left !important; padding: 0 !important; }

  /* â”€â”€ PRODUCT PAGE â”€â”€ */
  .prod-hero .split-container { flex-direction: column; gap: 40px; text-align: center; }
  .pf-step, .pf-step:nth-child(even) { flex-direction: column; gap: 24px; text-align: center; }
  .demo-box { height: auto; min-height: 200px; padding: 24px; }
  .claims-list { grid-template-columns: 1fr; gap: 14px; }
  .interactive-sandbox { padding: 24px 16px; }
  .is-display { flex-direction: column; gap: 24px; text-align: center; }
  .is-equation { font-size: 1.8rem; }

  /* â”€â”€ DIGITAL PLATFORM PAGE â”€â”€ */
  .dp-hero .split-container { flex-direction: column; gap: 32px; }
  .dph-actions { flex-direction: column; align-items: flex-start; gap: 12px; }
  .dp-stakeholder .split-container,
  .dp-stakeholder.reverse .split-container { flex-direction: column !important; gap: 40px; text-align: center; }
  .dps-list { display: inline-block; text-align: left; }
  .dps-visual { min-height: 280px; }
  .dashboard-card { max-width: 100%; }
  /* Removed dp-scene-container mobile padding */
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  .dpgc-flow { font-size: 1rem; }
  .loop-visual-container { height: auto; padding: 40px 0; }
  .dpl-loop { transform: scale(0.7); }
  .dpj-flow { gap: 8px; }
  .dpjf-node { font-size: 0.85rem; padding: 8px 14px; }
  .dpa-grid { grid-template-columns: 1fr; }
}

/* â”€â”€ SMALL MOBILE (<480px) â”€â”€ */
@media (max-width: 480px) {
  .section { padding: 48px 0; }
  .section-container { padding: 0 12px; }

  /* Hero */
  .hero { padding: 90px 12px 48px; }
  .hero-title { font-size: clamp(2rem, 10vw, 2.8rem); }
  .hero-visual-math { height: 260px; }
  .math-card { display: none; } /* hide floating cards on very small screens to avoid overflow */
  .math-center-orb { width: 80px; height: 80px; }
  .hero-actions { flex-direction: column; gap: 12px; width: 100%; }
  .hero-actions .btn { width: 100%; justify-content: center; }

  /* Mission */
  .mission-cards { grid-template-columns: 1fr; }

  /* Showcase */
  .showcase-grid { grid-template-columns: 1fr; }

  /* Product */
  .product-promise { grid-template-columns: 1fr; }
  .product-features { grid-template-columns: 1fr; }
  .nep-badges { flex-direction: column; align-items: center; gap: 8px; }

  /* Footer */
  .footer-bottom p { font-size: 0.75rem; }

  /* Author */
  .author-card { padding: 20px 16px; }

  /* About page */
  .about-cta-actions { flex-direction: column; gap: 12px; }
  .et-list { gap: 48px; }

  /* Product page */
  .pmc-hero-visual { transform: scale(0.7); transform-origin: top center; }
  .interactive-sandbox { padding: 16px 12px; }
  .math-slider { height: 6px; }
  .slider-labels { font-size: 0.75rem; }

  /* Digital platform */
  .dpgc-approved, .dpgc-rejected { padding: 24px 16px; }
  .dpgc-flow { gap: 8px; font-size: 0.9rem; }
  .dpgc-flow .step { padding: 6px 12px; }

  /* Preface */
  .preface-card { padding: 24px 12px; }

  /* Contact form */
  .contact-form-wrap { padding: 20px 12px; }
}

.footer-social h4 { color: var(--white); font-size: 0.9rem; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.1em; }
.social-icons { display: flex; gap: 16px; }
.social-icons a { color: rgba(255,255,255,0.6); transition: var(--transition); }
.social-icons a:hover { color: var(--cyan); transform: translateY(-3px); }
.social-icons svg { width: 24px; height: 24px; fill: currentColor; }
.contact-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}
/* ═══════════════════════════════════════════════════════════════
   PREMIUM UI/UX UPGRADE — AALPHA LEARNING SOLUTIONS
   World-class micro-interactions, animations & visual polish
   ═══════════════════════════════════════════════════════════════ */

/* ── ENHANCED DESIGN TOKENS ── */
:root {
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s var(--ease-smooth);
  --transition-spring: all 0.5s var(--ease-spring);
  --shadow-glow-blue: 0 0 30px rgba(59,130,246,0.25), 0 8px 32px rgba(26,86,219,0.2);
  --shadow-glow-cyan: 0 0 30px rgba(6,182,212,0.25), 0 8px 32px rgba(6,182,212,0.2);
  --shadow-glow-gold: 0 0 30px rgba(251,191,36,0.25), 0 8px 32px rgba(245,158,11,0.2);
  --shadow-float: 0 24px 64px rgba(13,27,75,0.18), 0 4px 16px rgba(13,27,75,0.1);
  --glass-bg: rgba(255,255,255,0.08);
  --glass-border: rgba(255,255,255,0.12);
}

/* ── CUSTOM CURSOR ── */
#custom-cursor {
  width: 12px; height: 12px;
  background: var(--cyan);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%,-50%);
  transition: width 0.3s ease, height 0.3s ease, background 0.3s ease, opacity 0.3s ease;
  mix-blend-mode: difference;
}
#custom-cursor.hovering {
  width: 32px; height: 32px;
  background: rgba(6,182,212,0.4);
}
#custom-cursor-ring {
  width: 36px; height: 36px;
  border: 1.5px solid rgba(6,182,212,0.5);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9998;
  transform: translate(-50%,-50%);
  transition: transform 0.12s ease, width 0.3s ease, height 0.3s ease, opacity 0.3s ease;
}
@media (hover: none) {
  #custom-cursor, #custom-cursor-ring { display: none; }
}

/* ── SCROLL REVEAL BASE ── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s var(--ease-expo), transform 0.7s var(--ease-expo);
}
.reveal.revealed {
  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; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-left {
  opacity: 0; transform: translateX(-40px);
  transition: opacity 0.7s var(--ease-expo), transform 0.7s var(--ease-expo);
}
.reveal-left.revealed { opacity: 1; transform: translateX(0); }
.reveal-right {
  opacity: 0; transform: translateX(40px);
  transition: opacity 0.7s var(--ease-expo), transform 0.7s var(--ease-expo);
}
.reveal-right.revealed { opacity: 1; transform: translateX(0); }
.reveal-scale {
  opacity: 0; transform: scale(0.92);
  transition: opacity 0.6s var(--ease-expo), transform 0.6s var(--ease-spring);
}
.reveal-scale.revealed { opacity: 1; transform: scale(1); }

/* ── PREMIUM NAVBAR ENHANCEMENT ── */
.navbar {
  border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  border-bottom-color: rgba(255,255,255,0.06);
}
.navbar.scrolled {
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}


.nav-logo-group { transition: var(--transition-fast); }
.nav-logo-group:hover .logo-img { filter: drop-shadow(0 0 12px rgba(6,182,212,0.6)); transform: scale(1.02); }
.logo-img { transition: var(--transition-fast); }

/* ── HERO STATS BAR ── */
.hero-stats-bar {
  display: flex; gap: 0;
  margin-top: 40px;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  width: fit-content;
  max-width: 100%;
}
.hero-stat-item {
  padding: 16px 28px;
  text-align: center;
  position: relative;
  transition: background 0.3s ease;
}
.hero-stat-item:not(:last-child)::after {
  content: '';
  position: absolute; right: 0; top: 20%; bottom: 20%;
  width: 1px; background: rgba(255,255,255,0.15);
}
.hero-stat-item:hover { background: rgba(255,255,255,0.08); }
.hero-stat-num {
  display: block;
  font-size: 1.5rem; font-weight: 800; color: var(--white);
  line-height: 1;
}
.hero-stat-num span { color: var(--cyan); }
.hero-stat-label {
  display: block;
  font-size: 0.72rem; color: rgba(255,255,255,0.6);
  text-transform: uppercase; letter-spacing: 0.08em;
  margin-top: 4px; white-space: nowrap;
}

/* ── BUTTON RIPPLE ── */
.btn { position: relative; overflow: hidden; }
.btn::after {
  content: ''; position: absolute;
  width: 200%; height: 200%;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%) scale(0);
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  transition: transform 0.5s ease, opacity 0.5s ease;
  opacity: 0;
}
.btn:active::after { transform: translate(-50%,-50%) scale(1); opacity: 1; transition: 0s; }

/* ── PREMIUM HERO BUTTONS ── */
.btn-primary:hover {
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  box-shadow: 0 8px 24px rgba(6,182,212,0.35);
  transform: translateY(-2px);
}
.btn-primary:active { transform: translateY(0); }

  background: linear-gradient(135deg, #1a56db 0%, #3b82f6 50%, #06b6d4 100%);
  background-size: 200% 200%;
  animation: gradientShift 4s ease infinite;
}
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ── SECTION DIVIDERS ── */
.section-divider {
  width: 60px; height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  border-radius: 2px; margin: 20px auto 0;
}
.section-divider.left { margin-left: 0; }

/* ── PHILOSOPHY CARDS — GLASS UPGRADE ── */
.philosophy-card {
  background: var(--white);
  position: relative; overflow: hidden;
}
.philosophy-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 60%, rgba(59,130,246,0.03));
  transition: opacity 0.4s ease;
}
.philosophy-card::after {
  content: attr(data-num);
  position: absolute; right: -10px; bottom: -20px;
  font-size: 7rem; font-weight: 900;
  color: rgba(13,27,75,0.04); line-height: 1;
  transition: color 0.4s ease, transform 0.4s ease;
  pointer-events: none; user-select: none;
}
#phil-exp::after { color: rgba(249,115,22,0.06); }
#phil-expl::after { color: rgba(6,182,212,0.06); }
#phil-excel::after { color: rgba(59,130,246,0.06); }
#phil-exp:hover::after { color: rgba(249,115,22,0.1); transform: scale(1.1) rotate(-5deg); }
#phil-expl:hover::after { color: rgba(6,182,212,0.1); transform: scale(1.1) rotate(-5deg); }
#phil-excel:hover::after { color: rgba(59,130,246,0.1); transform: scale(1.1) rotate(-5deg); }
.phil-content h3 {
  font-size: 1.4rem; letter-spacing: 0.12em;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
#phil-exp .phil-content h3 { background: linear-gradient(135deg, var(--navy), var(--orange)); -webkit-background-clip: text; background-clip: text; }
#phil-expl .phil-content h3 { background: linear-gradient(135deg, var(--navy), var(--cyan)); -webkit-background-clip: text; background-clip: text; }

/* ── JOURNEY — PREMIUM NODES ── */
.step-node {
  box-shadow: 0 0 0 6px rgba(59,130,246,0.1), 0 4px 12px rgba(0,0,0,0.1);
  transition: all 0.4s var(--ease-spring);
}
.journey-step:hover .step-node {
  box-shadow: 0 0 0 10px rgba(59,130,246,0.15), 0 8px 20px rgba(26,86,219,0.3);
  transform: scale(1.2);
}
.step-card {
  transition: all 0.4s var(--ease-spring);
  border-left: 3px solid transparent;
}
.journey-step:hover .step-card {
  border-left-color: var(--cyan);
}

/* ── ECOSYSTEM — ARROW PULSE ── */
.eco-arrow svg {
  animation: arrowPulse 2s ease-in-out infinite;
}
@keyframes arrowPulse {
  0%, 100% { transform: translateX(0); opacity: 0.7; }
  50% { transform: translateX(5px); opacity: 1; }
}

/* ── SHOWCASE CARDS — 3D TILT ── */
.showcase-card {
  transform-style: preserve-3d;
  transition: box-shadow 0.4s ease;
  will-change: transform;
}
.showcase-card::before {
  content: attr(data-num);
  position: absolute; top: 12px; right: 16px;
  font-size: 3.5rem; font-weight: 900;
  color: rgba(13,27,75,0.04);
  line-height: 1; pointer-events: none; z-index: 0;
}
.sc-num {
  font-size: 0.75rem; font-weight: 800;
  color: var(--cyan); letter-spacing: 0.15em;
  text-transform: uppercase; margin-bottom: 12px;
  display: flex; align-items: center; gap: 8px;
}
.sc-num::after {
  content: ''; flex: 1; height: 1px;
  background: linear-gradient(90deg, var(--cyan), transparent);
}

/* ── SHOWCASE CARD TAG SHIMMER ── */
.sc-tags span {
  position: relative; overflow: hidden;
}
.sc-tags span::after {
  content: '';
  position: absolute; top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.5s ease;
}
.showcase-card:hover .sc-tags span::after { left: 100%; }

/* ── CONTACT FORM — FLOATING LABELS ── */
.form-group { position: relative; }
.form-group.floating label {
  position: absolute; left: 16px; top: 16px;
  font-size: 1rem; color: var(--gray-600);
  pointer-events: none;
  transition: all 0.25s var(--ease-smooth);
  background: var(--white); padding: 0 4px;
  transform-origin: left center;
}
.form-group.floating input:focus ~ label,
.form-group.floating input:not(:placeholder-shown) ~ label,
.form-group.floating textarea:focus ~ label,
.form-group.floating textarea:not(:placeholder-shown) ~ label {
  top: -10px; left: 12px;
  font-size: 0.78rem; font-weight: 600;
  color: var(--blue);
  transform: scale(1);
}
.form-group input, .form-group textarea {
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 14px 16px; width: 100%;
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem; color: var(--navy);
  outline: none; background: var(--white);
}
.form-group input:focus, .form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(59,130,246,0.12);
}

/* ── SOCIAL ICON BRAND GLOWS ── */
.social-icons a[aria-label="YouTube"]:hover svg { fill: #FF0000; filter: drop-shadow(0 0 8px rgba(255,0,0,0.4)); }
.social-icons a[aria-label="Facebook"]:hover svg { fill: #1877F2; filter: drop-shadow(0 0 8px rgba(24,119,242,0.4)); }
.social-icons a[aria-label="Instagram"]:hover svg { fill: url(#igGradient); filter: drop-shadow(0 0 8px rgba(225,48,108,0.4)); }
.social-icons a[aria-label="LinkedIn"]:hover svg { fill: #0A66C2; filter: drop-shadow(0 0 8px rgba(10,102,194,0.4)); }
.social-icons a {
  display: flex; align-items: center; justify-content: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  transition: all 0.35s var(--ease-spring);
}
.social-icons a:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-4px) scale(1.1);
  border-color: rgba(255,255,255,0.2);
}

/* ── FOOTER ENHANCEMENTS ── */
.footer {
  position: relative;
}
.footer::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue), var(--cyan), var(--blue), transparent);
}
.footer-policies ul a:hover, .footer-links ul a:hover {
  color: var(--cyan) !important;
  padding-left: 8px !important;
}

/* ── CONTACT CARDS — PREMIUM ── */
.contact-card {
  position: relative; overflow: hidden;
}
.contact-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s var(--ease-expo);
}
.contact-card:hover::before { transform: scaleX(1); }

/* ── INNER PAGE HERO BANNER ── */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 60%, #1e3a8a 100%);
  padding: 160px 24px 80px;
  position: relative; overflow: hidden;
  text-align: center;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(59,130,246,0.3), transparent);
}
.page-hero-content { position: relative; z-index: 2; max-width: 700px; margin: 0 auto; }
.page-hero h1 {
  color: var(--white);
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 20px; line-height: 1.1;
}
.page-hero p {
  color: rgba(255,255,255,0.8);
  font-size: 1.2rem; line-height: 1.7;
  max-width: 600px; margin: 0 auto;
}
.page-hero-shapes { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.page-shape {
  position: absolute; border-radius: 50%;
  filter: blur(60px); opacity: 0.12;
}
.ps-1 { width: 400px; height: 400px; background: var(--blue-light); top: -100px; right: -100px; animation: float1 10s ease-in-out infinite; }
.ps-2 { width: 300px; height: 300px; background: var(--cyan); bottom: -50px; left: -50px; animation: float2 12s ease-in-out infinite; }

/* ── EINSTEIN QUOTE — PREMIUM ── */
.einstein-quote {
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  border-radius: var(--radius-lg); padding: 40px;
  border: 1px solid rgba(255,255,255,0.06);
  position: relative; overflow: hidden;
  margin-top: 48px;
}
.einstein-quote::before {
  content: '\201C';
  position: absolute; top: -20px; left: 20px;
  font-size: 12rem; line-height: 1; font-family: Georgia, serif;
  color: rgba(255,255,255,0.04);
  pointer-events: none;
}
.einstein-quote blockquote {
  color: rgba(255,255,255,0.9);
  font-size: 1.4rem; font-style: italic; line-height: 1.6;
  font-family: 'Playfair Display', Georgia, serif;
  position: relative; z-index: 1;
}
.einstein-quote cite {
  display: block; margin-top: 16px;
  color: var(--cyan); font-size: 0.9rem;
  font-style: normal; font-weight: 600;
  letter-spacing: 0.05em;
  position: relative; z-index: 1;
}
.eq-icon { display: flex; justify-content: center; margin-bottom: 20px; color: var(--cyan); }
.eq-icon svg { width: 40px; height: 40px; }

/* ── SECTION LABEL — PREMIUM ── */
.section-label {
  background: none;
  color: var(--blue);
  border: 1px solid rgba(59,130,246,0.25);
  background: rgba(59,130,246,0.06);
  font-weight: 700;
  letter-spacing: 0.12em;
}

/* ── NAV BTN — PREMIUM ── */
.nav-btn {
  background: linear-gradient(135deg, var(--blue), var(--blue-light)) !important;
  box-shadow: 0 4px 16px rgba(26,86,219,0.35) !important;
  transition: all 0.3s var(--ease-spring) !important;
}
.nav-btn:hover {
  transform: translateY(-2px) scale(1.02) !important;
  box-shadow: 0 8px 24px rgba(26,86,219,0.5) !important;
}

/* ── SCROLL PROGRESS BAR ── */
#scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; z-index: 9999;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--cyan), var(--orange));
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.1s linear;
}

/* ── ACTIVE NAV INDICATOR ── */
.nav-link.active {
  color: var(--white) !important;
  background: rgba(255,255,255,0.1) !important;
}

/* ── PHILOSOPHY CARD ACCENT ── */
#phil-exp { border-top: 3px solid var(--orange); }
#phil-expl { border-top: 3px solid var(--cyan); }
#phil-excel { border-top: 3px solid var(--blue); }

/* ── ECO STAGE ENHANCED ── */
.eco-stage {
  background: var(--white);
  border-bottom: 3px solid transparent;
  transition: all 0.4s var(--ease-spring);
}
#stage-1:hover { border-bottom-color: var(--blue); }
#stage-2:hover { border-bottom-color: var(--orange); }
#stage-3:hover { border-bottom-color: var(--cyan); }

/* ── JOURNEY TRACK ANIMATION ── */
.journey-track {
  background: linear-gradient(90deg,
    rgba(59,130,246,0.1) 0%,
    var(--cyan) 20%,
    var(--blue) 50%,
    var(--cyan) 80%,
    rgba(59,130,246,0.1) 100%);
  background-size: 200% 100%;
  animation: trackFlow 4s linear infinite;
}
@keyframes trackFlow {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ── CONTACT FORM SUBMIT — PREMIUM ── */
#submit-btn {
  letter-spacing: 0.05em;
  font-size: 1rem; font-weight: 700;
  position: relative; overflow: hidden;
}
.form-success {
  background: linear-gradient(135deg, #dcfce7, #bbf7d0);
  border: 1px solid #22c55e;
  color: #15803d;
  padding: 16px; border-radius: var(--radius);
  text-align: center; font-weight: 600;
  animation: fadeInUp 0.4s ease;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── SELECTION COLOR ── */
::selection { background: rgba(6,182,212,0.25); color: var(--navy); }

/* ── RESPONSIVE PREMIUM ── */
@media (max-width: 768px) {
  .hero-stats-bar { width: 100%; border-radius: var(--radius); }
  .hero-stat-item { padding: 12px 16px; flex: 1; }
  .hero-stat-num { font-size: 1.2rem; }
  .hero-stat-label { font-size: 0.65rem; }
  .page-hero { padding: 130px 24px 60px; }
  .page-hero h1 { font-size: clamp(2rem, 8vw, 3rem); }
}
@media (max-width: 480px) {
  .hero-stats-bar { flex-wrap: wrap; }
  .hero-stat-item { min-width: 50%; }
  .hero-stat-item:nth-child(2)::after { display: none; }
}

/* --- CRITICAL FOOTER ALIGNMENT FIX --- */
.footer-social {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer-social h4 {
  display: block !important;
  color: var(--white) !important;
  font-size: 0.9rem !important;
  margin-bottom: 0 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.1em !important;
}
.social-icons {
  display: flex !important;
  flex-direction: row !important;
  gap: 16px !important;
  align-items: center !important;
}
.social-icons a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.social-icons svg {
  width: 24px !important;
  height: 24px !important;
  fill: currentColor;
}


/* === PHASE 4: ACCESSIBILITY ENHANCEMENTS === */
/* Focus-visible rings for keyboard navigation */
:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

/* Touch targets: min 48px for mobile buttons & nav links */
@media (max-width: 768px) {
  .btn { min-height: 48px; display: inline-flex; align-items: center; }
  .nav-link { min-height: 48px; display: flex; align-items: center; }
  .hamburger { min-width: 48px; min-height: 48px; }
}

/* Reduce stagger delays for scroll reveals to < 100ms */
.reveal-delay-1 { transition-delay: 80ms !important; }
.reveal-delay-2 { transition-delay: 160ms !important; }
.reveal-delay-3 { transition-delay: 240ms !important; }
.reveal-delay-4 { transition-delay: 320ms !important; }

/* ==========================================================================
   ENHANCEMENTS v14  Back-to-Top, Active Nav, Trust Strip, FAQ, Testimonials
   ========================================================================== */

/* -- BACK TO TOP BUTTON -- */
#back-to-top {
  position: fixed; bottom: 32px; right: 32px; z-index: 900;
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: var(--white); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(6,182,212,0.35);
  opacity: 0; transform: translateY(12px) scale(0.9);
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  pointer-events: none;
}
#back-to-top.visible { opacity: 1; transform: translateY(0) scale(1); pointer-events: all; }
#back-to-top:hover { transform: translateY(-3px) scale(1.08); box-shadow: 0 8px 28px rgba(6,182,212,0.5); }
#back-to-top svg { width: 18px; height: 18px; }

/* -- ACTIVE NAV LINK -- */
.nav-link.active {
  color: var(--white);
  background: rgba(6,182,212,0.12);
  border: 1px solid rgba(6,182,212,0.25);
}

/* -- TRUST STRIP -- */
.trust-strip {
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 22px 0;
  overflow: hidden;
}
.trust-strip-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: center;
  gap: 0; flex-wrap: wrap;
}
.trust-item {
  display: flex; align-items: center; gap: 12px;
  padding: 8px 32px;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.trust-item:last-child { border-right: none; }
.trust-num {
  font-size: 1.6rem; font-weight: 900;
  background: linear-gradient(135deg, var(--cyan), var(--blue-light));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  line-height: 1;
}
.trust-label {
  font-size: 0.8rem; font-weight: 500; color: rgba(255,255,255,0.65);
  line-height: 1.3; text-transform: uppercase; letter-spacing: 0.05em;
}
@media (max-width: 768px) {
  .trust-strip-inner { gap: 0; }
  .trust-item { padding: 10px 16px; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); width: 50%; justify-content: center; text-align: center; }
  .trust-item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.08); }
}

/* -- TESTIMONIALS -- */
.testimonials {
  background: var(--gray-50);
  padding: 100px 0;
}
.testimonials-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  max-width: 1100px; margin: 0 auto;
}
.testi-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  display: flex; flex-direction: column; gap: 20px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  position: relative;
}
.testi-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--cyan);
}
.testi-quote {
  font-size: 3rem; line-height: 1;
  color: var(--cyan); opacity: 0.4;
  font-family: Georgia, serif;
  position: absolute; top: 16px; right: 24px;
}
.testi-text {
  font-size: 1rem; line-height: 1.75;
  color: var(--gray-700); font-style: italic;
  flex: 1;
}
.testi-author { display: flex; align-items: center; gap: 14px; border-top: 1px solid var(--gray-100); padding-top: 20px; }
.testi-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-weight: 800; font-size: 1rem;
  flex-shrink: 0;
}
.testi-name { font-size: 0.9rem; font-weight: 700; color: var(--navy); }
.testi-role { font-size: 0.8rem; color: var(--gray-600); }
.testi-stars { display: flex; gap: 3px; margin-bottom: 4px; }
.testi-stars span { color: var(--orange-gold); font-size: 0.85rem; }

@media (max-width: 900px) {
  .testimonials-grid { grid-template-columns: 1fr; max-width: 560px; }
}

/* -- FAQ ACCORDION -- */
.faq-section { background: var(--white); padding: 100px 0; }
.faq-grid { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.faq-item.open { border-color: var(--cyan); box-shadow: 0 4px 20px rgba(6,182,212,0.1); }
.faq-question {
  width: 100%; background: var(--white);
  border: none; cursor: pointer;
  padding: 22px 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem; font-weight: 600; color: var(--navy);
  text-align: left; transition: background 0.2s ease;
}
.faq-question:hover { background: var(--gray-50); }
.faq-item.open .faq-question { background: var(--gray-50); color: var(--blue); }
.faq-icon {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--gray-100);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: all 0.3s ease;
  color: var(--gray-600); font-size: 1.1rem; font-weight: 300;
}
.faq-item.open .faq-icon { background: var(--cyan); color: var(--white); transform: rotate(45deg); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1), padding 0.3s ease;
  padding: 0 28px;
}
.faq-item.open .faq-answer { max-height: 300px; padding: 0 28px 24px; }
.faq-answer p { font-size: 0.95rem; color: var(--gray-600); line-height: 1.7; }
