/* ═══════════════════════════════════════════════════════════════
   MSM AVENTRA — Master Stylesheet
   Design System: Dark-first, Red/Blue accent, Futuristic
═══════════════════════════════════════════════════════════════ */

/* ─── RESET & BASE ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --red: #e51c23;
  --red-light: #ff4757;
  --red-dark: #b71c1c;
  --blue: #0ea5e9;
  --blue-light: #38bdf8;
  --blue-dark: #0284c7;
  --gold: #f59e0b;
  --bg-dark: #080a0f;
  --bg-card: #0f1219;
  --bg-card2: #141824;
  --text: #f0f4ff;
  --text-muted: #8892a4;
  --border: rgba(255,255,255,0.07);
  --border-glow: rgba(229,28,35,0.3);
  --shadow-red: 0 0 40px rgba(229,28,35,0.15);
  --shadow-blue: 0 0 40px rgba(14,165,233,0.15);
  --radius: 16px;
  --radius-sm: 8px;
  --radius-lg: 24px;
  --font-main: 'Inter', system-ui, sans-serif;
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --nav-h: 72px;
  --transition: cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-main);
  background: var(--bg-dark);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }

/* ─── SCROLLBAR ─────────────────────────────────────────────── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: var(--red); border-radius: 99px; }

/* ─── UTILITIES ─────────────────────────────────────────────── */
.gradient-text {
  background: linear-gradient(135deg, var(--red-light) 0%, var(--red) 40%, var(--blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-gold {
  background: linear-gradient(135deg, #f59e0b, #fbbf24, #fcd34d);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--red-light);
  background: rgba(229,28,35,0.1);
  border: 1px solid rgba(229,28,35,0.2);
  padding: 6px 14px;
  border-radius: 99px;
  margin-bottom: 20px;
}

.section-tag.light { color: rgba(255,255,255,0.9); background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.15); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-title.light { color: #fff; }

.section-subtitle {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 650px;
  margin-bottom: 56px;
  line-height: 1.7;
}

section { padding: 100px 0; }

/* ─── NAVBAR ─────────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  transition: background 0.4s var(--transition), border-color 0.4s;
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background: rgba(8,10,15,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-color: var(--border);
  box-shadow: 0 4px 30px rgba(0,0,0,0.4);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
}

.logo-img { height: 38px; width: auto; object-fit: contain; }
.logo-fallback {
  display: flex;
  align-items: center;
  gap: 4px;
}
.logo-fallback strong { color: var(--red); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  justify-content: center;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover {
  color: var(--text);
  background: rgba(255,255,255,0.06);
}

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

.btn-nav-demo {
  background: var(--red);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 99px;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}

.btn-nav-demo:hover {
  background: var(--red-light);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(229,28,35,0.35);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 99px;
  transition: all 0.3s;
}

/* ─── HERO ───────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-h);
}

#heroCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 15% 50%, rgba(229,28,35,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 60% 70% at 85% 50%, rgba(14,165,233,0.1) 0%, transparent 70%),
    linear-gradient(180deg, transparent 60%, var(--bg-dark) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  padding: 60px 0 80px 64px;
  flex: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--red-light);
  background: rgba(229,28,35,0.08);
  border: 1px solid rgba(229,28,35,0.25);
  padding: 8px 18px;
  border-radius: 99px;
  margin-bottom: 28px;
  animation: fadeSlideUp 0.8s var(--transition) both;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(38px, 5.5vw, 72px);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 24px;
  animation: fadeSlideUp 0.8s 0.1s var(--transition) both;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 40px;
  animation: fadeSlideUp 0.8s 0.2s var(--transition) both;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 60px;
  animation: fadeSlideUp 0.8s 0.3s var(--transition) both;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 99px;
  transition: all 0.3s var(--transition);
  box-shadow: 0 4px 24px rgba(229,28,35,0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(229,28,35,0.45);
  background: linear-gradient(135deg, var(--red-light), var(--red));
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
  padding: 14px 28px;
  border-radius: 99px;
  border: 1px solid var(--border);
  transition: all 0.3s var(--transition);
  backdrop-filter: blur(10px);
}

.btn-ghost:hover {
  border-color: rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.06);
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  animation: fadeSlideUp 0.8s 0.4s var(--transition) both;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  padding: 0 28px;
}

.hero-stat:first-child { padding-left: 0; }

.hero-stat .stat-num {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  color: var(--text);
}

.hero-stat span:not(.stat-label) {
  font-size: 24px;
  font-weight: 700;
  color: var(--red-light);
}

.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
  font-weight: 500;
}

.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
  flex-shrink: 0;
}

/* Hero Visual */
.hero-visual {
  position: absolute;
  right: 64px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  animation: fadeSlideUp 1s 0.5s var(--transition) both;
}

.platform-globe {
  width: 400px;
  height: 400px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.platform-cta-bar p {
    padding: 20px 0px;
}

.modules-cta {
    padding-top: 20px;
}

.globe-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid;
  animation: rotateRing linear infinite;
}

.globe-ring-1 {
  width: 340px; height: 340px;
  border-color: rgba(229,28,35,0.2);
  animation-duration: 12s;
}

.globe-ring-2 {
  width: 260px; height: 260px;
  border-color: rgba(14,165,233,0.15);
  animation-duration: 8s;
  animation-direction: reverse;
  border-style: dashed;
}

.globe-ring-3 {
  width: 180px; height: 180px;
  border-color: rgba(229,28,35,0.3);
  animation-duration: 5s;
}

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

.globe-core {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, rgba(229,28,35,0.2), rgba(14,165,233,0.2));
  border: 2px solid rgba(229,28,35,0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  color: var(--red-light);
  backdrop-filter: blur(20px);
  box-shadow: 0 0 60px rgba(229,28,35,0.2), inset 0 0 30px rgba(14,165,233,0.1);
  z-index: 2;
  animation: pulseCoreGlow 3s ease-in-out infinite;
}

@keyframes pulseCoreGlow {
  0%, 100% { box-shadow: 0 0 60px rgba(229,28,35,0.2), inset 0 0 30px rgba(14,165,233,0.1); }
  50% { box-shadow: 0 0 100px rgba(229,28,35,0.4), inset 0 0 50px rgba(14,165,233,0.2); }
}

.globe-orbiter {
  position: absolute;
  width: 44px;
  height: 44px;
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--blue-light);
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  animation: floatOrbiter ease-in-out infinite;
}

.orb-1 { top: 20px; left: 50%; transform: translateX(-50%); animation-duration: 4s; }
.orb-2 { right: 20px; top: 50%; transform: translateY(-50%); animation-duration: 5s; animation-delay: -1s; }
.orb-3 { bottom: 20px; left: 50%; transform: translateX(-50%); animation-duration: 4.5s; animation-delay: -2s; }
.orb-4 { left: 20px; top: 50%; transform: translateY(-50%); animation-duration: 3.5s; animation-delay: -0.5s; color: var(--red-light); }

@keyframes floatOrbiter {
  0%, 100% { transform: translateX(-50%) scale(1); }
  50% { transform: translateX(-50%) scale(1.1) translateY(-4px); }
}

/* Fix for non-centered orbiters */
.orb-2, .orb-4 {
  animation-name: floatOrbiterV;
}
@keyframes floatOrbiterV {
  0%, 100% { transform: translateY(-50%) scale(1); }
  50% { transform: translateY(-50%) scale(1.1) translateX(-4px); }
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
  z-index: 2;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, var(--red), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

/* ─── TRUST BAR ─────────────────────────────────────────────── */
.trust-bar {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
}

.trust-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.trust-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.trust-stats-row {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  flex: 1;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
}

.trust-item i {
  color: var(--red-light);
  font-size: 14px;
}

/* ─── WHAT IS ─────────────────────────────────────────────────── */
.what-is { background: var(--bg-dark); }

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

.platform-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  transition: all 0.3s var(--transition);
  position: relative;
  overflow: hidden;
}

.platform-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--red), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.platform-card:hover {
  border-color: rgba(229,28,35,0.2);
  transform: translateY(-4px);
  box-shadow: var(--shadow-red);
}

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

.platform-card--highlight {
  background: linear-gradient(135deg, rgba(229,28,35,0.08), rgba(14,165,233,0.05));
  border-color: rgba(229,28,35,0.2);
  grid-row: span 1;
}

.platform-card-icon {
  width: 48px;
  height: 48px;
  background: rgba(229,28,35,0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--red-light);
  margin-bottom: 20px;
}

.platform-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
  font-family: var(--font-display);
}

.platform-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.platform-card-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--blue-light);
  background: rgba(14,165,233,0.1);
  padding: 4px 10px;
  border-radius: 99px;
  margin-top: 16px;
}

/* ─── MODULES ─────────────────────────────────────────────────── */
.modules-section {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.modules-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  background: var(--bg-dark);
  padding: 8px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.module-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  transition: all 0.25s var(--transition);
  cursor: pointer;
  white-space: nowrap;
}

.module-tab:hover {
  color: var(--text);
  background: rgba(255,255,255,0.04);
}

.module-tab.active {
  color: #fff;
  background: var(--red);
  box-shadow: 0 4px 16px rgba(229,28,35,0.4);
}

.module-panels { position: relative; }

.module-panel {
  display: none;
  animation: fadeIn 0.4s var(--transition);
}

.module-panel.active { display: block; }

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

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

.module-info { padding-right: 20px; }

.module-icon-large {
  width: 64px;
  height: 64px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 24px;
}

.crm-icon { background: rgba(229,28,35,0.12); color: var(--red-light); }
.sis-icon { background: rgba(14,165,233,0.12); color: var(--blue-light); }
.lms-icon { background: rgba(245,158,11,0.12); color: var(--gold); }
.erp-icon { background: rgba(34,197,94,0.12); color: #4ade80; }
.analytics-icon { background: rgba(168,85,247,0.12); color: #c084fc; }
.mobile-icon { background: rgba(14,165,233,0.12); color: var(--blue-light); }
.ai-icon { background: rgba(229,28,35,0.12); color: var(--red-light); }
.portal-icon { background: rgba(245,158,11,0.12); color: var(--gold); }

.module-info h3 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 14px;
}

.ai-cap-item i {
    color: #b71c1c;
}

.ai-capabilities {
    display: flex;
    justify-content: space-around;
    gap: 30px;
    padding-bottom: 30px;
}

.ai-engine-visual {
    display: none;
}

.steps-grid {
    display: flex;
}

.step-icon-wrap {
    padding: 20px;
    border-radius: 10px;
}
.step-item h4 {
    padding-top: 10px;
}

.module-info > p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 28px;
}

.module-features-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.module-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--text);
  line-height: 1.5;
}

.module-features-list li i {
  color: var(--red-light);
  font-size: 12px;
  margin-top: 3px;
  flex-shrink: 0;
}

.btn-module {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 99px;
  transition: all 0.3s;
}

.btn-module:hover {
  background: var(--red-light);
  transform: translateX(4px);
  box-shadow: 0 8px 24px rgba(229,28,35,0.35);
}

/* Module Mockups */
.module-mockup {
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.mockup-header {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid var(--border);
}

.mockup-header span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.mockup-header span:nth-child(1) { background: #ff5f56; }
.mockup-header span:nth-child(2) { background: #ffbd2e; }
.mockup-header span:nth-child(3) { background: #27c93f; }

.mockup-content { padding: 20px; }

/* CRM Mockup */
.mock-stat-row { display: flex; gap: 12px; margin-bottom: 20px; }
.mock-stat { flex: 1; background: rgba(255,255,255,0.04); padding: 12px; border-radius: 8px; text-align: center; }
.mock-num { font-family: var(--font-display); font-size: 20px; font-weight: 700; color: var(--red-light); }
.mock-label { font-size: 11px; color: var(--text-muted); margin-top: 3px; }

.mock-pipeline { margin-bottom: 20px; }
.mock-pipeline-label { font-size: 12px; color: var(--text-muted); margin-bottom: 10px; }
.mock-pipeline-bar { height: 8px; background: rgba(255,255,255,0.05); border-radius: 99px; margin-bottom: 8px; overflow: hidden; }
.mock-pipeline-fill { height: 100%; background: linear-gradient(90deg, var(--red), var(--red-light)); border-radius: 99px; }
.mock-pipeline-fill.secondary { background: linear-gradient(90deg, var(--blue), var(--blue-light)); }
.mock-pipeline-fill.tertiary { background: linear-gradient(90deg, var(--gold), #fbbf24); }

.mock-activity { display: flex; flex-direction: column; gap: 8px; }
.mock-activity-item { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--text-muted); }
.mock-activity-item i { color: var(--red-light); font-size: 10px; }

/* SIS Mockup */
.mock-student-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: rgba(255,255,255,0.04);
  border-radius: 10px;
  margin-bottom: 16px;
}
.mock-avatar {
  width: 50px; height: 50px;
  background: linear-gradient(135deg, var(--red), var(--blue));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.mock-name { font-weight: 700; font-size: 15px; }
.mock-id { font-size: 11px; color: var(--text-muted); margin: 2px 0; }
.mock-program { font-size: 12px; color: var(--blue-light); }

.mock-grades { display: flex; flex-direction: column; gap: 8px; }
.mock-grade-item { display: flex; justify-content: space-between; align-items: center; font-size: 13px; padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,0.04); }
.grade-a { color: #4ade80; font-weight: 700; }
.grade-b { color: var(--gold); font-weight: 700; }

/* LMS Mockup */
.mock-course-card { background: rgba(255,255,255,0.04); padding: 14px; border-radius: 10px; display: flex; gap: 14px; margin-bottom: 16px; }
.mock-course-thumb { width: 48px; height: 48px; background: linear-gradient(135deg, rgba(229,28,35,0.2), rgba(14,165,233,0.2)); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.mock-course-title { font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.mock-progress-bar { height: 6px; background: rgba(255,255,255,0.08); border-radius: 99px; margin-bottom: 6px; overflow: hidden; }
.mock-progress-bar div { height: 100%; background: linear-gradient(90deg, var(--red), var(--red-light)); border-radius: 99px; }
.mock-course-meta { font-size: 11px; color: var(--text-muted); }

.mock-live-session { display: flex; align-items: center; gap: 10px; font-size: 12px; padding: 10px 14px; background: rgba(229,28,35,0.08); border: 1px solid rgba(229,28,35,0.2); border-radius: 8px; margin-bottom: 14px; }
.live-dot { width: 8px; height: 8px; background: #ff4757; border-radius: 50%; animation: blink 1.5s ease-in-out infinite; flex-shrink: 0; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
.live-count { margin-left: auto; color: var(--text-muted); }

.mock-achievements { display: flex; gap: 8px; }
.achievement-badge { display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 600; padding: 6px 12px; background: rgba(245,158,11,0.1); border: 1px solid rgba(245,158,11,0.2); border-radius: 99px; color: var(--gold); }

/* ERP Mockup */
.mock-finance-row { display: flex; gap: 12px; margin-bottom: 20px; }
.mock-finance-item { flex: 1; text-align: center; padding: 12px 8px; background: rgba(255,255,255,0.04); border-radius: 8px; }
.mock-finance-item i { font-size: 18px; color: var(--red-light); margin-bottom: 6px; display: block; }
.mock-finance-item div { font-family: var(--font-display); font-size: 18px; font-weight: 700; }
.mock-finance-item span { font-size: 11px; color: var(--text-muted); }

.mock-chart-bars { display: flex; align-items: flex-end; gap: 8px; height: 80px; }
.mock-bar { flex: 1; background: rgba(229,28,35,0.2); border-radius: 4px 4px 0 0; display: flex; flex-direction: column; justify-content: flex-end; transition: background 0.3s; }
.mock-bar.active { background: var(--red); }
.mock-bar span { text-align: center; font-size: 9px; color: var(--text-muted); padding: 4px 0; }

/* Analytics Mockup */
.mock-kpi-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.mock-kpi { background: rgba(255,255,255,0.04); padding: 14px; border-radius: 8px; text-align: center; }
.kpi-val { display: block; font-family: var(--font-display); font-size: 22px; font-weight: 700; color: var(--blue-light); }
.kpi-lbl { font-size: 10px; color: var(--text-muted); }
.mock-risk-alert { display: flex; align-items: center; gap: 10px; font-size: 12px; padding: 10px 14px; background: rgba(245,158,11,0.08); border: 1px solid rgba(245,158,11,0.2); border-radius: 8px; color: var(--gold); }

/* Mobile Mockup */
.mobile-phones { display: flex; justify-content: center; }
.phone-mockup {
  width: 220px;
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  padding: 4px;
}
.phone-screen { background: #0a0f1a; border-radius: 24px; padding: 20px 16px; }
.phone-status { font-size: 11px; font-weight: 700; text-align: center; margin-bottom: 16px; }
.phone-app-header { font-size: 16px; font-weight: 700; margin-bottom: 14px; }
.phone-upcoming { margin-bottom: 16px; }
.phone-class { display: flex; align-items: center; gap: 8px; font-size: 11px; padding: 8px 10px; background: rgba(255,255,255,0.04); border-radius: 8px; margin-bottom: 6px; }
.phone-class i { color: var(--red-light); font-size: 12px; }
.phone-quick-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.phone-quick-icon { background: rgba(255,255,255,0.04); border-radius: 10px; padding: 12px; text-align: center; font-size: 11px; }
.phone-quick-icon i { display: block; font-size: 18px; color: var(--red-light); margin-bottom: 6px; }

/* AI Mockup */
.ai-content { padding: 16px !important; }
.ai-chat { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.ai-msg { font-size: 11px; padding: 10px 12px; border-radius: 10px; line-height: 1.5; display: flex; gap: 8px; align-items: flex-start; }
.ai-msg--bot { background: rgba(14,165,233,0.1); border: 1px solid rgba(14,165,233,0.15); color: var(--blue-light); }
.ai-msg--user { background: rgba(229,28,35,0.1); border: 1px solid rgba(229,28,35,0.15); margin-left: 20%; }
.ai-msg i { flex-shrink: 0; margin-top: 1px; }
.ai-prediction-bar { display: flex; align-items: center; gap: 10px; font-size: 11px; color: var(--text-muted); }
.ai-pred-bar { flex: 1; height: 6px; background: rgba(255,255,255,0.08); border-radius: 99px; overflow: hidden; }
.ai-pred-bar div { height: 100%; background: linear-gradient(90deg, var(--red), var(--blue)); border-radius: 99px; }

/* Portal Mockup */
.portal-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
.portal-item { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px; border-radius: 10px; font-size: 11px; font-weight: 600; text-align: center; border: 1px solid var(--border); transition: all 0.2s; }
.portal-item:hover { transform: translateY(-2px); }
.portal-item i { font-size: 22px; }
.portal-student { background: rgba(229,28,35,0.08); border-color: rgba(229,28,35,0.15); }
.portal-student i { color: var(--red-light); }
.portal-faculty { background: rgba(14,165,233,0.08); border-color: rgba(14,165,233,0.15); }
.portal-faculty i { color: var(--blue-light); }
.portal-parent { background: rgba(245,158,11,0.08); border-color: rgba(245,158,11,0.15); }
.portal-parent i { color: var(--gold); }
.portal-alumni { background: rgba(34,197,94,0.08); border-color: rgba(34,197,94,0.15); }
.portal-alumni i { color: #4ade80; }
.portal-agent { background: rgba(168,85,247,0.08); border-color: rgba(168,85,247,0.15); }
.portal-agent i { color: #c084fc; }
.portal-admin { background: rgba(14,165,233,0.08); border-color: rgba(14,165,233,0.15); }
.portal-admin i { color: var(--blue-light); }

/* ─── AI ENGINE ─────────────────────────────────────────────── */
.ai-engine-section {
  background: linear-gradient(135deg, #090b14 0%, #0a0f1a 50%, #070b12 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.ai-bg-animation {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 50%, rgba(229,28,35,0.06) 0%, transparent 70%),
    radial-gradient(ellipse 40% 80% at 20% 50%, rgba(14,165,233,0.04) 0%, transparent 60%),
    radial-gradient(ellipse 40% 80% at 80% 50%, rgba(14,165,233,0.04) 0%, transparent 60%);
  pointer-events: none;
}

.ai-engine-section .section-subtitle { margin: 0 auto 60px; }

.ai-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 60px;
  text-align: left;
}

.ai-feature-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all 0.3s var(--transition);
  position: relative;
  overflow: hidden;
}

.ai-feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(229,28,35,0.05), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.ai-feature-card:hover {
  border-color: rgba(229,28,35,0.2);
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}

.ai-feature-card:hover::before { opacity: 1; }

.ai-feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(229,28,35,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--red-light);
  margin-bottom: 18px;
}

.ai-feature-card h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
  font-family: var(--font-display);
}

.ai-feature-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.ai-center-visual { display: flex; justify-content: center; }

.ai-core-pulse {
  width: 140px;
  height: 140px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pulse-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(229,28,35,0.3);
  animation: pulseRing 3s ease-out infinite;
}

.pulse-ring:nth-child(1) { width: 140px; height: 140px; animation-delay: 0s; }
.pulse-ring.delay-1 { width: 100px; height: 100px; animation-delay: 1s; }
.pulse-ring.delay-2 { width: 60px; height: 60px; animation-delay: 2s; }

@keyframes pulseRing {
  0% { transform: scale(0.8); opacity: 1; }
  100% { transform: scale(1.5); opacity: 0; }
}

.ai-core-inner {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--red), var(--blue-dark));
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 22px;
  color: #fff;
  box-shadow: 0 0 40px rgba(229,28,35,0.3), 0 0 80px rgba(14,165,233,0.15);
  z-index: 1;
}

.ai-core-inner span { font-size: 9px; font-weight: 700; letter-spacing: 1px; }

/* ─── OUTCOMES ─────────────────────────────────────────────── */
.outcomes-section { background: var(--bg-dark); }

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

.outcome-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: all 0.3s var(--transition);
  position: relative;
  overflow: hidden;
}

.outcome-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--blue));
  transform: scaleX(0);
  transition: transform 0.3s var(--transition);
}

.outcome-card:hover {
  transform: translateY(-4px);
  border-color: rgba(229,28,35,0.15);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.outcome-card:hover::after { transform: scaleX(1); }

.outcome-icon {
  width: 44px;
  height: 44px;
  background: rgba(229,28,35,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--red-light);
  margin-bottom: 16px;
}

.outcome-number {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
  background: linear-gradient(135deg, var(--red-light), var(--blue-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.outcome-title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
  font-family: var(--font-display);
  -webkit-text-fill-color: var(--text);
}

.outcome-card > p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ─── HOW IT WORKS ─────────────────────────────────────────── */
.how-it-works {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.how-it-works .section-subtitle { margin-bottom: 64px; }

.steps-container {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.step-item {
  flex: 1;
  text-align: center;
  padding: 0 24px;
  position: relative;
}

.step-num {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 900;
  color: rgba(229,28,35,0.1);
  line-height: 1;
  margin-bottom: 16px;
  transition: color 0.3s;
}

.step-item:hover .step-num { color: rgba(229,28,35,0.25); }

.step-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, rgba(229,28,35,0.12), rgba(14,165,233,0.08));
  border: 1px solid rgba(229,28,35,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--red-light);
  margin: 0 auto 20px;
  transition: all 0.3s;
}

.step-item:hover .step-icon {
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: #fff;
  box-shadow: 0 8px 24px rgba(229,28,35,0.35);
  transform: scale(1.05);
}

.step-item h4 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
  font-family: var(--font-display);
}

.step-item p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.step-connector {
  flex-shrink: 0;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--red), transparent);
  margin-top: 80px;
  border-radius: 99px;
  opacity: 0.4;
}

/* ─── INTEGRATIONS ─────────────────────────────────────────── */
.integrations-section { background: var(--bg-dark); }

.integrations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.integration-category {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: all 0.3s;
}

.integration-category:hover {
  border-color: rgba(229,28,35,0.15);
  transform: translateY(-2px);
}

.integration-category h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.5px;
}

.integration-category h4 i { color: var(--red-light); }

.integration-items { display: flex; flex-wrap: wrap; gap: 8px; }

.integration-item {
  font-size: 12px;
  font-weight: 500;
  padding: 5px 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 99px;
  color: var(--text-muted);
  transition: all 0.2s;
}

.integration-item:hover {
  color: var(--text);
  border-color: rgba(229,28,35,0.3);
  background: rgba(229,28,35,0.05);
}

.api-callout {
  display: flex;
  align-items: center;
  gap: 20px;
  background: linear-gradient(135deg, rgba(229,28,35,0.08), rgba(14,165,233,0.05));
  border: 1px solid rgba(229,28,35,0.2);
  border-radius: var(--radius);
  padding: 24px 28px;
}

.api-callout > i {
  font-size: 28px;
  color: var(--red-light);
  flex-shrink: 0;
}

.api-callout div { flex: 1; }
.api-callout strong { display: block; font-size: 16px; margin-bottom: 4px; }
.api-callout span { font-size: 13px; color: var(--text-muted); }

.btn-api {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 99px;
  white-space: nowrap;
  transition: all 0.3s;
}

.btn-api:hover {
  background: var(--red-light);
  box-shadow: 0 8px 24px rgba(229,28,35,0.35);
}

/* ─── GLOBAL SECTION ─────────────────────────────────────────── */
.global-section {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.global-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.global-stats {
    display: flex;
    flex-direction: row;
    gap: 30px;
}

.global-stat-card {
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.3s;
  width: stretch;
}

.global-stat-card:hover {
  border-color: rgba(229,28,35,0.2);
  transform: translateY(-4px);
  box-shadow: var(--shadow-red);
}

.global-stat-icon {
  width: 52px;
  height: 52px;
  background: rgba(229,28,35,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--red-light);
  margin-bottom: 16px;
}

.global-stat-num {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 8px;
  background: linear-gradient(135deg, var(--red-light), var(--blue-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.global-stat-label {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.4;
}

.laul-group-banner {
  background: linear-gradient(135deg, rgba(229,28,35,0.06), rgba(14,165,233,0.04));
  border: 1px solid rgba(229,28,35,0.15);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
}

.laul-content {
  display: flex;
  align-items: center;
  gap: 40px;
}

.laul-logo { flex-shrink: 0; }
.msm-logo { height: 50px; width: auto; filter: brightness(0) invert(1); }
.msm-text {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
}
.msm-text strong { color: var(--red); }

.laul-text h4 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  font-family: var(--font-display);
}

.laul-text p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 700px;
}

/* ─── SECURITY ─────────────────────────────────────────────── */
.security-section { background: var(--bg-dark); }

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

.security-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  transition: all 0.3s;
}

.security-item:hover {
  border-color: rgba(14,165,233,0.2);
  transform: translateY(-3px);
  box-shadow: var(--shadow-blue);
}

.security-item i {
  font-size: 32px;
  color: var(--blue-light);
  margin-bottom: 16px;
  display: block;
}

.security-item h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
  font-family: var(--font-display);
}

.security-item p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ─── TESTIMONIALS ─────────────────────────────────────────── */
.testimonials-section {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.testimonial-card {
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: all 0.3s;
}

.testimonial-card:hover {
  border-color: rgba(229,28,35,0.15);
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.testimonial-stars { color: var(--gold); font-size: 13px; display: flex; gap: 3px; }

.testimonial-card > p {
  font-size: 15px;
  color: var(--text);
  line-height: 1.7;
  font-style: italic;
  flex: 1;
}

.testimonial-author { display: flex; align-items: center; gap: 14px; }

.author-avatar {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--red), var(--blue-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  flex-shrink: 0;
}

.author-info strong { display: block; font-size: 14px; font-weight: 700; }
.author-info span { font-size: 12px; color: var(--text-muted); }

/* ─── PRICING ─────────────────────────────────────────────── */
.pricing-section { background: var(--bg-dark); }

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

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  position: relative;
  transition: all 0.3s;
}

.pricing-card:hover {
  transform: translateY(-4px);
  border-color: rgba(229,28,35,0.2);
}

.pricing-card--featured {
  background: linear-gradient(135deg, rgba(229,28,35,0.08), rgba(14,165,233,0.05));
  border-color: var(--red);
  transform: scale(1.03);
}

.pricing-card--featured:hover {
  transform: scale(1.03) translateY(-4px);
}

.pricing-popular {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--red);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 99px;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(229,28,35,0.4);
}

.pricing-tier {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 6px;
}

.pricing-ideal {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.pricing-price {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  color: var(--red-light);
  margin-bottom: 24px;
}

.pricing-price span {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-muted);
  -webkit-text-fill-color: var(--text-muted);
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text);
}

.pricing-features li i {
  color: var(--red-light);
  font-size: 12px;
  flex-shrink: 0;
}

.btn-pricing {
  display: block;
  text-align: center;
  padding: 13px;
  border-radius: 99px;
  font-size: 15px;
  font-weight: 600;
  border: 2px solid var(--red);
  color: var(--red-light);
  transition: all 0.3s;
}

.btn-pricing:hover {
  background: var(--red);
  color: #fff;
  box-shadow: 0 8px 24px rgba(229,28,35,0.35);
}

.btn-pricing--featured {
  background: var(--red);
  color: #fff;
  box-shadow: 0 8px 24px rgba(229,28,35,0.3);
}

.btn-pricing--featured:hover {
  background: var(--red-light);
  box-shadow: 0 12px 32px rgba(229,28,35,0.45);
}

/* ─── DEMO / CTA ────────────────────────────────────────────── */
.demo-section {
  background: linear-gradient(135deg, #09050a 0%, #060a14 50%, #09050a 100%);
  border-top: 1px solid var(--border);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.demo-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 80% at 0% 50%, rgba(229,28,35,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 50% 80% at 100% 50%, rgba(14,165,233,0.06) 0%, transparent 60%);
  pointer-events: none;
}

.demo-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  position: relative;
  z-index: 1;
}

.demo-text .section-tag { margin-bottom: 16px; }

.demo-text h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.15;
  color: #fff;
}

.demo-text > p {
  font-size: 16px;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin-bottom: 32px;
}

.demo-benefits { display: flex; flex-direction: column; gap: 14px; }

.demo-benefit {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: rgba(255,255,255,0.8);
}

.demo-benefit i { color: var(--red-light); font-size: 16px; }

.demo-form-wrapper {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 40px;
  backdrop-filter: blur(20px);
}

.demo-form h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 24px;
  color: #fff;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-group label {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.form-group input,
.form-group select {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: #fff;
  font-size: 14px;
  font-family: var(--font-main);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
  -webkit-appearance: none;
}

.form-group input::placeholder { color: rgba(255,255,255,0.25); }

.form-group input:focus,
.form-group select:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(229,28,35,0.1);
}

.form-group select option { background: #1a1a2e; color: #fff; }

.btn-submit {
  width: 100%;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  padding: 15px;
  border-radius: 99px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.3s;
  border: none;
  margin-top: 8px;
  box-shadow: 0 8px 24px rgba(229,28,35,0.3);
}

.btn-form-submit:hover {
  background: linear-gradient(135deg, var(--red-light), var(--red));
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(229,28,35,0.45);
}

.form-note {
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.3);
  margin-top: 12px;
}

/* ─── FOOTER ─────────────────────────────────────────────────── */
.footer { background: #050709; }

.footer-top {
  padding: 80px 0 60px;
  border-bottom: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 48px;
  padding-top: 60px;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 16px;
}

.footer-logo strong { color: var(--red); }

.footer-brand > p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 280px;
}

.footer-social { display: flex; gap: 12px; }

.footer-social a {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: var(--text-muted);
  transition: all 0.2s;
}

.footer-social a:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  transform: translateY(-2px);
}

.footer-links-group h5 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
  color: var(--text);
}

.footer-links-group ul { display: flex; flex-direction: column; gap: 10px; }

.footer-links-group a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer-links-group a:hover { color: var(--red-light); }

.footer-bottom {
  padding: 24px 0;
}

.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom span { font-size: 13px; color: var(--text-muted); }

.footer-legal { display: flex; gap: 20px; }

.footer-legal a {
  font-size: 13px;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer-legal a:hover { color: var(--text); }

/* ─── TOAST ─────────────────────────────────────────────────── */
.toast {
  position: fixed;
  bottom: 32px;
  right: 32px;
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 24px;
  font-size: 14px;
  color: var(--text);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  transform: translateY(20px) scale(0.95);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s var(--transition);
  z-index: 9999;
  max-width: 360px;
}

.toast.show {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: auto;
}

/* ─── ANIMATIONS ────────────────────────────────────────────── */
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--transition), transform 0.7s var(--transition);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ─── RESPONSIVE ────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .platform-grid { grid-template-columns: repeat(2, 1fr); }
  .module-panel-content { grid-template-columns: 1fr; gap: 40px; }
  .module-visual { max-width: 480px; margin: 0 auto; }
  .ai-features-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-visual { display: none; }
  .hero-content { padding: 60px 32px 80px; max-width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: span 3; }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: rgba(8,10,15,0.98);
    backdrop-filter: blur(20px);
    padding: 24px;
    gap: 4px;
    border-bottom: 1px solid var(--border);
    z-index: 999;
  }
  .hamburger { display: flex; }
  .outcomes-grid { grid-template-columns: repeat(2, 1fr); }
  .global-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card--featured { transform: scale(1); }
  .demo-content { grid-template-columns: 1fr; gap: 40px; }
  .steps-container { flex-direction: column; align-items: center; }
  .step-connector { width: 2px; height: 40px; background: linear-gradient(180deg, var(--red), transparent); margin-top: 0; }
  .integrations-grid { grid-template-columns: repeat(2, 1fr); }
  .laul-content { flex-direction: column; gap: 20px; text-align: center; }
  .security-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
}

@media (max-width: 640px) {
  section { padding: 60px 0; }
  .hero-content { padding: 40px 20px 60px; }
  .hero-stats { flex-wrap: wrap; gap: 16px; }
  .hero-stat-divider { display: none; }
  .hero-stat { padding: 0; }
  .platform-grid { grid-template-columns: 1fr; }
  .outcomes-grid { grid-template-columns: 1fr; }
  .global-stats-grid { grid-template-columns: 1fr 1fr; }
  .security-grid { grid-template-columns: 1fr; }
  .ai-features-grid { grid-template-columns: 1fr; }
  .modules-tabs { gap: 4px; }
  .module-tab { padding: 8px 12px; font-size: 12px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; }
  .footer-bottom .container { flex-direction: column; text-align: center; }
  .integrations-grid { grid-template-columns: 1fr; }
  .trust-stats-row { gap: 16px; }
  .hero-cta-group { flex-direction: column; align-items: flex-start; }
  .btn-primary, .btn-ghost { width: 100%; justify-content: center; }
  .api-callout { flex-direction: column; text-align: center; }
}
