/* WASave landing page. Plain CSS, no framework. */

:root {
  --g950: #07211a;
  --g900: #0a2a1e;
  --g800: #0f3d2c;
  --g700: #17573f;
  --g600: #1b7a4e;
  --g500: #22955d;
  --g400: #37c777;
  --g300: #7be3a4;
  --g100: #e3f3ea;
  --g50: #f2f8f4;
  --wa: #25d366;
  --wa-ink: #06331b;
  --ink: #12201a;
  --text: #33463e;
  --muted: #62746c;
  --line: #e1eae5;
  --card: #ffffff;
  --bad: #c62828;
  --bad-soft: #fdecea;
  --radius: 20px;
  --shadow-sm: 0 1px 2px rgba(16, 40, 30, 0.06), 0 4px 14px rgba(16, 40, 30, 0.06);
  --shadow-lg: 0 30px 70px rgba(5, 25, 15, 0.28);
  --container: 1160px;
  --header-h: 68px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--card);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p { margin: 0; }
h1, h2, h3 { color: var(--ink); letter-spacing: -0.02em; line-height: 1.12; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--g600); }
code { font-family: ui-monospace, 'Cascadia Mono', Consolas, monospace; font-size: 0.88em; background: var(--g100); color: var(--g800); padding: 1px 6px; border-radius: 6px; }

.container { width: min(var(--container), 100% - 40px); margin-inline: auto; }
.center { text-align: center; }

svg.i { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
svg.i-wa { fill: currentColor; stroke: none; width: 1.15em; height: 1.15em; }
a svg.i-wa { vertical-align: -0.18em; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font: inherit;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.2;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: 14px;
  padding: 12px 20px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 3px solid var(--g300); outline-offset: 3px; }
.btn-sm { font-size: 14px; padding: 9px 14px; border-radius: 11px; gap: 8px; }
.btn-lg { font-size: 17px; padding: 16px 26px; border-radius: 16px; }
.btn-block { width: 100%; }
.btn-wa { background: var(--wa); color: var(--wa-ink); box-shadow: 0 12px 28px rgba(37, 211, 102, 0.32); }
.btn-wa:hover { box-shadow: 0 16px 34px rgba(37, 211, 102, 0.42); }
.btn-primary { background: var(--g600); color: #fff; box-shadow: 0 12px 28px rgba(27, 122, 78, 0.28); }
.btn-primary:hover { background: var(--g700); }
.btn-ghost { background: rgba(255, 255, 255, 0.08); color: #fff; border-color: rgba(255, 255, 255, 0.28); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.16); }
.btn-outline { background: #fff; color: var(--g700); border-color: var(--g600); }
.btn-light { background: #fff; color: var(--g800); box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16); }
.btn-light:hover { background: var(--g50); }
.btn-outline:hover { background: var(--g50); }

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(10, 42, 30, 0.86);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: box-shadow 0.2s;
}
.site-header.scrolled { box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18); }
.nav { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 21px; color: #fff; text-decoration: none; letter-spacing: -0.02em; }
.brand-tile { width: 38px; height: 38px; border-radius: 11px; background: #fff; display: grid; place-items: center; box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18); }
.brand-tile img { width: 28px; height: 28px; }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.nav-cta .short { display: none; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: 76px 0 110px;
  background:
    radial-gradient(900px 600px at 85% -10%, rgba(123, 227, 164, 0.3), transparent 60%),
    radial-gradient(800px 600px at -10% 110%, rgba(37, 211, 102, 0.2), transparent 60%),
    linear-gradient(160deg, var(--g900) 0%, #12482f 55%, #1d7444 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(circle at 50% 40%, #000 30%, transparent 80%);
  mask-image: radial-gradient(circle at 50% 40%, #000 30%, transparent 80%);
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.9);
}
.pill svg { color: var(--g300); }
.hero h1 { color: #fff; font-size: clamp(42px, 6vw, 72px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.02; margin-top: 22px; }
.hl { color: var(--g300); }
.hl-dark { color: var(--g600); }
.lead { margin-top: 22px; font-size: 19px; line-height: 1.6; color: rgba(255, 255, 255, 0.82); max-width: 560px; }
.lead b { color: var(--g300); }
.hero-cta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero-cta.center { justify-content: center; }
.trust { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 15px; font-weight: 600; color: rgba(255, 255, 255, 0.85); }
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust svg { color: var(--wa); stroke-width: 3; }

/* hero demo */
.hero-visual { position: relative; min-height: 520px; }
.demo-window {
  position: relative;
  z-index: 1;
  width: 86%;
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  color: var(--ink);
}
.demo-bar { display: flex; align-items: center; gap: 14px; padding: 12px 16px; background: #eef3f0; border-bottom: 1px solid var(--line); }
.dots { display: flex; gap: 6px; }
.dots i { width: 11px; height: 11px; border-radius: 50%; background: #d3ddd8; }
.dots i:first-child { background: #f2766b; }
.dots i:nth-child(2) { background: #f5bf4f; }
.dots i:nth-child(3) { background: #5fcf65; }
.demo-url { flex: 1; font-size: 13px; color: var(--muted); background: #fff; border-radius: 8px; padding: 5px 12px; }
.demo-chats { list-style: none; margin: 0; padding: 6px 0; }
.demo-row { display: flex; align-items: center; gap: 14px; padding: 13px 18px; border-bottom: 1px solid #f0f4f2; transition: background 0.4s; }
.demo-row:last-child { border-bottom: 0; }
.demo-av { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 15px; color: #fff; background: var(--c, #1b7a4e); flex: none; }
.demo-av-new { background: #b9c6c0; transition: background 0.4s; }
.demo-text { flex: 1; min-width: 0; display: grid; }
.demo-text b { font-size: 15.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.demo-text small { font-size: 14px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.demo-meta { display: grid; justify-items: end; gap: 4px; font-size: 12px; color: var(--muted); }
.demo-badge { font-style: normal; font-size: 11px; font-weight: 800; background: var(--wa); color: var(--wa-ink); border-radius: 999px; min-width: 20px; height: 20px; display: grid; place-items: center; padding: 0 6px; }
.demo-row .saved { display: none; }
.demo-row.is-saved { background: #ecf8f1; }
.demo-row.is-saved .saved { display: inline; }
.demo-row.is-saved .unsaved { display: none; }
.demo-row.is-saved .demo-av-new { background: #2a8c8c; }
.demo-row.is-saved b .saved { color: var(--g700); }
.demo-popup {
  position: absolute;
  z-index: 2;
  right: 0;
  top: 64px;
  width: 44%;
  max-width: 250px;
  border-radius: 22px;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, 0.4);
}
.demo-toast {
  position: absolute;
  z-index: 3;
  left: 6%;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  color: var(--ink);
  border-radius: 16px;
  padding: 12px 18px 12px 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  opacity: 0;
  transform: translateY(12px) scale(0.98);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.demo-toast span:last-child { display: grid; line-height: 1.3; }
.demo-toast b { font-size: 15px; }
.demo-toast small { font-size: 13px; color: var(--muted); }
.demo-toast-ico { width: 38px; height: 38px; border-radius: 50%; background: var(--g600); color: #fff; display: grid; place-items: center; }
.demo-toast-ico svg { stroke-width: 3; }
.hero-visual.saved .demo-toast { opacity: 1; transform: none; }
html:not(.js) .demo-toast { opacity: 1; transform: none; }

/* ---------- sections ---------- */

.section { padding: 96px 0; }
.section-head { max-width: 760px; margin: 0 auto 52px; display: grid; gap: 14px; }
.section-head p { font-size: 18px; color: var(--muted); }
.eyebrow { font-size: 13px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--g500); }
.section h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; }

/* problem */
.problem { background: var(--g50); }
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pain { display: flex; gap: 14px; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.pain p { font-size: 16px; }
.pain p b { color: var(--ink); }
.pain-x { width: 34px; height: 34px; border-radius: 50%; background: var(--bad-soft); color: var(--bad); display: grid; place-items: center; flex: none; }
.pain-x svg { stroke-width: 3; }
.solution-hint { margin-top: 40px; text-align: center; font-size: 20px; font-weight: 700; color: var(--g700); }

/* how */
.flow { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.flow-step { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow-sm); display: grid; gap: 10px; }
.flow-step::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -16px;
  width: 12px;
  height: 12px;
  border-top: 3px solid var(--g400);
  border-right: 3px solid var(--g400);
  transform: translateY(-50%) rotate(45deg);
}
.flow-step:last-child::after { display: none; }
.flow-ico { width: 54px; height: 54px; border-radius: 16px; background: var(--g100); color: var(--g600); display: grid; place-items: center; font-size: 24px; }
.flow-step b { font-size: 19px; color: var(--ink); }
.flow-step p { font-size: 15.5px; color: var(--muted); }
.flow-step em, .feature em { font-style: normal; font-weight: 700; color: var(--g600); }

/* features */
.features { background: linear-gradient(180deg, var(--g50), #fff); }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow-sm); display: grid; gap: 12px; align-content: start; transition: transform 0.2s, box-shadow 0.2s; }
.feature:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(16, 40, 30, 0.1); }
.feature-ico { width: 52px; height: 52px; border-radius: 15px; background: var(--wa); color: var(--wa-ink); display: grid; place-items: center; font-size: 24px; }
.feature h3 { font-size: 19px; }
.feature p { font-size: 15.5px; color: var(--muted); }

/* showcase */
.showcase { background: var(--g900); color: #fff; overflow: hidden; }
.showcase h2 { color: #fff; }
.showcase-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.showcase-copy { display: grid; gap: 16px; }
.showcase-copy > p { font-size: 18px; color: rgba(255, 255, 255, 0.75); }
.showcase .eyebrow { color: var(--g300); }
.tabs { display: grid; gap: 12px; margin-top: 12px; }
.tab {
  text-align: left;
  font: inherit;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 16px 18px;
  cursor: pointer;
  display: grid;
  gap: 4px;
  transition: background 0.2s, border-color 0.2s;
}
.tab b { color: #fff; font-size: 17px; }
.tab span { font-size: 15px; }
.tab:hover { background: rgba(255, 255, 255, 0.08); }
.tab[aria-selected="true"] { background: rgba(37, 211, 102, 0.12); border-color: var(--wa); }
.tab:focus-visible { outline: 3px solid var(--g300); outline-offset: 2px; }
.showcase-visual { display: grid; place-items: center; position: relative; }
.showcase-visual::before { content: ""; position: absolute; width: 80%; height: 80%; background: radial-gradient(closest-side, rgba(123, 227, 164, 0.35), transparent); filter: blur(30px); }
.shot-frame { position: relative; width: min(340px, 90%); border-radius: 26px; overflow: hidden; box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, 0.14); }
.shot-frame img { width: 100%; transition: opacity 0.25s; }
.shot-frame img.swap { opacity: 0; }

/* compare */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 980px; margin: 0 auto; }
.compare-col { border-radius: 24px; padding: 32px 30px; }
.compare-col h3 { font-size: 22px; display: flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.compare-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; }
.compare-col li { display: grid; grid-template-columns: 32px 1fr; gap: 12px; align-items: start; font-size: 15.5px; }
.compare-col li span { display: grid; gap: 2px; }
.compare-col li b { font-size: 17px; }
.compare-col li svg { width: 32px; height: 32px; padding: 7px; border-radius: 50%; stroke-width: 3; }
.manual { background: var(--g50); border: 1px solid var(--line); color: var(--muted); }
.manual h3 { color: var(--muted); }
.manual li b { color: var(--ink); }
.manual li svg { background: var(--bad-soft); color: var(--bad); }
.wasave { background: linear-gradient(160deg, var(--g800), var(--g600)); color: rgba(255, 255, 255, 0.8); box-shadow: var(--shadow-lg); }
.wasave h3 { color: #fff; }
.wasave h3 img { width: 34px; height: 34px; background: #fff; border-radius: 9px; padding: 3px; }
.wasave li b { color: #fff; }
.wasave li svg { background: var(--wa); color: var(--wa-ink); }

/* audience */
.audience { background: var(--g50); }
.audience-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.aud { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 6px; box-shadow: var(--shadow-sm); }
.aud svg { font-size: 28px; color: var(--g600); margin-bottom: 6px; }
.aud b { font-size: 18px; color: var(--ink); }
.aud p { font-size: 15.5px; color: var(--muted); }

/* steps (illustrated guide) */
.steps { background: linear-gradient(180deg, var(--g50), #fff 30%); }
.steps-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 10px; }
.step-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; }
.step {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.35fr);
  gap: 44px;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 34px;
  box-shadow: 0 10px 40px rgba(16, 40, 30, 0.07);
}
.step:nth-child(even) { grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr); }
.step:nth-child(even) .step-text { order: 2; }
.step-num {
  width: 68px;
  height: 68px;
  border-radius: 22px;
  background: linear-gradient(150deg, var(--g500), var(--g700));
  color: #fff;
  font-size: 32px;
  font-weight: 800;
  display: grid;
  place-items: center;
  box-shadow: 0 14px 30px rgba(27, 122, 78, 0.32);
}
.step-text h3 { font-size: clamp(24px, 2.6vw, 30px); margin-top: 20px; }
.step-text > p { margin-top: 10px; color: var(--muted); font-size: 17px; }
.step-text em { font-style: normal; font-weight: 700; color: var(--ink); }
.step-points { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.step-points li { display: flex; align-items: flex-start; gap: 12px; font-size: 16.5px; font-weight: 600; color: var(--ink); line-height: 1.5; }
.step-points li small { font-weight: 500; color: var(--muted); }
.step-points .n { width: 28px; height: 28px; border-radius: 50%; background: var(--wa); color: var(--wa-ink); font-size: 14px; font-weight: 800; display: grid; place-items: center; flex: none; margin-top: 1px; }
.step-btn { margin-top: 22px; }
.step-tip { margin-top: 18px; font-size: 15px; background: var(--g100); color: var(--g800); border-radius: 14px; padding: 12px 16px; }
.step-tip a { font-weight: 700; color: var(--g700); }
.step-shot {
  position: relative;
  margin: 0;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(16, 40, 30, 0.14);
  cursor: zoom-in;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.step-shot:hover { transform: translateY(-3px); box-shadow: 0 30px 70px rgba(16, 40, 30, 0.18); }
.step-shot:focus-visible { outline: 3px solid var(--g400); outline-offset: 4px; }
.step-shot img { width: 100%; }
.step-shot figcaption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: rgba(15, 61, 44, 0.86);
  padding: 7px 12px;
  border-radius: 10px;
}

/* lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(4, 18, 12, 0.88);
  cursor: zoom-out;
}
.lightbox img { max-width: min(1600px, 100%); max-height: 100%; border-radius: 14px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5); }
.lightbox-close { position: absolute; top: 14px; right: 18px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.14); color: #fff; font-size: 30px; line-height: 1; cursor: pointer; }
.lightbox-close:hover { background: rgba(255, 255, 255, 0.24); }

/* pricing */
.pricing { background: linear-gradient(180deg, #fff, var(--g50)); }
.promo-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 22px;
  max-width: 760px;
  margin: -16px auto 40px;
  padding: 16px 22px;
  border-radius: 18px;
  background: var(--g900);
  color: #fff;
  font-weight: 700;
}
.promo-bar > span:first-child { display: inline-flex; align-items: center; gap: 8px; }
.promo-bar svg { color: var(--g300); }
.timer { display: inline-flex; align-items: baseline; gap: 6px; }
.timer b { min-width: 46px; text-align: center; font-size: 22px; background: rgba(255, 255, 255, 0.1); border-radius: 10px; padding: 4px 8px; font-variant-numeric: tabular-nums; }
.timer i { font-style: normal; font-size: 13px; color: rgba(255, 255, 255, 0.7); margin-right: 6px; }
/* pricing calculator */
.calc {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  max-width: 1040px;
  margin: 0 auto;
  border-radius: 28px;
  overflow: hidden;
  background: var(--g900);
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.calc-controls { padding: 40px; display: grid; gap: 34px; align-content: center; }
.calc .field { display: grid; gap: 12px; }
.field-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.field-head label { font-weight: 700; font-size: 17px; }
.field-head label small { font-weight: 500; font-size: 14px; color: rgba(255, 255, 255, 0.6); }
.field-head output { font-weight: 800; font-size: 20px; color: var(--g300); white-space: nowrap; font-variant-numeric: tabular-nums; }
.field-note { font-size: 13.5px; color: rgba(255, 255, 255, 0.55); }
.ticks { display: flex; justify-content: space-between; font-size: 12.5px; color: rgba(255, 255, 255, 0.55); padding: 0 2px; }

.calc input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 28px;
  margin: 0;
  background: transparent;
  cursor: pointer;
  --fill: 0%;
}
.calc input[type="range"]::-webkit-slider-runnable-track {
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--wa) var(--fill), rgba(255, 255, 255, 0.16) var(--fill));
}
.calc input[type="range"]::-moz-range-track { height: 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.16); }
.calc input[type="range"]::-moz-range-progress { height: 8px; border-radius: 999px; background: var(--wa); }
.calc input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 26px;
  height: 26px;
  margin-top: -9px;
  border-radius: 50%;
  background: #fff;
  border: 6px solid var(--wa);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}
.calc input[type="range"]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 6px solid var(--wa); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35); }
.calc input[type="range"]:focus-visible { outline: 3px solid var(--g300); outline-offset: 4px; border-radius: 999px; }

.calc-result { padding: 40px; background: #061a13; display: flex; flex-direction: column; gap: 10px; justify-content: center; }
.calc-label { font-size: 15px; color: rgba(255, 255, 255, 0.65); }
.calc-price { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; }
.calc-price b { font-size: clamp(44px, 6vw, 62px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.calc-save { background: var(--wa); color: var(--wa-ink); font-size: 14px; font-weight: 800; padding: 5px 12px; border-radius: 999px; white-space: nowrap; }
.calc-old { font-size: 15px; color: rgba(255, 255, 255, 0.6); }
.calc-old s { text-decoration-color: #f28b82; text-decoration-thickness: 2px; }
.calc-per { font-size: 16px; font-weight: 600; }
.calc-time { font-size: 15px; color: rgba(255, 255, 255, 0.75); margin-bottom: 14px; }
.calc-time b { color: var(--g300); }
.calc-list { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; color: rgba(255, 255, 255, 0.8); }
.calc-list li { display: inline-flex; align-items: center; gap: 7px; }
.calc-list svg { color: var(--wa); stroke-width: 3; }
.calc-foot { margin-top: 12px; font-size: 14.5px; color: rgba(255, 255, 255, 0.65); }
.calc-foot a { color: var(--g300); font-weight: 700; }
.plans-note { margin-top: 32px; text-align: center; color: var(--muted); }

/* referral code */
.ref-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 20px;
  background: var(--wa);
  color: var(--wa-ink);
  font-size: 15px;
  font-weight: 600;
  text-align: center;
}
.ref-bar svg { font-size: 18px; }
.coupon { display: grid; gap: 10px; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.coupon label { font-weight: 700; font-size: 15px; }
.coupon-row { display: flex; gap: 8px; }
.coupon-row input {
  flex: 1;
  min-width: 0;
  font: inherit;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 11px;
  padding: 9px 14px;
}
.coupon-row input::placeholder { color: rgba(255, 255, 255, 0.45); font-weight: 500; letter-spacing: 0; text-transform: none; }
.coupon-row input:focus { outline: none; border-color: var(--wa); box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.25); }
.coupon-row input[readonly] { border-color: var(--wa); color: var(--g300); }
.coupon-msg { font-size: 14px; font-weight: 600; }
.coupon-msg.ok { color: var(--g300); }
.coupon-msg.bad { color: #f6a39b; }
.calc-coupon { font-size: 14.5px; font-weight: 700; color: var(--g300); }

/* affiliate */
.aff-box {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 48px;
  align-items: center;
  padding: 48px;
  border-radius: 30px;
  color: #fff;
  background:
    radial-gradient(600px 400px at 100% 0%, rgba(123, 227, 164, 0.28), transparent 60%),
    linear-gradient(150deg, var(--g800), var(--g600));
  box-shadow: var(--shadow-lg);
}
.aff-copy { display: grid; gap: 16px; justify-items: start; }
.aff-box .eyebrow { color: var(--g300); }
.aff-box h2 { color: #fff; font-size: clamp(28px, 3.6vw, 40px); }
.aff-copy > p { font-size: 17px; color: rgba(255, 255, 255, 0.82); }
.aff-copy > p b { color: #fff; }
.aff-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.aff-steps li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 18px; padding: 18px; }
.aff-steps .n { width: 44px; height: 44px; border-radius: 14px; background: var(--wa); color: var(--wa-ink); font-weight: 800; font-size: 19px; display: grid; place-items: center; }
.aff-steps b { font-size: 17px; }
.aff-steps p { font-size: 15px; color: rgba(255, 255, 255, 0.75); margin-top: 2px; }

/* faq */
.faq-wrap { max-width: 820px; }
.faq-list { display: grid; gap: 12px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 0 22px; box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; font-weight: 700; font-size: 17px; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 26px; line-height: 1; font-weight: 500; color: var(--g600); transition: transform 0.2s; flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:focus-visible { outline: 3px solid var(--g300); outline-offset: 4px; border-radius: 8px; }
.faq details p { padding: 0 0 20px; color: var(--muted); font-size: 16px; }

/* final cta */
.final-cta {
  position: relative;
  overflow: hidden;
  padding: 100px 0;
  color: #fff;
  text-align: center;
  background:
    radial-gradient(700px 400px at 50% 0%, rgba(123, 227, 164, 0.3), transparent 70%),
    linear-gradient(160deg, var(--g900), #1d7444);
}
.final-inner { display: grid; justify-items: center; gap: 18px; max-width: 760px; }
.final-cta h2 { color: #fff; font-size: clamp(34px, 5vw, 56px); font-weight: 800; }
.final-cta p { font-size: 18px; color: rgba(255, 255, 255, 0.8); }

/* footer */
.site-footer { background: var(--g950); color: rgba(255, 255, 255, 0.68); padding: 64px 0 28px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 0.8fr 1.5fr 1.1fr; gap: 40px; padding-bottom: 36px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.footer-grid > div { display: grid; gap: 10px; align-content: start; }
.footer-grid b { color: #fff; font-size: 15px; margin-bottom: 4px; }
.footer-grid a { color: rgba(255, 255, 255, 0.72); text-decoration: none; }
.footer-grid a:hover { color: #fff; }
.footer-grid .brand { color: #fff; margin-bottom: 6px; }
.footer-bottom { padding-top: 24px; display: grid; gap: 10px; font-size: 13.5px; }
.footer-bottom a { color: var(--g300); text-decoration: none; font-weight: 700; }
.disclaimer { color: rgba(255, 255, 255, 0.45); font-size: 12.5px; line-height: 1.6; }

/* ---------- panduan (halaman artikel) ---------- */

.post-hero {
  color: #fff;
  padding: 52px 0 60px;
  background:
    radial-gradient(800px 420px at 90% -20%, rgba(123, 227, 164, 0.26), transparent 60%),
    linear-gradient(160deg, var(--g900) 0%, #12482f 60%, #1d7444 100%);
}
.post-hero .container, .post { --container: 780px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, 0.6); }
.crumbs a { color: var(--g300); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.post-hero h1 { color: #fff; font-size: clamp(30px, 4.6vw, 46px); font-weight: 800; line-height: 1.14; margin-top: 18px; }
.post-hero .lead { font-size: 18px; margin-top: 16px; max-width: none; }
.post-meta { margin-top: 18px; font-size: 14.5px; color: rgba(255, 255, 255, 0.66); }

.post { padding: 52px 0 84px; font-size: 18px; line-height: 1.75; }
.post > * + * { margin-top: 20px; }
.post h2 { font-size: clamp(24px, 3vw, 30px); font-weight: 800; line-height: 1.2; margin-top: 52px; }
.post h3 { font-size: 20px; line-height: 1.3; margin-top: 34px; }
.post ul, .post ol { margin-bottom: 0; padding-left: 26px; }
.post li + li { margin-top: 8px; }
.post li::marker { color: var(--g600); font-weight: 700; }
.post b { color: var(--ink); }
.post p a, .post li a { font-weight: 600; }
.post .step-shot { margin-top: 26px; }
.post-shot { margin: 28px auto 0; max-width: 300px; }
.post-shot img { border-radius: 22px; border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(16, 40, 30, 0.16); }
.post-shot figcaption { margin-top: 12px; font-size: 14px; line-height: 1.5; text-align: center; color: var(--muted); }
.post-note { background: var(--g50); border: 1px solid var(--line); border-left: 4px solid var(--g500); border-radius: 14px; padding: 16px 20px; font-size: 16.5px; line-height: 1.65; }
.post-table { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; }
.post-table table { width: 100%; min-width: 540px; border-collapse: collapse; font-size: 16px; line-height: 1.5; }
.post-table th, .post-table td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.post-table th { background: var(--g50); color: var(--ink); font-size: 14.5px; }
.post-table tr:last-child td { border-bottom: 0; }
.post-cta {
  margin-top: 40px;
  display: grid;
  gap: 12px;
  justify-items: start;
  color: #fff;
  border-radius: 24px;
  padding: 30px 32px;
  background:
    radial-gradient(500px 260px at 100% 0%, rgba(123, 227, 164, 0.28), transparent 65%),
    linear-gradient(150deg, var(--g800), var(--g600));
}
.post-cta h2 { color: #fff; font-size: 25px; margin: 0; }
.post-cta p { color: rgba(255, 255, 255, 0.84); font-size: 16.5px; line-height: 1.6; }
.post-cta .hero-cta { margin-top: 8px; }

/* daftar artikel: halaman /panduan/ dan "Baca juga" */
.post-cards { display: grid; gap: 16px; }
.post-card { display: grid; gap: 8px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; box-shadow: var(--shadow-sm); color: var(--text); text-decoration: none; transition: transform 0.2s, box-shadow 0.2s; }
.post-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(16, 40, 30, 0.1); }
.post-card b { font-size: 20px; line-height: 1.3; color: var(--ink); }
.post-card span { font-size: 16px; line-height: 1.6; color: var(--muted); }
.post-card em { display: inline-flex; align-items: center; gap: 6px; font-style: normal; font-weight: 700; font-size: 15px; color: var(--g600); }

/* lead form (modal sebelum diarahkan ke WhatsApp) */
/* margin: auto (not place-items) keeps the top reachable when the form is taller than the screen */
.lead-modal { position: fixed; inset: 0; z-index: 110; display: grid; padding: 20px; overflow-y: auto; background: rgba(4, 18, 12, 0.72); }
.lead-box { position: relative; width: min(420px, 100%); margin: auto; display: grid; gap: 8px; background: var(--card); border-radius: 26px; padding: 32px 28px 26px; box-shadow: var(--shadow-lg); }
.lead-close { position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--g50); color: var(--muted); font-size: 24px; line-height: 1; cursor: pointer; }
.lead-close:hover { background: var(--g100); color: var(--ink); }
.lead-ico { width: 52px; height: 52px; border-radius: 16px; background: var(--wa); color: var(--wa-ink); display: grid; place-items: center; font-size: 24px; }
.lead-box h2 { font-size: 24px; font-weight: 800; margin-top: 8px; }
.lead-box > p { font-size: 15.5px; color: var(--muted); }
.lead-box label { font-size: 14px; font-weight: 700; color: var(--ink); margin-top: 10px; }
.lead-box input { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: 13px; padding: 13px 14px; }
.lead-box input:focus { outline: none; border-color: var(--g500); box-shadow: 0 0 0 4px var(--g100); }
.lead-intents { min-width: 0; margin: 10px 0 0; padding: 0; border: 0; }
.lead-intents legend { padding: 0; margin-bottom: 8px; font-size: 14px; font-weight: 700; color: var(--ink); }
.lead-intents div { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.lead-intents label { position: relative; margin: 0; cursor: pointer; }
.lead-intents input { position: absolute; width: 1px; height: 1px; padding: 0; opacity: 0; }
.lead-intents span { display: block; text-align: center; font-size: 15px; font-weight: 600; color: var(--text); border: 1.5px solid var(--line); border-radius: 13px; padding: 11px 8px; transition: background 0.15s, border-color 0.15s; }
.lead-intents label:hover span { border-color: var(--g300); }
.lead-intents input:checked + span { background: var(--g100); border-color: var(--g500); color: var(--g800); font-weight: 700; }
.lead-intents input:focus-visible + span { box-shadow: 0 0 0 4px var(--g100); }
.lead-box .btn { margin-top: 16px; }
.lead-box .lead-error { font-size: 14px; font-weight: 600; color: var(--bad); margin-top: 6px; }
.lead-box .lead-ref { font-size: 14px; font-weight: 700; color: var(--g600); text-align: center; margin-top: 4px; }
.lead-box small { font-size: 12.5px; color: var(--muted); text-align: center; margin-top: 4px; }

/* mobile sticky cta */
.sticky-cta { display: none; }

/* reveal on scroll (only when JS runs; content stays visible otherwise) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .feature, .post-card, .demo-toast { transition: none; }
}

/* ---------- responsive ---------- */

@media (max-width: 1024px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .flow-step:nth-child(2)::after { display: none; }
}

@media (max-width: 900px) {
  .step, .step:nth-child(even) { grid-template-columns: 1fr; gap: 26px; padding: 26px; }
  .step:nth-child(even) .step-text { order: 0; }
  .hero { padding: 56px 0 80px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { min-height: 0; padding-bottom: 70px; }
  .demo-window { width: 100%; }
  .demo-popup { width: 38%; top: auto; bottom: 0; right: -6px; }
  .demo-toast { bottom: 26px; left: 0; }
  .showcase-grid { grid-template-columns: 1fr; gap: 40px; }
  .pain-grid, .audience-grid { grid-template-columns: repeat(2, 1fr); }
  .compare { grid-template-columns: 1fr; }
  .calc { grid-template-columns: 1fr; max-width: 560px; }
  .aff-box { grid-template-columns: 1fr; gap: 32px; padding: 34px; }
  .calc-controls, .calc-result { padding: 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 420px) {
  .brand { font-size: 0; gap: 0; }
  .nav-cta { gap: 8px; }
  .nav-cta .btn-sm { padding: 9px 12px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .section { padding: 72px 0; }
  .section-head { margin-bottom: 36px; }
  .nav-cta .long { display: none; }
  .nav-cta .short { display: inline; }
  .step, .step:nth-child(even) { padding: 20px; border-radius: 24px; }
  .step-num { width: 56px; height: 56px; font-size: 26px; border-radius: 18px; }
  .step-shot figcaption { font-size: 12px; padding: 6px 10px; left: 10px; bottom: 10px; }
  .steps-cta .btn { width: 100%; }
  .calc-controls, .calc-result { padding: 24px 20px; }
  .calc { border-radius: 22px; }
  .aff-box { padding: 26px 20px; border-radius: 24px; }
  .aff-copy .btn { width: 100%; }
  .ref-bar { font-size: 14px; }
  .hero-cta .btn { width: 100%; }
  .lead { font-size: 17px; }
  .pain-grid, .audience-grid, .feature-grid, .flow { grid-template-columns: 1fr; }
  .flow-step::after { display: none; }
  .demo-row { padding: 11px 14px; gap: 12px; }
  .demo-av { width: 40px; height: 40px; font-size: 14px; }
  .demo-popup { width: 42%; }
  .demo-toast { padding: 10px 14px 10px 10px; }
  .promo-bar { margin-top: -8px; }
  .timer b { min-width: 40px; font-size: 19px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .site-footer { padding-bottom: 96px; }
  .post-hero { padding: 36px 0 44px; }
  .post { padding: 40px 0 64px; font-size: 17px; }
  .post-cta { padding: 24px 20px; }
  .post-cta .btn { width: 100%; }
  .sticky-cta {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 60;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 10px 10px 16px;
    border-radius: 18px;
    background: rgba(10, 42, 30, 0.94);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
    transform: translateY(140%);
    transition: transform 0.3s ease;
  }
  .sticky-cta.show { transform: none; }
  .sticky-cta span { display: grid; line-height: 1.3; }
  .sticky-cta b { font-size: 15px; }
  .sticky-cta small { font-size: 12.5px; color: rgba(255, 255, 255, 0.7); }
}
