/* ==========================================================================
   MERI PAATHSHAALA — Modern Education Operating System
   Design System & Master Stylesheet (100% Mobile & Universal Device Responsive)
   ========================================================================== */

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

:root {
  /* Brand Core Palette */
  --navy-950: #06132b;
  --navy-900: #0b1f44;
  --navy-800: #102a5c;
  --navy-700: #183b7e;
  --navy-600: #234c9d;
  
  --blue-700: #1d4ed8;
  --blue-600: #2563eb;
  --blue-500: #3b82f6;
  --blue-400: #60a5fa;
  --blue-100: #dbeafe;
  --blue-50:  #eff6ff;
  
  --emerald-600: #059669;
  --emerald-500: #10b981;
  --emerald-50:  #ecfdf5;
  
  --amber-600: #d97706;
  --amber-500: #f59e0b;
  --amber-50:  #fffbeb;
  
  --purple-600: #7c3aed;
  --purple-500: #8b5cf6;
  --purple-50:  #f5f3ff;
  
  --teal-600: #0d9488;
  --teal-500: #14b8a6;
  --teal-50:  #f0fdfa;

  --rose-600: #e11d48;
  --rose-500: #f43f5e;
  --rose-50:  #fff1f2;

  /* Neutrals & Surfaces */
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50:  #f8fafc;
  --white:     #ffffff;

  /* Semantic Variables */
  --text-main: var(--navy-900);
  --text-muted: #526581;
  --text-light: #64748b;
  --bg-body: #f8fafc;
  --bg-card: #ffffff;
  --border-light: #e2e8f0;
  --border-subtle: rgba(37, 99, 235, 0.12);

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(11, 31, 68, 0.05);
  --shadow-md: 0 4px 16px -2px rgba(11, 31, 68, 0.08), 0 2px 4px -2px rgba(11, 31, 68, 0.04);
  --shadow-lg: 0 12px 32px -4px rgba(11, 31, 68, 0.1), 0 4px 12px -2px rgba(11, 31, 68, 0.05);
  --shadow-xl: 0 24px 60px -8px rgba(11, 31, 68, 0.14), 0 8px 20px -4px rgba(11, 31, 68, 0.06);
  --shadow-glow: 0 0 40px rgba(37, 99, 235, 0.18);

  /* Dimensions */
  --nav-height: 72px;
  --container-max: 1240px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.18s ease;
  --transition-normal: 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Reset & Global Overflow Prevention */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  color: var(--text-main);
  background-color: var(--bg-body);
  line-height: 1.65;
  min-height: 100vh;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: 16px; /* Essential: prevents iOS Safari zooming on focus */
  touch-action: manipulation;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.container-narrow {
  max-width: 960px;
}

section {
  padding: 100px 0;
  position: relative;
  width: 100%;
  overflow-x: hidden;
}

/* Responsive Table Wrapper */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 16px 0;
  border-radius: var(--radius-md);
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
  color: var(--navy-900);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.025em;
  word-break: break-word;
}

.h1-hero {
  font-size: clamp(2rem, 5.5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.035em;
}

.h2-section {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.h3-card {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.35;
}

.lead-p {
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  line-height: 1.75;
  color: var(--text-muted);
}

.body-p {
  font-size: 0.96rem;
  line-height: 1.68;
  color: var(--text-muted);
}

/* Eyebrow Label */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blue-600);
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.18);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
  max-width: 100%;
  flex-wrap: wrap;
}

.eyebrow-dark {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  color: #93c5fd;
}

.live-pulse {
  width: 7px;
  height: 7px;
  background-color: var(--emerald-500);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse-ring 2s infinite;
  flex-shrink: 0;
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 7px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Status Badges */
.badge-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.badge-available {
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
}

.badge-integration {
  background: #eff6ff;
  color: #2563eb;
  border: 1px solid #bfdbfe;
}

.badge-roadmap {
  background: #f5f3ff;
  color: #7c3aed;
  border: 1px solid #ddd6fe;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 13px 26px;
  border-radius: var(--radius-md);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
  user-select: none;
  min-height: 48px;
}

.btn-primary {
  background: var(--blue-600);
  color: var(--white);
  box-shadow: 0 4px 18px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
  background: var(--blue-700);
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(37, 99, 235, 0.42);
  color: var(--white);
}

.btn-secondary {
  background: var(--white);
  color: var(--navy-900);
  border-color: var(--slate-300);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  border-color: var(--blue-600);
  color: var(--blue-600);
  background: var(--blue-50);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: var(--blue-700);
  font-weight: 800;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.2);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.45);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
  min-height: 40px;
}

.btn-lg {
  padding: 16px 34px;
  font-size: 1.05rem;
  border-radius: 14px;
  min-height: 54px;
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(11, 31, 68, 0.06);
  transition: all var(--transition-normal);
}

.site-nav.scrolled {
  height: 64px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 28px rgba(11, 31, 68, 0.08);
  border-bottom-color: rgba(37, 99, 235, 0.12);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-brand-img {
  height: 44px;
  width: auto;
  object-fit: contain;
  transition: transform var(--transition-fast);
}

.nav-brand:hover .nav-brand-img {
  transform: scale(1.02);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-size: 0.91rem;
  font-weight: 600;
  color: var(--slate-700);
  transition: color var(--transition-fast);
  padding: 8px 2px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link:hover, .nav-link.active {
  color: var(--blue-600);
}

.nav-link-badge {
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
  background: #eff6ff;
  color: var(--blue-600);
  border: 1px solid #bfdbfe;
  padding: 1px 6px;
  border-radius: var(--radius-full);
}

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

.hamburger-btn {
  display: none;
  background: var(--slate-100);
  border: 1px solid var(--slate-200);
  border-radius: 8px;
  cursor: pointer;
  padding: 10px;
  color: var(--navy-900);
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

/* Mobile Nav Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  transform: translateX(105%);
  visibility: hidden;
  width: 88vw;
  max-width: 360px;
  height: 100vh;
  background: var(--white);
  z-index: 1100;
  box-shadow: -8px 0 36px rgba(0, 0, 0, 0.16);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s;
  display: flex;
  flex-direction: column;
  padding: 24px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-nav-drawer.open {
  transform: translateX(0);
  visibility: visible;
}

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 31, 68, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 1050;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

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

/* ==========================================================================
   HERO SECTION
   ========================================================================= */
.hero-section {
  padding-top: calc(var(--nav-height) + 40px);
  padding-bottom: 84px;
  background: radial-gradient(120% 90% at 50% 0%, #f0f6ff 0%, #f7faff 45%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

.hero-glow-blob {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 520px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, rgba(16, 185, 129, 0.03) 50%, transparent 70%);
  pointer-events: none;
  filter: blur(50px);
}

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

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-title {
  margin-bottom: 22px;
}

.hero-title .text-gradient {
  background: linear-gradient(135deg, var(--blue-600) 0%, #1e40af 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.12rem;
  color: var(--text-muted);
  line-height: 1.78;
  margin-bottom: 34px;
  max-width: 540px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 36px;
  width: 100%;
}

.hero-trust-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 18px;
  border-top: 1px solid var(--slate-200);
  width: 100%;
}

.trust-pillar {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--slate-700);
}

.trust-pillar-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #dbeafe;
  color: var(--blue-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 800;
  flex-shrink: 0;
}

/* Hero Interactive Dashboard Visual */
.hero-visual-wrapper {
  position: relative;
  width: 100%;
}

.dashboard-window {
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(11, 31, 68, 0.08);
  box-shadow: 0 32px 84px -12px rgba(11, 31, 68, 0.16), 0 0 0 1px rgba(37, 99, 235, 0.06);
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  width: 100%;
}

.dashboard-window:hover {
  transform: translateY(-4px);
}

.dw-header {
  background: var(--navy-900);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dw-dots {
  display: flex;
  align-items: center;
  gap: 7px;
}

.dw-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.dw-title {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dw-body {
  padding: 22px;
  background: #fbfdff;
}

/* Dashboard Nav Tabs - Smooth Swipeable */
.dw-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--slate-200);
  padding-bottom: 12px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.dw-tabs::-webkit-scrollbar {
  display: none;
}

.dw-tab {
  background: none;
  border: none;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--slate-500);
  padding: 8px 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
  flex-shrink: 0;
  min-height: 36px;
}

.dw-tab.active {
  background: #eff6ff;
  color: var(--blue-600);
}

/* Dashboard Stat Cards */
.dw-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

.dw-stat-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 14px;
  box-shadow: var(--shadow-sm);
}

.dw-stat-lbl {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--slate-500);
  margin-bottom: 4px;
}

.dw-stat-val {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--navy-900);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.dw-stat-badge {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--emerald-600);
  margin-top: 4px;
}

/* Dashboard Progress Row */
.dw-progress-row {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}

.dw-progress-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 12px 14px;
}

.dw-prog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.dw-prog-title {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--slate-700);
}

.dw-prog-val {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--blue-600);
}

.dw-prog-track {
  height: 8px;
  background: var(--slate-100);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.dw-prog-fill {
  height: 100%;
  border-radius: var(--radius-full);
  background: linear-gradient(90deg, var(--blue-600), var(--teal-500));
  transition: width 1s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Dashboard Live Feeds */
.dw-alert-box {
  background: #fff9f0;
  border: 1px solid #fed7aa;
  border-radius: var(--radius-md);
  padding: 12px 14px;
  margin-bottom: 14px;
}

.dw-alert-title {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--amber-600);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.dw-alert-item {
  font-size: 0.76rem;
  color: var(--slate-700);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 3px 0;
  word-break: break-word;
}

.dw-alert-dot {
  width: 6px;
  height: 6px;
  background: var(--amber-500);
  border-radius: 50%;
  flex-shrink: 0;
}

/* Floating Badges around Dashboard */
.hero-badges-wrapper {
  display: contents;
}

.floating-badge {
  position: absolute;
  background: var(--white);
  border: 1px solid rgba(11, 31, 68, 0.08);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  box-shadow: 0 16px 36px rgba(11, 31, 68, 0.12);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 10;
  animation: float-badge 6s ease-in-out infinite;
}

@keyframes float-badge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.fb-omr {
  top: -24px;
  right: -20px;
  border-left: 3px solid var(--purple-600);
}

.fb-face {
  bottom: 24px;
  left: -28px;
  animation-delay: -3s;
  border-left: 3px solid var(--emerald-500);
}

.fb-ai {
  bottom: -22px;
  right: 40px;
  animation-delay: -1.5s;
  border-left: 3px solid var(--blue-600);
}

.fb-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.fb-text h5 {
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--navy-900);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.fb-text p {
  font-size: 0.73rem;
  color: var(--slate-600);
}

/* ==========================================================================
   METRICS & IMPACT STRIP
   ========================================================================== */
.impact-strip {
  background: var(--navy-900);
  color: var(--white);
  padding: 44px 0;
  position: relative;
  z-index: 5;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.impact-item {
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  padding-left: 24px;
}

.impact-num {
  font-size: clamp(1.85rem, 3.2vw, 2.7rem);
  font-weight: 800;
  color: #60a5fa;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 6px;
}

.impact-lbl {
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
}

.impact-sub {
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 4px;
}

/* ==========================================================================
   PROBLEM / BEFORE VS AFTER
   ========================================================================== */
.section-problem {
  background: var(--navy-950);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.problem-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.14) 0%, transparent 70%);
  bottom: -200px;
  right: -200px;
  pointer-events: none;
}

.problem-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 60px;
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.comparison-card {
  border-radius: var(--radius-xl);
  padding: 40px;
  position: relative;
}

.card-before {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.card-after {
  background: linear-gradient(145deg, rgba(37, 99, 235, 0.15) 0%, rgba(16, 185, 129, 0.08) 100%);
  border: 1px solid rgba(37, 99, 235, 0.4);
  box-shadow: 0 16px 48px rgba(37, 99, 235, 0.15);
}

.comp-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
}

.comp-badge-before {
  background: rgba(239, 68, 68, 0.15);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.comp-badge-after {
  background: rgba(16, 185, 129, 0.2);
  color: #6ee7b7;
  border: 1px solid rgba(16, 185, 129, 0.4);
}

.comp-title {
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 12px;
}

.comp-desc {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 28px;
  line-height: 1.65;
}

.comp-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.comp-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
}

.comp-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 2px;
}

.comp-icon-cross {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
}

.comp-icon-check {
  background: rgba(16, 185, 129, 0.25);
  color: #10b981;
}

/* ==========================================================================
   PLATFORM ECOSYSTEM
   ========================================================================== */
.ecosystem-hub {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-lg);
  margin-top: 48px;
}

.eco-center-card {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  box-shadow: 0 16px 40px rgba(11, 31, 68, 0.2);
  margin-bottom: 40px;
  position: relative;
}

.eco-center-card::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 20px;
  background: var(--blue-600);
}

.eco-pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.eco-pillar-box {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 22px;
  transition: all var(--transition-fast);
}

.eco-pillar-box:hover {
  background: var(--white);
  border-color: var(--blue-500);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.eco-pillar-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 14px;
}

.eco-pillar-box h4 {
  font-size: 1rem;
  color: var(--navy-900);
  margin-bottom: 6px;
}

.eco-pillar-box p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   MAJOR DIFFERENTIATOR 1: FACE RECOGNITION ATTENDANCE
   ========================================================================== */
.section-face-rec {
  background: #fbfdff;
  border-top: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
}

.face-rec-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}

.scan-flow-steps {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 28px 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 8px;
}

.scan-step-pill {
  background: var(--white);
  border: 1px solid var(--slate-200);
  padding: 8px 14px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--navy-900);
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  flex-shrink: 0;
}

.scan-step-arrow {
  color: var(--blue-600);
  font-weight: 800;
  flex-shrink: 0;
}

/* Face Recognition Interactive Preview */
.face-sim-card {
  background: var(--navy-900);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(11, 31, 68, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white);
  position: relative;
  width: 100%;
}

.face-sim-viewfinder {
  height: 280px;
  background: linear-gradient(180deg, rgba(6, 19, 43, 0.8) 0%, rgba(11, 31, 68, 0.95) 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.scanner-laser {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #10b981, transparent);
  box-shadow: 0 0 16px #10b981;
  animation: scan-line 2.8s ease-in-out infinite alternate;
}

@keyframes scan-line {
  0% { top: 10%; }
  100% { top: 90%; }
}

.face-bounding-box {
  width: 140px;
  height: 160px;
  border: 2px dashed #10b981;
  border-radius: 16px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(16, 185, 129, 0.05);
}

.face-corner {
  position: absolute;
  width: 12px;
  height: 12px;
  border-color: #10b981;
}

.face-c-tl { top: -2px; left: -2px; border-top: 3px solid; border-left: 3px solid; }
.face-c-tr { top: -2px; right: -2px; border-top: 3px solid; border-right: 3px solid; }
.face-c-bl { bottom: -2px; left: -2px; border-bottom: 3px solid; border-left: 3px solid; }
.face-c-br { bottom: -2px; right: -2px; border-bottom: 3px solid; border-right: 3px solid; }

.face-sim-results {
  padding: 22px;
  background: rgba(255, 255, 255, 0.03);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* ==========================================================================
   MAJOR DIFFERENTIATOR 2: OMR EXAMINATION SYSTEM
   ========================================================================== */
.section-omr {
  background: linear-gradient(180deg, #ffffff 0%, #f4f8fd 100%);
  position: relative;
}

.omr-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 60px;
  align-items: center;
}

.omr-workflow-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 28px;
}

.omr-step-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 16px;
  transition: all var(--transition-fast);
}

.omr-step-card:hover {
  border-color: var(--blue-600);
  box-shadow: var(--shadow-sm);
}

.omr-step-num {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--blue-600);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.omr-step-card h5 {
  font-size: 0.92rem;
  color: var(--navy-900);
  margin-bottom: 4px;
}

.omr-step-card p {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* OMR Interactive Scanner Console */
.omr-console {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  width: 100%;
}

.omr-console-head {
  background: var(--slate-900);
  color: var(--white);
  padding: 16px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.omr-console-body {
  padding: 24px;
}

.omr-sheet-preview {
  background: #f8fafc;
  border: 2px dashed var(--slate-300);
  border-radius: var(--radius-md);
  padding: 18px;
  margin-bottom: 20px;
  position: relative;
}

.omr-bubble-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.76rem;
  overflow-x: auto;
  white-space: nowrap;
}

.bubble {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid var(--slate-400);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  color: var(--slate-600);
  flex-shrink: 0;
}

.bubble.filled {
  background: var(--slate-900);
  color: var(--white);
  border-color: var(--slate-900);
}

.bubble.correct {
  background: var(--emerald-600);
  color: var(--white);
  border-color: var(--emerald-600);
}

.bubble.incorrect {
  background: var(--rose-600);
  color: var(--white);
  border-color: var(--rose-600);
}

/* ==========================================================================
   ROLE-BASED WORKFLOWS
   ========================================================================== */
.section-roles {
  background: var(--white);
}

.role-tabs-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.role-tab-btn {
  background: var(--slate-100);
  border: 1.5px solid transparent;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--slate-700);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-fast);
  white-space: nowrap;
  flex-shrink: 0;
  min-height: 42px;
}

.role-tab-btn:hover {
  background: var(--slate-200);
  color: var(--navy-900);
}

.role-tab-btn.active {
  background: var(--blue-600);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.3);
}

.role-pane {
  display: none;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: center;
}

.role-pane.active {
  display: grid;
  animation: fadeIn 0.4s ease;
}

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

.role-perks-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 28px 0;
}

.role-perk-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.role-perk-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #eff6ff;
  color: var(--blue-600);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.role-device-mockup {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-xl);
  width: 100%;
}

/* ==========================================================================
   AI INTELLIGENCE LAYER
   ========================================================================== */
.section-ai {
  background: radial-gradient(120% 90% at 50% 0%, #0b1f44 0%, #071530 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.ai-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.ai-copilot-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow: hidden;
  width: 100%;
}

.copilot-header {
  padding: 16px 22px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.copilot-body {
  padding: 22px;
}

.copilot-query-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.9);
  padding: 8px 14px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  margin-right: 8px;
  margin-bottom: 8px;
  display: inline-block;
}

.copilot-query-btn:hover {
  background: rgba(37, 99, 235, 0.4);
  border-color: var(--blue-500);
}

.copilot-chat-bubble {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-top: 14px;
  font-size: 0.86rem;
  line-height: 1.68;
  word-break: break-word;
}

/* ==========================================================================
   ONE DAY WITH MERI PAATHSHAALA
   ========================================================================== */
.section-timeline {
  background: var(--slate-50);
}

.timeline-container {
  position: relative;
  max-width: 900px;
  margin: 48px auto 0;
}

.timeline-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 120px;
  width: 2px;
  background: var(--slate-300);
}

.timeline-entry {
  display: flex;
  align-items: flex-start;
  margin-bottom: 36px;
  position: relative;
}

.timeline-time {
  width: 100px;
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--blue-600);
  text-align: right;
  padding-right: 24px;
  flex-shrink: 0;
}

.timeline-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--blue-600);
  position: absolute;
  left: 114px;
  top: 4px;
  z-index: 2;
}

.timeline-card {
  margin-left: 36px;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  flex: 1;
}

/* ==========================================================================
   INSTITUTION TYPES (SOLUTIONS)
   ========================================================================== */
.section-solutions {
  background: var(--white);
}

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

.solution-card {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.solution-card:hover {
  background: var(--white);
  border-color: var(--blue-500);
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.solution-card h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.solution-card p {
  font-size: 0.86rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  flex: 1;
}

/* ==========================================================================
   PRICING / QUOTE ESTIMATOR
   ========================================================================== */
.section-pricing {
  background: #fbfdff;
}

.pricing-calc-box {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 44px;
  box-shadow: var(--shadow-lg);
  max-width: 980px;
  margin: 40px auto 0;
}

.calc-slider-wrap {
  margin: 28px 0;
}

.calc-slider {
  width: 100%;
  height: 10px;
  background: var(--slate-200);
  border-radius: var(--radius-full);
  outline: none;
  -webkit-appearance: none;
}

.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--blue-600);
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(37, 99, 235, 0.4);
}

.calc-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  background: var(--slate-50);
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--slate-200);
  margin: 24px 0;
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.section-faq {
  background: var(--white);
}

.faq-list {
  max-width: 860px;
  margin: 48px auto 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-item.active {
  border-color: var(--blue-500);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: var(--white);
  border: none;
  padding: 20px 24px;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--navy-900);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 52px;
}

.faq-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--slate-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--slate-600);
  transition: transform var(--transition-fast);
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  background: var(--blue-50);
  color: var(--blue-600);
}

.faq-answer {
  display: none;
  padding: 0 24px 22px;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
  border-top: 1px solid var(--slate-100);
}

.faq-item.active .faq-answer {
  display: block;
}

/* ==========================================================================
   FINAL CALL TO ACTION
   ========================================================================== */
.section-final-cta {
  background: linear-gradient(135deg, var(--navy-900) 0%, #153c82 100%);
  color: var(--white);
  text-align: center;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.final-cta-blob {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.3) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.final-cta-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  margin: 0 auto;
}

.final-cta-title {
  color: var(--white);
  margin-bottom: 18px;
}

.final-cta-desc {
  font-size: 1.12rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 36px;
  line-height: 1.75;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.65);
  padding: 72px 0 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.75;
  margin: 18px 0;
  max-width: 340px;
  color: rgba(255, 255, 255, 0.6);
}

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
  margin-bottom: 20px;
}

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

.footer-links a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65);
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  font-size: 0.84rem;
  flex-wrap: wrap;
  gap: 16px;
}

/* ==========================================================================
   INTERACTIVE DEMO MODAL
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6, 19, 43, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

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

.modal-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  max-width: 580px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 36px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.3);
  position: relative;
  transform: translateY(20px);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.open .modal-card {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  background: var(--slate-100);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  cursor: pointer;
  color: var(--slate-600);
}

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

.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 6px;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-md);
  font-size: 16px !important; /* Critical for iOS Safari */
  color: var(--navy-900);
  background: var(--white);
  transition: border-color var(--transition-fast);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--blue-600);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* ==========================================================================
   STUDENT LIFECYCLE TRACK (Swipeable on touch & mobile)
   ========================================================================== */
.lifecycle-track {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 16px 8px;
  scrollbar-width: thin;
}

.lifecycle-track::-webkit-scrollbar {
  height: 6px;
}

.lifecycle-track::-webkit-scrollbar-track {
  background: var(--slate-100);
  border-radius: 4px;
}

.lifecycle-track::-webkit-scrollbar-thumb {
  background: var(--slate-300);
  border-radius: 4px;
}

.lifecycle-step-chip {
  background: var(--white);
  border: 1.5px solid var(--slate-200);
  padding: 10px 18px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--navy-900);
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  transition: all var(--transition-fast);
}

.lifecycle-step-chip:hover {
  border-color: var(--blue-500);
  color: var(--blue-600);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* ==========================================================================
   FEATURE SHOWCASE CARDS (COMMUNICATION, ATTENDANCE, ACADEMICS, TRANSPORT)
   ========================================================================== */
.category-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 24px;
}

.category-heading::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 4px;
  border-radius: 2px;
}

.cat-communication { color: #7c3aed; }
.cat-communication::before { background: #7c3aed; }

.cat-attendance { color: #0284c7; }
.cat-attendance::before { background: #0284c7; }

.cat-academics { color: #ea580c; }
.cat-academics::before { background: #ea580c; }

.cat-transport { color: #2563eb; }
.cat-transport::before { background: #2563eb; }

.feature-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-bottom: 56px;
}

.feature-pill-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 20px;
  padding: 32px 28px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
  position: relative;
}

.feature-pill-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(11, 31, 68, 0.08);
  border-color: var(--blue-300);
}

.feature-pill-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
  background: var(--slate-100);
}

.feature-pill-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy-900);
  margin-bottom: 12px;
  line-height: 1.35;
}

.feature-pill-desc {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 24px;
  flex-grow: 1;
}

.feature-tags-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.feature-tag-chip {
  background: var(--slate-100);
  color: var(--slate-700);
  border-radius: var(--radius-full);
  padding: 6px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  border: 1px solid var(--slate-200);
}

/* ==========================================================================
   LIVE BUS TRACKER & FLEET GPS SIMULATOR
   ========================================================================== */
.bus-tracker-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}

.bus-tracker-header {
  padding: 18px 24px;
  background: var(--navy-900);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.bus-map-canvas {
  height: 320px;
  background: radial-gradient(circle at 50% 50%, #1e293b 0%, #0f172a 100%);
  position: relative;
  overflow: hidden;
}

.bus-route-line {
  position: absolute;
  top: 50%;
  left: 8%;
  right: 8%;
  height: 6px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 3px;
  transform: translateY(-50%);
}

.bus-route-progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: linear-gradient(90deg, #10b981 0%, #2563eb 100%);
  border-radius: 3px;
  width: 45%;
  transition: width 0.8s ease;
}

.bus-stop-node {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  z-index: 2;
}

.bus-stop-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--slate-700);
  border: 3px solid #fff;
  transition: all 0.3s ease;
}

.bus-stop-node.passed .bus-stop-dot {
  background: var(--emerald-500);
  border-color: #ecfdf5;
}

.bus-stop-node.active .bus-stop-dot {
  background: var(--blue-500);
  box-shadow: 0 0 0 6px rgba(37, 99, 235, 0.35);
  transform: scale(1.3);
}

.bus-stop-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 10px;
  white-space: nowrap;
}

.bus-moving-marker {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -85%);
  z-index: 5;
  transition: left 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.bus-marker-icon {
  background: #2563eb;
  color: #fff;
  padding: 8px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5);
  border: 2px solid #fff;
}

.bus-telemetry-panel {
  padding: 24px;
  background: var(--white);
  border-top: 1px solid var(--slate-200);
}

.bus-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

.bus-stat-box {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 14px;
  text-align: center;
}

.bus-stat-num {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy-900);
}

.bus-stat-desc {
  font-size: 0.75rem;
  color: var(--slate-500);
  text-transform: uppercase;
  margin-top: 2px;
}

/* ==========================================================================
   RESPONSIVE SYSTEM (1024px, 768px, 480px, 360px)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
  .hero-content, .hero-visual-wrapper {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
  .hero-content {
    align-items: center;
    text-align: center;
  }
  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-cta-group {
    justify-content: center;
  }
  .hero-trust-bar {
    justify-content: center;
  }
  .impact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .comparison-grid {
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
  .eco-pillars-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .face-rec-grid, .omr-grid, .ai-grid {
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
  .role-pane {
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
  .solutions-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 64px;
  }
  section {
    padding: 68px 0;
  }
  .container {
    padding-left: 18px;
    padding-right: 18px;
  }
  
  /* Navbar */
  .nav-menu {
    display: none;
  }
  .hamburger-btn {
    display: flex;
  }
  .nav-brand-img {
    height: 36px;
  }
  .site-nav .btn-sm {
    padding: 7px 12px;
    font-size: 0.78rem;
    min-height: 38px;
  }

  /* ========================================================================
     HERO SECTION — MOBILE OPTIMIZED (ZERO HORIZONTAL OVERFLOW)
     ======================================================================== */
  .hero-section {
    padding-top: calc(var(--nav-height) + 16px);
    padding-bottom: 44px;
    width: 100% !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
  }

  .hero-glow-blob {
    width: 100vw !important;
    height: 240px !important;
    max-width: 100% !important;
  }

  .hero-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 28px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .hero-content {
    align-items: center !important;
    text-align: center !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    padding: 0 !important;
  }

  .eyebrow {
    font-size: clamp(0.68rem, 2.5vw, 0.74rem) !important;
    padding: 5px 12px !important;
    margin-bottom: 14px !important;
    max-width: 100% !important;
    white-space: normal !important;
    text-align: center !important;
    box-sizing: border-box !important;
  }

  .hero-title {
    font-size: clamp(1.75rem, 6.2vw, 2.15rem) !important;
    line-height: 1.18 !important;
    letter-spacing: -0.035em !important;
    margin-bottom: 14px !important;
    text-align: center !important;
    width: 100% !important;
    max-width: 100% !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    box-sizing: border-box !important;
  }

  .hero-desc {
    font-size: 0.92rem !important;
    line-height: 1.62 !important;
    margin-bottom: 22px !important;
    text-align: center !important;
    max-width: 100% !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 0 4px !important;
    word-break: break-word !important;
    box-sizing: border-box !important;
  }

  .hero-cta-group {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 10px !important;
    margin-bottom: 22px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .hero-cta-group .btn {
    width: 100% !important;
    max-width: 320px !important;
    min-height: 48px !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    justify-content: center !important;
    white-space: normal !important;
    text-align: center !important;
    box-sizing: border-box !important;
  }

  /* Hero Trust Bar: Clean 2x2 grid centered on mobile */
  .hero-trust-bar {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px 12px !important;
    width: 100% !important;
    max-width: 340px !important;
    min-width: 0 !important;
    margin: 0 auto 24px !important;
    padding-top: 16px !important;
    border-top: 1px solid var(--slate-200) !important;
    justify-content: stretch !important;
    box-sizing: border-box !important;
  }

  .trust-pillar {
    font-size: 0.74rem !important;
    font-weight: 700 !important;
    color: var(--navy-900) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 6px !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .trust-pillar span:last-child {
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  .trust-pillar-icon {
    width: 18px !important;
    height: 18px !important;
    font-size: 0.65rem !important;
    flex-shrink: 0 !important;
  }

  /* Hero Visual Mockup: Native Compact Mobile Cockpit */
  .hero-visual-wrapper {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-top: 4px !important;
    box-sizing: border-box !important;
  }

  .dashboard-window {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    border-radius: 16px !important;
    border: 1px solid rgba(11, 31, 68, 0.1) !important;
    box-shadow: 0 16px 40px -8px rgba(11, 31, 68, 0.12) !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  .dw-header {
    padding: 10px 14px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .dw-dots {
    gap: 5px !important;
    flex-shrink: 0 !important;
  }

  .dw-dot {
    width: 8px !important;
    height: 8px !important;
  }

  .dw-title {
    font-size: 0.72rem !important;
    gap: 6px !important;
    min-width: 0 !important;
    flex: 1 1 auto !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  .dw-body {
    padding: 14px 12px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  /* Segmented control tabs */
  .dw-tabs {
    display: flex !important;
    gap: 4px !important;
    background: var(--slate-100) !important;
    padding: 4px !important;
    border-radius: 8px !important;
    border-bottom: none !important;
    margin-bottom: 12px !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .dw-tabs::-webkit-scrollbar {
    display: none !important;
  }

  .dw-tab {
    flex: 1 1 auto !important;
    padding: 6px 8px !important;
    font-size: 0.72rem !important;
    border-radius: 6px !important;
    min-height: 30px !important;
    text-align: center !important;
    flex-shrink: 0 !important;
  }

  .dw-tab.active {
    background: #fff !important;
    color: var(--blue-600) !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08) !important;
  }

  /* Compact 3-Column Key Metrics Grid */
  .dw-stat-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 6px !important;
    margin-bottom: 10px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .dw-stat-card {
    padding: 8px 6px !important;
    text-align: center !important;
    border-radius: 8px !important;
    min-width: 0 !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  .dw-stat-lbl {
    font-size: 0.58rem !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    margin-bottom: 2px !important;
  }

  .dw-stat-val {
    font-size: 1.18rem !important;
    font-weight: 800 !important;
    letter-spacing: -0.02em !important;
    margin: 2px 0 !important;
  }

  .dw-stat-badge {
    font-size: 0.56rem !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    margin-top: 2px !important;
  }

  /* Compact Dual-Bar Progress Row */
  .dw-progress-row {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 6px !important;
    margin-bottom: 10px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .dw-progress-card {
    padding: 8px 10px !important;
    border-radius: 8px !important;
    min-width: 0 !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  .dw-prog-header {
    margin-bottom: 6px !important;
  }

  .dw-prog-title {
    font-size: 0.65rem !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .dw-prog-val {
    font-size: 0.72rem !important;
  }

  .dw-prog-track {
    height: 6px !important;
  }

  /* Streamlined Live Alert Box */
  .dw-alert-box {
    padding: 8px 10px !important;
    border-radius: 8px !important;
    margin-bottom: 10px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .dw-alert-title {
    font-size: 0.65rem !important;
    margin-bottom: 4px !important;
  }

  .dw-alert-item {
    font-size: 0.7rem !important;
    padding: 2px 0 !important;
    line-height: 1.35 !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .dw-alert-item:nth-child(n+3) {
    display: none !important;
  }

  .dw-recent-stream {
    display: none !important;
  }

  /* Mobile Live Highlights Strip (Below Dashboard) */
  .hero-badges-wrapper {
    display: flex !important;
    gap: 10px !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    padding: 12px 2px 4px !important;
    margin-top: 10px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .hero-badges-wrapper::-webkit-scrollbar {
    display: none !important;
  }

  .hero-badges-wrapper .floating-badge {
    position: static !important;
    flex: 0 0 220px !important;
    max-width: 240px !important;
    margin: 0 !important;
    padding: 9px 12px !important;
    border-radius: 12px !important;
    background: var(--white) !important;
    border: 1px solid var(--slate-200) !important;
    box-shadow: 0 4px 14px rgba(11, 31, 68, 0.05) !important;
    animation: none !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    box-sizing: border-box !important;
    min-width: 0 !important;
  }

  .hero-badges-wrapper .fb-icon {
    width: 32px !important;
    height: 32px !important;
    border-radius: 8px !important;
    font-size: 1rem !important;
    flex-shrink: 0 !important;
  }

  .hero-badges-wrapper .fb-text h5 {
    font-size: 0.76rem !important;
    font-weight: 800 !important;
    color: var(--navy-900) !important;
    margin-bottom: 2px !important;
    line-height: 1.2 !important;
  }

  .hero-badges-wrapper .fb-text p {
    font-size: 0.66rem !important;
    color: var(--slate-500) !important;
    line-height: 1.3 !important;
  }

  /* Section-wide Grid & Step Flow Constraints */
  .face-rec-grid, .omr-grid, .ai-grid, .role-pane {
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .scan-flow-steps, .omr-workflow-tabs {
    max-width: 100% !important;
    width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  /* Decorative Glow Blobs on Mobile */
  .problem-glow,
  .final-cta-blob {
    width: 100vw !important;
    max-width: 100vw !important;
    right: 0 !important;
    left: auto !important;
    transform: none !important;
  }

  /* Impact Strip */
  .impact-strip {
    padding: 32px 0;
    width: 100% !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
  }
  .impact-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 20px;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }
  .impact-item {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-left: 0;
    padding-top: 16px;
    min-width: 0 !important;
  }
  .impact-item:first-child {
    border-top: none;
    padding-top: 0;
  }

  /* Comparison Card */
  .comparison-card {
    padding: 24px 20px;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }
  .comparison-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  /* Ecosystem */
  .ecosystem-hub {
    padding: 24px 18px;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }
  .eco-pillars-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  /* Role Switcher Bar - Horizontal Touch Swipe */
  .role-tabs-bar {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    justify-content: flex-start;
    padding-bottom: 8px;
    margin-left: -18px;
    margin-right: -18px;
    padding-left: 18px;
    padding-right: 18px;
    max-width: 100vw;
  }
  .role-tabs-bar::-webkit-scrollbar {
    display: none;
  }

  /* Solutions Grid */
  .solutions-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  /* Pricing Box */
  .pricing-calc-box {
    padding: 24px 18px;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }
  .pricing-calc-box .dw-stat-grid,
  .calc-metrics-grid,
  .pricing-calc-box div[style*="grid-template-columns:repeat(3, 1fr)"] {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 12px;
  }

  /* Bus Tracker on Mobile */
  .bus-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  /* One Day Timeline on Mobile */
  .timeline-line {
    left: 14px;
  }
  .timeline-time {
    width: auto;
    text-align: left;
    margin-bottom: 4px;
    padding-right: 0;
    font-size: 0.82rem;
  }
  .timeline-dot {
    left: 8px;
  }
  .timeline-entry {
    flex-direction: column;
    padding-left: 32px;
    margin-bottom: 24px;
  }
  .timeline-card {
    margin-left: 0;
    width: 100%;
    padding: 16px;
  }

  /* Forms & Modals */
  .form-row {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  .modal-card {
    padding: 24px 18px;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  /* Footer */
  .footer-top {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 32px;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .hero-section {
    padding-top: calc(var(--nav-height) + 12px);
    padding-bottom: 36px;
  }
  .h1-hero,
  .hero-title {
    font-size: 1.82rem !important;
    line-height: 1.18 !important;
  }
  .hero-desc {
    font-size: 0.88rem !important;
    line-height: 1.55 !important;
    margin-bottom: 18px !important;
  }
  .hero-trust-bar {
    max-width: 100% !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 6px !important;
    margin-bottom: 22px !important;
  }
  .trust-pillar {
    font-size: 0.74rem !important;
  }
  .trust-pillar span:last-child {
    white-space: normal !important;
  }
  .dw-body {
    padding: 12px 10px !important;
  }
  .dw-stat-val {
    font-size: 1.05rem !important;
  }
  .dw-stat-lbl {
    font-size: 0.54rem !important;
  }
  .dw-progress-row {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 6px !important;
  }
  .h2-section {
    font-size: 1.55rem;
  }
  .lead-p {
    font-size: 0.92rem;
  }
  .omr-workflow-tabs {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  .omr-bubble-row {
    gap: 4px;
    font-size: 0.7rem;
  }
  .bubble {
    width: 16px;
    height: 16px;
    font-size: 0.6rem;
  }
  .dw-title {
    font-size: 0.68rem;
  }
  .bus-stat-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  .bus-map-canvas {
    height: 250px;
  }
  .bus-stop-label {
    display: none;
  }
}

@media (max-width: 360px) {
  .container {
    padding-left: 12px;
    padding-right: 12px;
  }
  .btn {
    padding: 10px 14px;
    font-size: 0.85rem;
  }
  .h1-hero,
  .hero-title {
    font-size: 1.62rem !important;
    line-height: 1.2 !important;
  }
  .hero-trust-bar {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 5px !important;
  }
  .h2-section {
    font-size: 1.4rem;
  }
  .dw-stat-val {
    font-size: 0.95rem !important;
  }
  .dw-stat-lbl {
    font-size: 0.5rem !important;
  }
}
