﻿/* ==============================================================================
   TOAGENDA.NL - High-End Commercial Product & Landing Page Stylesheet
   Design: Modern SaaS, Clean Glassmorphism, Responsive Grid, Rich Micro-animations
   ============================================================================== */

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

:root {
  /* Brand Colors */
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-light: #eff6ff;
  --primary-glow: rgba(37, 99, 235, 0.25);
  
  --accent-emerald: #059669;
  --accent-emerald-light: #ecfdf5;
  --accent-purple: #7c3aed;
  --accent-amber: #d97706;
  --accent-cyan: #06b6d4;

  /* Neutral Spectrum */
  --slate-950: #020617;
  --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;

  /* Elevation & Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.03);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --shadow-glow: 0 0 50px -10px var(--primary-glow);

  /* Borders & Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--slate-800);
  background-color: var(--slate-50);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  position: relative;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  color: var(--slate-900);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
}

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

img, svg {
  vertical-align: middle;
}

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

/* ==============================================================================
   NAVIGATION BAR
   ============================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  transition: var(--transition-normal);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-sm);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 28px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Outfit', sans-serif;
  font-size: 21px;
  font-weight: 800;
  color: var(--slate-900);
  flex-shrink: 0;
}

.nav-logo-img {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  object-fit: contain;
  box-shadow: 0 4px 12px -2px var(--primary-glow);
  transition: transform var(--transition-fast);
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
  margin: 0 24px;
}

.nav-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--slate-600);
  transition: all var(--transition-fast);
  position: relative;
  padding: 6px 4px;
  white-space: nowrap;
}

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

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

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* Compact button specifically for navbar */
.btn-nav {
  padding: 8px 16px;
  font-size: 13.5px;
  font-weight: 700;
  border-radius: 8px;
  gap: 6px;
  white-space: nowrap;
}

/* ==============================================================================
   BUTTONS & BADGES
   ============================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-normal);
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #1d4ed8 100%);
  color: var(--white);
  box-shadow: 0 4px 14px 0 rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px 0 rgba(37, 99, 235, 0.45);
  background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
}

.btn-secondary {
  background: var(--white);
  color: var(--slate-700);
  border-color: var(--slate-200);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--slate-50);
  color: var(--slate-900);
  border-color: var(--slate-300);
  transform: translateY(-1px);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 16px;
  border-radius: var(--radius-lg);
}

.btn-emerald {
  background: linear-gradient(135deg, var(--accent-emerald) 0%, #047857 100%);
  color: var(--white);
  box-shadow: 0 4px 14px 0 rgba(5, 150, 105, 0.35);
}

.btn-emerald:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px 0 rgba(5, 150, 105, 0.45);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.badge-primary {
  background: var(--primary-light);
  color: var(--primary);
  border: 1px solid rgba(37, 99, 235, 0.2);
}

.badge-emerald {
  background: var(--accent-emerald-light);
  color: var(--accent-emerald);
  border: 1px solid rgba(5, 150, 105, 0.2);
}

.badge-dark {
  background: rgba(15, 23, 42, 0.08);
  color: var(--slate-800);
}

/* ==============================================================================
   HERO SECTION
   ============================================================================== */
.hero {
  padding-top: 150px;
  padding-bottom: 90px;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 50% 0%, #eff6ff 0%, #f8fafc 75%);
}

.hero::before {
  content: '';
  position: absolute;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 500px;
  background: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
  filter: blur(60px);
  pointer-events: none;
}

.hero-content {
  text-align: center;
  max-width: 920px;
  margin: 0 auto 60px;
}

.hero-pill {
  margin-bottom: 24px;
  animation: fadeInDown 0.6s ease;
}

.hero-title {
  font-size: 56px;
  font-weight: 900;
  line-height: 1.12;
  margin-bottom: 24px;
  color: var(--slate-950);
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary) 0%, #7c3aed 50%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 20px;
  line-height: 1.6;
  color: var(--slate-600);
  margin-bottom: 36px;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.hero-usps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  list-style: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--slate-600);
  flex-wrap: wrap;
}

.hero-usps li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-usps svg {
  color: var(--accent-emerald);
}

/* ==============================================================================
   INTERACTIVE APP MOCKUP (HERO PREVIEW)
   ============================================================================== */
.hero-mockup-wrapper {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  border-radius: var(--radius-xl);
  padding: 12px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(226, 232, 240, 0.6));
  box-shadow: 0 30px 60px -12px rgba(15, 23, 42, 0.18), 0 0 0 1px rgba(255, 255, 255, 0.8) inset;
}

.mockup-window {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--slate-200);
}

.mockup-header {
  height: 48px;
  background: var(--slate-900);
  display: flex;
  align-items: center;
  padding: 0 20px;
  gap: 14px;
}

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

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

.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.mockup-url-bar {
  flex: 1;
  max-width: 480px;
  height: 28px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  font-size: 12px;
  color: var(--slate-300);
  font-family: monospace;
}

.mockup-body {
  padding: 24px;
  background: #f8fafc;
}

.mockup-dash-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--slate-200);
}

.mockup-school-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--slate-900);
  display: flex;
  align-items: center;
  gap: 8px;
}

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

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

.mockup-stat-label {
  font-size: 12px;
  color: var(--slate-500);
  font-weight: 600;
  text-transform: uppercase;
}

.mockup-stat-val {
  font-size: 22px;
  font-weight: 800;
  color: var(--slate-900);
  margin-top: 4px;
}

.mockup-table-card {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.mockup-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  text-align: left;
}

.mockup-table th {
  background: var(--slate-100);
  padding: 10px 14px;
  font-weight: 700;
  color: var(--slate-700);
  border-bottom: 1px solid var(--slate-200);
}

.mockup-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--slate-100);
  color: var(--slate-700);
}

.pill-status {
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  display: inline-block;
}

.status-approved { background: #dcfce7; color: #15803d; }
.status-prep { background: #dbeafe; color: #1e40af; }
.status-warning { background: #fef3c7; color: #b45309; }

/* ==============================================================================
   SECTION HEADINGS & LAYOUT
   ============================================================================== */
.section {
  padding: 100px 0;
  position: relative;
}

.section-light {
  background: var(--white);
}

.section-dark {
  background: var(--slate-950);
  color: var(--slate-300);
}

.section-dark h2, .section-dark h3 {
  color: var(--white);
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 64px;
}

.section-header .badge {
  margin-bottom: 16px;
}

.section-title {
  font-size: 40px;
  margin-bottom: 18px;
}

.section-desc {
  font-size: 18px;
  color: var(--slate-600);
  line-height: 1.6;
}

.section-dark .section-desc {
  color: var(--slate-400);
}

/* ==============================================================================
   FEATURES GRID (VOORDELEN)
   ============================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.feature-card {
  background: var(--white);
  padding: 36px 30px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(37, 99, 235, 0.3);
}

.feature-icon {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 24px;
}

.icon-blue { background: #eff6ff; color: var(--primary); }
.icon-emerald { background: #ecfdf5; color: var(--accent-emerald); }
.icon-purple { background: #f5f3ff; color: var(--accent-purple); }
.icon-amber { background: #fffbeb; color: var(--accent-amber); }
.icon-cyan { background: #ecfeff; color: var(--accent-cyan); }
.icon-rose { background: #fff1f2; color: #e11d48; }

.feature-title {
  font-size: 21px;
  margin-bottom: 12px;
}

.feature-text {
  font-size: 15px;
  color: var(--slate-600);
  line-height: 1.6;
}

/* ==============================================================================
   AVG & VEILIGHEID HIGHLIGHT (DARK CARD)
   ============================================================================== */
.security-banner {
  background: linear-gradient(135deg, var(--slate-900) 0%, #1e1b4b 100%);
  border-radius: var(--radius-xl);
  padding: 60px;
  color: var(--white);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.security-banner::after {
  content: '';
  position: absolute;
  bottom: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.security-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
  align-items: center;
}

.security-content h3 {
  font-size: 32px;
  margin-bottom: 18px;
  color: var(--white);
}

.security-content p {
  color: var(--slate-300);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 28px;
}

.security-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.security-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--slate-200);
}

.security-checklist svg {
  color: #34d399;
  flex-shrink: 0;
  margin-top: 2px;
}

.security-badge-box {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 30px;
  text-align: center;
}

.shield-icon {
  width: 80px;
  height: 80px;
  background: rgba(16, 185, 129, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: #34d399;
}

/* ==============================================================================
   PRICING SECTION & TIERS
   ============================================================================== */
.pricing-section {
  background: #f8fafc;
}

.billing-switcher {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 50px;
}

.billing-label {
  font-size: 16px;
  font-weight: 700;
  color: var(--slate-600);
  cursor: pointer;
}

.billing-label.active {
  color: var(--slate-900);
}

.switch {
  position: relative;
  display: inline-block;
  width: 58px;
  height: 32px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: var(--slate-300);
  transition: .3s;
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 24px;
  width: 24px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .3s;
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
}

input:checked + .slider {
  background-color: var(--primary);
}

input:checked + .slider:before {
  transform: translateX(26px);
}

.save-badge {
  background: #dcfce7;
  color: #15803d;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

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

.pricing-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 36px 26px;
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--transition-normal);
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.pricing-card.popular {
  border: 2px solid var(--primary);
  box-shadow: 0 16px 32px -4px var(--primary-glow);
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.plan-name {
  font-size: 22px;
  margin-bottom: 8px;
}

.plan-desc {
  font-size: 13px;
  color: var(--slate-500);
  min-height: 38px;
  margin-bottom: 20px;
}

.plan-price-wrapper {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--slate-100);
}

.plan-currency {
  font-size: 20px;
  font-weight: 700;
  vertical-align: top;
  position: relative;
  top: 4px;
}

.plan-price {
  font-size: 44px;
  font-weight: 900;
  color: var(--slate-950);
  letter-spacing: -0.03em;
}

.plan-period {
  font-size: 14px;
  color: var(--slate-500);
  font-weight: 500;
}

.plan-annual-note {
  font-size: 12px;
  color: var(--accent-emerald);
  font-weight: 700;
  margin-top: 4px;
}

.plan-users-badge {
  background: var(--slate-100);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--slate-800);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 13.5px;
  color: var(--slate-700);
  margin-bottom: 30px;
  flex: 1;
}

.plan-features li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.plan-features svg {
  color: var(--accent-emerald);
  flex-shrink: 0;
}

.pricing-all-included {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate-200);
  padding: 32px;
  margin-top: 20px;
}

.all-included-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 16px;
}

.all-included-item {
  display: flex;
  gap: 12px;
  font-size: 14px;
}

.all-included-item svg {
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ==============================================================================
   INTERACTIVE COST CALCULATOR
   ============================================================================== */
.calculator-box {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px;
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-lg);
  max-width: 900px;
  margin: 50px auto 0;
}

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

.slider-group {
  margin-bottom: 24px;
}

.slider-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-weight: 700;
  font-size: 15px;
}

.slider-val {
  color: var(--primary);
  font-size: 18px;
  font-weight: 800;
}

input[type=range] {
  width: 100%;
  height: 8px;
  border-radius: 5px;
  background: var(--slate-200);
  outline: none;
  -webkit-appearance: none;
}

input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  transition: transform 0.1s;
}

input[type=range]::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.calc-result-card {
  background: linear-gradient(135deg, var(--slate-900) 0%, #1e293b 100%);
  border-radius: var(--radius-lg);
  padding: 30px;
  color: var(--white);
  text-align: center;
}

.calc-rec-tier {
  font-size: 13px;
  color: #38bdf8;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.calc-price-big {
  font-size: 48px;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  margin: 10px 0;
}

.calc-per-user {
  font-size: 13px;
  color: var(--slate-400);
  margin-bottom: 20px;
}

/* ==============================================================================
   TESTIMONIALS / QUOTES
   ============================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 32px;
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-quote {
  font-size: 15px;
  font-style: italic;
  color: var(--slate-700);
  line-height: 1.6;
  margin-bottom: 24px;
}

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

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--slate-200);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--primary);
  font-size: 16px;
}

.author-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--slate-900);
}

.author-role {
  font-size: 12px;
  color: var(--slate-500);
}

/* ==============================================================================
   FAQ ACCORDION
   ============================================================================== */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.faq-question {
  padding: 22px 26px;
  font-size: 17px;
  font-weight: 700;
  color: var(--slate-900);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.faq-icon {
  transition: transform var(--transition-normal);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  padding: 0 26px;
  color: var(--slate-600);
  font-size: 15px;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  padding-bottom: 22px;
}

/* ==============================================================================
   CONTACT & DEMO FORM
   ============================================================================== */
.contact-section {
  background: radial-gradient(circle at 50% 100%, #eff6ff 0%, #ffffff 80%);
}

.contact-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 50px;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--slate-200);
  max-width: 900px;
  margin: 0 auto;
}

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

.form-full {
  grid-column: span 2;
}

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

.form-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--slate-700);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  font-size: 15px;
  font-family: inherit;
  border-radius: var(--radius-md);
  border: 1px solid var(--slate-300);
  background: var(--slate-50);
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 4px var(--primary-glow);
}

textarea.form-control {
  min-height: 110px;
  resize: vertical;
}

.form-alert {
  padding: 14px 18px;
  border-radius: var(--radius-md);
  font-size: 14px;
  margin-bottom: 20px;
  display: none;
}

.form-alert.success {
  background: #dcfce7;
  color: #15803d;
  border: 1px solid #bbf7d0;
}

.form-alert.error {
  background: #fee2e2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

/* ==============================================================================
   FOOTER
   ============================================================================== */
.footer {
  background: var(--slate-950);
  color: var(--slate-400);
  padding: 80px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

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

.footer-brand h4 {
  color: var(--white);
  font-size: 22px;
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.6;
  max-width: 320px;
}

.footer-col h5 {
  color: var(--white);
  font-size: 16px;
  margin-bottom: 20px;
}

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

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

.footer-bottom {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
}

/* ==============================================================================
   RESPONSIVENESS (MOBILE & TABLET)
   ============================================================================== */
@media (max-width: 1024px) {
  .hero-title { font-size: 44px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .security-grid { grid-template-columns: 1fr; }
  .all-included-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { gap: 14px; margin: 0 10px; }
  .nav-link { font-size: 13.5px; }
  .nav-container { padding: 0 16px; }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
}

@media (max-width: 768px) {
  .hero-title { font-size: 34px; }
  .hero-subtitle { font-size: 16px; }
  .features-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .calc-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-full { grid-column: span 1; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .mockup-grid { grid-template-columns: 1fr; }
  .all-included-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .security-banner { padding: 30px 20px; }
}

/* ==============================================================================
   KEYFRAME ANIMATIONS
   ============================================================================== */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulseSubtle {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.02); }
}

/* ==============================================================================
   THEME TOGGLE BUTTON & DARK MODE
   ============================================================================== */
.btn-theme-toggle {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  border: 1px solid var(--slate-200);
  background: var(--white);
  color: var(--slate-700);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
  padding: 0;
  outline: none;
  flex-shrink: 0;
}

.btn-theme-toggle:hover {
  background: var(--slate-100);
  color: var(--primary);
  border-color: var(--slate-300);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-theme-toggle .icon-sun {
  display: none;
  color: #f59e0b;
}

.btn-theme-toggle .icon-moon {
  display: block;
  color: var(--slate-600);
}

/* Dark Mode Overrides */
[data-theme="dark"] {
  color-scheme: dark;
}

[data-theme="dark"] body {
  background-color: #090d16;
  color: #94a3b8;
}

[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] h4,
[data-theme="dark"] h5,
[data-theme="dark"] h6 {
  color: #f8fafc;
}

[data-theme="dark"] .navbar {
  background: rgba(9, 13, 22, 0.88);
  border-bottom-color: rgba(30, 41, 59, 0.8);
}

[data-theme="dark"] .navbar.scrolled {
  background: rgba(9, 13, 22, 0.96);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .nav-logo {
  color: #f8fafc;
}

[data-theme="dark"] .nav-link {
  color: #94a3b8;
}

[data-theme="dark"] .nav-link:hover {
  color: #60a5fa;
}

[data-theme="dark"] .btn-theme-toggle {
  background: #1e293b;
  border-color: #334155;
  color: #f8fafc;
}

[data-theme="dark"] .btn-theme-toggle:hover {
  background: #334155;
  border-color: #475569;
}

[data-theme="dark"] .btn-theme-toggle .icon-sun {
  display: block;
}

[data-theme="dark"] .btn-theme-toggle .icon-moon {
  display: none;
}

[data-theme="dark"] .btn-secondary {
  background: #1e293b;
  color: #f8fafc;
  border-color: #334155;
}

[data-theme="dark"] .btn-secondary:hover {
  background: #334155;
  color: #ffffff;
}

[data-theme="dark"] .hero {
  background: radial-gradient(circle at 50% 0%, #172554 0%, #090d16 80%);
}

[data-theme="dark"] .hero-title {
  color: #f8fafc;
}

[data-theme="dark"] .hero-subtitle {
  color: #94a3b8;
}

[data-theme="dark"] .hero-usps {
  color: #94a3b8;
}

[data-theme="dark"] .hero-mockup-wrapper {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.8), rgba(15, 23, 42, 0.6));
  box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}

[data-theme="dark"] .mockup-window {
  border-color: #1e293b;
}

[data-theme="dark"] .mockup-body {
  background: #0f172a;
}

[data-theme="dark"] .mockup-school-title {
  color: #f8fafc;
}

[data-theme="dark"] .mockup-dash-header {
  border-bottom-color: #1e293b;
}

[data-theme="dark"] .mockup-stat-card {
  background: #1e293b;
  border-color: #334155;
}

[data-theme="dark"] .mockup-stat-val {
  color: #f8fafc;
}

[data-theme="dark"] .mockup-table-card {
  background: #1e293b;
  border-color: #334155;
}

[data-theme="dark"] .mockup-table th {
  background: #0f172a;
  color: #cbd5e1;
  border-bottom-color: #334155;
}

[data-theme="dark"] .mockup-table td {
  border-bottom-color: #334155;
  color: #cbd5e1;
}

[data-theme="dark"] .section-light {
  background: #090d16;
}

[data-theme="dark"] .section-title {
  color: #f8fafc;
}

[data-theme="dark"] .section-desc {
  color: #94a3b8;
}

[data-theme="dark"] .feature-card {
  background: #111827;
  border-color: #1f2937;
}

[data-theme="dark"] .feature-card:hover {
  background: #161f30;
  border-color: rgba(96, 165, 250, 0.4);
}

[data-theme="dark"] .feature-text {
  color: #94a3b8;
}

[data-theme="dark"] .pricing-section {
  background: #06090e;
}

[data-theme="dark"] .billing-label {
  color: #94a3b8;
}

[data-theme="dark"] .billing-label.active {
  color: #f8fafc;
}

[data-theme="dark"] .pricing-card {
  background: #111827;
  border-color: #1f2937;
}

[data-theme="dark"] .pricing-card.popular {
  border-color: var(--primary);
  background: #131d2e;
}

[data-theme="dark"] .plan-price {
  color: #f8fafc;
}

[data-theme="dark"] .plan-desc {
  color: #94a3b8;
}

[data-theme="dark"] .plan-users-badge {
  background: #1e293b;
  color: #cbd5e1;
}

[data-theme="dark"] .plan-features {
  color: #cbd5e1;
}

[data-theme="dark"] .pricing-all-included {
  background: #111827;
  border-color: #1f2937;
}

[data-theme="dark"] .calculator-box {
  background: #111827;
  border-color: #1f2937;
}

[data-theme="dark"] .slider-header {
  color: #f8fafc;
}

[data-theme="dark"] .faq-item {
  background: #111827;
  border-color: #1f2937;
}

[data-theme="dark"] .faq-question {
  color: #f8fafc;
}

[data-theme="dark"] .faq-answer {
  color: #94a3b8;
}

[data-theme="dark"] .contact-section {
  background: radial-gradient(circle at 50% 100%, #172554 0%, #090d16 80%);
}

[data-theme="dark"] .contact-card {
  background: #111827;
  border-color: #1f2937;
}

[data-theme="dark"] .form-label {
  color: #e2e8f0;
}

[data-theme="dark"] .form-control {
  background: #0f172a;
  border-color: #334155;
  color: #f8fafc;
}

[data-theme="dark"] .form-control:focus {
  background: #1e293b;
  border-color: #3b82f6;
}

