@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

/* --- Design Tokens --- */
:root {
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Color Palette */
  --primary-50: #eff6ff;
  --primary-100: #dbeafe;
  --primary-200: #bfdbfe;
  --primary-500: #3b82f6;
  --primary-600: #2563eb;
  --primary-700: #1d4ed8;
  --primary-800: #1e40af;
  --primary-950: #172554;

  --secondary-500: #06b6d4; /* cyan accent */
  --secondary-600: #0891b2;
  --secondary-700: #0e7490;

  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;

  --neutral-50: #f8fafc;
  --neutral-100: #f1f5f9;
  --neutral-200: #e2e8f0;
  --neutral-300: #cbd5e1;
  --neutral-600: #475569;
  --neutral-800: #1e293b;
  --neutral-900: #0f172a;
  --neutral-950: #020617;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --shadow-glow: 0 0 20px rgba(59, 130, 246, 0.15);
  --shadow-glow-cyan: 0 0 20px rgba(6, 182, 212, 0.2);

  /* Borders & Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Base & Reset --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--neutral-50);
  color: var(--neutral-800);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--neutral-900);
  font-weight: 700;
  line-height: 1.25;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

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

/* --- Reusable Utility Classes --- */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary-800) 0%, var(--primary-600) 50%, var(--secondary-500) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-cyan {
  background: linear-gradient(135deg, var(--primary-500) 0%, var(--secondary-500) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: var(--transition-normal);
  cursor: pointer;
  border: none;
  outline: none;
  gap: 8px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-700) 0%, var(--primary-600) 100%);
  color: #fff;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-500) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5);
}

.btn-secondary {
  background: #fff;
  color: var(--primary-700);
  border: 2px solid var(--primary-100);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--neutral-100);
  border-color: var(--primary-200);
  transform: translateY(-2px);
}

.btn-cyan {
  background: linear-gradient(135deg, var(--secondary-600) 0%, var(--secondary-500) 100%);
  color: #fff;
  box-shadow: 0 4px 14px rgba(6, 182, 212, 0.4);
}

.btn-cyan:hover {
  background: linear-gradient(135deg, var(--secondary-500) 0%, #22d3ee 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(6, 182, 212, 0.5);
}

.btn-block {
  display: flex;
  width: 100%;
}

/* Glassmorphism Panel */
.glass-panel {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}

/* --- Header / Navigation --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  transition: var(--transition-normal);
}

.header.scrolled {
  padding: 8px 0;
  box-shadow: var(--shadow-md);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  transition: var(--transition-normal);
}

.header.scrolled .nav-container {
  height: 64px;
}

.header.scrolled .logo-img {
  height: 44px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--primary-800);
}

.logo-img {
  height: 56px;
  width: auto;
  object-fit: contain;
  border-radius: var(--radius-sm);
  transition: var(--transition-normal);
}

.logo:hover .logo-img {
  transform: scale(1.05);
}

.logo-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--primary-600) 0%, var(--secondary-500) 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 1.3rem;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-link {
  font-weight: 500;
  color: var(--neutral-600);
  font-size: 0.95rem;
  position: relative;
  padding: 4px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-50);
  transition: var(--transition-normal);
}

.nav-link:hover {
  color: var(--primary-600);
}

.nav-link:hover::after {
  width: 100%;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Mobile Menu Toggle */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--neutral-800);
  margin: 6px 0;
  transition: var(--transition-normal);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  padding: 160px 0 100px 0;
  background: radial-gradient(circle at 80% 20%, var(--primary-50) 0%, transparent 60%),
              radial-gradient(circle at 10% 80%, rgba(6, 182, 212, 0.05) 0%, transparent 50%),
              #fff;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background-image: radial-gradient(rgba(59, 130, 246, 0.04) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.badge {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-50);
  color: var(--primary-700);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid var(--primary-100);
}

.badge-pulse {
  width: 8px;
  height: 8px;
  background: var(--primary-500);
  border-radius: 50%;
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.5); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(59, 130, 246, 0); }
  100% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(59, 130, 246, 0); }
}

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--neutral-600);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 8px;
}

/* --- Hero Form Section (Above the Fold) --- */
.hero-form-container {
  display: flex;
  flex-direction: column;
}

.form-card {
  padding: 32px;
  border-radius: var(--radius-lg);
  position: relative;
  z-index: 10;
  overflow: hidden;
}

.form-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, var(--primary-500), var(--secondary-500));
}

.form-header {
  margin-bottom: 24px;
}

.form-header h3 {
  font-size: 1.5rem;
  margin-bottom: 6px;
}

.form-header p {
  font-size: 0.88rem;
  color: var(--neutral-600);
}

.demo-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

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

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--neutral-800);
}

.form-control {
  font-family: var(--font-body);
  font-size: 0.92rem;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--neutral-300);
  background: rgba(255, 255, 255, 0.9);
  outline: none;
  transition: var(--transition-fast);
  color: var(--neutral-900);
}

.form-control:focus {
  border-color: var(--primary-500);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
  background: #fff;
}

.form-footer-info {
  font-size: 0.75rem;
  color: var(--neutral-600);
  text-align: center;
  margin-top: 8px;
}

/* --- Simulated Dashboard Mockup --- */
.hero-mockup-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.dashboard-mockup {
  width: 100%;
  max-width: 580px;
  aspect-ratio: auto;
  background: var(--neutral-950);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: var(--shadow-xl), 0 30px 60px rgba(15, 23, 42, 0.25);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* Glowing background behind mockup */
.mockup-glow {
  position: absolute;
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 60%);
  top: -10%;
  left: -10%;
  z-index: 0;
  pointer-events: none;
}

/* Mockup Header (Browser bar) */
.mockup-header {
  height: 32px;
  background: #1e293b;
  display: flex;
  align-items: center;
  padding: 0 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  justify-content: space-between;
}

.browser-dots {
  display: flex;
  gap: 6px;
}

.browser-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: block;
}

.browser-dots .dot-1 { background: #ef4444; }
.browser-dots .dot-2 { background: #f59e0b; }
.browser-dots .dot-3 { background: #10b981; }

.browser-tab {
  background: #0f172a;
  height: 24px;
  border-radius: 6px 6px 0 0;
  padding: 0 12px;
  display: flex;
  align-items: center;
  font-size: 0.65rem;
  color: #94a3b8;
  gap: 6px;
  margin-top: 8px;
}

.browser-tab svg {
  width: 10px;
  height: 10px;
  fill: #94a3b8;
}

/* Mockup Body Layout */
.mockup-body {
  flex: 1;
  display: grid;
  grid-template-columns: 80px 1fr;
  background: #0b0f19;
  font-size: 0.7rem;
  color: #94a3b8;
}

/* Mockup Sidebar */
.mockup-sidebar {
  background: #0d1222;
  border-right: 1px solid rgba(255, 255, 255, 0.03);
  display: flex;
  flex-direction: column;
  padding: 12px 8px;
  gap: 12px;
}

.sidebar-logo {
  height: 14px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  margin-bottom: 12px;
}

.sidebar-item {
  height: 10px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 2px;
  width: 100%;
}

.sidebar-item.active {
  background: var(--primary-600);
}

.sidebar-item.w-70 { width: 70%; }
.sidebar-item.w-80 { width: 80%; }
.sidebar-item.w-50 { width: 50%; }

/* Mockup Main View */
.mockup-main {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow: hidden;
}

.mockup-main-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mockup-title {
  height: 12px;
  background: rgba(255, 255, 255, 0.1);
  width: 120px;
  border-radius: 4px;
}

.mockup-user {
  display: flex;
  align-items: center;
  gap: 6px;
}

.mockup-avatar {
  width: 16px;
  height: 16px;
  background: var(--secondary-500);
  border-radius: 50%;
}

.mockup-user-bar {
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  width: 40px;
  border-radius: 2px;
}

/* Mockup Stats Grid */
.mockup-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.mockup-stat-card {
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 6px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mockup-stat-title {
  height: 6px;
  background: rgba(255, 255, 255, 0.05);
  width: 60%;
  border-radius: 1px;
}

.mockup-stat-val {
  height: 12px;
  background: rgba(255, 255, 255, 0.15);
  width: 40%;
  border-radius: 2px;
  margin-top: 2px;
}

.stat-val-blue { background: var(--primary-500); }
.stat-val-cyan { background: var(--secondary-500); }
.stat-val-green { background: var(--success); }
.stat-val-yellow { background: var(--warning); }

/* Mockup Charts Section */
.mockup-content-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 12px;
  flex: 1;
}

.mockup-chart-card {
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 6px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 110px;
}

.chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chart-title {
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  width: 80px;
  border-radius: 2px;
}

.chart-legend {
  display: flex;
  gap: 8px;
}

.legend-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
}

.legend-dot.blue { background: var(--primary-500); }
.legend-dot.cyan { background: var(--secondary-500); }

/* Chart Drawing with Flex/CSS */
.chart-vis {
  flex: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding-top: 10px;
  gap: 8px;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.chart-bar-group {
  display: flex;
  gap: 3px;
  align-items: flex-end;
  height: 100%;
  flex: 1;
  justify-content: center;
}

.chart-bar {
  width: 6px;
  border-radius: 2px 2px 0 0;
}

.chart-bar.blue { background: linear-gradient(to top, var(--primary-700), var(--primary-500)); }
.chart-bar.cyan { background: linear-gradient(to top, var(--secondary-600), var(--secondary-500)); }

.mockup-list-card {
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 6px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  padding-bottom: 6px;
}

.list-item:last-child {
  border: none;
  padding-bottom: 0;
}

.list-item-left {
  display: flex;
  align-items: center;
  gap: 6px;
}

.list-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.list-dot.warning { background: var(--warning); }
.list-dot.success { background: var(--success); }
.list-dot.danger { background: var(--danger); }

.list-line {
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  width: 50px;
  border-radius: 1px;
}

.list-line-short {
  height: 4px;
  background: rgba(255, 255, 255, 0.04);
  width: 30px;
  border-radius: 1px;
  margin-top: 3px;
}

.list-badge {
  width: 26px;
  height: 8px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
}

/* --- Why Choose Section --- */
.section {
  padding: 100px 0;
  position: relative;
}

.section-alt {
  background-color: var(--neutral-100);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 60px auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.section-header h2 {
  font-size: 2.25rem;
  letter-spacing: -0.02em;
}

.section-header p {
  color: var(--neutral-600);
  font-size: 1.05rem;
}

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

.card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 32px;
  border: 1px solid var(--neutral-200);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl), var(--shadow-glow);
  border-color: var(--primary-200);
}

.card-icon {
  width: 48px;
  height: 48px;
  background: var(--primary-50);
  color: var(--primary-600);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: var(--transition-normal);
}

.card:hover .card-icon {
  background: var(--primary-600);
  color: #fff;
}

.card h3 {
  font-size: 1.25rem;
}

.card p {
  color: var(--neutral-600);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* --- Complete ERP Modules --- */
.modules-filter-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  margin-bottom: 48px;
}

.search-wrapper {
  position: relative;
  width: 100%;
  max-width: 480px;
}

.search-input {
  width: 100%;
  padding: 14px 20px 14px 48px;
  border-radius: var(--radius-full);
  border: 1px solid var(--neutral-300);
  outline: none;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition-normal);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.search-input:focus {
  border-color: var(--primary-500);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15), var(--shadow-md);
}

.search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--neutral-600);
  display: flex;
}

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

.module-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid var(--neutral-200);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

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

.module-icon-wrap {
  width: 42px;
  height: 42px;
  background: var(--primary-50);
  color: var(--primary-600);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: var(--transition-normal);
}

.module-card:hover .module-icon-wrap {
  background: var(--primary-600);
  color: #fff;
}

.module-card h4 {
  font-size: 1.05rem;
  font-weight: 600;
}

.module-card p {
  color: var(--neutral-600);
  font-size: 0.82rem;
  line-height: 1.5;
}

/* Hidden elements helper */
.hidden-module {
  display: none !important;
}

/* --- Benefits Section --- */
.benefits-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.benefits-content {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.benefits-content h2 {
  font-size: 2.25rem;
  letter-spacing: -0.02em;
}

.benefits-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.benefit-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.benefit-check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary-50);
  color: var(--primary-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: bold;
  flex-shrink: 0;
}

.benefit-text h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.benefit-text p {
  color: var(--neutral-600);
  font-size: 0.82rem;
  line-height: 1.5;
}

/* Benefits Graphic Column */
.benefits-graphic-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.benefits-image-card {
  width: 100%;
  max-width: 480px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--neutral-200);
}

.benefits-classroom-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
  transition: var(--transition-slow);
}

.benefits-image-card:hover .benefits-classroom-img {
  transform: scale(1.03);
}

.benefits-metrics-overlay {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: var(--shadow-lg);
  display: flex;
  justify-content: space-around;
  gap: 16px;
  z-index: 5;
}

.benefits-metrics-overlay .metric-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
  flex: 1;
  border: none;
  padding-bottom: 0;
}

.benefits-metrics-overlay .metric-row:not(:last-child) {
  border-right: 1px solid var(--neutral-200);
}

.benefits-metrics-overlay .metric-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--neutral-600);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.benefits-metrics-overlay .metric-value {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--primary-700);
}

.benefits-card-metrics {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  z-index: 2;
}

.metric-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.metric-label {
  font-size: 0.9rem;
  color: var(--neutral-300);
}

.metric-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--secondary-500);
}

.metric-progress {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-top: 6px;
}

.metric-progress-fill {
  height: 100%;
  background: linear-gradient(to right, var(--primary-500), var(--secondary-500));
  border-radius: var(--radius-full);
}

/* --- Dashboard Previews Section --- */
.tab-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.tab-nav {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.tab-btn {
  background: #fff;
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-full);
  padding: 12px 24px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--neutral-600);
  cursor: pointer;
  transition: var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.tab-btn:hover {
  background: var(--neutral-50);
  color: var(--primary-600);
  border-color: var(--primary-200);
}

.tab-btn.active {
  background: var(--primary-600);
  color: #fff;
  border-color: var(--primary-600);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

/* Custom styles for tab panes */
.tab-pane {
  display: none;
  animation: fadeIn var(--transition-slow);
}

.tab-pane.active {
  display: block;
}

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

/* Advanced Dashboard Previews in CSS */
.dashboard-preview-card {
  background: #0f172a;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: auto;
}

.preview-browser-bar {
  background: #1e293b;
  height: 40px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.preview-address-bar {
  background: #0f172a;
  height: 24px;
  border-radius: 4px;
  width: 280px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  font-size: 0.7rem;
  color: #64748b;
}

.preview-body {
  flex: 1;
  display: grid;
  grid-template-columns: 200px 1fr;
  min-height: 440px;
}

.preview-image-wrap {
  width: 100%;
  overflow: hidden;
  position: relative;
  background-color: #0c101d;
  display: flex;
}

.dashboard-screenshot {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: var(--transition-slow);
}

.dashboard-preview-card:hover .dashboard-screenshot {
  transform: scale(1.015);
}

.preview-sidebar {
  background: #0d1324;
  border-right: 1px solid rgba(255, 255, 255, 0.03);
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.preview-logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.preview-menu {
  display: flex;
  flex-direction: column;
  gap: 8px;
  list-style: none;
}

.preview-menu-item {
  height: 34px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  font-size: 0.78rem;
  font-weight: 500;
  color: #94a3b8;
  cursor: pointer;
  gap: 10px;
  transition: var(--transition-fast);
}

.preview-menu-item.active {
  background: rgba(59, 130, 246, 0.15);
  color: var(--primary-200);
  border-left: 3px solid var(--primary-500);
}

.preview-menu-item:hover:not(.active) {
  background: rgba(255, 255, 255, 0.02);
  color: #fff;
}

.preview-main-content {
  background: #090d1a;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.preview-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.preview-welcome h4 {
  color: #fff;
  font-size: 1.25rem;
  margin-bottom: 4px;
}

.preview-welcome p {
  color: #64748b;
  font-size: 0.8rem;
}

.preview-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.preview-stat-item {
  background: #11192e;
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-sm);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.preview-stat-num {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
}

.preview-stat-desc {
  font-size: 0.72rem;
  color: #64748b;
}

.preview-widgets {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 16px;
  flex: 1;
}

.preview-widget-card {
  background: #11192e;
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-sm);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.widget-title {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  padding-bottom: 10px;
}

/* Dynamic list details for previews */
.preview-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.preview-list-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
}

.row-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.row-icon-placeholder {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}

.row-name {
  color: #e2e8f0;
}

.row-sub {
  font-size: 0.68rem;
  color: #64748b;
}

.row-val {
  color: #e2e8f0;
  font-weight: 600;
}

/* --- How It Works Section --- */
.steps-wrapper {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 40px;
}

.steps-line {
  position: absolute;
  top: 40px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: repeating-linear-gradient(to right, var(--primary-100) 0px, var(--primary-100) 8px, transparent 8px, transparent 16px);
  z-index: 1;
}

.step-card {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.step-num-wrap {
  width: 80px;
  height: 80px;
  background: #fff;
  border: 4px solid var(--neutral-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: var(--primary-600);
  font-weight: 700;
  box-shadow: var(--shadow-md);
  position: relative;
  transition: var(--transition-normal);
}

.step-card:hover .step-num-wrap {
  background: var(--primary-600);
  color: #fff;
  border-color: var(--primary-100);
  transform: scale(1.08);
}

.step-card h3 {
  font-size: 1.15rem;
}

.step-card p {
  color: var(--neutral-600);
  font-size: 0.88rem;
}

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

.testimonial-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 32px;
  border: 1px solid var(--neutral-200);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}

.quote-icon {
  position: absolute;
  top: 24px;
  right: 32px;
  font-size: 3rem;
  color: var(--neutral-100);
  font-family: Georgia, serif;
  line-height: 1;
}

.stars {
  color: #fbbf24;
  display: flex;
  gap: 4px;
}

.testimonial-text {
  color: var(--neutral-600);
  font-size: 0.95rem;
  line-height: 1.6;
  font-style: italic;
  position: relative;
  z-index: 2;
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  background: var(--primary-100);
  color: var(--primary-700);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}

.user-info h4 {
  font-size: 0.95rem;
}

.user-info p {
  color: var(--neutral-600);
  font-size: 0.78rem;
}

/* --- FAQ Section --- */
.faq-wrapper {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--neutral-200);
  overflow: hidden;
  transition: var(--transition-normal);
}

.faq-item:hover {
  border-color: var(--primary-200);
}

.faq-header {
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.faq-header h4 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--neutral-900);
  transition: var(--transition-fast);
}

.faq-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--neutral-600);
  font-size: 1.25rem;
  transition: var(--transition-normal);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal) ease-out;
}

.faq-content {
  padding: 0 24px 20px 24px;
  color: var(--neutral-600);
  font-size: 0.92rem;
  line-height: 1.6;
}

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

.faq-item.active .faq-header h4 {
  color: var(--primary-700);
}

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

.faq-item.active .faq-body {
  max-height: 200px; /* arbitrary height to slide down */
}

/* --- Final CTA Section --- */
.final-cta {
  background: linear-gradient(rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.85)), url('images/campus.jpg') no-repeat center center/cover;
  color: #fff;
  padding: 120px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
}

.final-cta-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}

.final-cta h2 {
  color: #fff;
  font-size: 2.5rem;
}

.final-cta p {
  color: var(--neutral-300);
  font-size: 1.15rem;
}

/* --- Footer --- */
.footer {
  background-color: var(--neutral-950);
  color: var(--neutral-300);
  padding: 80px 0 30px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: #fff;
}

.footer-desc {
  font-size: 0.88rem;
  color: var(--neutral-300);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.88rem;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-col h5 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 24px;
}

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

.footer-links a {
  color: var(--neutral-300);
}

.footer-links a:hover {
  color: #fff;
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.82rem;
  color: var(--neutral-600);
}

/* Callback Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
}

.modal-content {
  width: 100%;
  max-width: 440px;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  box-shadow: var(--shadow-xl);
  animation: modalScale var(--transition-normal);
}

@keyframes modalScale {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--neutral-600);
}

.modal-header {
  margin-bottom: 20px;
}

.modal-header h3 {
  font-size: 1.35rem;
}

/* --- Confirmation & Scheduler Styles --- */
.confirmation-hero {
  padding: 140px 0 80px 0;
  text-align: center;
  background: radial-gradient(circle at 50% 30%, var(--primary-50) 0%, transparent 60%), #fff;
}

.confirmation-card {
  max-width: 600px;
  margin: 0 auto;
  padding: 40px;
  text-align: center;
}

.success-icon-wrap {
  width: 80px;
  height: 80px;
  background: var(--primary-50);
  color: var(--success);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto 24px auto;
}

.scheduler-container {
  max-width: 800px;
  margin: 0 auto 100px auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
}

.scheduler-calendar-card {
  background: #fff;
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-md);
  padding: 24px;
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  text-align: center;
}

.calendar-day-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--neutral-600);
  padding: 8px 0;
}

.calendar-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-fast);
}

.calendar-day:hover:not(.empty):not(.disabled) {
  background: var(--neutral-100);
}

.calendar-day.active {
  background: var(--primary-600) !important;
  color: #fff !important;
  font-weight: 700;
}

.calendar-day.disabled {
  color: var(--neutral-300);
  cursor: not-allowed;
}

.calendar-day.empty {
  cursor: default;
}

.scheduler-time-card {
  background: #fff;
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.time-slots-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 260px;
  overflow-y: auto;
  padding-right: 4px;
}

.time-slot-btn {
  background: #fff;
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-sm);
  padding: 12px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--neutral-800);
  cursor: pointer;
  transition: var(--transition-fast);
  text-align: center;
}

.time-slot-btn:hover {
  border-color: var(--primary-500);
  color: var(--primary-600);
  background: var(--primary-50);
}

.time-slot-btn.active {
  background: var(--primary-600);
  color: #fff;
  border-color: var(--primary-600);
}

.schedule-success-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(8px);
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.schedule-success-overlay.active {
  display: flex;
}

/* --- Media Queries (Responsiveness) --- */
@media (max-width: 1024px) {
  html { font-size: 15px; }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-4 {
    grid-template-columns: repeat(3, 1fr);
  }

  .benefits-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .preview-body {
    grid-template-columns: 1fr;
  }

  .preview-sidebar {
    display: none; /* Hide sidebar on tablet/mobile previews for better display */
  }

  .preview-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .preview-widgets {
    grid-template-columns: 1fr;
  }

  .steps-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-line {
    display: none;
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  html { font-size: 14px; }

  .nav-links, .header-cta {
    display: none;
  }

  /* Show mobile menu elements */
  .mobile-nav-toggle {
    display: block;
  }

  .header.menu-open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--neutral-200);
    padding: 24px;
    gap: 16px;
    box-shadow: var(--shadow-lg);
  }

  .hero h1 {
    font-size: 2.25rem;
  }

  .form-group-row {
    grid-template-columns: 1fr;
  }

  .grid-3, .grid-4, .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .benefits-list {
    grid-template-columns: 1fr;
  }

  .scheduler-container {
    grid-template-columns: 1fr;
  }

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* --- Previews Section Color Corrections (Make Text Black & High Contrast) --- */
#previews .section-header h2 {
  color: #000000;
}

#previews .section-header p {
  color: #1e293b;
  font-weight: 500;
}

#previews .tab-btn:not(.active) {
  color: #000000;
  border-color: #cbd5e1;
  font-weight: 600;
}

#previews .tab-btn:not(.active):hover {
  background: #f8fafc;
  color: var(--primary-600);
}

/* Light Theme Browser Bar for High Contrast Screenshot Blending */
#previews .preview-browser-bar {
  background: #f1f5f9;
  border-bottom: 1px solid #e2e8f0;
}

#previews .preview-address-bar {
  background: #ffffff;
  color: #000000;
  border: 1px solid #cbd5e1;
  font-weight: 500;
}

/* --- Floating WhatsApp Button --- */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 30px;
  right: 30px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.whatsapp-float:hover {
  background-color: #20ba5a;
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}
