:root {
  --navy: #0f1e3d;
  --navy-2: #152847;
  --navy-3: #1a2d52;
  --navy-4: #243b66;
  --teal: #2ec4b6;
  --teal-2: #26a99d;
  --teal-glow: rgba(46, 196, 182, 0.35);
  --teal-soft: rgba(46, 196, 182, 0.12);
  --text: #f1f5f9;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --border: rgba(148, 163, 184, 0.14);
  --border-strong: rgba(148, 163, 184, 0.28);
  --glass: rgba(26, 45, 82, 0.55);
  --glass-strong: rgba(26, 45, 82, 0.8);
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  --max: 1120px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
}

body {
  font-family: var(--font);
  background: var(--navy);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 4px;
}

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

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--teal);
  color: var(--navy);
  padding: 0.6rem 1rem;
  z-index: 100;
  font-weight: 600;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 30, 61, 0.8);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.brand:hover { text-decoration: none; color: #fff; }
.brand img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  font-size: 0.92rem;
  font-weight: 500;
  list-style: none;
}
.nav-links a { color: var(--text-muted); text-decoration: none; }
.nav-links a:hover { color: var(--teal); }

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  width: 42px;
  height: 42px;
  border-radius: 10px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  font-family: inherit;
  line-height: 1.2;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: linear-gradient(135deg, var(--teal), var(--teal-2));
  color: #06201d;
  box-shadow: 0 10px 28px var(--teal-glow);
}
.btn-primary:hover { box-shadow: 0 14px 32px var(--teal-glow); color: #041614; }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-strong);
}
.btn-ghost:hover {
  border-color: var(--teal);
  color: var(--teal);
  background: var(--teal-soft);
}

.btn-sm { padding: 0.65rem 1.1rem; font-size: 0.88rem; }

.affiliate-note {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.72rem;
  color: var(--text-dim);
  font-weight: 400;
}

/* Hero */
.hero {
  position: relative;
  padding: 5rem 0 4.5rem;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 85% 10%, rgba(46, 196, 182, 0.18), transparent 55%),
    radial-gradient(ellipse 50% 40% at 5% 90%, rgba(46, 196, 182, 0.08), transparent 50%),
    radial-gradient(ellipse 40% 30% at 50% 50%, rgba(26, 45, 82, 0.6), transparent 70%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.32rem 0.8rem;
  border-radius: 999px;
  background: var(--teal-soft);
  border: 1px solid rgba(46, 196, 182, 0.25);
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 1.15rem;
  letter-spacing: 0.02em;
}

.hero h1 {
  font-size: clamp(2.15rem, 4.6vw, 3.35rem);
  line-height: 1.1;
  letter-spacing: -0.035em;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.1rem;
  max-width: 16ch;
}
.hero h1 .accent { color: var(--teal); }

.hero-lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 36rem;
  margin-bottom: 1.85rem;
  line-height: 1.65;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0.9rem 1.1rem;
}
.cta-block { display: flex; flex-direction: column; align-items: flex-start; }

/* Workflow diagram */
.workflow-card {
  background: var(--glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow);
  position: relative;
}
.workflow-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(46, 196, 182, 0.08), transparent 50%);
  pointer-events: none;
}

.workflow-svg {
  width: 100%;
  height: auto;
  display: block;
}
.wf-node-bg {
  fill: var(--navy-3);
  stroke: rgba(46, 196, 182, 0.45);
  stroke-width: 1.5;
}
.wf-node-label {
  fill: #fff;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  text-anchor: middle;
}
.wf-node-sub {
  fill: var(--text-muted);
  font-family: var(--font);
  font-size: 10px;
  text-anchor: middle;
}
.wf-line {
  fill: none;
  stroke: var(--teal);
  stroke-width: 2;
  stroke-dasharray: 6 6;
  opacity: 0.7;
}
.wf-line-anim {
  animation: dashFlow 1.2s linear infinite;
}
.wf-pulse {
  fill: var(--teal);
  opacity: 0.9;
  animation: pulseDot 1.8s ease-in-out infinite;
}
@keyframes dashFlow {
  to { stroke-dashoffset: -24; }
}
@keyframes pulseDot {
  0%, 100% { opacity: 0.4; r: 3; }
  50% { opacity: 1; r: 4.5; }
}
.workflow-caption {
  margin-top: 1rem;
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-dim);
}

/* Trust strip */
.trust {
  padding: 1.5rem 0 2.5rem;
  border-bottom: 1px solid var(--border);
}
.trust-label {
  text-align: center;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  margin-bottom: 1rem;
  font-weight: 600;
}
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  list-style: none;
}
.trust-badges li {
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--navy-2);
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
}

/* Sections */
section { padding: 4.5rem 0; }
.section-alt { background: linear-gradient(180deg, rgba(21, 40, 71, 0.5), transparent); }

.section-head {
  max-width: 40rem;
  margin-bottom: 2.5rem;
}
.section-head.center {
  text-align: center;
  margin-inline: auto;
}
.section-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  letter-spacing: -0.025em;
  color: #fff;
  margin-bottom: 0.6rem;
  font-weight: 700;
}
.section-head p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* Problem */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}
.problem-card {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.problem-card:hover {
  border-color: rgba(46, 196, 182, 0.35);
  transform: translateY(-2px);
}
.problem-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(239, 68, 68, 0.12);
  color: #f87171;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
}
.problem-icon svg { width: 20px; height: 20px; }
.problem-card h3 {
  font-size: 1.05rem;
  color: #fff;
  margin-bottom: 0.45rem;
}
.problem-card p {
  font-size: 0.93rem;
  color: var(--text-muted);
}

/* Workflow cards grid */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}
.card {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.45rem 1.35rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.card:hover {
  border-color: rgba(46, 196, 182, 0.4);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
  transform: translateY(-3px);
}
.card-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--teal);
  background: var(--teal-soft);
  padding: 0.22rem 0.55rem;
  border-radius: 6px;
  margin-bottom: 0.8rem;
}
.card h3 {
  font-size: 1.05rem;
  color: #fff;
  margin-bottom: 0.45rem;
}
.card p {
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* Video facade */
.video-section { padding-top: 4rem; }
.video-wrap {
  max-width: 720px;
  margin: 0 auto 1.5rem;
}
.video-facade {
  position: relative;
  aspect-ratio: 9 / 16;
  max-height: 560px;
  margin-inline: auto;
  border-radius: 16px;
  overflow: hidden;
  background: var(--navy-3);
  border: 1px solid var(--border);
  cursor: pointer;
  width: 100%;
  max-width: 315px;
}
.video-facade iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-facade .facade-ui {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background:
    radial-gradient(circle at 50% 40%, rgba(46, 196, 182, 0.2), transparent 60%),
    linear-gradient(160deg, var(--navy-3), var(--navy));
  transition: opacity 0.3s ease;
}
.video-facade.loaded .facade-ui { display: none; }
.play-btn {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--navy);
  border: none;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 12px 30px var(--teal-glow);
  transition: transform 0.15s ease;
}
.play-btn:hover { transform: scale(1.06); }
.play-btn svg { width: 28px; height: 28px; margin-left: 3px; }
.facade-label {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
}
.video-links {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.video-links a { font-weight: 600; }

/* Pricing / Services */
.packages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  align-items: stretch;
}
.package {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.package:hover {
  border-color: rgba(46, 196, 182, 0.4);
  transform: translateY(-3px);
}
.package.featured {
  border-color: rgba(46, 196, 182, 0.55);
  background: linear-gradient(180deg, rgba(46, 196, 182, 0.1), var(--glass));
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}
.package-badge {
  position: absolute;
  top: -10px;
  right: 1.25rem;
  background: var(--teal);
  color: var(--navy);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.package h3 {
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 0.35rem;
}
.package .price {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
}
.package .price-note {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-bottom: 1.15rem;
}
.package ul {
  list-style: none;
  margin-bottom: 1.5rem;
  flex: 1;
}
.package li {
  position: relative;
  padding-left: 1.4rem;
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 0.55rem;
}
.package li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
}
.package .btn { width: 100%; }

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  counter-reset: step;
}
.step {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem;
  position: relative;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--teal-2));
  color: var(--navy);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}
.step h3 {
  font-size: 1.05rem;
  color: #fff;
  margin-bottom: 0.4rem;
}
.step p {
  font-size: 0.93rem;
  color: var(--text-muted);
}

/* FAQ */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.faq-item {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.faq-item summary {
  padding: 1.1rem 1.25rem;
  cursor: pointer;
  font-weight: 600;
  color: #fff;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.25rem;
  color: var(--teal);
  font-weight: 400;
  flex-shrink: 0;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item .faq-body {
  padding: 0 1.25rem 1.15rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Final CTA */
.final-cta {
  background: linear-gradient(135deg, var(--navy-3), var(--navy-2));
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 3rem 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 0%, rgba(46, 196, 182, 0.15), transparent 60%);
  pointer-events: none;
}
.final-cta h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: #fff;
  margin-bottom: 0.6rem;
  position: relative;
}
.final-cta p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  max-width: 32rem;
  margin-inline: auto;
  position: relative;
}
.final-cta .cta-row {
  justify-content: center;
  position: relative;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0 2.75rem;
  margin-top: 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  font-weight: 700;
  margin-bottom: 0.75rem;
  text-decoration: none;
}
.footer-brand:hover { text-decoration: none; color: var(--teal); }
.footer-brand img {
  width: 28px;
  height: 28px;
  border-radius: 7px;
}
.footer-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  max-width: 28rem;
  margin-bottom: 0.75rem;
}
.footer-col h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  margin-bottom: 0.85rem;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.45rem; }
.footer-col a {
  color: var(--text-muted);
  font-size: 0.9rem;
  text-decoration: none;
}
.footer-col a:hover { color: var(--teal); }
.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.82rem;
  color: var(--text-dim);
}
.footer-disclosure { max-width: 40rem; }

/* Inner pages (privacy, 404) */
.page-hero {
  padding: 3.5rem 0 2rem;
}
.page-hero h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 0.5rem;
}
.page-hero p { color: var(--text-muted); }
.prose {
  max-width: 42rem;
  padding-bottom: 4rem;
}
.prose h2 {
  font-size: 1.2rem;
  color: #fff;
  margin: 2rem 0 0.65rem;
}
.prose p, .prose li {
  color: var(--text-muted);
  font-size: 0.98rem;
  margin-bottom: 0.85rem;
}
.prose ul { padding-left: 1.25rem; margin-bottom: 1rem; }
.prose a { color: var(--teal); }

.error-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 0;
}
.error-page h1 {
  font-size: 5rem;
  color: var(--teal);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.error-page h2 {
  color: #fff;
  margin-bottom: 0.75rem;
}
.error-page p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

/* Responsive */
@media (max-width: 960px) {
  .hero-grid,
  .problem-grid,
  .cards,
  .packages,
  .steps,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .cards { grid-template-columns: 1fr 1fr; }
  .packages { grid-template-columns: 1fr; max-width: 400px; margin-inline: auto; }
  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--navy-2);
    border-bottom: 1px solid var(--border);
    padding: 1rem 1.25rem 1.25rem;
    gap: 0.25rem;
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    padding: 0.75rem 0.5rem;
    border-radius: 8px;
  }
  .nav-links a:hover { background: var(--teal-soft); }
  .nav-links .btn { width: 100%; margin-top: 0.5rem; }
  .nav { position: relative; }
}

@media (max-width: 640px) {
  .wrap { width: min(100% - 1.5rem, var(--max)); }
  .hero { padding: 3rem 0 3rem; }
  .cards { grid-template-columns: 1fr; }
  .final-cta { padding: 2.25rem 1.4rem; }
  .footer-grid { gap: 1.5rem; }
}

@media (min-width: 961px) {
  .nav-links { display: flex !important; }
}
