*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #1a1a2e;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: #fff;
}

/* ──────────── Gradient Text ──────────── */
.gradient-text {
  background: linear-gradient(135deg, #a78bfa, #06b6d4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ──────────── Reveal Animations ──────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ──────────── Nav ──────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(10, 10, 26, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-inner {
  max-width: 1100px; margin: 0 auto; padding: 0 24px;
  height: 64px; display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  font-size: 20px; font-weight: 800; text-decoration: none;
  background: linear-gradient(135deg, #a78bfa, #06b6d4);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { text-decoration: none; color: rgba(255,255,255,0.6); font-size: 14px; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: #fff; }
.nav-cta {
  background: rgba(99,91,255,0.15) !important; color: #a78bfa !important;
  padding: 8px 20px !important; border-radius: 8px !important;
  border: 1px solid rgba(99,91,255,0.3) !important;
  transition: all 0.2s !important;
}
.nav-cta:hover {
  background: rgba(99,91,255,0.25) !important;
  border-color: rgba(99,91,255,0.5) !important;
}

/* ──────────── Buttons ──────────── */
.btn {
  display: inline-block; padding: 14px 32px; border-radius: 10px;
  font-size: 15px; font-weight: 600; text-decoration: none;
  cursor: pointer; border: none; transition: all 0.3s; font-family: inherit;
}
.btn-glow {
  background: linear-gradient(135deg, #635bff, #7c3aed);
  color: white;
  box-shadow: 0 0 20px rgba(99,91,255,0.3), 0 4px 16px rgba(99,91,255,0.2);
}
.btn-glow:hover {
  box-shadow: 0 0 40px rgba(99,91,255,0.4), 0 8px 32px rgba(99,91,255,0.3);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent; color: #a78bfa;
  border: 1px solid rgba(167,139,250,0.3);
}
.btn-outline:hover {
  background: rgba(167,139,250,0.1);
  border-color: rgba(167,139,250,0.5);
}
.btn-lg { padding: 18px 40px; font-size: 16px; }
.btn-full { width: 100%; text-align: center; }

/* ──────────── Hero ──────────── */
.hero {
  padding: 140px 24px 100px;
  text-align: center;
  background: #0a0a1a;
  position: relative;
  overflow: hidden;
}
.hero-orb {
  position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none;
}
.hero-orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(99,91,255,0.25), transparent 70%);
  top: -200px; right: -100px;
  animation: float 20s ease-in-out infinite;
}
.hero-orb-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(6,182,212,0.15), transparent 70%);
  bottom: -200px; left: -100px;
  animation: float 25s ease-in-out infinite reverse;
}
.hero-orb-3 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(167,139,250,0.12), transparent 70%);
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  animation: pulse 15s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}
@keyframes pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
  50% { transform: translate(-50%, -50%) scale(1.15); opacity: 1; }
}

.hero-inner { max-width: 800px; margin: 0 auto; position: relative; z-index: 2; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 18px; border-radius: 24px;
  background: rgba(99,91,255,0.12); border: 1px solid rgba(99,91,255,0.2);
  color: #a78bfa; font-size: 13px; font-weight: 600;
  margin-bottom: 28px;
}
.hero-badge-dot {
  width: 6px; height: 6px; border-radius: 50%; background: #10b981;
  box-shadow: 0 0 8px rgba(16,185,129,0.6);
}
.hero h1 {
  font-size: clamp(36px, 5vw, 52px); font-weight: 800;
  line-height: 1.1; letter-spacing: -1.5px;
  margin-bottom: 20px; color: #f1f5f9;
}
.hero-sub {
  font-size: 18px; color: rgba(255,255,255,0.55); line-height: 1.7; margin-bottom: 36px;
  max-width: 640px; margin-left: auto; margin-right: auto;
}
.hero-stats {
  display: flex; justify-content: center; gap: 48px; margin-bottom: 40px;
}
.stat-num {
  font-size: 32px; font-weight: 800;
  background: linear-gradient(135deg, #a78bfa, #06b6d4);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.stat-unit { font-size: 18px; }
.stat-label { font-size: 13px; color: rgba(255,255,255,0.4); font-weight: 500; margin-top: 2px; }
.hero-proof { margin-top: 18px; font-size: 13px; color: rgba(255,255,255,0.35); }

/* ──────────── Sections ──────────── */
.section { padding: 100px 24px; }
.section-dark { background: #0a0a1a; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-narrow { max-width: 720px; }
.eyebrow {
  text-align: center; text-transform: uppercase; letter-spacing: 3px;
  font-size: 12px; font-weight: 700; color: #635bff; margin-bottom: 12px;
}
.eyebrow-light { color: #a78bfa; }
.section-title {
  font-size: clamp(28px, 4vw, 38px); font-weight: 800;
  text-align: center; margin-bottom: 12px; letter-spacing: -0.5px;
}
.section-title-light { color: #f1f5f9; }
.section-sub {
  text-align: center; color: #64748b; font-size: 16px;
  margin-bottom: 56px; max-width: 580px; margin-left: auto; margin-right: auto;
}
.section-sub-light { color: rgba(255,255,255,0.45); }

/* ──────────── ROI Calculator ──────────── */
.problem-box { max-width: 480px; margin: 0 auto; }
.problem-calc {
  background: #0f0e17; border-radius: 16px; padding: 32px;
  color: #e2e8f0; font-family: 'JetBrains Mono', 'SF Mono', 'Fira Code', monospace; font-size: 14px;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 8px 40px rgba(0,0,0,0.15);
}
.calc-row { display: flex; justify-content: space-between; padding: 10px 0; }
.calc-val { font-weight: 700; }
.calc-neutral { color: rgba(255,255,255,0.5); }
.calc-red .calc-val { color: #f87171; }
.calc-green .calc-val { color: #34d399; }
.calc-result { font-size: 18px; font-weight: 700; }
.calc-result .calc-val { color: #34d399; font-size: 20px; }
.calc-divider { border-top: 1px solid rgba(255,255,255,0.08); margin: 8px 0; }
.problem-note { text-align: center; color: #64748b; font-size: 14px; margin-top: 20px; }
.problem-link { color: #a78bfa; text-decoration: none; }
.problem-link:hover { text-decoration: underline; }

/* ──────────── Steps (How It Works) ──────────── */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 56px; }
.step-card {
  text-align: center; padding: 32px 20px; border-radius: 16px;
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06);
  position: relative; transition: all 0.3s;
}
.step-card:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(99,91,255,0.2);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(99,91,255,0.08);
}
.step-icon {
  color: #a78bfa; margin-bottom: 16px;
  display: flex; justify-content: center;
}
.step-num-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(99,91,255,0.15); color: #a78bfa;
  font-size: 12px; font-weight: 700; margin-bottom: 12px;
}
.step-card h3 { font-size: 15px; margin-bottom: 8px; color: #f1f5f9; font-weight: 700; }
.step-card p { font-size: 13px; color: rgba(255,255,255,0.45); line-height: 1.6; }

/* ──────────── Features ──────────── */
.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 56px;
}
.feature-card {
  padding: 32px; border-radius: 16px;
  background: #fafbff; border: 1px solid #e8e8f0;
  transition: all 0.3s;
}
.feature-card:hover {
  border-color: rgba(99,91,255,0.2);
  box-shadow: 0 8px 32px rgba(99,91,255,0.06);
  transform: translateY(-2px);
}
.feature-card-large {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, #0f0e17 0%, #1a1a3e 100%);
  border-color: rgba(99,91,255,0.15);
  color: #f1f5f9;
}
.feature-card-large p { color: rgba(255,255,255,0.6); }
.feature-tag {
  display: inline-block; padding: 4px 12px; border-radius: 6px;
  background: rgba(99,91,255,0.15); color: #a78bfa;
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
  margin-bottom: 16px;
}
.feature-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.feature-card p { font-size: 14px; color: #64748b; line-height: 1.7; }
.feature-icon-wrap {
  width: 44px; height: 44px; border-radius: 10px;
  background: rgba(99,91,255,0.08); color: #635bff;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}

/* Email Preview Mock */
.feature-preview {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px;
}
.preview-email {
  background: rgba(255,255,255,0.05); border-radius: 12px; padding: 20px;
  border: 1px solid rgba(255,255,255,0.08);
}
.preview-email-alt { background: rgba(6,182,212,0.05); border-color: rgba(6,182,212,0.12); }
.preview-label {
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
  color: #a78bfa; margin-bottom: 10px;
}
.preview-email-alt .preview-label { color: #06b6d4; }
.preview-text {
  font-size: 13px; color: rgba(255,255,255,0.55); line-height: 1.6;
  font-style: italic;
}

/* ──────────── Pricing ──────────── */
.pricing-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
  max-width: 700px; margin: 0 auto;
}
.pricing-card {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px; padding: 40px 28px; position: relative; text-align: center;
  transition: all 0.3s;
}
.pricing-card:hover {
  border-color: rgba(99,91,255,0.2);
  transform: translateY(-4px);
}
.pricing-featured {
  border-color: rgba(99,91,255,0.3);
  background: rgba(99,91,255,0.06);
}
.pricing-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, #635bff, #7c3aed);
  color: white; padding: 5px 16px; border-radius: 12px;
  font-size: 11px; font-weight: 700;
}
.pricing-card h3 { font-size: 20px; margin: 12px 0 8px; color: #f1f5f9; }
.pricing-price { font-size: 48px; font-weight: 800; margin-bottom: 28px; color: #f1f5f9; }
.pricing-dollar { font-size: 24px; vertical-align: super; color: rgba(255,255,255,0.5); }
.pricing-period { font-size: 16px; color: rgba(255,255,255,0.4); font-weight: 400; }
.pricing-features { list-style: none; text-align: left; margin-bottom: 28px; }
.pricing-features li {
  padding: 10px 0; font-size: 14px; color: rgba(255,255,255,0.6);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.pricing-features li::before { content: "\2713 "; color: #34d399; font-weight: 700; margin-right: 8px; }
.pricing-compare {
  text-align: center; color: rgba(255,255,255,0.35); font-size: 13px;
  margin-top: 32px; max-width: 500px; margin-left: auto; margin-right: auto;
}

/* ──────────── FAQ ──────────── */
.faq-list { margin-top: 40px; }
.faq-item { border-bottom: 1px solid #e8e8f0; }
.faq-question {
  width: 100%; padding: 22px 0; background: none; border: none;
  text-align: left; font-size: 16px; font-weight: 600; color: #1a1a2e;
  cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  font-family: inherit; transition: color 0.2s;
}
.faq-question:hover { color: #635bff; }
.faq-question::after { content: "+"; font-size: 20px; color: #94a3b8; transition: transform 0.3s; }
.faq-item.open .faq-question::after { content: "\2212"; color: #635bff; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-item.open .faq-answer { max-height: 400px; }
.faq-answer p { padding: 0 0 22px; color: #64748b; font-size: 15px; line-height: 1.7; }

/* ──────────── Final CTA ──────────── */
.section-cta {
  background: #0a0a1a;
  position: relative; overflow: hidden;
}
.section-cta::before {
  content: '';
  position: absolute; width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(99,91,255,0.15), transparent 70%);
  top: -200px; left: 50%; transform: translateX(-50%);
  pointer-events: none;
}
.section-cta h2 {
  font-size: clamp(28px, 4vw, 38px); font-weight: 800;
  color: #f1f5f9; margin-bottom: 0; position: relative; z-index: 2;
}
.cta-sub {
  color: rgba(255,255,255,0.45); margin: 16px 0 32px;
  font-size: 16px; position: relative; z-index: 2;
}

/* ──────────── Footer ──────────── */
.footer {
  padding: 40px 24px;
  background: #0a0a1a;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px;
}
.footer-brand { font-weight: 800; font-size: 16px; color: #a78bfa; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { text-decoration: none; color: rgba(255,255,255,0.35); font-size: 13px; transition: color 0.2s; }
.footer-links a:hover { color: rgba(255,255,255,0.7); }
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.2); }

/* ──────────── Legal pages ──────────── */
.legal-page { padding: 120px 24px 80px; max-width: 760px; margin: 0 auto; }
.legal-page h1 { font-size: 32px; font-weight: 800; margin-bottom: 8px; }
.legal-page .legal-date { color: #64748b; font-size: 14px; margin-bottom: 40px; }
.legal-page h2 { font-size: 20px; font-weight: 700; margin-top: 40px; margin-bottom: 12px; }
.legal-page h3 { font-size: 16px; font-weight: 600; margin-top: 24px; margin-bottom: 8px; }
.legal-page p, .legal-page li { font-size: 15px; color: #475569; line-height: 1.8; margin-bottom: 12px; }
.legal-page ul, .legal-page ol { margin-left: 24px; margin-bottom: 16px; }
.legal-page a { color: #635bff; }
.legal-page table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.legal-page th, .legal-page td { padding: 10px 12px; text-align: left; border-bottom: 1px solid #e8e8f0; font-size: 14px; }
.legal-page th { font-weight: 600; color: #1a1a2e; }
.legal-page td { color: #475569; }

/* ──────────── Accessibility ──────────── */
.skip-link {
  position: absolute; top: -100px; left: 16px; z-index: 9999;
  background: #635bff; color: #fff; padding: 12px 24px; border-radius: 8px;
  font-size: 14px; font-weight: 600; text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }
.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;
}
/* Visible focus indicators for keyboard navigation */
a:focus-visible, button:focus-visible, .btn:focus-visible {
  outline: 2px solid #a78bfa;
  outline-offset: 3px;
}
.footer-accessibility {
  max-width: 1100px; margin: 24px auto 0; padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.04);
}
.footer-accessibility p {
  font-size: 12px; color: rgba(255,255,255,0.25); text-align: center;
}
.footer-accessibility a { color: rgba(255,255,255,0.4); }

/* ──────────── Reduced Motion ──────────── */
@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; }
  .reveal { opacity: 1; transform: none; }
  .hero-orb { animation: none; }
}

/* ──────────── Responsive ──────────── */
@media (max-width: 768px) {
  .hero h1 { font-size: 32px; letter-spacing: -1px; }
  .hero-stats { flex-direction: column; gap: 16px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .feature-preview { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .nav-links a:not(.nav-cta) { display: none; }
  .footer-inner { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  .steps { grid-template-columns: 1fr; }
}
