/* ===== CSS VARIABLES ===== */
:root {
  --primary: #0056b3;
  --primary-dark: #003d82;
  --accent: #00c853;
  --accent-dark: #009624;
  --dark: #1a1a2e;
  --light: #f8f9fa;
  --text: #333;
  --text-light: #666;
  --white: #fff;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --radius: 12px;
  --transition: all 0.3s ease;
  --container: 1200px;
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

/* ===== UTILITIES ===== */
.container {
  width: 90%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.text-center { text-align: center; }
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 8px;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  min-height: 48px; /* Mobile touch target */
}
.btn-primary {
  background: var(--accent);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,200,83,0.3);
}
.btn-secondary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-secondary:hover {
  background: var(--primary);
  color: var(--white);
}
.btn-large {
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
}
.section {
  padding: 5rem 0;
}
.section-title {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--dark);
}
.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-light);
  max-width: 650px;
  margin: 0 auto 3rem;
}

/* ===== HEADER ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: var(--shadow);
  padding: 1rem 0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.nav {
  display: none;
}
.nav-list {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}
.nav-link {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
  transition: var(--transition);
}
.nav-link:hover, .nav-link.active {
  color: var(--primary);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--primary);
  transition: var(--transition);
}
.nav-link:hover::after { width: 100%; }
.mobile-toggle {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary);
  padding: 0.5rem;
}

@media (min-width: 992px) {
  .nav { display: block; }
  .mobile-toggle { display: none; }
}

/* ===== HERO ===== */
.hero {
  padding: 6rem 0 4rem;
  background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 100%);
  text-align: center;
}
.hero-title {
  font-size: 2.25rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--dark);
}
.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto 2.5rem;
}
.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}
@media (min-width: 768px) {
  .hero-title { font-size: 3rem; }
  .hero-cta { flex-direction: row; }
}

/* ===== FEATURES GRID ===== */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.feature-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}
.feature-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  color: var(--primary);
}
.feature-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--dark);
}
.feature-desc {
  color: var(--text-light);
  font-size: 0.95rem;
}
@media (min-width: 768px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .features-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ===== AUDIENCE LIST ===== */
.audience-list {
  list-style: none;
  max-width: 700px;
  margin: 0 auto;
}
.audience-item {
  padding: 1rem 0;
  border-bottom: 1px solid #eee;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.audience-item::before {
  content: "✓";
  color: var(--accent);
  font-weight: bold;
  flex-shrink: 0;
}
.audience-strong {
  color: var(--primary);
  font-weight: 600;
}

/* ===== SOCIAL PROOF ===== */
.social-proof {
  background: var(--dark);
  color: var(--white);
}
.social-proof .section-title { color: var(--white); }
.social-proof .section-subtitle { color: #ccc; }
.testimonial {
  background: rgba(255,255,255,0.1);
  padding: 2rem;
  border-radius: var(--radius);
  margin: 1.5rem 0;
  font-style: italic;
}
.testimonial cite {
  display: block;
  margin-top: 1rem;
  font-style: normal;
  font-weight: 600;
}
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}
.trust-badge {
  background: rgba(255,255,255,0.15);
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
}

/* ===== FAQ ===== */
.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 1rem;
  overflow: hidden;
}
.faq-summary {
  padding: 1.25rem 1.5rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
}
.faq-summary::-webkit-details-marker { display: none; }
.faq-summary::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--primary);
  font-weight: 300;
}
details[open] .faq-summary::after { content: "−"; }
.faq-answer {
  padding: 0 1.5rem 1.25rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ===== FINAL CTA ===== */
.final-cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  text-align: center;
}
.final-cta .section-title { color: var(--white); }
.final-cta .section-subtitle { color: rgba(255,255,255,0.9); }
.final-cta .btn-primary {
  background: var(--white);
  color: var(--primary);
}
.final-cta .btn-primary:hover {
  background: var(--light);
  transform: translateY(-2px);
}
.cta-secondary {
  display: inline-block;
  margin-top: 1rem;
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  font-weight: 500;
}
.cta-secondary:hover { color: var(--white); }

/* ===== FOOTER ===== */
.footer {
  background: var(--dark);
  color: #aaa;
  padding: 3rem 0 2rem;
  text-align: center;
  font-size: 0.95rem;
}
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0,200,83,0.15);
  color: var(--accent);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-weight: 600;
  margin-bottom: 1.5rem;
}
.status-dot {
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin: 1.5rem 0;
  flex-wrap: wrap;
}
.footer-link {
  color: #ccc;
  text-decoration: none;
  transition: var(--transition);
}
.footer-link:hover { color: var(--white); }

/* ===== MOBILE STICKY CTA ===== */
@media (max-width: 767px) {
  .sticky-cta {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: var(--white);
    padding: 0.75rem 1.5rem;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
    z-index: 999;
    text-align: center;
  }
  body { padding-bottom: 70px; }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}