:root {
  --bg: #000003;
  --bg-soft: #04050c;
  --ink: #f5f6fb;
  --muted: #9aa0b5;
  --accent: #6c5ce7;
  --accent-2: #18e0ff;
  --hero-muted: #d2d7ea;
  --wa: #25d366;
  --card: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.08);
  --radius: 18px;
  --max: 1100px;
}

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

html { background: var(--bg); overflow-x: clip; width: 100%; }

body {
  background: transparent;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  width: 100%;
  overflow-x: clip;
  overscroll-behavior-x: none;
}

#hero-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: -1;
  pointer-events: none;
}

section { position: relative; z-index: 1; padding: 5rem 1.5rem; }

.section-title {
  text-align: center;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  margin-bottom: 2.5rem;
}

.hero {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(1000px 520px at 70% 16%, rgba(108, 92, 231, 0.06), transparent 64%),
    radial-gradient(760px 420px at 18% 84%, rgba(24, 224, 255, 0.04), transparent 64%);
}

.nav {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand { font-weight: 700; letter-spacing: 0.5px; font-size: 1.25rem; }

.nav-links { display: flex; gap: 1.8rem; }
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--ink); }
@media (max-width: 760px) { .nav-links { display: none; } }

.nav-cta {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  transition: background 0.2s, border-color 0.2s;
}
.nav-cta:hover { background: var(--card); border-color: var(--accent); }

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  width: 100%;
  margin: auto;
  padding: 1.5rem;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.4rem;
  padding: 0.45rem 1rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: var(--hero-muted);
  font-size: 0.9rem;
  font-weight: 500;
}
.hero-badge [data-counter] { color: var(--ink); font-weight: 700; }
.hero-badge-stars {
  color: #ffd54a;
  letter-spacing: 1px;
  filter: drop-shadow(0 0 8px rgba(255, 213, 74, 0.4));
}

.hero-title {
  font-size: clamp(2.4rem, 8vw, 4.6rem);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.12;
  padding: 0 0.06em 0.12em;
  background: linear-gradient(95deg, var(--ink) 35%, var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-tagline {
  margin: 1.2rem auto 2rem;
  font-size: clamp(1.1rem, 3vw, 1.6rem);
  color: var(--hero-muted);
  max-width: 620px;
}

.hero-sub { margin-top: 1.1rem; color: var(--hero-muted); font-size: 0.95rem; }

.hero-stats {
  list-style: none;
  margin: 1.6rem auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem 1.4rem;
  color: var(--hero-muted);
  font-size: 0.95rem;
}
.hero-stats li { display: inline-flex; align-items: center; gap: 0.4rem; }
.hero-stats li + li { position: relative; }
.hero-stats li + li::before {
  content: "·";
  position: absolute;
  left: -0.85rem;
  color: var(--border);
}
.hero-stats strong { color: var(--ink); font-weight: 700; }

.scroll-hint {
  position: absolute;
  bottom: 1.5rem; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--muted);
  font-size: 0.85rem;
  letter-spacing: 2px;
  animation: bob 2s ease-in-out infinite;
}
@keyframes bob { 0%,100%{ transform: translateX(-50%) translateY(0);} 50%{ transform: translateX(-50%) translateY(6px);} }

.cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--wa);
  color: #04210f;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  padding: 0.95rem 1.7rem;
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.cta:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(37, 211, 102, 0.5); }
.cta:active { transform: translateY(0); }
.hero-content .cta { animation: ctaPulse 2.8s ease-in-out infinite; }
@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 10px 30px rgba(37, 211, 102, 0.35); }
  50% { box-shadow: 0 12px 40px rgba(37, 211, 102, 0.6); }
}

.cta-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--ink);
  font-weight: 600;
  font-size: 1.02rem;
  text-decoration: none;
  padding: 0.85rem 1.6rem;
  border: 1px solid rgba(24, 224, 255, 0.55);
  border-radius: 999px;
  background: rgba(5, 9, 20, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.5), inset 0 0 18px rgba(24, 224, 255, 0.08);
  transition: transform 0.15s ease, background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.cta-ghost:hover {
  transform: translateY(-2px);
  background: rgba(9, 15, 30, 0.75);
  border-color: var(--accent-2);
  box-shadow: 0 12px 32px rgba(24, 224, 255, 0.3), 0 6px 24px rgba(0, 0, 0, 0.55), inset 0 0 18px rgba(24, 224, 255, 0.14);
}
.cta-ghost-arrow { transition: transform 0.2s ease; }
.cta-ghost:hover .cta-ghost-arrow { transform: translateY(3px); }
.cta-icon { font-size: 1.2rem; }
.cta-lg { font-size: 1.2rem; padding: 1.1rem 2.2rem; }

.cta-accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  box-shadow: 0 10px 30px rgba(108, 92, 231, 0.35);
}
.cta-accent:hover { box-shadow: 0 14px 36px rgba(0, 210, 255, 0.45); }

.proof {
  text-align: center;
  background: rgba(14, 14, 26, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.proof-label {
  color: var(--muted);
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
}
.stats-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 1.5rem 1rem;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}
.stat { display: flex; flex-direction: column; gap: 0.4rem; }
.stat-num {
  font-size: clamp(2.6rem, 7vw, 4rem);
  font-weight: 800;
  line-height: 1;
  padding: 0 0.06em 0.14em;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: proofGlow 3.5s ease-in-out infinite;
}
.stat-label { color: var(--muted); font-size: 0.95rem; line-height: 1.35; }
@keyframes proofGlow {
  0%, 100% { filter: drop-shadow(0 0 14px rgba(0, 210, 255, 0.22)); }
  50% { filter: drop-shadow(0 0 26px rgba(108, 92, 231, 0.4)); }
}

.benefits {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.card {
  background: rgba(14, 14, 26, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1), border-color 0.3s, box-shadow 0.3s;
}
.card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: 0 18px 50px rgba(108, 92, 231, 0.25);
}
.card-icon { font-size: 2rem; margin-bottom: 0.8rem; }
.card h2 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.card p { color: var(--muted); }

.steps { max-width: var(--max); margin: 0 auto; }
.steps-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
  align-items: center;
}
.steps-title { text-align: left; margin-bottom: 1.5rem; }
.steps-cta {
  background: rgba(14, 14, 26, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  background-image:
    radial-gradient(600px 300px at 50% 0%, rgba(37, 211, 102, 0.10), transparent 70%);
}
.steps-cta-text { font-size: 1.15rem; font-weight: 600; margin-bottom: 1.2rem; }
.steps-cta-sub { margin-top: 0.9rem; color: var(--muted); font-size: 0.9rem; }
@media (max-width: 760px) {
  .steps-grid { grid-template-columns: 1fr; }
  .steps-title { text-align: center; }
}

@media (max-width: 760px) {
  section { padding: 3rem 1.1rem; }
  .section-title { margin-bottom: 1.4rem; }

  .hero-content {
    flex: 1 1 auto;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 1.1rem 1.4rem;
    transform: none;
  }
  .hero-badge {
    margin-bottom: 0;
    font-size: clamp(0.62rem, 3vw, 0.82rem);
    white-space: nowrap;
  }
  .hero-tagline {
    margin: auto 0 0;
    font-size: clamp(0.8rem, 3.7vw, 1.05rem);
    white-space: nowrap;
  }
  .hero-sub {
    margin: 0;
    font-size: clamp(0.62rem, 3.1vw, 0.85rem);
    white-space: nowrap;
  }
  .hero-stats { margin: 0 0 auto; font-size: 0.8rem; gap: 0.5rem 1rem; }
  .hero-tagline,
  .hero-content .cta-ghost,
  .hero-sub,
  .hero-stats { transform: translateY(3vh); }
  .scroll-hint { display: none; }

  .proof-label { margin-bottom: 1.4rem; }
  .card { padding: 1.4rem; }

  .stats-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.1rem 0.6rem; }
  .stat { flex: 0 0 calc((100% - 1.2rem) / 3); }
  .stat-num { font-size: clamp(1.4rem, 6vw, 2.2rem); }
  .stat-label { font-size: 0.78rem; }

  .step-list { grid-template-columns: 1fr; gap: 0.9rem; }
  .step-list li { padding: 1rem 1.1rem; }
}
.step-list { list-style: none; display: grid; gap: 1.2rem; }
.step-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(14, 14, 26, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem 1.4rem;
  font-size: 1.05rem;
  transition: transform 0.25s ease, border-color 0.25s;
}
.step-list li:hover { transform: translateX(6px); border-color: var(--accent-2); }
.step-num {
  flex: 0 0 auto;
  width: 2.2rem; height: 2.2rem;
  display: grid; place-items: center;
  border-radius: 50%;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
}

.final-cta {
  text-align: center;
  background: rgba(14, 14, 26, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--border);
}
.final-cta h2 {
  font-size: clamp(1.6rem, 4.5vw, 2.6rem);
  max-width: 720px;
  margin: 0 auto 1rem;
}

.quote-intro {
  max-width: 560px;
  margin: 0 auto 2rem;
  color: var(--muted);
}
.quote-form {
  max-width: 620px;
  margin: 0 auto;
  text-align: left;
  display: grid;
  gap: 1.1rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 0.45rem; }
.field-label { font-size: 0.9rem; font-weight: 600; color: var(--ink); }
.field-opt { color: var(--muted); font-weight: 400; }
.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.8rem 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.quote-form textarea { resize: vertical; min-height: 88px; }
.quote-form input::placeholder,
.quote-form textarea::placeholder { color: var(--muted); }
.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  outline: none;
  border-color: var(--accent-2);
  box-shadow: 0 0 0 3px rgba(0, 210, 255, 0.15);
}
.quote-form select { appearance: none; -webkit-appearance: none; cursor: pointer; }
.quote-form option { color: #000; }
.quote-form .cta { justify-self: center; margin-top: 0.4rem; }
.quote-form-note { text-align: center; color: var(--muted); font-size: 0.9rem; }
.quote-form-note a { color: var(--accent-2); }

.footer {
  text-align: center;
  padding: 2.5rem 1.5rem;
  color: var(--muted);
  font-size: 0.9rem;
  background: rgba(14, 14, 26, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--border);
}

.reveal {
  opacity: 0;
  transform: perspective(900px) translateY(40px) translateZ(-60px) rotateX(6deg);
  filter: blur(6px);
  transition: opacity 0.8s ease, transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.8s ease;
  will-change: opacity, transform, filter;
}
.reveal.in-view {
  opacity: 1;
  transform: perspective(900px) translateY(0) translateZ(0) rotateX(0);
  filter: blur(0);
}
.benefits .card:nth-child(2) { transition-delay: 0.12s; }
.benefits .card:nth-child(3) { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scroll-hint,
  .stat-num,
  .hero-content .cta { animation: none; }
  .cta:hover,
  .cta-ghost:hover,
  .cta-ghost:hover .cta-ghost-arrow,
  .card:hover,
  .step-list li:hover { transform: none; }
  .reveal { opacity: 1; transform: none; filter: none; transition: none; }
}
