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

:root {
  color-scheme: light;
  --bg: #f5f7fb;
  --surface: #ffffff;
  --ink: #0b1221;
  --muted: #5c677d;
  --primary: #4b3cf0;
  --primary-dark: #3526d6;
  --accent: #e9e7ff;
  --border: #e4e9f2;
  --shadow: 0 22px 70px rgba(16, 24, 40, 0.12);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --max-width: 1120px;
}

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.container {
  width: min(100% - 2.5rem, var(--max-width));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(245, 247, 251, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 0;
  gap: 1.5rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.logo-text {
  font-size: 1.1rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  font-weight: 500;
  color: var(--muted);
}

.nav a {
  transition: color 0.2s ease;
}

.nav a:not(.nav-cta):hover {
  color: var(--ink);
}

.nav a.nav-cta {
  padding: 0.55rem 1rem;
  background: var(--ink);
  color: #fff;
  border-radius: 999px;
  transition: transform 0.2s ease, box-shadow 0.2s ease,
    background 0.2s ease;
}

.nav a.nav-cta:visited {
  color: #fff;
}

.nav a.nav-cta:hover,
.nav a.nav-cta:active {
  color: #fff;
  background: #111827;
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.25);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 999px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  transition: transform 0.2s ease, opacity 0.2s ease, top 0.2s ease;
}

.nav-toggle span:nth-child(1) {
  top: 14px;
}

.nav-toggle span:nth-child(2) {
  top: 21px;
}

.nav-toggle span:nth-child(3) {
  top: 28px;
}

.nav-toggle.is-open span:nth-child(1) {
  top: 21px;
  transform: translateX(-50%) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  top: 21px;
  transform: translateX(-50%) rotate(-45deg);
}

.hero {
  padding: 5.5rem 0 4.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3.5rem;
  align-items: center;
}

.eyebrow {
  color: var(--primary);
  font-weight: 600;
  letter-spacing: 0.12rem;
  text-transform: uppercase;
  font-size: 0.75rem;
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2.7rem, 4vw, 3.7rem);
  line-height: 1.1;
  margin-bottom: 1.2rem;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease,
    background 0.2s ease;
}

.btn.primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 16px 30px rgba(75, 60, 240, 0.2);
}

.btn.primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.btn.secondary {
  background: var(--surface);
  border-color: var(--border);
  color: var(--ink);
}

.btn.secondary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  text-align: center;
}

.metric {
  font-size: 1.4rem;
  font-weight: 700;
  display: block;
  line-height: 1.2;
  white-space: nowrap;
}

.label {
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-card {
  background: var(--surface);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  display: grid;
  gap: 1.5rem;
}

.funnel-preview {
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 1.5rem;
  display: grid;
  gap: 1rem;
  background: linear-gradient(140deg, #fdfdff, #f5f4ff);
}

.funnel-preview.is-transitioning {
  pointer-events: none;
}

.funnel-preview .funnel-content {
  display: grid;
  gap: 1rem;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.funnel-preview.is-transitioning .funnel-content {
  opacity: 0;
  transform: translateY(6px);
}

.funnel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
}

.pill {
  background: var(--accent);
  color: var(--primary);
  font-size: 0.75rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
}

.funnel-progress {
  display: grid;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.bar {
  height: 8px;
  background: #efeefe;
  border-radius: 999px;
  overflow: hidden;
}

.fill {
  height: 100%;
  width: 35%;
  background: var(--primary);
  transition: width 0.35s ease;
}

.funnel-options {
  display: grid;
  gap: 0.65rem;
}

.funnel-options button {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.7rem 0.9rem;
  text-align: left;
  font-weight: 500;
  transition: border 0.2s ease, transform 0.2s ease;
}

.funnel-options button:hover {
  border-color: var(--primary);
  transform: translateY(-1px);
}

.funnel-options button.active {
  border-color: var(--primary);
  background: rgba(75, 60, 240, 0.08);
  box-shadow: 0 10px 24px rgba(75, 60, 240, 0.15);
}

.funnel-restart {
  display: none;
}

.funnel-restart.show {
  display: inline-flex;
}

.trust-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.trust-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-weight: 600;
  color: var(--ink);
}

.section {
  padding: 4.5rem 0;
}

.section.alt {
  background: #eef2ff;
}

.section-head {
  max-width: 680px;
  margin-bottom: 2.5rem;
}

.section-head h2 {
  font-size: clamp(2rem, 3vw, 2.6rem);
  margin-bottom: 0.8rem;
}

.section-head p {
  color: var(--muted);
  font-size: 1.05rem;
}

.card-grid {
  display: grid;
  gap: 1.6rem;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.card {
  background: var(--surface);
  padding: 1.7rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(16, 24, 40, 0.08);
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.6rem;
}

.step {
  background: var(--surface);
  padding: 1.6rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.step-num {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.6rem;
}

.result-card {
  background: var(--surface);
  padding: 1.8rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.5rem;
  align-items: center;
}

.pricing-list {
  list-style: none;
  margin-top: 1.2rem;
  display: grid;
  gap: 0.65rem;
  color: var(--muted);
}

.pricing-list li::before {
  content: "✓";
  color: var(--primary);
  font-weight: 700;
  margin-right: 0.6rem;
}

.pricing-card {
  background: var(--surface);
  padding: 2.2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: grid;
  gap: 1rem;
}

.price {
  font-size: 1.8rem;
  font-weight: 700;
}

.muted {
  color: var(--muted);
}

.fine-print {
  font-size: 0.85rem;
  color: var(--muted);
}

.contact {
  padding-bottom: 6rem;
}

section {
  scroll-margin-top: 48px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.5rem;
  align-items: start;
}

.contact-details {
  margin-top: 1.5rem;
  display: grid;
  gap: 1rem;
}

.contact-details .label {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
}

.contact-form {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 2rem;
  display: grid;
  gap: 1.2rem;
}

.contact-form label {
  display: grid;
  gap: 0.5rem;
  font-weight: 500;
  color: var(--muted);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--border);
  padding: 0.75rem 0.9rem;
  font-size: 0.95rem;
  font-family: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(75, 60, 240, 0.3);
  border-color: var(--primary);
}

.form-note {
  font-size: 0.8rem;
  color: var(--muted);
}

.site-footer {
  background: #0b1221;
  color: #f5f7fb;
  padding: 3rem 0 1.5rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.footer-logo .logo-mark {
  background: #ffffff;
  color: #0b1221;
}

.footer-links {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
}

.footer-links a {
  display: block;
  color: #cbd5f5;
  margin-top: 0.5rem;
}

.footer-links h4 {
  margin-bottom: 0.4rem;
}

.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  color: #cbd5f5;
  font-size: 0.85rem;
}

@media (max-width: 960px) {
  .hero-grid,
  .pricing-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .nav {
    position: absolute;
    top: 72px;
    right: 1.25rem;
    left: 1.25rem;
    flex-direction: column;
    background: var(--surface);
    padding: 1rem;
    border-radius: 16px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    display: none;
    gap: 0.9rem;
    z-index: 30;
  }

  .nav.is-open {
    display: flex;
  }

  .nav-toggle {
    display: inline-flex;
  }
}

@media (max-width: 680px) {
  .hero {
    padding-top: 4rem;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .header-inner {
    padding: 1rem 0;
  }
}

