:root {
  /* Modern Color Palette */
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #3b82f6;
  --secondary: #10b981;
  --accent: #f59e0b;
  
  /* Neutral Colors */
  --bg: #fafafa;
  --bg-alt: #ffffff;
  --fg: #0f172a;
  --fg-muted: #64748b;
  --fg-light: #94a3b8;
  
  /* Border & Shadow */
  --border: #e2e8f0;
  --border-light: #f1f5f9;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  
  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  --font-size-5xl: 3rem;
  
  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  
  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-2xl: 2rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--fg);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  color: var(--primary);
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
  transition: all 0.3s ease;
  box-shadow: 0 2px 20px rgba(37, 99, 235, 0.1);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 140px;
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-weight: 600;
  font-size: var(--font-size-lg);
  color: var(--fg);
  transition: all 0.3s ease;
  text-decoration: none;
}

.brand:hover {
  transform: translateY(-2px);
}

.logo {
  width: 120px;
  height: 120px;
  border-radius: var(--radius);
}

.product {
  font-weight: 800;
  font-size: var(--font-size-2xl);
  background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 30px rgba(37, 99, 235, 0.3);
  letter-spacing: -0.02em;
  position: relative;
  animation: glow 2s ease-in-out infinite alternate;
  transition: all 0.3s ease;
  cursor: pointer;
}

.product:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 0 25px rgba(37, 99, 235, 0.8));
  animation: glow 1s ease-in-out infinite alternate;
}

@keyframes glow {
  from {
    filter: drop-shadow(0 0 5px rgba(37, 99, 235, 0.3));
  }
  to {
    filter: drop-shadow(0 0 15px rgba(37, 99, 235, 0.6));
  }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.nav-links a {
  font-weight: 500;
  color: var(--fg-muted);
  transition: color 0.2s ease;
}

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

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-2);
}

.mobile-menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--fg);
  transition: all 0.3s ease;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-lg);
  font-weight: 600;
  font-size: var(--font-size-sm);
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white !important;
  border-color: var(--primary);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: white !important;
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: white;
}

.btn-large {
  padding: var(--space-4) var(--space-8);
  font-size: var(--font-size-base);
}

/* Hero Section */
.hero {
  padding: var(--space-20) 0 var(--space-16);
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(37, 99, 235, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(16, 185, 129, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  padding: var(--space-2) var(--space-4);
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary);
  border-radius: var(--radius-xl);
  font-size: var(--font-size-sm);
  font-weight: 600;
  margin-bottom: var(--space-6);
}

.hero h1 {
  font-size: var(--font-size-5xl);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: var(--space-6);
  background: linear-gradient(135deg, var(--fg), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: var(--font-size-xl);
  color: var(--fg-muted);
  line-height: 1.6;
  margin-bottom: var(--space-8);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-bottom: var(--space-8);
}

.stat {
  text-align: center;
  padding: var(--space-4);
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.stat-number {
  display: block;
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--primary);
  margin-bottom: var(--space-1);
}

.stat-label {
  font-size: var(--font-size-sm);
  color: var(--fg-muted);
  font-weight: 500;
}

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

.hero-tag {
  color: var(--fg-light);
  font-size: var(--font-size-sm);
}

/* Hero Visual */
.hero-visual {
  position: relative;
}

.app-preview-container {
  background: var(--bg-alt);
  border-radius: var(--radius-2xl);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  position: relative;
}

.app-preview-header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4);
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.preview-dots {
  display: flex;
  gap: var(--space-1);
}

.preview-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--border);
}

.preview-dots span:nth-child(1) { background: #ef4444; }
.preview-dots span:nth-child(2) { background: #f59e0b; }
.preview-dots span:nth-child(3) { background: #10b981; }

.preview-title {
  font-size: var(--font-size-sm);
  color: var(--fg-muted);
  font-weight: 500;
}

.app-preview {
  width: 100%;
  height: 400px;
  border: none;
}

.floating-cards {
  position: absolute;
  top: 20%;
  right: -20px;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.floating-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  min-width: 160px;
}

.card-icon {
  font-size: var(--font-size-xl);
}

.card-content h4 {
  font-size: var(--font-size-sm);
  color: var(--fg-muted);
  margin-bottom: var(--space-1);
}

.card-content p {
  font-weight: 700;
  color: var(--primary);
}

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

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--space-16);
}

.section-header h2 {
  font-size: var(--font-size-4xl);
  font-weight: 700;
  margin-bottom: var(--space-6);
  color: var(--fg);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.section-header p {
  font-size: var(--font-size-xl);
  color: var(--fg-muted);
  line-height: 1.6;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

/* Features Section */
.features-section {
  background: var(--bg-alt);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--space-8);
}

.feature-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  transition: all 0.3s ease;
}

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

.feature-icon {
  font-size: var(--font-size-3xl);
  margin-bottom: var(--space-4);
}

.feature-card h3 {
  font-size: var(--font-size-xl);
  font-weight: 600;
  margin-bottom: var(--space-4);
  color: var(--fg);
}

.feature-card p {
  color: var(--fg-muted);
  margin-bottom: var(--space-6);
  line-height: 1.6;
}

.feature-list {
  list-style: none;
}

.feature-list li {
  padding: var(--space-2) 0;
  color: var(--fg-muted);
  position: relative;
  padding-left: var(--space-6);
}

.feature-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--secondary);
  font-weight: 700;
}

/* How It Works Section */
.how-it-works-section {
  background: var(--bg);
}

.steps-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
  position: relative;
}

.step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-xl);
  font-weight: 700;
  margin: 0 auto var(--space-6);
}

.step-content h3 {
  font-size: var(--font-size-xl);
  font-weight: 600;
  margin-bottom: var(--space-4);
  color: var(--fg);
}

.step-content p {
  color: var(--fg-muted);
  line-height: 1.6;
}

.step-connector {
  position: absolute;
  top: 30px;
  left: 50%;
  width: 100%;
  height: 2px;
  background: var(--border);
  z-index: -1;
}

/* Benefits Section */
.benefits-section {
  background: var(--bg-alt);
}

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

.benefit-card {
  text-align: center;
  padding: var(--space-8);
}

.benefit-icon {
  font-size: var(--font-size-4xl);
  margin-bottom: var(--space-6);
}

.benefit-card h3 {
  font-size: var(--font-size-xl);
  font-weight: 600;
  margin-bottom: var(--space-4);
  color: var(--fg);
}

.benefit-card p {
  color: var(--fg-muted);
  line-height: 1.6;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  text-align: center;
}

.cta-content h2 {
  font-size: var(--font-size-4xl);
  font-weight: 700;
  margin-bottom: var(--space-6);
}

.cta-content p {
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-8);
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  margin-bottom: var(--space-8);
}

.trust-indicators {
  display: flex;
  gap: var(--space-8);
  justify-content: center;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--font-size-sm);
  opacity: 0.8;
}

.trust-icon {
  font-size: var(--font-size-lg);
}

/* Footer */
.site-footer {
  background: var(--fg);
  color: white;
  padding: var(--space-16) 0 var(--space-8);
}

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

.footer-brand p {
  color: var(--fg-light);
  margin: var(--space-4) 0 var(--space-6);
  line-height: 1.6;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.footer-logo .product {
  font-size: var(--font-size-xl);
  font-weight: 700;
  background: linear-gradient(135deg, #60a5fa, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.social-links {
  display: flex;
  gap: var(--space-4);
}

.social-links a {
  color: var(--fg-light);
  transition: color 0.2s ease;
}

.social-links a:hover {
  color: white;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

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

.footer-column a {
  display: block;
  color: var(--fg-light);
  margin-bottom: var(--space-2);
  transition: color 0.2s ease;
}

.footer-column a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: var(--space-8);
  text-align: center;
}

.footer-bottom p {
  color: var(--fg-light);
  margin-bottom: var(--space-2);
}

.disclaimer {
  font-size: var(--font-size-sm);
  opacity: 0.7;
}

/* Mobile Menu Styles */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-2);
}

.mobile-menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--fg);
  transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Animation Classes */
.animate-in {
  animation: fadeInUp 0.6s ease-out forwards;
}

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

/* Enhanced Result Cards */
.result-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  margin-bottom: var(--space-4);
}

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

.result-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.result-label {
  font-size: var(--font-size-sm);
  color: var(--fg-muted);
  font-weight: 500;
}

.result-value {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--fg);
}

.result-value.highlight {
  color: var(--secondary);
}

/* Message Styles */
.message {
  padding: var(--space-3);
  border-radius: var(--radius);
  margin-top: var(--space-3);
  font-weight: 500;
}

.message-success {
  background: rgba(16, 185, 129, 0.1);
  color: var(--secondary);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.message-error {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.message-loading {
  background: rgba(59, 130, 246, 0.1);
  color: var(--primary);
  border: 1px solid rgba(59, 130, 246, 0.2);
}

/* Header Scroll Effect */
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-lg);
}

/* Pricing Page Styles */
.pricing-hero {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.pricing-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    linear-gradient(135deg, rgba(37, 99, 235, 0.95), rgba(59, 130, 246, 0.95)),
    radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  z-index: 1;
}

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

.pricing-hero h1 {
  font-size: var(--font-size-4xl);
  font-weight: 800;
  margin-bottom: var(--space-6);
  color: white;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4), 0 2px 8px rgba(0, 0, 0, 0.3);
  letter-spacing: -0.02em;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.pricing-hero p {
  font-size: var(--font-size-xl);
  color: rgba(255, 255, 255, 0.98);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3), 0 1px 4px rgba(0, 0, 0, 0.2);
  font-weight: 500;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

.pricing-hero h1 {
  font-size: var(--font-size-4xl);
  font-weight: 700;
  margin-bottom: var(--space-6);
}

.pricing-hero p {
  font-size: var(--font-size-xl);
  opacity: 0.9;
}

.pricing-section {
  background: var(--bg-alt);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-8);
  margin-bottom: var(--space-12);
}

.pricing-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  position: relative;
  transition: all 0.3s ease;
}

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

.pricing-card.featured {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}

.featured-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: white;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-xl);
  font-size: var(--font-size-sm);
  font-weight: 600;
}

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

.pricing-header h3 {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  margin-bottom: var(--space-4);
  color: var(--fg);
}

.price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: var(--space-1);
  margin-bottom: var(--space-4);
}

.currency {
  font-size: var(--font-size-lg);
  color: var(--fg-muted);
}

.amount {
  font-size: var(--font-size-4xl);
  font-weight: 800;
  color: var(--primary);
}

.period {
  font-size: var(--font-size-base);
  color: var(--fg-muted);
}

.pricing-description {
  color: var(--fg-muted);
  font-size: var(--font-size-sm);
}

.pricing-features {
  margin-bottom: var(--space-8);
}

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

.pricing-features li {
  padding: var(--space-2) 0;
  color: var(--fg-muted);
  font-size: var(--font-size-sm);
}

.pricing-cta {
  text-align: center;
}

.pricing-note {
  text-align: center;
  color: var(--fg-muted);
  font-size: var(--font-size-sm);
}

.pricing-note p {
  margin-bottom: var(--space-2);
}

/* FAQ Preview Section */
.faq-preview {
  background: var(--bg);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-8);
  margin-bottom: var(--space-8);
}

.faq-item {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
}

.faq-item h3 {
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin-bottom: var(--space-3);
  color: var(--fg);
}

.faq-item p {
  color: var(--fg-muted);
  line-height: 1.6;
}

.faq-cta {
  text-align: center;
}

/* FAQ Page Styles */
.faq-hero {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Legal Pages Styles */
.legal-hero {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.legal-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    linear-gradient(135deg, rgba(37, 99, 235, 0.95), rgba(59, 130, 246, 0.95)),
    radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  z-index: 1;
}

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

.legal-hero h1 {
  font-size: var(--font-size-4xl);
  font-weight: 800;
  margin-bottom: var(--space-6);
  color: white;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4), 0 2px 8px rgba(0, 0, 0, 0.3);
  letter-spacing: -0.02em;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.legal-hero p {
  font-size: var(--font-size-xl);
  color: rgba(255, 255, 255, 0.98);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3), 0 1px 4px rgba(0, 0, 0, 0.2);
  font-weight: 500;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

.legal-content {
  background: var(--bg);
}

.legal-document {
  max-width: 800px;
  margin: 0 auto;
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
}

.legal-section {
  margin-bottom: var(--space-8);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--border);
}

.legal-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.legal-section h2 {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--fg);
  margin-bottom: var(--space-4);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.legal-section h3 {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--fg);
  margin: var(--space-4) 0 var(--space-3) 0;
}

.legal-section p {
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: var(--space-4);
}

.legal-section ul {
  margin: var(--space-4) 0;
  padding-left: var(--space-6);
}

.legal-section li {
  color: var(--fg-muted);
  line-height: 1.6;
  margin-bottom: var(--space-2);
}

.legal-section strong {
  color: var(--fg);
  font-weight: 600;
}

.legal-section a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.legal-section a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

.legal-footer {
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 2px solid var(--border);
  text-align: center;
}

.legal-footer p {
  color: var(--fg-muted);
  font-size: var(--font-size-sm);
  margin-bottom: var(--space-2);
}

.faq-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    linear-gradient(135deg, rgba(37, 99, 235, 0.95), rgba(59, 130, 246, 0.95)),
    radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  z-index: 1;
}

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

.faq-hero h1 {
  font-size: var(--font-size-4xl);
  font-weight: 800;
  margin-bottom: var(--space-6);
  color: white;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4), 0 2px 8px rgba(0, 0, 0, 0.3);
  letter-spacing: -0.02em;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.faq-hero p {
  font-size: var(--font-size-xl);
  color: rgba(255, 255, 255, 0.98);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3), 0 1px 4px rgba(0, 0, 0, 0.2);
  font-weight: 500;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

.faq-hero h1 {
  font-size: var(--font-size-4xl);
  font-weight: 700;
  margin-bottom: var(--space-6);
}

.faq-hero p {
  font-size: var(--font-size-xl);
  opacity: 0.9;
}

.faq-section {
  background: var(--bg-alt);
}

.faq-categories {
  display: grid;
  gap: var(--space-12);
  margin-bottom: var(--space-12);
}

.faq-category h2 {
  font-size: var(--font-size-2xl);
  font-weight: 600;
  margin-bottom: var(--space-6);
  color: var(--fg);
  border-bottom: 2px solid var(--border);
  padding-bottom: var(--space-3);
}

.faq-list {
  display: grid;
  gap: var(--space-4);
}

.faq-detail {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-detail:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
}

.faq-detail summary {
  padding: var(--space-6);
  cursor: pointer;
  font-weight: 600;
  color: var(--fg);
  position: relative;
  list-style: none;
  transition: background-color 0.2s ease;
}

.faq-detail summary:hover {
  background-color: var(--bg-alt);
}

.faq-detail summary::after {
  content: '+';
  position: absolute;
  right: var(--space-6);
  top: 50%;
  transform: translateY(-50%);
  font-size: var(--font-size-xl);
  color: var(--primary);
  transition: transform 0.3s ease;
}

.faq-detail[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq-content {
  padding: 0 var(--space-6) var(--space-6);
  color: var(--fg-muted);
  line-height: 1.6;
}

.faq-content p {
  margin: 0;
}

.faq-cta {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  text-align: center;
  margin-top: var(--space-8);
}

.faq-cta h3 {
  font-size: var(--font-size-2xl);
  font-weight: 600;
  margin-bottom: var(--space-4);
  color: var(--fg);
}

.faq-cta p {
  color: var(--fg-muted);
  margin-bottom: var(--space-6);
  font-size: var(--font-size-lg);
}

.faq-cta .cta-buttons {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
}

/* Overview Section Styles */
.quick-overview {
  background: var(--bg-alt);
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-8);
  margin-bottom: var(--space-8);
}

.overview-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  text-align: center;
  transition: all 0.3s ease;
}

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

.overview-icon {
  font-size: var(--font-size-4xl);
  margin-bottom: var(--space-4);
}

.overview-card h3 {
  font-size: var(--font-size-xl);
  font-weight: 600;
  margin-bottom: var(--space-4);
  color: var(--fg);
}

.overview-card p {
  color: var(--fg-muted);
  line-height: 1.6;
}

.overview-cta {
  text-align: center;
}

/* Hero Section Styles for New Pages */
.features-hero,
.how-it-works-hero,
.benefits-hero {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.features-hero::before,
.how-it-works-hero::before,
.benefits-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    linear-gradient(135deg, rgba(37, 99, 235, 0.95), rgba(59, 130, 246, 0.95)),
    radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  z-index: 1;
}

.features-hero .container,
.how-it-works-hero .container,
.benefits-hero .container {
  position: relative;
  z-index: 2;
}

.features-hero h1,
.how-it-works-hero h1,
.benefits-hero h1 {
  font-size: var(--font-size-4xl);
  font-weight: 800;
  margin-bottom: var(--space-6);
  color: white;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4), 0 2px 8px rgba(0, 0, 0, 0.3);
  letter-spacing: -0.02em;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.features-hero p,
.how-it-works-hero p,
.benefits-hero p {
  font-size: var(--font-size-xl);
  color: rgba(255, 255, 255, 0.98);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3), 0 1px 4px rgba(0, 0, 0, 0.2);
  font-weight: 500;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

/* Feature Details Section */
.feature-details {
  background: var(--bg);
}

.feature-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: var(--space-8);
}

.feature-detail-card {
  display: flex;
  gap: var(--space-6);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
}

.feature-detail-icon {
  font-size: var(--font-size-3xl);
  flex-shrink: 0;
}

.feature-detail-content h3 {
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin-bottom: var(--space-3);
  color: var(--fg);
}

.feature-detail-content p {
  color: var(--fg-muted);
  margin-bottom: var(--space-4);
  line-height: 1.6;
}

.feature-detail-content ul {
  list-style: none;
  padding: 0;
}

.feature-detail-content li {
  padding: var(--space-1) 0;
  color: var(--fg-muted);
  font-size: var(--font-size-sm);
  position: relative;
  padding-left: var(--space-4);
}

.feature-detail-content li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--secondary);
  font-weight: 700;
}

/* Process Details Section */
.process-details {
  background: var(--bg-alt);
}

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

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

.process-icon {
  font-size: var(--font-size-4xl);
  margin-bottom: var(--space-4);
}

.process-card h3 {
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin-bottom: var(--space-3);
  color: var(--fg);
}

.process-card p {
  color: var(--fg-muted);
  line-height: 1.6;
}

/* Benefits Details Section */
.benefits-details {
  background: var(--bg);
}

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

.stat-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  text-align: center;
}

.stat-number {
  font-size: var(--font-size-3xl);
  font-weight: 700;
  color: var(--primary);
  margin-bottom: var(--space-2);
}

.stat-label {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--fg);
  margin-bottom: var(--space-3);
}

.stat-description {
  color: var(--fg-muted);
  font-size: var(--font-size-sm);
  line-height: 1.6;
}

/* User Stories Section */
.user-stories {
  background: var(--bg-alt);
}

.stories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-8);
}

.story-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
}

.story-content p {
  color: var(--fg-muted);
  font-style: italic;
  margin-bottom: var(--space-4);
  line-height: 1.6;
}

.story-author strong {
  color: var(--fg);
  display: block;
  margin-bottom: var(--space-1);
}

.story-author span {
  color: var(--fg-muted);
  font-size: var(--font-size-sm);
}

/* Step Features */
.step-features {
  margin-top: var(--space-4);
}

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

.step-features li {
  padding: var(--space-1) 0;
  color: var(--fg-muted);
  font-size: var(--font-size-sm);
  position: relative;
  padding-left: var(--space-4);
}

.step-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--secondary);
  font-weight: 700;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: var(--space-12);
  }
  
  .steps-container {
    grid-template-columns: 1fr;
    gap: var(--space-12);
  }
  
  .step-connector {
    display: none;
  }
  
  .features-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--space-12);
  }
  
  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 var(--space-4);
  }
  
  .logo {
    width: 100px;
    height: 100px;
  }
  
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-alt);
    border-top: 1px solid var(--border);
    padding: var(--space-4);
    flex-direction: column;
    gap: var(--space-4);
    box-shadow: var(--shadow-lg);
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .hero h1 {
    font-size: var(--font-size-4xl);
  }
  
  .hero-subtitle {
    font-size: var(--font-size-lg);
  }
  
  .hero-stats {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
  
  .cta-group {
    flex-direction: column;
    align-items: stretch;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  
  .trust-indicators {
    flex-direction: column;
    align-items: center;
  }
  
  .footer-links {
    grid-template-columns: 1fr;
  }
  
  .floating-cards {
    display: none;
  }
  
  /* Pricing & FAQ Responsive */
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  
  .faq-categories {
    gap: var(--space-8);
  }
  
  .faq-cta .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  /* New Pages Responsive */
  .overview-grid {
    grid-template-columns: 1fr;
  }
  
  .feature-detail-grid {
    grid-template-columns: 1fr;
  }
  
  .feature-detail-card {
    flex-direction: column;
    text-align: center;
  }
  
  .process-grid {
    grid-template-columns: 1fr;
  }
  
  .benefits-stats {
    grid-template-columns: 1fr;
  }
  
  .stories-grid {
    grid-template-columns: 1fr;
  }
  
  /* Hero text responsive adjustments */
  .features-hero h1,
  .how-it-works-hero h1,
  .benefits-hero h1 {
    font-size: var(--font-size-3xl);
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.5);
  }
  
  .features-hero p,
  .how-it-works-hero p,
  .benefits-hero p {
    font-size: var(--font-size-lg);
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  }
  
  /* Pricing and FAQ hero responsive adjustments */
  .pricing-hero h1,
  .faq-hero h1 {
    font-size: var(--font-size-3xl);
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.5);
  }
  
  .pricing-hero p,
  .faq-hero p {
    font-size: var(--font-size-lg);
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  }
  
  /* Legal pages responsive adjustments */
  .legal-hero h1 {
    font-size: var(--font-size-3xl);
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.5);
  }
  
  .legal-hero p {
    font-size: var(--font-size-lg);
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  }
}

@media (max-width: 480px) {
  .hero {
    padding: var(--space-12) 0 var(--space-8);
  }
  
  .section {
    padding: var(--space-12) 0;
  }
  
  .hero h1 {
    font-size: var(--font-size-3xl);
  }
  
  .section-header h2 {
    font-size: var(--font-size-3xl);
  }
}