/* Skhoolar - Stunning Education Platform Design System */

:root {
  /* Primary Brand Colors */
  --navy-dark: #1a365d;
  --blue-bright: #3182ce; 
  --blue-light: #63b3ed;
  
  /* Secondary Accent Colors */
  --green-success: #38a169;
  --orange-accent: #ed8936;
  --purple-creative: #805ad5;
  
  /* Neutral Palette */
  --gray-50: #f7fafc;
  --gray-100: #edf2f7;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e0;
  --gray-700: #4a5568;
  --gray-800: #2d3748;
  --gray-900: #1a202c;
  --white: #ffffff;
  
  /* Semantic Colors */
  --color-text: var(--gray-800);
  --color-text-light: var(--gray-700);
  --color-text-muted: #a0aec0;
  --color-background: var(--white);
  --color-border: var(--gray-200);
  
  /* Gradients for Visual Impact */
  --gradient-hero: linear-gradient(135deg, var(--navy-dark) 0%, var(--blue-bright) 100%);
  --gradient-cta: linear-gradient(45deg, var(--blue-bright), var(--blue-light));
  --gradient-success: linear-gradient(45deg, var(--green-success) 0%, #48bb78 100%);
  --gradient-accent: linear-gradient(135deg, var(--orange-accent) 0%, var(--purple-creative) 100%);
  
  /* Typography System - Make headings pop! */
  --font-family-base: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-family-heading: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  
  /* Responsive Font Sizes */
  --font-size-xs: 0.75rem;    /* 12px */
  --font-size-sm: 0.875rem;   /* 14px */
  --font-size-base: 1rem;     /* 16px */
  --font-size-lg: 1.125rem;   /* 18px */
  --font-size-xl: 1.25rem;    /* 20px */
  --font-size-2xl: 1.5rem;    /* 24px */
  --font-size-3xl: 1.875rem;  /* 30px */
  --font-size-4xl: 2.25rem;   /* 36px */
  --font-size-5xl: 3rem;      /* 48px */
  --font-size-6xl: 3.75rem;   /* 60px */
  
  /* Line Heights */
  --line-height-tight: 1.1;
  --line-height-base: 1.6;
  --line-height-relaxed: 1.8;
  
  /* Font Weights */
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-extrabold: 800;
  --font-weight-black: 900;
  
  /* Spacing Scale */
  --space-1: 0.25rem;   /* 4px */
  --space-2: 0.5rem;    /* 8px */
  --space-3: 0.75rem;   /* 12px */
  --space-4: 1rem;      /* 16px */
  --space-5: 1.25rem;   /* 20px */
  --space-6: 1.5rem;    /* 24px */
  --space-8: 2rem;      /* 32px */
  --space-10: 2.5rem;   /* 40px */
  --space-12: 3rem;     /* 48px */
  --space-16: 4rem;     /* 64px */
  --space-20: 5rem;     /* 80px */
  --space-24: 6rem;     /* 96px */
  
  /* Layout */
  --container-width: 1200px;
  --container-padding: var(--space-6);
  --border-radius-sm: 0.25rem;
  --border-radius: 0.5rem;
  --border-radius-lg: 0.75rem;
  --border-radius-xl: 1rem;
  
  /* Shadows for Depth */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  
  /* Animation & Transitions */
  --transition-fast: 0.15s ease-out;
  --transition-base: 0.2s ease-out;
  --transition-slow: 0.3s ease-out;
  --transition-bounce: 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Base Styles - Mobile First */
* {
  box-sizing: border-box;
}

::selection {
  background-color: var(--blue-light);
  color: var(--white);
}

body {
  font-family: var(--font-family-base);
  font-size: clamp(var(--font-size-base), 2vw, var(--font-size-lg));
  line-height: var(--line-height-base);
  color: var(--color-text);
  background-color: var(--color-background);
  margin: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

.container {
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

/* Typography System - Make headings POP! */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family-heading);
  font-weight: var(--font-weight-extrabold);
  line-height: var(--line-height-tight);
  color: var(--navy-dark);
  margin-top: 0;
  margin-bottom: var(--space-4);
  letter-spacing: -0.025em;
}

h1 { 
  font-size: clamp(var(--font-size-4xl), 5vw, var(--font-size-6xl)); 
  font-weight: var(--font-weight-black);
  line-height: 1.05;
}

h2 { 
  font-size: clamp(var(--font-size-3xl), 4vw, var(--font-size-5xl)); 
  font-weight: var(--font-weight-extrabold);
  line-height: 1.1;
}

h3 { 
  font-size: clamp(var(--font-size-2xl), 3vw, var(--font-size-4xl)); 
  font-weight: var(--font-weight-bold);
  line-height: 1.2;
}

h4 { 
  font-size: clamp(var(--font-size-xl), 2.5vw, var(--font-size-3xl));
  font-weight: var(--font-weight-semibold);
}

h5 { 
  font-size: clamp(var(--font-size-lg), 2vw, var(--font-size-2xl));
  font-weight: var(--font-weight-semibold);
}

h6 { 
  font-size: clamp(var(--font-size-base), 1.5vw, var(--font-size-xl));
  font-weight: var(--font-weight-medium);
}

p {
  font-size: clamp(var(--font-size-base), 2vw, var(--font-size-lg));
  line-height: var(--line-height-base);
  margin-bottom: var(--space-4);
  color: var(--color-text-light);
}

.large-text {
  font-size: clamp(var(--font-size-lg), 2.5vw, var(--font-size-xl));
  line-height: var(--line-height-relaxed);
  font-weight: var(--font-weight-medium);
}

.lead {
  font-size: clamp(var(--font-size-lg), 2.5vw, var(--font-size-2xl));
  line-height: var(--line-height-relaxed);
  font-weight: var(--font-weight-medium);
  color: var(--color-text);
}

a {
  color: var(--blue-bright);
  text-decoration: none;
  font-weight: var(--font-weight-medium);
  transition: all var(--transition-base);
  position: relative;
}

a:hover {
  color: var(--navy-dark);
  transform: translateY(-1px);
}

a:focus {
  outline: 2px solid var(--blue-bright);
  outline-offset: 2px;
}

img {
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius);
}

/* Utilities */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.font-bold { font-weight: var(--font-weight-bold); }
.font-semibold { font-weight: var(--font-weight-semibold); }
.font-medium { font-weight: var(--font-weight-medium); }

.text-navy { color: var(--navy-dark); }
.text-blue { color: var(--blue-bright); }
.text-muted { color: var(--color-text-muted); }

.bg-light { background-color: var(--gray-50); }
.bg-gradient { background: var(--gradient-hero); }

.rounded { border-radius: var(--border-radius); }
.rounded-lg { border-radius: var(--border-radius-lg); }

.shadow { box-shadow: var(--shadow); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.shadow-xl { box-shadow: var(--shadow-xl); }

/* Modern Button System - Conversion Optimized */
.btn, .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-3) var(--space-6);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  font-family: inherit;
  text-decoration: none;
  border: none;
  border-radius: var(--border-radius-lg);
  cursor: pointer;
  transition: all var(--transition-base);
  position: relative;
  min-height: 44px; /* Touch-friendly */
  user-select: none;
  line-height: 1;
  white-space: nowrap;
}

/* Primary CTA - Make it irresistible */
.btn-primary, .button.primary {
  background: var(--gradient-cta);
  color: var(--white);
  box-shadow: var(--shadow-md);
  transform: translateY(0);
}

.btn-primary:hover, .button.primary:hover {
  background: var(--gradient-success);
  box-shadow: var(--shadow-xl);
  transform: translateY(-2px);
  color: var(--white);
}

.btn-primary:active, .button.primary:active {
  transform: translateY(0);
  box-shadow: var(--shadow);
}

/* Secondary CTA */
.btn-secondary, .button.secondary {
  background: transparent;
  color: var(--blue-bright);
  border: 2px solid var(--blue-bright);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover, .button.secondary:hover {
  background: var(--blue-bright);
  color: var(--white);
  box-shadow: var(--shadow-lg);
  transform: translateY(-1px);
}

/* Outline/Ghost Button */
.btn-outline, .button.outline {
  background: transparent;
  color: var(--navy-dark);
  border: 2px solid var(--gray-300);
}

.btn-outline:hover, .button.outline:hover {
  border-color: var(--blue-bright);
  color: var(--blue-bright);
  box-shadow: var(--shadow-sm);
}

/* Large buttons for hero CTAs */
.btn-large, .button.large {
  padding: var(--space-4) var(--space-8);
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
  min-height: 56px;
}

/* Small buttons */
.btn-small, .button.small {
  padding: var(--space-2) var(--space-4);
  font-size: var(--font-size-sm);
  min-height: 36px;
}

/* Mobile CTA sticky button */
.mobile-cta {
  position: fixed;
  bottom: var(--space-4);
  left: var(--space-4);
  right: var(--space-4);
  z-index: 100;
  display: none;
}

@media (max-width: 768px) {
  .mobile-cta {
    display: block;
  }
}

/* Trust signals and benefits in buttons */
.btn .benefit, .button .benefit {
  font-size: var(--font-size-sm);
  opacity: 0.9;
  margin-left: var(--space-2);
  font-weight: var(--font-weight-medium);
}

/* Header - Clean and Modern */
.site-header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--color-border);
  transition: all var(--transition-base);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.site-header.scrolled {
  box-shadow: var(--shadow-lg);
  padding: var(--space-3) 0;
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-8);
}

.site-header .logo a {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-black);
  color: var(--navy-dark);
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
}

.main-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  gap: var(--space-6);
}

.main-nav a {
  color: var(--color-text);
  font-weight: var(--font-weight-medium);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--border-radius);
  transition: all var(--transition-base);
}

.main-nav a:hover {
  color: var(--blue-bright);
  background-color: var(--gray-50);
  transform: translateY(-1px);
}

/* Mobile Navigation */
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  
  .site-header .container {
    gap: var(--space-4);
  }
  
  .site-header .logo a {
    font-size: var(--font-size-xl);
  }
}


/* Section Layout System */
.section-padding {
  padding: var(--space-20) 0;
}

.section-padding-lg {
  padding: var(--space-24) 0;
}

.section-padding-sm {
  padding: var(--space-16) 0;
}

/* Section Titles */
.section-title {
  margin-bottom: var(--space-12);
}

.section-title h2 {
  margin-bottom: var(--space-4);
}

.section-title p {
  font-size: var(--font-size-xl);
  color: var(--color-text-light);
  max-width: 600px;
  margin: 0 auto;
}

/* Background Variations */
.bg-light {
  background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
}

.bg-gradient {
  background: var(--gradient-hero);
  color: var(--white);
}

.bg-gradient * {
  color: inherit;
}

.bg-pattern {
  background-image: 
    radial-gradient(circle at 1px 1px, var(--gray-200) 1px, transparent 0);
  background-size: 20px 20px;
}

/* Subheading Styles */
.subhead {
  font-size: clamp(var(--font-size-lg), 2.5vw, var(--font-size-xl));
  color: var(--color-text-light);
  max-width: 700px;
  margin: 0 auto var(--space-8);
  line-height: var(--line-height-relaxed);
  font-weight: var(--font-weight-medium);
}

/* STUNNING Hero Section */
.hero {
  position: relative;
  padding: var(--space-24) 0;
  background: var(--gradient-hero);
  color: var(--white);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.4;
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: var(--space-12);
}

.hero-content h1 {
  color: var(--white);
  margin-bottom: var(--space-6);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-content .subhead {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-8);
  font-size: clamp(var(--font-size-lg), 2.5vw, var(--font-size-2xl));
}

.hero .trust-signal {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--border-radius-xl);
  font-weight: var(--font-weight-medium);
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: var(--space-6);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-cta {
  display: flex;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
  flex-wrap: wrap;
}

.trial-info {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.trial-info::before {
  content: '✓';
  color: var(--green-success);
  font-weight: var(--font-weight-bold);
}

/* Hero Image/Illustration */
.hero-image {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.7; }
  50% { transform: translate(-50%, -50%) scale(1.05); opacity: 0.4; }
}

/* Hero Mobile Responsive */
@media (max-width: 768px) {
  .hero {
    padding: var(--space-20) 0;
    text-align: center;
  }
  
  .hero .container {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  
  .hero-cta {
    justify-content: center;
  }
  
  .hero-cta .button {
    flex: 1;
    max-width: 280px;
  }
}

/* Modern Card System */
.card {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow);
  padding: var(--space-6);
  border: 1px solid var(--gray-200);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
  border-color: var(--blue-bright);
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-accent);
  transform: translateX(-100%);
  transition: transform var(--transition-base);
}

.card:hover::before {
  transform: translateX(0);
}

/* Module Grid - Interactive and Beautiful */
.module-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-6);
  margin-top: var(--space-8);
}

.module-card {
  position: relative;
  text-align: center;
  padding: var(--space-8) var(--space-6);
}

.module-card .module-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-4);
  padding: var(--space-4);
  background: var(--gradient-cta);
  border-radius: var(--border-radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-bounce);
}

.module-card:hover .module-icon {
  transform: scale(1.1) rotate(5deg);
  background: var(--gradient-success);
}

.module-card h3 {
  margin-bottom: var(--space-3);
  color: var(--navy-dark);
}

.module-card p {
  margin-bottom: var(--space-4);
  font-size: var(--font-size-base);
}

.learn-more {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: var(--font-weight-semibold);
  color: var(--blue-bright);
  transition: all var(--transition-base);
}

.learn-more:hover {
  gap: var(--space-3);
  color: var(--navy-dark);
}

/* Steps Process Grid */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-8);
  margin-top: var(--space-12);
}

.step-card {
  text-align: center;
  position: relative;
  padding: var(--space-6);
}

.step-number {
  width: 60px;
  height: 60px;
  background: var(--gradient-cta);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-bold);
  margin: 0 auto var(--space-4);
  position: relative;
  z-index: 2;
}

.step-card::before {
  content: '';
  position: absolute;
  top: 30px;
  right: -50%;
  width: 100%;
  height: 2px;
  background: var(--gradient-cta);
  opacity: 0.3;
  z-index: 1;
}

.step-card:last-child::before {
  display: none;
}

.step-card h3 {
  margin-bottom: var(--space-3);
  color: var(--navy-dark);
}

/* Security & Features Section */
.security-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
  margin-top: var(--space-8);
}

.security-features ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.security-features li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) 0;
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-medium);
  border-bottom: 1px solid var(--gray-100);
  transition: all var(--transition-base);
}

.security-features li:hover {
  background-color: var(--gray-50);
  padding-left: var(--space-4);
  border-radius: var(--border-radius);
}

.security-features li:last-child {
  border-bottom: none;
}

.security-features svg {
  color: var(--green-success);
  min-width: 24px;
  animation: checkmark 0.6s ease-in-out;
}

@keyframes checkmark {
  0% { opacity: 0; transform: scale(0.5); }
  50% { opacity: 0.8; transform: scale(1.2); }
  100% { opacity: 1; transform: scale(1); }
}

.security-badges-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Grid Utilities */
.grid-2-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-8);
  align-items: center;
}

.grid-3-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-6);
}

.grid-4-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-4);
}

/* Footer - Modern and Clean */
.site-footer {
  background: var(--gray-900);
  color: var(--white);
  padding: var(--space-20) 0 var(--space-8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: var(--space-12);
  margin-bottom: var(--space-12);
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  .footer-column {
    margin-bottom: var(--space-6);
  }
}

.footer-column h4 {
  color: var(--white);
  margin-bottom: var(--space-4);
  font-size: var(--font-size-lg);
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column li {
  margin-bottom: var(--space-2);
}

.footer-column a {
  color: var(--gray-300);
  transition: color var(--transition-base);
}

.footer-column a:hover {
  color: var(--blue-light);
  transform: none;
}

/* Footer Column Specific Styles */
.footer-column.company {
  max-width: none;
}

.founder-quote {
  margin-top: 1rem;
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-badges .badge {
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.8rem;
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #374151;
}

@media (max-width: 768px) {
  .footer-bottom {
    text-align: center;
  }
  
  .footer-bottom div {
    margin-bottom: 1rem;
  }
}

/* Homepage-Specific Styles */

/* Consistent Section Spacing */
.hero,
.problem-solution,
.key-features,
.how-it-works,
.founder-story,
.all-modules,
.early-access-cta {
  padding: 80px 0;
}

.hero {
  padding: 120px 0 80px;
}

section + section {
  border-top: 1px solid var(--gray-100);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

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

.hero-trust-signal {
  display: inline-block;
  background: rgba(59, 130, 246, 0.1);
  color: var(--blue-bright);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 24px;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--color-text-light);
  margin-bottom: 32px;
  line-height: 1.5;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

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

.communication-flow {
  display: flex;
  align-items: center;
  gap: 24px;
  background: white;
  padding: 32px;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.flow-step {
  text-align: center;
  min-width: 120px;
}

.flow-step span {
  color: var(--navy-dark);
  font-weight: 500;
  font-size: 0.9rem;
}

.flow-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-cta);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin: 0 auto 12px;
}

.flow-arrow {
  font-size: 24px;
  color: var(--blue-bright);
  font-weight: bold;
}

/* Problem/Solution Section */
.problem-solution {
  background: var(--gray-50);
}

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

.problem h2,
.solution h2 {
  font-size: 2.5rem;
  margin-bottom: 24px;
  line-height: 1.2;
}

.problem h2 {
  color: var(--color-text);
}

.solution h2 {
  color: var(--blue-bright);
}

/* Key Features Section */
.key-features h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 60px;
  color: var(--navy-dark);
}

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

.feature-card {
  text-align: center;
  padding: 40px 24px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.feature-icon {
  color: var(--blue-bright);
  margin-bottom: 24px;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
  color: var(--navy-dark);
}

.feature-card p {
  color: var(--color-text-light);
  line-height: 1.6;
}

/* How It Works - Fixed Timeline */
.how-it-works {
  background: var(--gray-50);
}

.how-it-works h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 60px;
  color: var(--navy-dark);
}

.timeline-container {
  position: relative;
}

.timeline-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  position: relative;
}

/* Fixed Timeline Connection Line */
.timeline-steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 20%;
  right: 20%;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-bright) 0%, var(--purple-creative) 50%, var(--green-success) 100%);
  z-index: 1;
}

.timeline-step {
  position: relative;
  text-align: center;
  padding: 40px 24px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  z-index: 2;
}

.step-number {
  width: 80px;
  height: 80px;
  background: var(--gradient-cta);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: bold;
  margin: -60px auto 24px;
  border: 4px solid white;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.timeline-step h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
  color: var(--navy-dark);
}

.timeline-step p {
  color: var(--color-text-light);
  line-height: 1.6;
}

/* Founder Story Section */
.founder-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  align-items: start;
}

.founder-text h2 {
  font-size: 2.5rem;
  margin-bottom: 32px;
  color: var(--navy-dark);
}

.founder-quote {
  font-size: 1.25rem;
  font-style: italic;
  color: var(--blue-bright);
  border-left: 4px solid var(--blue-bright);
  padding-left: 24px;
  margin: 32px 0;
  line-height: 1.6;
}

.founder-credentials {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.credential {
  padding: 24px;
  background: var(--gray-50);
  border-radius: 12px;
  text-align: center;
}

.credential strong {
  display: block;
  font-size: 1.25rem;
  color: var(--navy-dark);
  margin-bottom: 8px;
}

.credential span {
  color: var(--color-text-light);
  font-size: 0.9rem;
}

/* All Modules Section - Fixed Grid */
.all-modules {
  background: var(--gray-50);
}

.all-modules h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 16px;
  color: var(--navy-dark);
}

.section-subtitle {
  text-align: center;
  font-size: 1.125rem;
  color: var(--color-text-light);
  margin-bottom: 60px;
}

.modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  margin-bottom: 60px;
}

.module-card {
  background: white;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  min-height: 300px;
}

.module-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.module-card.featured {
  border: 2px solid var(--blue-bright);
  position: relative;
}

.module-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  position: relative;
}

.module-icon {
  color: var(--blue-bright);
  flex-shrink: 0;
}

.module-info h3 {
  font-size: 1.25rem;
  color: var(--navy-dark);
  margin: 0;
}

.module-badge {
  position: absolute;
  top: -12px;
  right: -12px;
  background: var(--gradient-cta);
  color: white;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
}

.module-card p {
  color: var(--color-text-light);
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: 20px;
}

.module-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.module-features li {
  padding: 8px 0;
  color: var(--color-text-light);
  position: relative;
  padding-left: 20px;
}

.module-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green-success);
  font-weight: bold;
}

.module-cta {
  color: var(--blue-bright);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.9rem;
  margin-top: auto;
}

.module-cta:hover {
  color: var(--navy-dark);
}

.modules-footer {
  text-align: center;
}

.modules-footer p {
  color: var(--color-text-light);
  margin-bottom: 24px;
}

/* Early Access CTA Section */
.early-access-cta {
  background: var(--gradient-hero);
  color: white;
}

.cta-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.early-access-cta h2 {
  font-size: 2.5rem;
  margin-bottom: 24px;
  color: white;
}

.early-access-cta p {
  font-size: 1.125rem;
  margin-bottom: 40px;
  color: rgba(255,255,255,0.9);
}

.cta-options {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.btn-large {
  padding: 16px 32px;
  font-size: 1.125rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.btn-large small {
  font-size: 0.9rem;
  opacity: 0.8;
}

.cta-guarantees {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  margin: 0;
}

/* Fix secondary button on blue background */
.early-access-cta .btn-secondary {
  background: white;
  color: var(--navy-dark);
  border: 2px solid white;
}

.early-access-cta .btn-secondary:hover {
  background: rgba(255,255,255,0.9);
  transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .communication-flow {
    flex-direction: column;
    gap: 16px;
  }
  
  .flow-arrow {
    transform: rotate(90deg);
  }
  
  .problem-solution-grid,
  .founder-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .timeline-steps {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .timeline-steps::before {
    display: none;
  }
  
  .step-number {
    margin-top: -20px;
  }
  
  .modules-grid {
    grid-template-columns: 1fr;
  }
  
  .cta-options {
    flex-direction: column;
    align-items: center;
  }
}

/* Special Effects */
.floating {
  animation: float 3s ease-in-out infinite;
}

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

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease-out forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile Optimizations */
@media (max-width: 768px) {
  .section-padding {
    padding: var(--space-16) 0;
  }
  
  .security-content {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  
  .step-card::before {
    display: none;
  }
  
  .grid-2-col {
    grid-template-columns: 1fr;
  }
  
  .module-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
  
  .steps-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
  
  /* Timeline mobile adjustments */
  .timeline-foundation,
  .timeline-progress,
  .timeline-arrow-1,
  .timeline-arrow-2,
  .flow-labels {
    display: none;
  }
  
  .steps-timeline {
    padding: 2rem 0;
  }
  
  /* Create vertical mobile timeline */
  .steps-timeline::before {
    content: '';
    position: absolute;
    left: 2rem;
    top: 3rem;
    bottom: 3rem;
    width: 4px;
    background: linear-gradient(to bottom, var(--blue-bright) 0%, var(--blue-bright) 33%, var(--purple-creative) 33%, var(--purple-creative) 66%, var(--green-success) 66%, var(--green-success) 100%);
    border-radius: 2px;
    z-index: 1;
  }
  
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    max-width: 400px;
    margin: 0 auto;
    padding-left: 1rem;
  }
  
  .step-card {
    margin-left: 2.5rem;
    border-width: 2px;
  }
  
  .step-number {
    width: 70px;
    height: 70px;
    font-size: 1.5rem;
    position: absolute;
    left: -5rem;
    top: 1.5rem;
    z-index: 10;
  }
  
  .step-number > div {
    display: none;
  }
  
  .flow-indicator {
    bottom: 0.5rem;
    right: 0.5rem;
    font-size: 0.7rem;
  }
}

/* Timeline and Section Stacking Fixes */
.solution-overview {
  position: relative;
  /* Creates a new stacking context to contain all child elements */
  isolation: isolate; 
  /* Establishes its place in the stacking order */
  z-index: 1; 
}

.steps-timeline {
  /* This will clip the absolutely positioned timeline bar if it tries to extend out */
  overflow: hidden;
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: 3rem 0;
}

.module-showcase {
  position: relative;
  /* Ensures this section appears on top of the previous one */
  z-index: 2; 
}

/* Timeline Elements with Improved Prominence */
.timeline-foundation {
  position: absolute;
  top: 88px; /* Adjusted for thicker bar */
  left: 12%;
  right: 12%;
  height: 20px; /* Increased from 12px */
  background: var(--gray-200);
  border-radius: 10px; /* Adjusted for new height */
  z-index: 1;
}

.timeline-progress {
  position: absolute;
  top: 88px; /* Adjusted for thicker bar */
  left: 12%;
  right: 12%;
  height: 20px; /* Increased from 12px */
  background: linear-gradient(to right, var(--blue-bright) 0%, var(--blue-bright) 50%, var(--purple-creative) 50%, var(--purple-creative) 75%, var(--green-success) 75%, var(--green-success) 100%);
  border-radius: 10px; /* Adjusted for new height */
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2); /* Enhanced shadow for prominence */
}

/* Timeline Arrows - Adjusted for thicker bar */
.timeline-arrow-1 {
  position: absolute;
  top: 78px; /* Adjusted to align with thicker bar */
  left: 33%;
  width: 0;
  height: 0;
  border-left: 20px solid var(--blue-bright); /* Increased from 12px */
  border-top: 20px solid transparent; /* Increased from 12px */
  border-bottom: 20px solid transparent; /* Increased from 12px */
  z-index: 3;
  filter: drop-shadow(0 3px 6px rgba(0,0,0,0.15));
}

.timeline-arrow-2 {
  position: absolute;
  top: 78px; /* Adjusted to align with thicker bar */
  left: 66%;
  width: 0;
  height: 0;
  border-left: 20px solid var(--purple-creative); /* Increased from 12px */
  border-top: 20px solid transparent; /* Increased from 12px */
  border-bottom: 20px solid transparent; /* Increased from 12px */
  z-index: 3;
  filter: drop-shadow(0 3px 6px rgba(0,0,0,0.15));
}

/* Tablet responsive adjustments */
@media (max-width: 1024px) and (min-width: 769px) {
  .steps-timeline {
    max-width: 800px;
  }
  
  .steps-grid {
    gap: 1.5rem;
  }
}

/* Desktop hover effects */
@media (min-width: 769px) {
  .step-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
  }
  
  .timeline-progress:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  }
  
  .flow-indicator {
    transition: all 0.2s ease;
  }
  
  .step-card:hover .flow-indicator {
    transform: scale(1.05);
    opacity: 1;
  }
}

/* Form Styling - Critical for Contact Forms */
.cta-card {
  background: var(--white);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--color-text);
  font-size: var(--font-size-sm);
  line-height: 1.4;
}

.form-control {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid var(--color-border);
  border-radius: 0.5rem;
  background: var(--white);
  color: var(--color-text);
  font-size: var(--font-size-base);
  line-height: 1.5;
  transition: all var(--transition-base);
  box-sizing: border-box;
}

.form-control:focus {
  outline: none;
  border-color: var(--blue-bright);
  box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.1);
}

.form-control::placeholder {
  color: var(--color-text-muted);
}

/* Textarea specific styling */
textarea.form-control {
  resize: vertical;
  min-height: 100px;
  font-family: inherit;
}

/* Select styling */
select.form-control {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 0.75rem center;
  background-repeat: no-repeat;
  background-size: 1.5em 1.5em;
  padding-right: 2.5rem;
}

/* Checkbox styling */
.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  cursor: pointer;
  font-size: var(--font-size-sm);
  line-height: 1.5;
  color: var(--color-text);
}

.checkbox-label input[type="checkbox"] {
  margin: 0;
  margin-top: 0.25rem;
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  cursor: pointer;
  accent-color: var(--blue-bright);
}

.checkbox-label span {
  color: var(--color-text);
  font-weight: normal;
}

/* Form buttons */
.button.full-width {
  width: 100%;
}

.form-assurance {
  text-align: center;
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  margin: 1rem 0 0;
  line-height: 1.4;
}

/* Special styling for early access form section */
#early-access-form .cta-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Form validation states */
.form-control:invalid {
  border-color: #ef4444;
}

.form-control:valid {
  border-color: var(--green-success);
}

/* Responsive form adjustments */
@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }
  
  .cta-card {
    padding: 1.5rem;
  }
  
  .checkbox-grid {
    grid-template-columns: 1fr !important;
  }
}
