:root {
  --bg: #0b0d0e;
  --bg-alt: #101214;
  --panel: #14171a;
  --panel-2: #1b1f22;
  --border: #24282c;
  --text: #f1f3f4;
  --text-dim: #a8afb5;
  --text-faint: #6c7176;
  --green: #19c463;
  --green-bright: #5cff82;
  --green-dark: #08a94f;
  --green-soft: rgba(25, 196, 99, 0.14);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.icon { width: 18px; height: 18px; display: block; }

.accent {
  background: linear-gradient(120deg, var(--green-bright), var(--green-dark));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  line-height: 1;
  border-radius: 999px;
  font-weight: 600;
  white-space: nowrap;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease, border-color .15s ease;
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(120deg, var(--green-bright), var(--green-dark));
  color: #06210f;
  box-shadow: 0 8px 24px rgba(25, 196, 99, 0.25);
}

.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 28px rgba(25, 196, 99, 0.35); }
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.14);
  color: var(--text);
  backdrop-filter: blur(6px);
}

.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.24); }

.btn-sm { padding: 9px 18px; font-size: 13.5px; }
.btn-lg { padding: 15px 28px; font-size: 15.5px; }
.btn-lg .icon { width: 19px; height: 19px; }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 18px 24px 0;
}

.nav-inner {
  max-width: 1180px;
  height: 46px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px 0 20px;
  background: rgba(20, 23, 26, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  transition: background .25s ease, box-shadow .25s ease;
  overflow: visible;
}

.nav.is-scrolled .nav-inner {
  background: rgba(15, 17, 19, 0.82);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.nav-brand { display: flex; align-items: center; }
.nav-logo { height: 54px; width: auto; display: block; margin: -12px 0; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 100%;
}

.nav-links a {
  display: flex;
  align-items: center;
  height: 100%;
  font-size: 14px;
  line-height: 1;
  font-weight: 500;
  color: var(--text-dim);
  transition: color .15s ease;
}

.nav-links a:hover { color: var(--text); }

.nav-actions { display: flex; align-items: center; gap: 10px; }

.menu-toggle {
  display: none;
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.menu-toggle .icon {
  position: absolute;
  transition: opacity .25s ease, transform .25s ease;
}

.menu-toggle .icon-close { opacity: 0; transform: rotate(-90deg) scale(0.5); }
.menu-toggle.is-open .icon-menu { opacity: 0; transform: rotate(90deg) scale(0.5); }
.menu-toggle.is-open .icon-close { opacity: 1; transform: rotate(0) scale(1); }

/* ---------- Mobile drawer ---------- */
.mobile-overlay {
  position: fixed;
  inset: 0;
  z-index: 45;
  background: rgba(6, 8, 9, 0.6);
  backdrop-filter: blur(3px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}

.mobile-overlay.is-visible { opacity: 1; pointer-events: auto; }

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 46;
  width: 82%;
  max-width: 360px;
  background: rgba(16, 18, 20, 0.97);
  border-left: 1px solid var(--border);
  padding: 100px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  transform: translateX(100%);
  transition: transform .5s cubic-bezier(0.22, 1, 0.36, 1);
}

.mobile-drawer.is-open { transform: translateX(0); }

.mobile-nav { display: flex; flex-direction: column; }

.mobile-nav a {
  font-size: 22px;
  font-weight: 600;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-cta { width: 100%; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 140px 24px 80px;
  overflow: hidden;
}

.hero-bg-wrap { position: absolute; inset: 0; z-index: 0; }

#hero-canvas { width: 100%; height: 100%; display: block; }

.hero-fade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 50% 30%, rgba(11, 13, 14, 0) 0%, rgba(11, 13, 14, 0.55) 70%, var(--bg) 100%),
    linear-gradient(180deg, rgba(11,13,14,0.2) 0%, rgba(11,13,14,0.65) 75%, var(--bg) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--green-bright);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 26px;
  backdrop-filter: blur(6px);
}

.eyebrow .icon { width: 14px; height: 14px; }

.hero h1 {
  font-size: clamp(2.2rem, 5.5vw, 4.4rem);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 22px;
}

.hero-sub {
  font-size: clamp(15px, 1.6vw, 18.5px);
  line-height: 1.6;
  color: var(--text-dim);
  max-width: 620px;
  margin: 0 0 36px;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 56px;
}

.hero-stats {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
  justify-content: center;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.stat strong { font-size: 20px; font-weight: 700; color: var(--green-bright); }
.stat span { font-size: 12.5px; color: var(--text-faint); }

.scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--text-faint);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  animation: bob 2.2s ease-in-out infinite;
}

@keyframes bob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ---------- Preview / product screenshot ---------- */
.preview {
  position: relative;
  z-index: 3;
  padding: 0 24px 120px;
  margin-top: -60px;
}

.preview-frame {
  max-width: 1040px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--border);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.55);
}

.browser-chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: #101214;
  border-bottom: 1px solid var(--border);
}

.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-r { background: #ea4335; }
.dot-y { background: #f5a623; }
.dot-g { background: #19c463; }

.browser-url {
  margin-left: 10px;
  font-size: 12px;
  color: var(--text-faint);
  background: rgba(255, 255, 255, 0.04);
  padding: 4px 12px;
  border-radius: 999px;
}

.preview-frame img { width: 100%; display: block; }

/* ---------- Section shared ---------- */
.section-head {
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-kicker {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 14px;
}

.section-head h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 14px;
}

.section-head p { color: var(--text-dim); font-size: 15.5px; line-height: 1.6; margin: 0; }

/* ---------- Features ---------- */
.features { padding: 40px 24px 120px; }

.features-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  padding: 28px 24px;
  border-radius: 16px;
  background: linear-gradient(180deg, var(--panel), var(--panel-2));
  border: 1px solid var(--border);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(25, 196, 99, 0.35);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--green-soft);
  color: var(--green-bright);
  margin-bottom: 18px;
}

.feature-card h3 { font-size: 16.5px; font-weight: 600; margin: 0 0 8px; }
.feature-card p { font-size: 13.5px; line-height: 1.6; color: var(--text-dim); margin: 0; }

/* ---------- Steps ---------- */
.steps { padding: 20px 24px 120px; }

.steps-grid {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
}

.step {
  padding: 30px 24px;
  border-radius: 16px;
  background: var(--panel);
  border: 1px solid var(--border);
}

.step-number {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 14px;
  letter-spacing: 0.05em;
}

.step h3 { font-size: 16.5px; font-weight: 600; margin: 0 0 8px; }
.step p { font-size: 13.5px; line-height: 1.6; color: var(--text-dim); margin: 0; }

/* ---------- Privacy ---------- */
.privacy { padding: 20px 24px 120px; }

.privacy-card {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  padding: 56px 40px;
  border-radius: 24px;
  background: radial-gradient(120% 140% at 50% 0%, rgba(25, 196, 99, 0.12), transparent 60%), var(--panel);
  border: 1px solid var(--border);
}

.privacy-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 22px;
  border-radius: 16px;
  background: var(--green-soft);
  color: var(--green-bright);
  display: flex;
  align-items: center;
  justify-content: center;
}

.privacy-icon .icon { width: 26px; height: 26px; }

.privacy-card h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 700; margin: 0 0 16px; letter-spacing: -0.02em; }
.privacy-card p { color: var(--text-dim); font-size: 15px; line-height: 1.7; margin: 0; }

/* ---------- CTA banner ---------- */
.cta-banner { padding: 0 24px 120px; }

.cta-inner {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  padding: 64px 40px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(25, 196, 99, 0.18), rgba(8, 169, 79, 0.06));
  border: 1px solid rgba(25, 196, 99, 0.25);
}

.cta-inner h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); font-weight: 700; margin: 0 0 12px; letter-spacing: -0.02em; }
.cta-inner p { color: var(--text-dim); font-size: 15px; margin: 0 0 30px; }

/* ---------- Footer ---------- */
.site-footer {
  padding: 60px 24px 40px;
  text-align: center;
  border-top: 1px solid var(--border);
}

.footer-logo { height: 52px; margin-bottom: 26px; }

.footer-tagline {
  max-width: 520px;
  margin: 0 auto 18px;
  color: var(--text-faint);
  font-size: 13px;
  font-style: italic;
  line-height: 1.7;
}

.footer-tagline-emphasis {
  display: inline-block;
  margin-top: 4px;
  font-size: 15.5px;
  color: var(--text-dim);
}

.footer-fine { color: var(--text-faint); font-size: 12px; margin: 0; }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s cubic-bezier(0.22, 1, 0.36, 1), transform .7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible { opacity: 1; transform: translateY(0); }

.features-grid .feature-card:nth-child(2) { transition-delay: 60ms; }
.features-grid .feature-card:nth-child(3) { transition-delay: 120ms; }
.features-grid .feature-card:nth-child(4) { transition-delay: 180ms; }
.features-grid .feature-card:nth-child(5) { transition-delay: 240ms; }
.features-grid .feature-card:nth-child(6) { transition-delay: 300ms; }
.steps-grid .step:nth-child(2) { transition-delay: 100ms; }
.steps-grid .step:nth-child(3) { transition-delay: 200ms; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-cue { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .menu-toggle { display: flex; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav-actions .btn-sm { display: none; }
  .hero { padding-top: 120px; }
  .hero-stats { gap: 24px; }
  .features-grid { grid-template-columns: 1fr; }
  .preview { margin-top: -32px; }
  .privacy-card, .cta-inner { padding: 40px 24px; }
}
