/* ===== Tokens ===== */
:root {
  --bg:        #0d0f13;
  --bg-alt:    #14171d;
  --surface:   #1a1d24;
  --surface-2: #1f232c;
  --border:    #2a2f3a;
  --text:      #eef0f4;
  --muted:     #9aa0ab;
  --accent:    #52ad40;
  --accent-2:  #6dc457;
  --radius:    16px;
  --maxw:      1140px;
  --shadow:    0 20px 50px -20px rgba(0,0,0,.65);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

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

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  padding: 14px 26px;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn--primary {
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  color: #fff;
  box-shadow: 0 10px 24px -8px rgba(82,173,64,.6);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -10px rgba(82,173,64,.7); }
.btn--ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}
.btn--ghost:hover { border-color: var(--accent); color: #fff; }
.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn--block { width: 100%; margin-top: 18px; }

/* ===== Header ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(13,15,19,.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 70px;
}
.header__logo img { height: 34px; }
.nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
  font-size: 15px;
  color: var(--muted);
}
.nav a:hover { color: var(--text); }
.header .btn { margin-left: 24px; }

/* ===== Hero ===== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 80px 0 70px;
  background:
    radial-gradient(900px 500px at 75% -10%, rgba(82,173,64,.16), transparent 60%),
    radial-gradient(700px 400px at 0% 100%, rgba(82,173,64,.08), transparent 55%);
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 50px;
}
.pill {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .3px;
  color: var(--accent-2);
  background: rgba(82,173,64,.12);
  border: 1px solid rgba(82,173,64,.3);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 20px;
}
.lead { font-size: 18px; color: var(--muted); max-width: 520px; }
.hero__actions { display: flex; gap: 14px; margin: 30px 0 24px; flex-wrap: wrap; }
.hero__points {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
}
.hero__points li { position: relative; padding-left: 24px; }
.hero__points li::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 16px; height: 16px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: inset 0 0 0 4px var(--bg);
}
.hero__media img { width: 100%; filter: drop-shadow(0 30px 60px rgba(0,0,0,.5)); }

/* ===== Stats ===== */
.stats {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 36px 24px;
}
.stat { text-align: center; }
.stat__value {
  font-size: 30px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -.5px;
}
.stat__label { color: var(--muted); font-size: 14px; margin-top: 4px; }

/* ===== Sections ===== */
.section { padding: 86px 0; }
.section--alt { background: var(--bg-alt); }
.section__head { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
}
.section__head h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 800;
  letter-spacing: -.6px;
  margin: 12px 0 14px;
}
.section__head p { color: var(--muted); font-size: 17px; }

/* ===== Steps ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 28px;
  overflow: hidden;
  transition: border-color .2s ease, transform .2s ease;
}
.step:hover { border-color: rgba(82,173,64,.5); transform: translateY(-4px); }
.step__num {
  position: absolute;
  top: 18px; right: 22px;
  font-size: 40px;
  font-weight: 800;
  color: rgba(255,255,255,.05);
}
.step__icon { width: 44px; height: 44px; margin-bottom: 18px; }
.step h3 { font-size: 20px; margin-bottom: 10px; }
.step p { color: var(--muted); }

/* ===== Cards ===== */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 24px;
  transition: border-color .2s ease, transform .2s ease, background .2s ease;
}
.card:hover { border-color: rgba(82,173,64,.5); transform: translateY(-4px); background: var(--surface-2); }
.card img { width: 48px; height: 48px; margin-bottom: 18px; }
.card h3 { font-size: 18px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15px; }

/* ===== Calculator ===== */
.calc {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.calc__copy h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 800;
  letter-spacing: -.6px;
  margin: 12px 0 14px;
}
.calc__copy p { color: var(--muted); font-size: 17px; margin-bottom: 20px; }
.calc__panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 34px;
  box-shadow: var(--shadow);
}
.calc__label { display: block; font-size: 14px; color: var(--muted); margin-bottom: 16px; }
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  outline: none;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid var(--accent);
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,.4);
}
input[type="range"]::-moz-range-thumb {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid var(--accent);
  cursor: pointer;
}
.calc__readout {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 28px 0 6px;
}
.calc__readout > div { flex: 1; }
.calc__small { display: block; font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.calc__big { display: block; font-size: 34px; font-weight: 800; letter-spacing: -.5px; }
.calc__divider { flex: 0 0 1px; align-self: stretch; background: var(--border); }
.calc__note { font-size: 12px; color: var(--muted); margin-top: 6px; }

/* ===== CTA ===== */
.cta {
  padding: 96px 0;
  background:
    radial-gradient(700px 360px at 50% 0%, rgba(82,173,64,.18), transparent 60%),
    var(--bg);
  border-top: 1px solid var(--border);
}
.cta__inner { text-align: center; max-width: 720px; margin: 0 auto; }
.cta h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 800; letter-spacing: -.8px; }
.cta p { color: var(--muted); font-size: 18px; margin: 16px 0 30px; }
.signup {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  max-width: 560px;
  margin: 0 auto;
}
.signup input {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 15px;
  font-family: inherit;
  width: 100%;
}
.signup input:focus { outline: none; border-color: var(--accent); }
.signup input[name="site"] { grid-column: 1 / -1; }
.signup .btn { grid-column: 1 / -1; }
.cta__fine { font-size: 13px; color: var(--muted); margin-top: 16px; }

/* ===== FAQ ===== */
.faq { max-width: 800px; margin: 0 auto; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 4px 22px;
  margin-bottom: 12px;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  font-size: 17px;
  padding: 16px 0;
  position: relative;
  padding-right: 30px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  color: var(--accent);
  transition: transform .2s ease;
}
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); padding: 0 0 18px; }

/* ===== Footer ===== */
.footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding-top: 56px;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
}
.footer__brand img { height: 34px; margin-bottom: 16px; }
.footer__brand p { color: var(--muted); max-width: 360px; }
.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  align-content: start;
  justify-content: flex-end;
  color: var(--muted);
}
.footer__links a:hover { color: var(--accent); }
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 14px;
}
.footer__cta { color: var(--accent); font-weight: 600; }

/* ===== Responsive ===== */
@media (max-width: 920px) {
  .nav { display: none; }
  .hero__inner { grid-template-columns: 1fr; gap: 36px; }
  .hero__media { order: -1; max-width: 480px; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .steps { grid-template-columns: 1fr; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .calc { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 560px) {
  .header__inner { gap: 12px; }
  .header .btn { margin-left: auto; }
  .cards { grid-template-columns: 1fr; }
  .signup { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__links { justify-content: flex-start; }
  .footer__bottom { flex-direction: column; gap: 10px; text-align: center; }
  .hero { padding: 50px 0; }
  .section { padding: 60px 0; }
}
