/* Harvey.ai Legal Professional Theme - Dark & Sophisticated */
@import url('https://fonts.googleapis.com/css2?family=Lora:wght@400;500;600;700&display=swap');

:root {
  /* Harvey AI Dark Theme */
  --bg-primary: #0A0A0A;
  --bg-secondary: #111111;
  --bg-tertiary: #1A1A1A;
  --bg-accent: #252525;
  
  /* Spacing Scale */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-7: 28px;
  --space-8: 32px;
  --space-9: 40px;
  --space-10: 48px;
  --space-11: 56px;
  --space-12: 64px;
  --space-13: 80px;
  --space-14: 96px;
  --space-15: 120px;
  
  /* Layout */
  --container-max: 1200px;
  
  /* Text Colors */
  --text-primary: #FFFFFF;
  --text-secondary: #B3B3B3;
  --text-muted: #666666;
  --text-inverse: #0A0A0A;
  --text-accent: #9CA3AF;
  
  /* Accent Colors */
  --accent-primary: #4A9EFF;
  --accent-secondary: #8B5CF6;
  --accent-cyan: #06D6A0;
  --gradient-accent: linear-gradient(135deg, #4A9EFF 0%, #8B5CF6 100%);
  --gradient-purple: linear-gradient(135deg, #8B5CF6 0%, #C084FC 100%);
  
  /* Borders & Shadows */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-accent: rgba(74, 158, 255, 0.3);
  --shadow-glow: 0 0 20px rgba(74, 158, 255, 0.15);
  --shadow-glow-intense: 0 0 30px rgba(74, 158, 255, 0.25);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.3);
  --shadow-xl: 0 25px 50px rgba(0, 0, 0, 0.25);
  
  /* Legacy support */
  --color-primary: var(--accent-primary);
  --color-primary-light: var(--accent-primary);
  --color-primary-dark: var(--accent-secondary);
  --color-accent: var(--accent-secondary);
  --color-white: var(--text-primary);
  --color-neutral-50: var(--bg-tertiary);
  --color-neutral-100: var(--bg-secondary);
  --color-neutral-900: var(--text-primary);
}

/* Light Theme Variables */
:root.light-theme {
  --bg-primary: #FFFFFF;
  --bg-secondary: #F7F9FB;
  --bg-tertiary: #EEF2F6;
  --bg-accent: #E2E8F0;
  --text-primary: #0A0F17;
  --text-secondary: #334155;
  --text-muted: #64748B;
  --text-accent: #475569;
  --border-subtle: rgba(0,0,0,0.08);
  --border-accent: rgba(74,158,255,0.4);
  --shadow-glow: 0 0 12px rgba(74,158,255,0.25);
  --shadow-glow-intense: 0 0 20px rgba(74,158,255,0.35);
  --shadow-lg: 0 8px 28px rgba(0,0,0,0.08);
  --shadow-xl: 0 25px 50px rgba(0,0,0,0.12);
}

/* System preference detection handled via JS + class; removed empty rule to satisfy linter */

/* Theme Toggle Button */
.theme-toggle { margin-left:16px; background:var(--bg-tertiary); border:1px solid var(--border-subtle); color:var(--text-primary); width:44px; height:44px; border-radius:12px; display:flex; align-items:center; justify-content:center; cursor:pointer; position:relative; transition:.35s; }
.theme-toggle:hover { background:var(--bg-secondary); box-shadow:var(--shadow-glow); }
.theme-toggle:focus-visible { outline:2px solid var(--accent-primary); outline-offset:3px; }
.theme-toggle .icon-moon { display:none; }
.light-mode .theme-toggle .icon-moon { display:none; }
.light-mode .theme-toggle .icon-sun { display:block; }
.dark-mode .theme-toggle .icon-sun { display:none; }
.dark-mode .theme-toggle .icon-moon { display:block; }
.light-theme .icon-sun { display:none; }
.light-theme .icon-moon { display:block; }
:root.light-theme .newsletter-preview { background:var(--bg-secondary); }


/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Lora', Georgia, 'Times New Roman', Times, serif;
  font-size: 1.08rem;
  color: var(--text-primary);
  background: var(--bg-primary);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

/* Explicit dark theme class (default) */
:root.dark-theme { color-scheme: dark; }
:root.light-theme { color-scheme: light; }

/* Global containers and accessibility */
.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 24px;
}

:focus-visible {
  outline: 2px solid var(--accent-primary);
  outline-offset: 3px;
}

h1, h2, h3, h4, h5, h6, .form-title, .navbar-brand, .hero-title, .about-title, .features-title, .sample-title, .signup-title, .footer-title {
  font-family: 'Lora', Georgia, 'Times New Roman', Times, serif;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

/* Navigation */
.navbar {
  background: rgba(17, 17, 17, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

/* Light theme navbar variant */
:root.light-theme .navbar { background: rgba(255,255,255,0.86); box-shadow: 0 4px 22px -6px rgba(0,0,0,0.08); }
:root.light-theme .nav-links a:hover { background: rgba(0,0,0,0.04); }
:root.light-theme .nav-links a.active { background: rgba(74,158,255,0.18); }


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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: var(--gradient-accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  box-shadow: var(--shadow-glow);
}

/* Logo Image Styles */
.logo-image {
  height: 44px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  box-shadow: none;
}

/* Theme-based logo switching */
.logo-dark {
  display: block;
}

.logo-light {
  display: none;
}

:root.light-theme .logo-dark {
  display: none;
}

:root.light-theme .logo-light {
  display: block;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  padding: 8px 16px;
  border-radius: 8px;
}

.nav-links a:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}
.nav-links a.active { color: var(--text-primary); background: rgba(74,158,255,0.15); box-shadow: 0 0 0 1px rgba(74,158,255,0.3) inset; }

.cta-button {
  background: var(--gradient-accent) !important;
  color: var(--text-primary) !important;
  padding: 12px 24px !important;
  border-radius: 12px;
  font-weight: 600;
  box-shadow: var(--shadow-glow);
  transition: all 0.3s ease;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-intense);
  filter: brightness(1.1);
}

/* Hero Section - Completely Overhauled */
.hero {
  /* Dynamic gradient background */
  background: linear-gradient(135deg,
    var(--bg-primary) 0%,
    var(--bg-secondary) 25%,
    rgba(74,158,255,0.08) 50%,
    rgba(139,92,246,0.12) 75%,
    var(--bg-secondary) 100%
  );
  min-height: calc(100vh - 72px);
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  background-size: 400% 400%;
  animation: heroGradientShift 15s ease infinite;
}

/* Animated gradient background */
@keyframes heroGradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Floating particles animation */
.hero-bg-animation {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}

.floating-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--accent-primary);
  border-radius: 50%;
  opacity: 0.6;
  animation: float 20s infinite linear;
}

.particle-1 { top: 20%; left: 10%; animation-delay: 0s; animation-duration: 20s; }
.particle-2 { top: 80%; left: 20%; animation-delay: 3s; animation-duration: 25s; }
.particle-3 { top: 40%; left: 80%; animation-delay: 6s; animation-duration: 18s; }
.particle-4 { top: 70%; left: 60%; animation-delay: 9s; animation-duration: 22s; }
.particle-5 { top: 10%; left: 70%; animation-delay: 12s; animation-duration: 24s; }
.particle-6 { top: 60%; left: 30%; animation-delay: 15s; animation-duration: 19s; }

@keyframes float {
  0% {
    transform: translateY(100vh) scale(0);
    opacity: 0;
  }
  10% {
    opacity: 0.6;
  }
  90% {
    opacity: 0.6;
  }
  100% {
    transform: translateY(-100px) scale(1);
    opacity: 0;
  }
}

/* Dynamic grid pattern overlay */
.hero-grid-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.03;
  background-image: 
    linear-gradient(var(--accent-primary) 1px, transparent 1px),
    linear-gradient(90deg, var(--accent-primary) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: gridPulse 8s ease-in-out infinite;
}

@keyframes gridPulse {
  0%, 100% { opacity: 0.03; }
  50% { opacity: 0.08; }
}

/* Enhanced glowing effects */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(ellipse at 20% 20%, rgba(74,158,255,0.3) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(139,92,246,0.25) 0%, transparent 50%);
  pointer-events: none;
  animation: glowPulse 6s ease-in-out infinite;
  z-index: 0;
}

/* Light static grid for hero */
.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(rgba(74,158,255,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74,158,255,0.08) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 1;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}

/* Light theme variants */
:root.light-theme .hero {
  background: linear-gradient(135deg,
    #FFFFFF 0%,
    #F8FAFC 25%,
    rgba(74,158,255,0.15) 50%,
    rgba(139,92,246,0.18) 75%,
    #F1F5F9 100%
  );
}

:root.light-theme .hero::before {
  background: 
    radial-gradient(ellipse at 20% 20%, rgba(74,158,255,0.4) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(139,92,246,0.35) 0%, transparent 50%);
}

:root.light-theme .hero::after {
  background-image: 
    linear-gradient(rgba(74,158,255,0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74,158,255,0.12) 1px, transparent 1px);
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

.hero-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  animation: heroContentSlideUp 1.2s ease-out;
  overflow: visible;
}

@keyframes heroContentSlideUp {
  0% {
    opacity: 0;
    transform: translateY(50px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  border-radius: 50px;
  padding: 8px 20px;
  margin-bottom: 32px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  position: relative;
  overflow: hidden;
  animation: badgeGlow 3s ease-in-out infinite;
}

.hero-badge::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(74,158,255,0.1), transparent);
  animation: badgeShimmer 2s infinite;
}

@keyframes badgeShimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

@keyframes badgeGlow {
  0%, 100% { box-shadow: 0 0 10px rgba(74,158,255,0.1); }
  50% { box-shadow: 0 0 20px rgba(74,158,255,0.2); }
}

.badge-icon {
  font-size: 1.1rem;
}

/* Enhanced Hero Title */
.hero-title {
  font-size: 4.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 32px;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 10px rgba(0,0,0,0.1);
  overflow: visible;
}

.title-line-1,
.title-line-2,
.title-line-3 {
  display: block;
  opacity: 0;
  transform: translateY(30px);
  animation: titleLineReveal 1s ease-out forwards;
  overflow: visible;
  padding-bottom: 2px;
}

.title-line-1 { animation-delay: 0.3s; }
.title-line-2 { animation-delay: 0.6s; }
.title-line-3 { animation-delay: 0.9s; }

@keyframes titleLineReveal {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Typing Animation for Main Text */
.typing-text {
  position: relative;
  display: inline-block;
}

.typing-text::after {
  content: '|';
  position: absolute;
  right: -2px;
  color: var(--accent-primary);
  animation: blink 1s infinite;
  font-weight: 400;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

/* Enhanced gradient text effect */
.gradient-text {
  background: linear-gradient(135deg, 
    var(--accent-primary) 0%, 
    var(--accent-secondary) 50%,
    var(--accent-cyan) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% 200%;
  animation: gradientText 4s ease infinite;
  padding-bottom: 4px;
  overflow: visible;
  line-height: inherit;
}

@keyframes gradientText {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Enhanced Hero Subtitle */
.hero-subtitle {
  font-size: 1.4rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 48px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0;
  animation: subtitleFadeIn 1s ease-out 1.2s forwards;
}

.subtitle-emphasis {
  color: var(--text-primary);
  font-weight: 600;
  position: relative;
}

.subtitle-emphasis::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gradient-accent);
  border-radius: 1px;
}

@keyframes subtitleFadeIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Animated Statistics */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 64px;
  margin-bottom: 48px;
  opacity: 0;
  animation: statsSlideUp 1s ease-out 1.5s forwards;
}

@keyframes statsSlideUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.stat-item {
  text-align: center;
  position: relative;
}

.stat-item::before {
  content: '';
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  background: var(--accent-primary);
  border-radius: 50%;
  opacity: 0.6;
  animation: statDot 2s ease-in-out infinite;
}

@keyframes statDot {
  0%, 100% { transform: translateX(-50%) scale(1); opacity: 0.6; }
  50% { transform: translateX(-50%) scale(1.5); opacity: 1; }
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  color: var(--text-accent);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* Value Proposition Grid */
.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  max-width: 800px;
  margin: 0 auto 56px;
  opacity: 0;
  animation: valueGridFadeIn 1s ease-out 1.8s forwards;
}

@keyframes valueGridFadeIn {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.value-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 24px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.value-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(74,158,255,0.05), transparent);
  transition: left 0.5s ease;
}

.value-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(74,158,255,0.15);
  border-color: var(--border-accent);
}

.value-item:hover::before {
  left: 100%;
}

.value-icon {
  font-size: 1.5rem;
  filter: drop-shadow(0 0 8px rgba(74,158,255,0.3));
}

/* Enhanced CTA Section */
.hero-cta {
  margin-bottom: 64px;
  opacity: 0;
  animation: ctaFadeIn 1s ease-out 2.1s forwards;
}

@keyframes ctaFadeIn {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-cta-main {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--gradient-accent);
  color: white;
  padding: 18px 36px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  margin-bottom: 16px;
}

.hero-cta-main::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(255,255,255,0.1) 0%, 
    transparent 50%, 
    rgba(255,255,255,0.1) 100%
  );
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}

.hero-cta-main:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(74,158,255,0.4);
}

.hero-cta-main:hover::before {
  transform: translateX(100%);
}

.button-glow {
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: var(--gradient-accent);
  border-radius: 50px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.hero-cta-main:hover .button-glow {
  opacity: 0.7;
}

.cta-arrow {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.hero-cta-main:hover .cta-arrow {
  transform: translateX(4px);
}

.cta-subtext {
  color: var(--text-accent);
  font-size: 0.9rem;
  margin-top: 8px;
  opacity: 0.8;
}

/* Trust Indicators */
.trust-indicators {
  display: flex;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  animation: trustFadeIn 1s ease-out 2.4s forwards;
}

@keyframes trustFadeIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-accent);
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.trust-item:hover {
  color: var(--text-secondary);
}

.trust-icon {
  font-size: 1.1rem;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollBounce 2s infinite;
}

.scroll-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--text-accent);
  font-size: 0.85rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

.scroll-link:hover {
  color: var(--text-secondary);
}

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

.scroll-arrow {
  width: 2px;
  height: 30px;
  background: var(--gradient-accent);
  position: relative;
  border-radius: 1px;
}

.scroll-arrow::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 8px solid var(--accent-primary);
}

/* Hero Visual Styles */
.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.newsletter-preview {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow-xl);
  max-width: 400px;
  width: 100%;
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
}

.newsletter-preview::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-accent);
}

.preview-header {
  text-align: center;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.preview-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.preview-subtitle {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-style: italic;
}

.preview-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Micro-interactions and reveal */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.tilt-hover {
  transition: transform 0.25s ease;
  will-change: transform;
}
.tilt-hover:hover {
  transform: perspective(1000px) rotateX(2deg) rotateY(-2deg) translateY(-2px);
}

.btn-primary, .primary-button {
  background: var(--gradient-accent);
  color: var(--text-primary);
  padding: 16px 32px;
  border: none;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover, .primary-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-intense);
  filter: brightness(1.1);
}

.btn-secondary, .secondary-button {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  padding: 16px 32px;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.btn-secondary:hover, .secondary-button:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--border-accent);
  transform: translateY(-2px);
}

/* About Section */
.about {
  padding: var(--space-13) 0;
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

/* About Section Background Animation - Subtle Particles + Dot Grid */
.about::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 30%, rgba(74, 158, 255, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(139, 92, 246, 0.04) 0%, transparent 50%),
    radial-gradient(circle at 60% 20%, rgba(6, 214, 160, 0.03) 0%, transparent 40%);
  animation: aboutBgGentle 40s ease-in-out infinite;
  z-index: 1;
}

.about::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at center, rgba(74, 158, 255, 0.08) 1px, transparent 1px);
  background-size: 40px 40px;
  animation: aboutDotsGrid 80s linear infinite;
  z-index: 1;
  opacity: 0.6;
}

.about .container {
  position: relative;
  z-index: 2;
}

@keyframes aboutBgGentle {
  0%, 100% { 
    opacity: 0.8;
  }
  50% { 
    opacity: 1;
  }
}

@keyframes aboutDotsGrid {
  0% { transform: translateX(0px) translateY(0px); }
  100% { transform: translateX(20px) translateY(20px); }
}

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

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

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 24px;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-10);
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-header p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: var(--space-3) auto 0;
  line-height: 1.6;
}

/* About Grid and Cards */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.about-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.about-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-accent);
  opacity: 0.6;
}

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

.card-icon {
  width: 64px;
  height: 64px;
  background: var(--gradient-accent);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: var(--text-primary);
  font-size: 1.5rem;
  box-shadow: var(--shadow-glow);
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 48px;
}

/* Features Section */
.features {
  padding: var(--space-13) 0;
  background: var(--bg-primary);
  position: relative;
  overflow: hidden;
}

/* Legal Pages Section */
.legal-section {
  padding: var(--space-13) 0;
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

.legal-section .section-header {
  text-align: center;
  margin-bottom: var(--space-8);
}

.legal-content {
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--shadow-lg);
  max-width: 900px;
  margin: 0 auto;
}

.legal-content h3 {
  font-size: 1.25rem;
  margin: 20px 0 8px;
}

.legal-content p, .legal-content li {
  color: var(--text-secondary);
}

.legal-content ul {
  padding-left: 20px;
  margin: 8px 0 16px;
}

/* Features Section Dynamic Background - Subtle Grid + Dots */
.features::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 40% 30%, rgba(74, 158, 255, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 60% 70%, rgba(139, 92, 246, 0.04) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(6, 214, 160, 0.03) 0%, transparent 40%);
  animation: featuresBgCalmPulse 50s ease-in-out infinite;
  z-index: 1;
}

.features::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at center, rgba(74, 158, 255, 0.06) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: featuresDotsGrid 70s linear infinite;
  z-index: 1;
  opacity: 0.4;
}

.features .container {
  position: relative;
  z-index: 2;
}

@keyframes featuresBgCalmPulse {
  0%, 100% { 
    opacity: 0.9;
  }
  50% { 
    opacity: 0.6;
  }
}

@keyframes featuresDotsGrid {
  0% { transform: translateX(0px) translateY(0px); }
  100% { transform: translateX(25px) translateY(25px); }
}

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

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 64px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.feature-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 240px;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-accent);
  opacity: 0.6;
}

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

.feature-card .card-icon {
  width: 64px;
  height: 64px;
  background: var(--gradient-accent);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: var(--text-primary);
  font-size: 1.5rem;
  box-shadow: var(--shadow-glow);
  flex-shrink: 0;
}

.feature-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 16px;
  line-height: 1.3;
}

.feature-card p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
  flex-grow: 1;
  font-size: 0.95rem;
}

.feature-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-accent);
  opacity: 0.6;
}

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

.feature-icon {
  width: 64px;
  height: 64px;
  background: var(--gradient-accent);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: var(--text-primary);
  font-size: 1.5rem;
  box-shadow: var(--shadow-glow);
}

.feature-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.feature-description {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Newsletter Preview Styles */
.preview-article {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 16px;
  transition: all 0.3s ease;
}

.preview-article:hover {
  border-color: var(--border-accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.preview-article-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.preview-article-meta {
  color: var(--text-secondary);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Sample Section */
.sample {
  padding: var(--space-13) 0;
  background: var(--bg-secondary);
}

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

.sample-content {
  margin-top: 48px;
  display: flex;
  justify-content: center;
}

.sample-preview {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 48px;
  margin-top: 48px;
  box-shadow: var(--shadow-lg);
}

.sample-header {
  text-align: center;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-subtle);
}

.sample-title {
  font-size: 1.8rem;
  margin-bottom: 8px;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sample-subtitle {
  color: var(--text-secondary);
  font-size: 1rem;
}

.sample-article {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
}

.article-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.article-meta {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
  font-size: 0.9rem;
  color: var(--text-accent);
  flex-wrap: wrap;
}

/* Sample Newsletter Styles */
.sample-newsletter {
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 32px;
  margin-top: 24px;
  box-shadow: var(--shadow-lg);
}

.sample-articles {
  margin-top: 24px;
}

.sample-article {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 16px;
  transition: all 0.3s ease;
}

.sample-article:hover {
  border-color: var(--border-accent);
  transform: translateY(-1px);
}

.sample-article h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.sample-article p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 12px;
}

.sample-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-tertiary);
  border-top: 1px solid var(--border-subtle);
  padding-top: 12px;
  margin-top: 12px;
}

.sample-source {
  font-weight: 500;
  color: var(--text-accent);
}

.sample-date {
  opacity: 0.8;
}

.source-badge {
  background: var(--gradient-accent);
  color: var(--text-primary);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.article-summary {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

.read-more {
  background: var(--gradient-accent);
  color: var(--text-primary);
  padding: 8px 16px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.read-more:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-glow);
}

/* Signup Section */
.signup {
  padding: var(--space-13) 0;
  background: var(--bg-primary);
  position: relative;
  overflow: hidden;
}

/* Signup Section Dynamic Background - Match Hero Section */
.signup::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(ellipse at 20% 20%, rgba(74,158,255,0.3) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(139,92,246,0.25) 0%, transparent 50%);
  pointer-events: none;
  animation: signupGlowPulse 6s ease-in-out infinite;
  z-index: 1;
}

.signup::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(rgba(74,158,255,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74,158,255,0.08) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 1;
}

@keyframes signupGlowPulse {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}

@keyframes signupGridPulse {
  0%, 100% { opacity: 0.03; }
  50% { opacity: 0.08; }
}

/* Signup Section Floating Particles - Match Hero */
.signup-bg-animation {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.signup-bg-animation .floating-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--accent-primary);
  border-radius: 50%;
  opacity: 0.6;
  animation: float 20s infinite linear;
}

.signup-bg-animation .particle-1 { top: 20%; left: 10%; animation-delay: 0s; animation-duration: 20s; }
.signup-bg-animation .particle-2 { top: 80%; left: 20%; animation-delay: 3s; animation-duration: 25s; }
.signup-bg-animation .particle-3 { top: 40%; left: 80%; animation-delay: 6s; animation-duration: 18s; }
.signup-bg-animation .particle-4 { top: 70%; left: 60%; animation-delay: 9s; animation-duration: 22s; }
.signup-bg-animation .particle-5 { top: 10%; left: 70%; animation-delay: 12s; animation-duration: 24s; }
.signup-bg-animation .particle-6 { top: 60%; left: 30%; animation-delay: 15s; animation-duration: 19s; }

.signup .container {
  position: relative;
  z-index: 2;
}

.signup-container {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

/* Signup Content Styles */
.signup-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.signup-text {
  text-align: left;
}

.signup-text h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
  line-height: 1.2;
}

.signup-text p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 32px;
}

.signup-benefits {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.benefit {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  color: var(--text-primary);
}

.benefit-icon {
  color: var(--text-accent);
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* Form Styles */
.form-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  box-shadow: var(--shadow-xl);
  padding: 48px;
  margin-top: 0; /* Align form top with signup title */
  backdrop-filter: blur(20px);
}

.form-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  text-align: center;
}

.form-subtitle {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 32px;
  text-align: center;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.form-row label {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
}

.form-row input[type="text"],
.form-row input[type="email"],
.form-row select {
  padding: 16px 20px;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  background: var(--bg-tertiary);
  color: var(--text-primary);
  font-size: 1rem;
  outline: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  font-family: inherit;
}

.form-row input:focus,
.form-row select:focus {
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(74, 158, 255, 0.2);
  background: var(--bg-secondary);
}

.form-checkbox {
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
  margin-top: 8px;
}

.form-checkbox label {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 400;
  margin: 0;
  line-height: 1.5;
}

.form-checkbox input[type="checkbox"] {
  accent-color: var(--accent-primary);
  width: 18px;
  height: 18px;
  margin: 2px 0 0 0;
  flex-shrink: 0;
}

.submit-button {
  width: 100%;
  padding: 16px 0;
  background: var(--gradient-accent);
  color: var(--text-primary);
  border: none;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-glow);
  margin-top: 16px;
}

.submit-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-intense);
  filter: brightness(1.1);
}

/* Footer */
.footer {
  background: linear-gradient(135deg, #0F0F0F, #1A1A1A);
  color: var(--text-secondary);
  padding: 60px 0 40px;
  border-top: 1px solid var(--border-subtle);
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gradient-accent);
  opacity: 0.6;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

.footer-content { display:grid; grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); gap:40px; margin-bottom:40px; text-align:left; }
.footer-section h4 { font-size:0.95rem; text-transform:uppercase; letter-spacing:1px; font-weight:600; margin-bottom:16px; color: var(--text-primary); }
.footer-section ul { list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:8px; }
.footer-section a { color: var(--text-secondary); text-decoration:none; font-size:0.9rem; }
.footer-section a:hover { color: var(--text-primary); }
.footer-logo { display:flex; align-items:center; gap:12px; margin-bottom:12px; }
.footer-section p { font-size:0.85rem; line-height:1.5; color: var(--text-secondary); }
.footer-bottom { text-align:center; }

/* Light theme footer tweak */
:root.light-theme .footer { background: linear-gradient(135deg,#F5F7FA,#E8ECF2); }
:root.light-theme .footer::before { background: var(--gradient-accent); opacity:.4; }
:root.light-theme .footer-section a:hover { color:#0A0F17; }


.footer-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-subtitle {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 24px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

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

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Tablet Responsive Design */
@media (max-width: 1024px) {
  .hero {
    min-height: calc(100vh - 72px);
    padding: 100px 0 70px;
  }
  
  .hero-title {
    font-size: 3.8rem;
    line-height: 1.15;
    overflow: visible;
  }
  
  .hero-subtitle {
    font-size: 1.3rem;
  }
  
  .hero-stats {
    gap: 48px;
  }
  
  .stat-number {
    font-size: 2.2rem;
  }
  
  .value-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .hero-container {
    padding: 0 20px;
  }
}

/* Responsive Design - Enhanced Mobile Optimization */
@media (max-width: 768px) {
  .hero {
    min-height: calc(100vh - 64px);
    padding: 100px 0 60px;
  }
  
  .hero-container { 
    display: block; 
    padding: var(--space-12) 16px 0; 
  }
  
  .hero-content { 
    text-align: center; 
    margin: 0 auto; 
    padding: 0; 
    max-width: 100%;
  }
  
  .hero-badge {
    font-size: 0.8rem;
    padding: 6px 16px;
    margin-bottom: 24px;
  }
  
  .hero-title {
    font-size: 2.8rem;
    line-height: 1.25;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    overflow: visible;
  }
  
  .title-line-1,
  .title-line-2, 
  .title-line-3 {
    display: block;
    margin-bottom: 4px;
  }
  
  .hero-subtitle {
    font-size: 1.15rem;
    margin-bottom: 32px;
    padding: 0;
    line-height: 1.5;
  }
  
  .hero-stats {
    flex-direction: row;
    gap: 32px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .stat-item {
    flex: 1;
    min-width: 80px;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .stat-label {
    font-size: 0.8rem;
  }
  
  .value-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 40px;
  }
  
  .value-item {
    padding: 12px 16px;
    font-size: 0.9rem;
  }
  
  .value-icon {
    font-size: 1.2rem;
  }
  
  .hero-cta-main {
    padding: 16px 32px;
    font-size: 1rem;
    margin-bottom: 16px;
  }
  
  .hero-cta {
    margin-bottom: 48px;
  }
  
  .trust-indicators {
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }
  
  .trust-item {
    font-size: 0.85rem;
  }
  
  .scroll-indicator {
    bottom: 30px;
    font-size: 0.8rem;
    gap: 10px;
  }
  
  .scroll-arrow {
    height: 25px;
  }
  
  /* Reduce particle count for mobile performance */
  .particle-4,
  .particle-5,
  .particle-6 {
    display: none;
  }
  
  /* Disable some animations on mobile for better performance */
  .hero-bg-animation {
    animation-duration: 30s;
  }
  
  .floating-particle {
    animation-duration: 30s;
  }
  
  .nav-container {
    padding: 0 16px;
    height: 64px;
  }
  
  .nav-links {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--bg-primary);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    z-index: 999;
    padding: 24px 16px;
    flex-direction: column;
    gap: 16px;
  }
  
  .nav-links.active { display: flex; }
  
  .nav-links a {
    width: 100%;
    padding: 12px 20px;
    text-align: center;
    font-size: 1rem;
    border-radius: 12px;
    transition: all 0.3s ease;
  }
  
  .nav-toggle {
    display: flex;
    order: 2;
  }
  
  .theme-toggle {
    order: 1;
    margin-left: auto;
    margin-right: 12px;
    width: 40px;
    height: 40px;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 100%;
    margin-top: 40px;
  }
  
  .feature-card {
    padding: 28px 24px;
    min-height: auto;
    text-align: center;
  }
  
  .feature-card .card-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
  }
  
  .feature-card h3 {
    font-size: 1.15rem;
    margin-bottom: 16px;
    line-height: 1.3;
  }
  
  .feature-card p {
    font-size: 0.9rem;
    line-height: 1.6;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 32px;
  }
  
  .about-card {
    padding: 28px 24px;
    text-align: center;
    min-height: auto;
  }
  
  .about-card .card-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
  }
  
  .about-card h3 {
    font-size: 1.15rem;
    margin-bottom: 16px;
    line-height: 1.3;
  }
  
  .about-card p {
    font-size: 0.9rem;
    line-height: 1.6;
  }
  
  .reg-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 32px;
  }
  
  .reg-card {
    padding: 28px 24px;
  }
  
  .reg-title {
    font-size: 1.1rem;
    line-height: 1.4;
    margin-bottom: 16px;
  }
  
  .reg-summary {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 16px;
  }
  
  .reg-points {
    font-size: 0.85rem;
  }
  
  .section-header {
    margin-bottom: 32px;
    padding: 0 16px;
  }
  
  .section-header h2 {
    font-size: 2rem;
    margin-bottom: 12px;
  }
  
  .section-header p {
    font-size: 1rem;
  }
  
  ol.steps {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 32px;
  }
  
  .step {
    padding: 24px 20px;
    text-align: center;
  }
  
  .step-badge {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
    margin: 0 auto 16px;
  }
  
  .step h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
  }
  
  .step p {
    font-size: 0.9rem;
    line-height: 1.6;
  }
  
  .faq-items {
    margin-top: 32px;
    gap: 12px;
  }
  
  .faq-question {
    padding: 18px 20px;
    font-size: 0.95rem;
  }
  
  .faq-answer {
    padding: 0 20px 20px;
    font-size: 0.9rem;
  }
  
  .form-card {
    padding: 24px 20px;
    margin-top: 32px;
  }
  
  .form-title {
    font-size: 1.5rem;
    margin-bottom: 8px;
  }
  
  .form-subtitle {
    font-size: 0.9rem;
    margin-bottom: 24px;
  }
  
  .form-row {
    margin-bottom: 20px;
  }
  
  .form-row input,
  .form-row select {
    padding: 14px 16px;
    font-size: 16px; /* Prevents zoom on iOS */
  }
  
  .submit-button {
    padding: 14px 0;
    font-size: 1rem;
  }
  
  .signup-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .signup-text {
    text-align: center;
    padding: 0 16px;
  }
  
  .signup-text h2 {
    font-size: 1.8rem;
    margin-bottom: 16px;
  }
  
  .newsletter-preview {
    max-width: 340px;
    margin: 0 auto;
    padding: 24px 20px;
  }
  
  .preview-header {
    margin-bottom: 20px;
    padding-bottom: 16px;
  }
  
  .preview-title {
    font-size: 1.2rem;
    margin-bottom: 8px;
  }
  
  .preview-subtitle {
    font-size: 0.85rem;
  }
  
  .preview-article {
    padding: 16px;
    margin-bottom: 12px;
  }
  
  .preview-article-title {
    font-size: 1rem;
    margin-bottom: 8px;
    line-height: 1.3;
  }
  
  .preview-article-meta {
    font-size: 0.8rem;
  }
  
  .hero-cta {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 32px;
    margin-bottom: 48px;
  }
  
  .hero-visual { 
    margin-top: var(--space-10); 
  }
  
  .btn-primary,
  .btn-secondary,
  .primary-button,
  .secondary-button {
    width: 100%;
    max-width: 280px;
    justify-content: center;
    padding: 14px 24px;
    font-size: 0.95rem;
  }
  
  .container {
    padding-inline: 16px;
  }
  
  .footer {
    padding: 40px 0 32px;
  }
  
  .footer-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
    text-align: left;
    margin-bottom: 32px;
  }
  
  .footer-section {
    text-align: left;
  }
  
  .footer-section:first-child {
    text-align: center;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-subtle);
    margin-bottom: 8px;
  }
  
  .footer-logo {
    justify-content: center;
    margin-bottom: 12px;
  }
  
  .footer-section h4 {
    font-size: 1rem;
    margin-bottom: 12px;
    color: var(--text-primary);
  }
  
  .footer-section ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  
  .footer-section a {
    padding: 4px 0;
    font-size: 0.9rem;
  }
  
  .footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid var(--border-subtle);
  }
}
  /* === New Overhaul Additions (September 2025) === */
  /* Utility */
  .eyebrow { text-transform:uppercase; letter-spacing:2px; font-size:0.75rem; color:var(--accent-primary); font-weight:600; margin-bottom:16px; }

  /* Enhanced Hero Layout */
  .hero-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(360px,1fr)); gap:56px; align-items:center; }
  ul.trust-bar { list-style:none; display:flex; flex-wrap:wrap; gap:12px 24px; padding:0; margin:0 0 40px; font-size:0.9rem; }
  ul.trust-bar li { background:var(--bg-tertiary); border:1px solid var(--border-subtle); padding:8px 14px; border-radius:24px; color:var(--text-accent); display:flex; align-items:center; gap:6px; line-height:1.2; }
  ul.trust-bar li strong { color:var(--text-primary); font-weight:600; }

  /* Mobile Nav Toggle */
  .nav-toggle { display:none; flex-direction:column; gap:6px; background:transparent; border:none; cursor:pointer; padding:8px; }
  .nav-toggle span { display:block; width:26px; height:2px; background: var(--text-primary); transition:.3s ease; }
  .nav-toggle.active span:nth-child(1){ transform:rotate(45deg) translateY(8px); }
  .nav-toggle.active span:nth-child(2){ opacity:0; }
  .nav-toggle.active span:nth-child(3){ transform:rotate(-45deg) translateY(-8px); }

  /* Regulatory Spotlight */
  .regulatory { background: var(--bg-primary); padding: var(--space-13) 0; position:relative; }
  .reg-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(340px,1fr)); gap:32px; margin-top:40px; }
  .reg-card { background:var(--bg-secondary); border:1px solid var(--border-subtle); padding:32px; border-radius:20px; position:relative; overflow:hidden; transition:.35s ease; display:flex; flex-direction:column; gap:16px; }
  .reg-card::before { content:""; position:absolute; inset:0; background:linear-gradient(135deg,rgba(74,158,255,.08),rgba(139,92,246,.05)); opacity:0; transition:.4s; pointer-events:none; }
  .reg-card:hover { border-color:var(--border-accent); box-shadow:var(--shadow-glow), var(--shadow-lg); }
  .reg-card:hover::before { opacity:1; }
  .reg-meta { display:flex; gap:8px; flex-wrap:wrap; }
  .pill { font-size:0.65rem; letter-spacing:.5px; text-transform:uppercase; padding:6px 10px; border-radius:16px; background:var(--bg-tertiary); color:var(--text-accent); border:1px solid var(--border-subtle); font-weight:600; }
  .pill-date { background: var(--gradient-accent); color: var(--text-primary); border:none; }
  .pill-level { background: rgba(74,158,255,.1); color: var(--accent-primary); border:1px solid rgba(74,158,255,.3); }
  .pill-medium { background: rgba(139,92,246,.15); color: var(--accent-secondary); border:1px solid rgba(139,92,246,.35); }
  .reg-title { font-size:1.15rem; line-height:1.35; }
  .reg-summary { color:var(--text-secondary); font-size:0.95rem; line-height:1.55; }
  .reg-points { margin:0; padding-left:20px; display:flex; flex-direction:column; gap:6px; font-size:0.9rem; color:var(--text-accent); }
  .reg-points li { line-height:1.4; }

  /* How It Works */
  .how { 
    background: var(--bg-secondary); 
    padding: var(--space-13) 0; 
    position: relative;
    overflow: hidden;
  }

  /* How It Works Dynamic Background - Gentle Particles + Dot Grid */
  .how::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
      radial-gradient(circle at 25% 75%, rgba(6, 214, 160, 0.05) 0%, transparent 50%),
      radial-gradient(circle at 75% 25%, rgba(139, 92, 246, 0.04) 0%, transparent 50%);
    animation: howBgSoft 35s ease-in-out infinite;
    z-index: 1;
  }

  .how::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
      radial-gradient(circle at center, rgba(139, 92, 246, 0.06) 1px, transparent 1px);
    background-size: 35px 35px;
    animation: howDotsGrid 70s linear infinite;
    z-index: 1;
    opacity: 0.7;
  }

  .how .container {
    position: relative;
    z-index: 2;
  }

  @keyframes howBgSoft {
    0%, 100% { 
      opacity: 0.9;
    }
    50% { 
      opacity: 0.7;
    }
  }

  @keyframes howDotsGrid {
    0% { transform: translateX(0px) translateY(0px); }
    100% { transform: translateX(17.5px) translateY(17.5px); }
  }
  ol.steps { counter-reset: step; list-style:none; display:grid; gap:32px; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); margin:40px 0 0; padding:0; }
  .step { background: var(--bg-primary); border:1px solid var(--border-subtle); padding:24px 24px 28px; border-radius:18px; position:relative; display:flex; flex-direction:column; gap:12px; transition:.35s; }
  .step:hover { border-color: var(--border-accent); transform:translateY(-3px); box-shadow: var(--shadow-lg); }
  .step-badge { width:36px; height:36px; border-radius:10px; background: var(--gradient-accent); display:flex; align-items:center; justify-content:center; font-weight:600; font-size:.9rem; color:var(--text-primary); box-shadow: var(--shadow-glow); }
  .step h3 { font-size:1rem; margin:0; }
  .step p { font-size:0.85rem; line-height:1.5; color:var(--text-secondary); margin:0; }

  /* FAQ */
  .faq { 
    background: var(--bg-primary); 
    padding: var(--space-13) 0; 
    position: relative;
    overflow: hidden;
  }

  /* FAQ Section Dynamic Background - Gentle Dots + Grid Pattern */
  .faq::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
      radial-gradient(ellipse at 30% 20%, rgba(139, 92, 246, 0.04) 0%, transparent 60%),
      radial-gradient(ellipse at 70% 80%, rgba(6, 214, 160, 0.05) 0%, transparent 60%),
      radial-gradient(circle at center, rgba(74, 158, 255, 0.03) 0%, transparent 70%);
    animation: faqBgBreath 45s ease-in-out infinite;
    z-index: 1;
  }

  .faq::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
      radial-gradient(circle at center, rgba(6, 214, 160, 0.07) 1px, transparent 1px);
    background-size: 45px 45px;
    animation: faqDotsGrid 90s linear infinite;
    z-index: 1;
    opacity: 0.5;
  }

  .faq .container {
    position: relative;
    z-index: 2;
  }

  @keyframes faqBgBreath {
    0%, 100% { 
      opacity: 0.8;
    }
    50% { 
      opacity: 1;
    }
  }

  @keyframes faqDotsGrid {
    0% { transform: translateX(0px) translateY(0px); }
    25% { transform: translateX(5px) translateY(-3px); }
    50% { transform: translateX(-2px) translateY(8px); }
    75% { transform: translateX(4px) translateY(-1px); }
    100% { transform: translateX(0px) translateY(0px); }
  }
  .faq-items { max-width:860px; margin:40px auto 0; display:flex; flex-direction:column; gap:16px; }
  .faq-item { background: var(--bg-secondary); border:1px solid var(--border-subtle); border-radius:16px; overflow:hidden; transition:.3s; }
  .faq-question { width:100%; text-align:left; background:transparent; border:none; padding:22px 26px; color:var(--text-primary); font-weight:600; font-family:inherit; font-size:1rem; cursor:pointer; display:flex; justify-content:space-between; align-items:center; gap:24px; position:relative; }
  .faq-question::after { content:'+'; font-weight:400; color: var(--text-accent); transition:.3s; }
  .faq-question[aria-expanded="true"]::after { content:'−'; color: var(--accent-primary); }
  .faq-answer { padding:0 26px 24px; font-size:0.9rem; line-height:1.55; color: var(--text-secondary); }

  /* Focus */
  .faq-question:focus-visible, .step:focus-visible, .reg-card:focus-visible { outline:2px solid var(--accent-primary); outline-offset:2px; }

  /* Responsive overrides for new components */
  @media (max-width: 768px) {
    .hero-grid { display:block; }
    ul.trust-bar { justify-content:center; }
    .nav-toggle { display:flex; }
    .nav-links { position:absolute; top:72px; left:0; right:0; background:rgba(17,17,17,.97); flex-direction:column; padding:24px; border-bottom:1px solid var(--border-subtle); gap:12px; display:none; }
    .nav-links.active { display:flex; }
    .nav-links a { width:100%; }
    .reg-grid { grid-template-columns:1fr; }
    ol.steps { grid-template-columns:1fr; }
    .faq-answer { font-size:0.95rem; }
  }
  /* Skip Link */
  .skip-link { position:absolute; left:8px; top:-50px; background:var(--gradient-accent); color:var(--text-primary); padding:10px 16px; z-index:2000; border-radius:8px; text-decoration:none; font-weight:600; transition:.3s; }
  .skip-link:focus { top:8px; outline:2px solid var(--accent-primary); }

  /* Button subtle animation */
  .primary-button, .secondary-button { position:relative; }
  .primary-button::after { content:""; position:absolute; inset:0; border-radius:inherit; background:radial-gradient(circle at 30% 30%, rgba(255,255,255,0.15), transparent 60%); opacity:0; transition:.5s; }
  .primary-button:hover::after { opacity:1; }

  /* Focus ring enhancement */
  :focus-visible { outline:2px solid var(--accent-primary); outline-offset:3px; }

  /* Reduced motion support */
  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .newsletter-preview { animation: none !important; }
    .reveal-fade { opacity:1 !important; transform:none !important; }
  }

  /* High contrast check (user override possibility) */
  @media (forced-colors: active) {
    .logo-icon, .step-badge, .pill-date { forced-color-adjust: none; }
  }

  /* Animated Section Header Accent */
  .section-header h2 { position:relative; }
  .section-header h2::after { content:""; position:absolute; left:0; bottom:-8px; width:64px; height:3px; background:var(--gradient-accent); border-radius:4px; opacity:.9; }
  /* Removed pulsating animation per request */

  /* Card Gradient Edge Hover */
  .about-card, .feature-item, .reg-card, .step, .sample-article, .preview-article { position:relative; }
.about-card::after, .feature-card::after, .reg-card::after, .step::after, .sample-article::after, .preview-article::after { content:""; position:absolute; inset:0; pointer-events:none; border-radius:inherit; padding:1px; background:linear-gradient(135deg, rgba(74,158,255,0.25), rgba(139,92,246,0.25)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity:0; transition:.4s; }
.about-card:hover::after, .feature-card:hover::after, .reg-card:hover::after, .step:hover::after, .sample-article:hover::after, .preview-article:hover::after { opacity:1; }  /* Subtle Float Animation for Hero Preview */
  .newsletter-preview { animation: floatY 8s ease-in-out infinite; }
  @keyframes floatY { 0%,100% { transform:translateY(0); } 50% { transform:translateY(-10px); } }

  /* Scroll Reveal Utility */
  .reveal-fade { opacity:0; transform:translateY(24px); transition:opacity .8s ease, transform .8s cubic-bezier(.4,.2,.1,1); }
  .reveal-fade.in-view { opacity:1; transform:translateY(0); }

  /* Focus ring enhancement */
  [data-nav]:focus-visible { outline:2px solid var(--accent-secondary); outline-offset:3px; }

/* Mobile-specific optimizations */
@media (max-width: 768px) and (hover: none) {
  /* Touch device optimizations */
  .feature-card:hover,
  .about-card:hover,
  .reg-card:hover,
  .step:hover {
    transform: none; /* Disable hover transforms on touch devices */
  }
  
  .primary-button:hover,
  .secondary-button:hover,
  .submit-button:hover {
    transform: none;
  }
  
  /* Ensure proper touch targets (minimum 44px) */
  .nav-links a,
  .theme-toggle,
  .nav-toggle,
  .faq-question,
  .primary-button,
  .secondary-button,
  .submit-button {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* Improve scrolling performance on mobile */
@media (max-width: 768px) {
  * {
    -webkit-tap-highlight-color: transparent;
  }
  

/* --- Interaction safety: ensure decorative layers never block clicks --- */
.hero-grid-pattern,
.hero::before,
.hero::after,
.about::before,
.about::after,
.how::before,
.how::after,
.faq::before,
.faq::after,
.features::before,
.features::after,
.signup::before,
.signup::after,
.dot-grid-bg,
.floating-shapes,
.signup-bg-animation,
.hero-bg-animation {
  pointer-events: none !important;
}

/* Remove particle dots entirely */
.hero-bg-animation,
.signup-bg-animation,
.floating-particle {
  display: none !important;
  animation: none !important;
}

/* Also hide floating shapes completely to eliminate any small shape artifacts */
.floating-shapes,
.floating-shapes .shape,
.shape,
.shape::before,
.shape::after {
  display: none !important;
  animation: none !important;
}

/* Ensure previous dot pseudo-elements never render */
.about::after,
.how::after,
.faq::after,
.features::after {
  content: none !important;
  background: none !important;
  background-image: none !important;
  animation: none !important;
}

/* Normalize theme toggle icons strictly by root theme class */
:root.dark-theme .theme-toggle .icon-sun { display: inline-block; }
:root.dark-theme .theme-toggle .icon-moon { display: none; }
:root.light-theme .theme-toggle .icon-sun { display: none; }
:root.light-theme .theme-toggle .icon-moon { display: inline-block; }

/* --- Dot grid visibility: layer ordering and conflict cleanup --- */
/* Place section pseudo-element backgrounds beneath the dot grid child layer */
.about::before, .how::before, .faq::before, .features::before { z-index: 0 !important; }
/* Remove redundant pseudo-element dot grids; use the explicit .dot-grid-bg elements instead */
.about::after, .how::after, .faq::after, .features::after { background-image: none !important; opacity: 0 !important; z-index: 0 !important; }
/* Keep the dot grid child above section pseudo elements but below content (containers already z-index: 2) */
.about .dot-grid-bg, .how .dot-grid-bg, .faq .dot-grid-bg, .features .dot-grid-bg { z-index: 1 !important; }

  body {
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }
  
  .hero,
  .about,
  .regulatory,
  .how,
  .faq,
  .features,
  .sample,
  .signup {
    transform: translateZ(0); /* Force GPU acceleration */
  }
}

/* Interactive Hover Effects for Sections */
.about:hover::before,
.how:hover::before,
.faq:hover::before,
.features:hover::before,
.signup:hover::before {
  opacity: 1.1;
}

/* Scroll-based Parallax Effect */
@media (prefers-reduced-motion: no-preference) {
  .about::before {
    animation-delay: 0s;
  }
  
  .how::before {
    animation-delay: -5s;
  }
  
  .faq::before {
    animation-delay: -10s;
  }
  
  .features::before {
    animation-delay: -15s;
  }
  
  .signup::before {
    animation-delay: -20s;
  }
}

/* Enhanced Card Animations */
.about-card, .feature-card, .step, .faq-item {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
}

.about-card::before, 
.feature-card::before, 
.step::before, 
.faq-item::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, rgba(74, 158, 255, 0.1), rgba(139, 92, 246, 0.1), rgba(6, 214, 160, 0.1));
  border-radius: inherit;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.about-card:hover::before, 
.feature-card:hover::before, 
.step:hover::before, 
.faq-item:hover::before {
  opacity: 1;
  animation: cardGlow 2s ease-in-out infinite alternate;
}

@keyframes cardGlow {
  0% { 
    filter: blur(2px);
    transform: scale(1);
  }
  100% { 
    filter: blur(3px);
    transform: scale(1.005);
  }
}

/* Responsive adjustments for background effects */
@media (max-width: 768px) {
  .about::before,
  .how::before,
  .faq::before,
  .features::before,
  .signup::before,
  .about::after,
  .how::after,
  .faq::after,
  .features::after,
  .signup::after {
    animation-duration: 30s;
    opacity: 0.5;
  }
}

/* Dot Grid Background System */
/* Dot grid removed */
.dot-grid-bg { display: none !important; background: none !important; background-image: none !important; animation: none !important; }

/* About Section Dot Grid */
/* Removed per-section dot grid styles */

/* How It Works Dot Grid */
/* Removed per-section dot grid styles */

/* FAQ Section Dot Grid */
/* Removed per-section dot grid styles */

/* Features Section Dot Grid */
/* Removed per-section dot grid styles */

/* Slightly stronger visibility in light theme for contrast */
:root.light-theme .dot-grid-bg { opacity: 0.95; }

/* Dot Grid Animations */
/* Removed dot grid keyframes */

/* Floating Geometric Shapes */
.floating-shapes {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.shape {
  position: absolute;
  opacity: 0.05;
  animation-timing-function: ease-in-out;
}

/* Shape Animations - Much More Subtle */
.shape-1 {
  top: 10%;
  left: 10%;
  animation: gentleFloat1 60s infinite;
}

.shape-2 {
  top: 20%;
  right: 15%;
  animation: gentleFloat2 70s infinite;
  animation-delay: -10s;
}

.shape-3 {
  bottom: 30%;
  left: 20%;
  animation: gentleFloat3 50s infinite;
  animation-delay: -20s;
}

.shape-4 {
  bottom: 15%;
  right: 25%;
  animation: gentleFloat4 65s infinite;
  animation-delay: -30s;
}

.shape-5 {
  top: 50%;
  left: 50%;
  animation: gentleFloat5 55s infinite;
  animation-delay: -40s;
}

/* Shape Types */
.shape-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(45deg, rgba(74, 158, 255, 0.15), rgba(139, 92, 246, 0.15));
}

.shape-square {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.12), rgba(6, 214, 160, 0.12));
  border-radius: 8px;
  transform: rotate(45deg);
}

.shape-triangle {
  width: 0;
  height: 0;
  border-left: 25px solid transparent;
  border-right: 25px solid transparent;
  border-bottom: 43px solid rgba(74, 158, 255, 0.1);
}

.shape-diamond {
  width: 35px;
  height: 35px;
  background: linear-gradient(45deg, rgba(6, 214, 160, 0.15), rgba(74, 158, 255, 0.1));
  transform: rotate(45deg);
  border-radius: 4px;
}

.shape-hexagon {
  width: 50px;
  height: 28.87px;
  background: linear-gradient(30deg, rgba(139, 92, 246, 0.12), rgba(74, 158, 255, 0.08));
  position: relative;
  border-radius: 4px;
}

.shape-hexagon:before,
.shape-hexagon:after {
  content: "";
  position: absolute;
  width: 0;
  border-left: 25px solid transparent;
  border-right: 25px solid transparent;
}

.shape-hexagon:before {
  bottom: 100%;
  border-bottom: 14.43px solid rgba(139, 92, 246, 0.12);
}

.shape-hexagon:after {
  top: 100%;
  border-top: 14.43px solid rgba(139, 92, 246, 0.12);
}

.shape-pentagon {
  width: 45px;
  height: 45px;
  background: rgba(6, 214, 160, 0.1);
  clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
}

.shape-octagon {
  width: 42px;
  height: 42px;
  background: linear-gradient(45deg, rgba(74, 158, 255, 0.08), rgba(139, 92, 246, 0.12));
  clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
}

.shape-star {
  width: 0;
  height: 0;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-bottom: 14px solid rgba(6, 214, 160, 0.15);
  position: relative;
  transform: rotate(35deg);
}

.shape-star:before {
  content: '';
  position: absolute;
  left: -20px;
  top: -10px;
  width: 0;
  height: 0;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-bottom: 14px solid rgba(6, 214, 160, 0.15);
  transform: rotate(-70deg);
}

.shape-rhombus {
  width: 45px;
  height: 45px;
  background: linear-gradient(60deg, rgba(139, 92, 246, 0.1), rgba(74, 158, 255, 0.08));
  transform: rotate(45deg) skew(15deg, 15deg);
  border-radius: 6px;
}

/* Gentle Floating Keyframe Animations */
@keyframes gentleFloat1 {
  0%, 100% { transform: translateX(0px) translateY(0px); }
  50% { transform: translateX(10px) translateY(-8px); }
}

@keyframes gentleFloat2 {
  0%, 100% { transform: translateX(0px) translateY(0px); }
  50% { transform: translateX(-12px) translateY(6px); }
}

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

@keyframes gentleFloat4 {
  0%, 100% { transform: translateX(0px) translateY(0px); }
  50% { transform: translateX(-6px) translateY(12px); }
}

@keyframes gentleFloat5 {
  0%, 100% { transform: translateX(0px) translateY(0px); }
  50% { transform: translateX(5px) translateY(-7px); }
}

/* Subtle Hover Effects for Shapes */
.about:hover .shape,
.how:hover .shape,
.faq:hover .shape,
.features:hover .shape,
.signup:hover .shape {
  opacity: 0.08;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  .shape {
    animation: none;
  }
  
  .about::before,
  .how::before,
  .faq::before,
  .features::before,
  .signup::before,
  .about::after,
  .how::after,
  .faq::after,
  .features::after,
  .signup::after {
    animation: none;
  }
}