/* ==========================================================================
   Vedyant — Spatial Modern 3D Theme & Design Tokens
   High-Visibility, Balanced Contrast, Spatial Glass Depth
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  /* Color Palette - Logo-Aligned Dynamic Theme */
  --bg-canvas: #F8FAFC;
  --bg-subtle: #F0F7FD;
  --card-bg: #FFFFFF;
  --card-glass: rgba(255, 255, 255, 0.94);
  --island-glass: rgba(255, 255, 255, 0.92);
  
  --fg-main: #0F172A;
  --fg-heading: #001233;
  --fg-muted: #334155;
  --fg-light: #64748B;
  
  /* Primary Teal-Cyan Brand Colors directly from Logo */
  --primary: #0284C7;
  --primary-dark: #0369A1;
  --primary-light: #E0F2FE;
  --primary-glow: rgba(2, 132, 199, 0.25);
  
  /* Vivid Cyan Accent */
  --cyan-vivid: #00C3FD;
  --cyan-glow: rgba(0, 195, 253, 0.3);
  
  /* Mint / Emerald Accent from Logo Facet */
  --accent: #0D9488;
  --accent-dark: #0F766E;
  --accent-light: #CCFBF1;
  --accent-glow: rgba(13, 148, 136, 0.25);
  
  --emerald: #10B981;
  --emerald-light: #D1FAE5;
  
  /* Deep Corporate Navy Text & Shadows from Logo */
  --navy-deep: #001233;
  --navy-dark: #031936;
  
  /* Logo Signature Gradient for Buttons, Badges & Highlights */
  --logo-gradient: linear-gradient(135deg, #0284C7 0%, #00C3FD 55%, #10B981 100%);
  --logo-gradient-hover: linear-gradient(135deg, #0369A1 0%, #0284C7 55%, #0D9488 100%);
  --logo-gradient-text: linear-gradient(135deg, #001233 0%, #0284C7 55%, #10B981 100%);
  
  --ai: #0284C7;
  --ai-dark: #0369A1;
  --ai-light: #E0F2FE;
  --ai-glow: rgba(2, 132, 199, 0.2);
  
  --success: #10B981;
  --success-dark: #059669;
  --success-light: #ECFDF5;
  
  --border: #E2E8F0;
  --border-strong: #CBD5E1;
  --border-island: rgba(203, 213, 225, 0.85);

  /* Typography */
  --font-display: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;

  /* Spatial Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 18, 51, 0.04), 0 1px 2px rgba(0, 18, 51, 0.03);
  --shadow-md: 0 6px 20px rgba(0, 18, 51, 0.07), 0 2px 6px rgba(0, 18, 51, 0.04);
  --shadow-lg: 0 14px 40px rgba(0, 18, 51, 0.09), 0 4px 12px rgba(0, 18, 51, 0.04);
  --shadow-island: 0 16px 36px -10px rgba(0, 18, 51, 0.12), 0 0 0 1px rgba(255, 255, 255, 0.8) inset;
  --shadow-3d: 0 20px 40px -15px rgba(2, 132, 199, 0.25);

  /* Radii */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-canvas);
  color: var(--fg-main);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  padding-top: 0; /* Merged hero starts right from top */
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--fg-heading);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

p {
  color: var(--fg-muted);
  font-size: 1.05rem;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
  background: none;
}

/* Layout Utilities */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   FLOATING SPATIAL ISLAND NAVIGATION (MERGED TOP & STICKY SCROLLED DOCK)
   ========================================================================== */
#spatial-header-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  justify-content: center;
  pointer-events: none;
  transition: padding 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 1. At Top of Page: Merged with Hero Background */
#spatial-header-wrapper.at-top {
  position: absolute;
  top: 0;
  padding: 20px 24px;
}

#spatial-header-wrapper.at-top .spatial-floating-island {
  max-width: 1240px;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid rgba(226, 232, 240, 0.7);
  box-shadow: 0 4px 20px rgba(0, 18, 51, 0.04);
  padding: 8px 18px;
  border-radius: var(--radius-full);
}

#spatial-header-wrapper.at-top .island-nav-dock {
  background: rgba(255, 255, 255, 0.85);
}

/* 2. When Scrolled: Dynamic Compact Floating Glass Island */
#spatial-header-wrapper.is-scrolled {
  position: fixed;
  top: 12px;
  padding: 0 20px;
  animation: headerFloatIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

#spatial-header-wrapper.is-scrolled .spatial-floating-island {
  max-width: 1080px;
  background: var(--island-glass);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1.5px solid var(--border-island);
  box-shadow: var(--shadow-island);
  border-radius: var(--radius-full);
  padding: 6px 12px 6px 16px;
}

@keyframes headerFloatIn {
  from { transform: translateY(-16px); opacity: 0.85; }
  to { transform: translateY(0); opacity: 1; }
}

.spatial-floating-island {
  pointer-events: auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.spatial-floating-island:hover {
  border-color: rgba(2, 132, 199, 0.4);
  box-shadow: 0 20px 48px -10px rgba(2, 132, 199, 0.2), 0 0 0 1px rgba(255, 255, 255, 0.9) inset;
}

/* Brand Capsule */
.island-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.brand-cube-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--logo-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
  transition: transform 0.3s ease;
}

.island-brand:hover .brand-cube-icon {
  transform: rotate(10deg) scale(1.05);
}

.brand-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
  color: var(--fg-heading);
}

.brand-badge-pill {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  background: var(--primary-light);
  color: var(--primary-dark);
  border: 1px solid rgba(2, 132, 199, 0.25);
  padding: 2px 7px;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

/* Center Navigation Dock */
.island-nav-dock {
  display: flex;
  align-items: center;
  gap: 2px;
  background: rgba(240, 247, 253, 0.85);
  padding: 3px 5px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(226, 232, 240, 0.9);
  list-style: none;
  flex-shrink: 1;
}

.island-nav-link {
  display: inline-flex;
  align-items: center;
  padding: 6px 11px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--fg-muted);
  border-radius: var(--radius-full);
  white-space: nowrap;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.island-nav-link:hover {
  color: var(--primary-dark);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 6px rgba(0, 18, 51, 0.05);
}

.island-nav-link.active {
  color: #FFFFFF;
  background: var(--logo-gradient);
  box-shadow: 0 2px 10px rgba(2, 132, 199, 0.35);
}

/* Action Capsule Buttons */
.island-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.btn-island-admin {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--fg-main);
  background: #FFFFFF;
  border: 1.5px solid var(--border-strong);
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
  transition: all 0.2s ease;
}

.btn-island-admin:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
  transform: translateY(-1px);
}

.btn-island-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 15px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  color: #FFFFFF;
  background: var(--logo-gradient);
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
  white-space: nowrap;
  transition: all 0.22s ease;
}

.btn-island-primary:hover {
  background: var(--logo-gradient-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.45);
  color: #FFFFFF;
}

/* Mobile Island Toggle */
.island-mobile-btn {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid var(--border);
  align-items: center;
  justify-content: center;
  color: var(--fg-main);
  box-shadow: var(--shadow-sm);
}

.mobile-island-drawer {
  position: fixed;
  top: 80px;
  left: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: 24px;
  display: none;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
  pointer-events: auto;
}

.mobile-island-drawer.open {
  display: flex;
}

/* Responsive Island Navigation */
@media (max-width: 1040px) {
  .island-nav-dock { display: none; }
  .btn-island-admin { display: none; }
  .island-mobile-btn { display: flex !important; }
}

/* ==========================================================================
   SPATIAL 3D CANVAS & COMPONENTS
   ========================================================================= */
.spatial-canvas-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.spatial-webgl-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: auto;
  z-index: 2;
}

/* 3D Neural Hub Holographic Visual */
.neural-hologram-visual {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  pointer-events: none;
  z-index: 1;
}

.holo-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px dashed rgba(2, 132, 199, 0.3);
  animation: rotateRing 30s linear infinite;
}

.holo-ring-1 {
  width: 220px;
  height: 220px;
  border-color: rgba(0, 195, 253, 0.4);
  animation-duration: 25s;
}

.holo-ring-2 {
  width: 340px;
  height: 340px;
  border-color: rgba(16, 185, 129, 0.3);
  animation-duration: 40s;
  animation-direction: reverse;
}

.holo-ring-3 {
  width: 440px;
  height: 440px;
  border-color: rgba(2, 132, 199, 0.2);
  animation-duration: 55s;
}

@keyframes rotateRing {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.holo-crystal-core {
  position: relative;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: floatCore 4s ease-in-out infinite alternate;
  z-index: 2;
}

@keyframes floatCore {
  0% { transform: translateY(-8px) scale(0.98); }
  100% { transform: translateY(8px) scale(1.02); }
}

.crystal-facet {
  position: absolute;
  width: 80px;
  height: 80px;
  border-radius: 18px;
}

.facet-top {
  background: linear-gradient(135deg, #00C3FD 0%, #0284C7 60%, #10B981 100%);
  transform: rotate(-45deg) skew(15deg, 15deg);
  opacity: 0.95;
  box-shadow: 0 12px 30px rgba(2, 132, 199, 0.4);
}

.crystal-glow {
  position: absolute;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 195, 253, 0.45) 0%, rgba(16, 185, 129, 0.2) 50%, transparent 75%);
  filter: blur(14px);
  z-index: 0;
  animation: pulseGlow 3s ease-in-out infinite alternate;
}

@keyframes pulseGlow {
  0% { transform: scale(0.9); opacity: 0.6; }
  100% { transform: scale(1.15); opacity: 1; }
}

.crystal-inner-badge {
  position: relative;
  z-index: 3;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 13px;
  color: #FFFFFF;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-shadow: 0 2px 8px rgba(0, 18, 51, 0.6);
  background: rgba(0, 18, 51, 0.6);
  backdrop-filter: blur(6px);
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.holo-node {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  color: var(--fg-heading);
  box-shadow: 0 4px 16px rgba(0, 18, 51, 0.08);
  white-space: nowrap;
  transition: all 0.3s ease;
  z-index: 3;
}

.holo-node .node-icon {
  font-size: 13px;
}

.node-branch { top: 12%; left: 10%; animation: floatNode1 5s ease-in-out infinite alternate; }
.node-timetable { top: 16%; right: 10%; animation: floatNode2 6s ease-in-out infinite alternate; }
.node-ai { bottom: 20%; right: 8%; animation: floatNode3 5.5s ease-in-out infinite alternate; }
.node-whatsapp { bottom: 14%; left: 12%; animation: floatNode4 6.5s ease-in-out infinite alternate; }
.node-upi { top: 48%; left: 4%; animation: floatNode5 5s ease-in-out infinite alternate; }

@keyframes floatNode1 { from { transform: translate(0, 0); } to { transform: translate(6px, -10px); } }
@keyframes floatNode2 { from { transform: translate(0, 0); } to { transform: translate(-8px, 8px); } }
@keyframes floatNode3 { from { transform: translate(0, 0); } to { transform: translate(-6px, -10px); } }
@keyframes floatNode4 { from { transform: translate(0, 0); } to { transform: translate(8px, 6px); } }
@keyframes floatNode5 { from { transform: translate(0, 0); } to { transform: translate(6px, 8px); } }

/* Spatial Buttons */
.btn-spatial {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.btn-spatial-primary {
  background: var(--logo-gradient);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
}

.btn-spatial-primary:hover {
  background: var(--logo-gradient-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(2, 132, 199, 0.45);
  color: #FFFFFF;
}

.btn-spatial-outline {
  background: #FFFFFF;
  color: var(--fg-main);
  border: 1.5px solid var(--border-strong);
  box-shadow: var(--shadow-sm);
}

.btn-spatial-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
  transform: translateY(-2px);
}

/* Badges & Eyebrows */
.spatial-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid rgba(2, 132, 199, 0.2);
  margin-bottom: 20px;
  white-space: nowrap;
}

.spatial-eyebrow-accent {
  background: var(--accent-light);
  color: var(--accent-dark);
  border-color: rgba(13, 148, 136, 0.25);
}

.spatial-eyebrow-ai {
  background: var(--ai-light);
  color: var(--ai-dark);
  border-color: rgba(124, 58, 237, 0.2);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.7);
  animation: pulse 2s infinite;
  flex-shrink: 0;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(5, 150, 105, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(5, 150, 105, 0); }
}

/* Hero Stats Dock */
.hero-stats-dock {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  background: #FFFFFF;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  box-shadow: var(--shadow-sm);
  max-width: 620px;
}

@media (max-width: 640px) {
  .hero-stats-dock {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

/* Section Common */
.spatial-section {
  padding: 96px 0;
  position: relative;
}

.section-head {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 56px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* Cards & Glass Containers */
.spatial-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.spatial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-strong);
}

/* ==========================================================================
   HORIZONTAL SCALE SECTION: "How We Help Educational Organizations Grow"
   ========================================================================= */
.horizontal-growth-section {
  background: radial-gradient(80% 50% at 50% 0%, rgba(2, 132, 199, 0.06) 0%, rgba(248, 250, 252, 0) 70%), linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 30%, #F0F7FD 70%, #F8FAFC 100%);
  padding: 44px 0 52px;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  width: 100%;
  position: relative;
}

.horizontal-progress-track {
  width: 100%;
  height: 4px;
  background: rgba(226, 232, 240, 0.8);
  border-radius: 999px;
  margin: 12px 0 16px;
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05);
}

.horizontal-progress-bar {
  height: 100%;
  width: 20%;
  background: linear-gradient(90deg, #0284C7 0%, #00C3FD 50%, #10B981 100%);
  border-radius: 999px;
  box-shadow: 0 0 12px rgba(0, 195, 253, 0.5);
  transition: width 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.horizontal-scale-wrapper {
  position: relative;
  margin-top: 14px;
  overflow: hidden;
  width: 100%;
}

@media (max-width: 991px) {
  .horizontal-scale-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding-bottom: 8px;
  }
  .horizontal-scale-wrapper::-webkit-scrollbar {
    display: none;
  }
  .horizontal-stage-card {
    scroll-snap-align: start;
  }
}

.horizontal-nav-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  gap: 12px;
  flex-wrap: wrap;
}

.horizontal-steps-indicator {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.step-indicator-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: #FFFFFF;
  border: 1.5px solid var(--border);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--fg-muted);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-sm);
  user-select: none;
}

.step-indicator-pill:hover {
  border-color: var(--primary);
  color: var(--fg-heading);
  transform: translateY(-2px);
}

.step-indicator-pill.active {
  border-color: #0284C7;
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.08) 0%, rgba(0, 195, 253, 0.12) 100%);
  color: #0369A1;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.16);
}

.step-indicator-pill .pill-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--bg-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-family: var(--font-mono);
  font-weight: 800;
  color: var(--fg-light);
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.step-indicator-pill.active .pill-num {
  background: linear-gradient(135deg, #0284C7, #00C3FD);
  color: #FFFFFF;
  box-shadow: 0 0 8px rgba(2, 132, 199, 0.4);
}

.horizontal-arrows {
  display: flex;
  gap: 10px;
}

.arrow-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fg-heading);
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
  cursor: pointer;
}

.arrow-btn:hover {
  background: var(--primary);
  color: #FFFFFF;
  border-color: var(--primary);
  transform: scale(1.08);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
}

.horizontal-track-scroll {
  display: flex;
  gap: 24px;
  width: max-content;
  padding: 8px 4px 20px;
  will-change: transform;
}

.horizontal-stage-card {
  width: 480px;
  max-width: 86vw;
  flex: 0 0 auto;
  background: #FFFFFF;
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 24px 24px 20px;
  box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.06), 0 20px 40px -15px rgba(2, 132, 199, 0.08);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.horizontal-stage-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--logo-gradient);
  opacity: 0.8;
}

.horizontal-stage-card:hover,
.horizontal-stage-card.stage-card-focused {
  border-color: #0284C7;
  box-shadow: 0 16px 36px -8px rgba(2, 132, 199, 0.22);
}

@media (max-width: 768px) {
  .horizontal-stage-card {
    width: 310px;
    padding: 18px;
  }
}

.stage-badge {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 10px;
  white-space: nowrap;
}

.stage-badge-1 { background: #E0F2FE; color: #0284C7; border: 1px solid #BAE6FD; }
.stage-badge-2 { background: #F0FDF4; color: #16A34A; border: 1px solid #BBF7D0; }
.stage-badge-3 { background: #FAF5FF; color: #7E22CE; border: 1px solid #E9D5FF; }
.stage-badge-4 { background: #ECFDF5; color: #047857; border: 1px solid #A7F3D0; }
.stage-badge-5 { background: #FFF7ED; color: #C2410C; border: 1px solid #FFEDD5; }

.stage-title {
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--fg-heading);
  margin-bottom: 8px;
}

.stage-desc {
  font-size: 0.88rem;
  color: var(--fg-muted);
  line-height: 1.55;
  margin-bottom: 14px;
}

/* Stage Interactive Micro-Visual Container */
.stage-micro-canvas {
  background: #090B10;
  border: 1px solid #1E2433;
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 12px;
  color: #F8FAFC;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.4);
}

.stage-micro-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10.5px;
  font-family: var(--font-mono);
  color: #94A3B8;
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid #1E2433;
}

.stage-micro-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 700;
  color: #34D399;
}

.stage-preview-box {
  background: #F8FAFC;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  margin-bottom: 12px;
}

.stage-metric-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #E2E8F0;
  padding: 5px 0;
  font-size: 0.82rem;
  color: var(--fg-muted);
}

.stage-metric-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.stage-metric-val {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--fg-heading);
}

.stage-impact-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.80rem;
  font-weight: 700;
  color: #047857;
  background: #ECFDF5;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  border: 1px solid #A7F3D0;
  white-space: nowrap;
}

/* ==========================================================================
   BLOG ARTICLE READER & HUB STYLES
   ========================================================================== */
.blog-reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
  z-index: 2000;
  width: 0%;
  transition: width 0.1s ease;
}

.blog-hero-featured {
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  color: #FFFFFF;
  border-radius: var(--radius-xl);
  padding: 48px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  margin-bottom: 48px;
}

.blog-hero-featured h2 {
  color: #FFFFFF;
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
}

.blog-hero-featured p {
  color: #CBD5E1;
}

.blog-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.blog-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: #E2E8F0;
}

.blog-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-article-content {
  font-size: 1.125rem;
  line-height: 1.8;
  color: #1E293B;
}

.blog-article-content h2 {
  font-size: 1.85rem;
  margin-top: 40px;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.blog-article-content h3 {
  font-size: 1.45rem;
  margin-top: 32px;
  margin-bottom: 12px;
}

.blog-article-content p {
  font-size: 1.125rem;
  line-height: 1.8;
  color: #334155;
  margin-bottom: 20px;
}

.blog-article-content blockquote {
  border-left: 4px solid var(--primary);
  background: var(--primary-light);
  padding: 18px 24px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
  font-size: 1.15rem;
  color: var(--fg-main);
  margin: 28px 0;
}

/* Footer */
#spatial-footer {
  background: #0F172A;
  color: #F8FAFC;
  padding: 80px 0 40px;
  border-top: 1px solid #1E293B;
}

#spatial-footer p, #spatial-footer a {
  color: #94A3B8;
}

#spatial-footer a:hover {
  color: #FFFFFF;
}

.footer-bottom {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid #1E293B;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.875rem;
}

/* ==========================================================================
   COACHING VERTICALS: INTERACTIVE CATEGORY COMMAND SIMULATOR
   ========================================================================== */
.vertical-tabs-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.vertical-tab-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: var(--radius-full);
  background: #FFFFFF;
  border: 1.5px solid var(--border);
  color: var(--fg-muted);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-sm);
  user-select: none;
}

.vertical-tab-pill:hover {
  border-color: #0284C7;
  color: var(--fg-heading);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.1);
}

.vertical-tab-pill.active {
  background: linear-gradient(135deg, #0284C7 0%, #00C3FD 100%);
  border-color: transparent;
  color: #FFFFFF;
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.35);
  transform: translateY(-2px);
}

.vertical-pane-content {
  display: none;
  animation: fadeInVertical 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.vertical-pane-content.active {
  display: block;
}

@keyframes fadeInVertical {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Category Command Console */
.category-command-console {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: stretch;
  background: #FFFFFF;
  border: 1.5px solid var(--border);
  border-radius: 28px;
  padding: 44px;
  box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(226, 232, 240, 0.5);
  position: relative;
  overflow: hidden;
}

.category-command-console::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--logo-gradient);
}

@media (max-width: 991px) {
  .category-command-console {
    grid-template-columns: 1fr;
    padding: 28px 20px;
    gap: 32px;
  }
}

.category-scope-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: var(--bg-subtle);
  color: var(--primary);
  border: 1px solid var(--border);
  margin-bottom: 18px;
}

.category-value-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 24px;
  margin-bottom: 28px;
}

.category-value-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.category-value-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.category-value-body h4 {
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--fg-heading);
  margin-bottom: 4px;
}

.category-value-body p {
  font-size: 0.92rem;
  color: var(--fg-muted);
  line-height: 1.6;
  margin: 0;
}

/* Category Simulated Micro-Engine (Interactive Window) */
.category-simulated-engine {
  background: #0B0E14;
  border: 1.5px solid #1E2538;
  border-radius: 20px;
  padding: 24px;
  color: #F8FAFC;
  box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.category-engine-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid #1E2538;
  margin-bottom: 18px;
  font-size: 12px;
  font-family: var(--font-mono);
  color: #94A3B8;
}

.category-engine-topbar-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.category-engine-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 8px #10B981;
}

/* Difficulty Balance Bars (JEE/NEET) */
.difficulty-bar-group {
  margin: 14px 0;
}

.difficulty-bar-labels {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 6px;
  font-family: var(--font-mono);
}

.difficulty-progress-track {
  height: 8px;
  background: #1E2433;
  border-radius: 999px;
  display: flex;
  overflow: hidden;
  gap: 2px;
}

.diff-easy { background: #10B981; width: 30%; }
.diff-medium { background: #3B82F6; width: 50%; }
.diff-hard { background: #EF4444; width: 20%; }

/* ==========================================================================
   DUAL-PHONE MOBILE PROTOTYPE SIMULATOR (TEACHER OS & STUDENT OS)
   ========================================================================== */
.mobile-showcase-section {
  padding: 110px 0;
  background: radial-gradient(80% 60% at 50% 0%, rgba(2, 132, 199, 0.12) 0%, rgba(9, 11, 16, 0) 70%), #07090E;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
  border-top: 1px solid #1E2433;
}

.mobile-showcase-section::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.15) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}

.mobile-showcase-section::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -100px;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 195, 253, 0.12) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}

.mobile-os-switcher-dock {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  padding: 6px;
  margin-bottom: 52px;
  box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.5);
}

.mobile-os-tab-btn {
  padding: 10px 24px;
  border-radius: var(--radius-full);
  font-size: 0.92rem;
  font-weight: 700;
  color: #94A3B8;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
}

.mobile-os-tab-btn:hover {
  color: #FFFFFF;
}

.mobile-os-tab-btn.active {
  background: linear-gradient(135deg, #0284C7 0%, #00C3FD 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 16px rgba(2, 132, 199, 0.4);
}

.phones-dual-stage {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  position: relative;
  z-index: 5;
}

/* Photorealistic 3D Titanium Phone Wrapper */
.phone-shell-wrapper {
  width: 380px;
  max-width: 100%;
  background: #0E121B;
  border-radius: 46px;
  border: 10px solid #1C2230;
  box-shadow: 0 40px 90px -20px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(255, 255, 255, 0.12), inset 0 0 0 2px rgba(0, 0, 0, 0.8);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.phone-shell-wrapper:hover {
  transform: translateY(-8px);
  box-shadow: 0 50px 100px -20px rgba(2, 132, 199, 0.3), 0 0 0 1.5px rgba(0, 195, 253, 0.35);
}

.phone-top-notch {
  height: 32px;
  background: #0E121B;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 8px;
  position: relative;
}

.phone-dynamic-pill {
  width: 90px;
  height: 14px;
  background: #000000;
  border-radius: 999px;
  box-shadow: 0 0 2px rgba(255, 255, 255, 0.15);
}

.phone-screen-content {
  padding: 16px 18px 22px;
  font-family: var(--font-body);
  color: #F8FAFC;
  background: #090B10;
  min-height: 560px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Interactive In-Phone Screen Switcher Subnav */
.phone-subnav-strip {
  display: flex;
  gap: 6px;
  background: #141824;
  border: 1px solid #232A3B;
  border-radius: 12px;
  padding: 4px;
  margin-bottom: 16px;
  overflow-x: auto;
}

.phone-subnav-pill {
  flex: 1;
  text-align: center;
  padding: 6px 4px;
  border-radius: 8px;
  font-size: 10px;
  font-weight: 700;
  color: #94A3B8;
  background: transparent;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.phone-subnav-pill:hover {
  color: #FFFFFF;
}

.phone-subnav-pill.active {
  background: #252D40;
  color: #FFFFFF;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

/* In-Phone Screen Views */
.phone-screen-view {
  display: none;
  animation: fadeInPhone 0.3s ease forwards;
}

.phone-screen-view.active {
  display: block;
}

@keyframes fadeInPhone {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.phone-mock-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.phone-duty-strip {
  background: #141824;
  border: 1px solid #232A3B;
  border-radius: 12px;
  padding: 10px 12px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.phone-batch-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 12px;
  background: rgba(79, 70, 229, 0.2);
  color: #818CF8;
}

.phone-batch-card-mock {
  background: #141824;
  border: 1px solid #232A3B;
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 12px;
}

.phone-ai-spark-card {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.25), rgba(37, 99, 235, 0.18));
  border: 1px solid rgba(124, 58, 237, 0.4);
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 14px;
}

/* Security & Trust Pillars Grid */
.security-trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 64px;
  border-top: 1px solid #1E2433;
  padding-top: 48px;
}

.security-trust-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 24px;
  transition: all 0.3s ease;
}

.security-trust-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(2, 132, 199, 0.4);
  transform: translateY(-4px);
}

.security-trust-card h4 {
  font-size: 1.1rem;
  font-weight: 800;
  color: #FFFFFF;
  margin: 12px 0 8px;
}

.security-trust-card p {
  font-size: 0.88rem;
  color: #94A3B8;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 991px) {
  .horizontal-stage-card {
    flex: 0 0 340px;
  }
  .horizontal-track-scroll {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }
  .horizontal-stage-card {
    scroll-snap-align: start;
  }
}

