:root {
  --ink:        #0a1510;
  --ink-soft:   #1e3328;
  --muted:      #6b7f76;
  --paper:      #f5f7f2;
  --surface:    #ffffff;
  --field:      #edf2ec;
  --wa:         #25d366;
  --wa-dark:    #128c4a;
  --wa-bubble:  #dcf8c6;
  --gold:       #f59e0b;
  --coral:      #ef4444;
  --line:       #dde5db;
  --shadow-sm:  0 2px 8px rgba(10,21,16,.08);
  --shadow-md:  0 8px 32px rgba(10,21,16,.14);
  --shadow-lg:  0 24px 72px rgba(10,21,16,.22);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

/* ── Header ──────────────────────────────────────────────── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(20px, 4vw, 56px);
  height: 64px;
  background: rgba(10,21,16,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 1.05rem; letter-spacing: -.01em;
  color: white;
}
.brand-mark {
  width: 32px; height: 32px;
  display: inline-flex; align-items: center; justify-content: center;
}
.brand-mark svg { width: 100%; height: 100%; display: block; }

nav {
  display: flex; align-items: center;
  gap: clamp(16px, 2.5vw, 28px);
  font-size: .93rem; font-weight: 600;
}
nav a { color: rgba(255,255,255,.72); transition: color .15s; }
nav a:hover { color: white; }
.nav-cta {
  background: var(--wa); color: var(--ink) !important;
  padding: 8px 16px; border-radius: 8px; font-weight: 700;
}
.nav-cta:hover { background: #1db954 !important; }

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  background: var(--ink);
  display: grid;
  grid-template-columns: 1fr minmax(0, 440px);
  align-items: center;
  gap: 56px;
  padding: 96px clamp(24px, 6vw, 80px) 72px;
  overflow: hidden;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(37,211,102,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37,211,102,.04) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}

.hero-text { position: relative; z-index: 2; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--wa); font-size: .78rem; font-weight: 700;
  letter-spacing: .09em; text-transform: uppercase;
  margin: 0 0 20px;
}
.eyebrow::before {
  content: ''; display: inline-block;
  width: 24px; height: 2px; background: var(--wa); border-radius: 2px;
}

.hero h1 {
  color: white;
  font-size: clamp(3.8rem, 9vw, 7.8rem);
  font-weight: 900; line-height: .88; letter-spacing: -.035em;
  margin: 0 0 28px;
}
.hero h1 em { font-style: normal; color: var(--wa); }

.hero-copy {
  color: rgba(255,255,255,.58);
  font-size: clamp(1.08rem, 1.8vw, 1.28rem);
  max-width: 540px; margin: 0 0 36px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.pill-note {
  margin-top: 20px;
  color: rgba(255,255,255,.32);
  font-size: .8rem;
  display: flex; align-items: center; gap: 8px;
}
.pill-note span {
  background: rgba(255,255,255,.07);
  border-radius: 100px; padding: 2px 10px;
  color: rgba(255,255,255,.5);
}

/* ── Phone mockup ─────────────────────────────────────────── */
.hero-phone { position: relative; z-index: 2; display: flex; justify-content: center; }

.phone-shell {
  width: 290px;
  background: #111;
  border-radius: 40px;
  padding: 14px 10px;
  box-shadow: 0 0 0 2px #252525, var(--shadow-lg), 0 0 80px rgba(37,211,102,.1);
  position: relative;
}
.phone-shell::before {
  content: '';
  position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
  width: 80px; height: 5px; background: #1e1e1e; border-radius: 6px; z-index: 3;
}

.phone-screen {
  background: #ece5dd;
  border-radius: 28px;
  overflow: hidden;
  font-family: -apple-system, "Helvetica Neue", Arial, sans-serif;
}

.wa-header {
  background: #128c4a;
  padding: 36px 12px 10px;
  display: flex; align-items: center; gap: 10px;
}
.wa-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--wa); color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 900; flex-shrink: 0;
}
.wa-title { color: white; font-size: 13px; font-weight: 600; line-height: 1.2; }
.wa-subtitle { color: rgba(255,255,255,.65); font-size: 10.5px; }

.wa-body {
  padding: 10px 10px 14px;
  display: flex; flex-direction: column; gap: 5px;
}

.wa-msg {
  max-width: 84%; padding: 6px 9px 4px;
  border-radius: 8px; font-size: 12px; line-height: 1.42; position: relative;
}
.wa-time { font-size: 9.5px; color: rgba(0,0,0,.38); float: right; margin-left: 8px; margin-top: 2px; }
.wa-msg-in  { background: white; align-self: flex-start; border-top-left-radius: 0; box-shadow: 0 1px 1px rgba(0,0,0,.1); }
.wa-msg-out { background: var(--wa-bubble); align-self: flex-end; border-top-right-radius: 0; box-shadow: 0 1px 1px rgba(0,0,0,.1); }
.wa-sender  { font-size: 11px; font-weight: 700; color: #128c4a; margin-bottom: 1px; }
.wa-text    { color: #111; }

.wa-divider { text-align: center; margin: 4px 0; }
.wa-divider span { font-size: 10px; color: rgba(0,0,0,.42); background: rgba(0,0,0,.05); border-radius: 6px; padding: 2px 8px; }

.wa-nudge {
  background: #fff9e0; align-self: flex-start; border-top-left-radius: 0;
  box-shadow: 0 1px 1px rgba(0,0,0,.1);
  border-left: 3px solid var(--gold);
}

.wa-typing {
  background: white; align-self: flex-start; border-top-left-radius: 0;
  border-radius: 8px; padding: 8px 12px;
  box-shadow: 0 1px 1px rgba(0,0,0,.1);
  display: flex; gap: 4px; align-items: center;
}
.wa-typing span {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(0,0,0,.26);
  animation: bounce .9s infinite;
}
.wa-typing span:nth-child(2) { animation-delay: .15s; }
.wa-typing span:nth-child(3) { animation-delay: .3s; }

@keyframes bounce {
  0%, 60%, 100% { transform: translateY(0); }
  30% { transform: translateY(-4px); }
}

/* ── Buttons ─────────────────────────────────────────────── */
.button {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 10px; font-weight: 700;
  min-height: 50px; padding: 13px 24px;
  transition: all .15s; cursor: pointer;
}
.button-primary {
  background: var(--wa); color: var(--ink);
  box-shadow: 0 4px 16px rgba(37,211,102,.28);
}
.button-primary:hover {
  background: #1db954;
  box-shadow: 0 6px 22px rgba(37,211,102,.38);
  transform: translateY(-1px);
}
.button-ghost {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18); color: white;
}
.button-ghost:hover { background: rgba(255,255,255,.14); }
.button-full { width: 100%; }

/* ── Shared section ──────────────────────────────────────── */
.section     { padding: clamp(64px, 9vw, 112px) clamp(24px, 5vw, 72px); }
.section-dark { background: var(--ink); }
.section-tint { background: var(--field); }
.inner { margin: 0 auto; max-width: 1120px; }

.label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .75rem; font-weight: 700; letter-spacing: .09em;
  text-transform: uppercase; margin-bottom: 14px;
}
.label::before {
  content: ''; width: 18px; height: 2px; border-radius: 2px;
}
.label-green { color: var(--wa); }
.label-green::before { background: var(--wa); }
.label-gold  { color: var(--gold); }
.label-gold::before  { background: var(--gold); }

h2 {
  font-size: clamp(2rem, 4.5vw, 3.8rem);
  font-weight: 900; line-height: .96; letter-spacing: -.025em;
  margin: 0;
}
h3 { font-size: 1.08rem; font-weight: 700; margin: 0 0 8px; }
p  { color: var(--muted); margin: 0; }

/* ── Problem section ─────────────────────────────────────── */
.problem-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0; margin-top: 52px;
  border-radius: 18px; overflow: hidden;
  box-shadow: var(--shadow-md);
}
.problem-col { padding: 36px 32px; }
.problem-col-before { background: #160d0d; }
.problem-col-after  { background: #0d1a12; border-left: 1px solid rgba(255,255,255,.05); }

.col-label {
  font-size: .72rem; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase; margin-bottom: 18px;
  display: flex; align-items: center; gap: 8px;
}
.col-label::before { content: ''; width: 16px; height: 2px; border-radius: 2px; }
.col-label-red   { color: var(--coral); }
.col-label-red::before   { background: var(--coral); }
.col-label-green { color: var(--wa); }
.col-label-green::before { background: var(--wa); }

.chaos-list, .clean-list {
  display: flex; flex-direction: column; gap: 9px;
  list-style: none; margin: 0; padding: 0;
}
.chaos-list li {
  color: rgba(255,255,255,.62); font-size: .95rem;
  padding: 10px 14px;
  background: rgba(239,68,68,.08); border-left: 3px solid var(--coral); border-radius: 6px;
}
.clean-list li {
  color: rgba(255,255,255,.75); font-size: .95rem;
  padding: 10px 14px;
  background: rgba(37,211,102,.09); border-left: 3px solid var(--wa); border-radius: 6px;
}

/* ── How it works ────────────────────────────────────────── */
.steps {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0; margin-top: 52px; position: relative;
}
.steps::before {
  content: '';
  position: absolute; top: 27px;
  left: calc(12.5% + 22px); right: calc(12.5% + 22px);
  height: 2px;
  background: linear-gradient(90deg, var(--wa), var(--wa-dark));
  z-index: 0;
}

.step {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; padding: 0 14px; position: relative; z-index: 1;
}
.step-num {
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--wa); color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; font-weight: 900; margin-bottom: 18px;
  box-shadow: 0 0 0 6px var(--paper); flex-shrink: 0;
}
.step h3 { font-size: .98rem; }

/* ── Benefits ────────────────────────────────────────────── */
.benefit-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2px; margin-top: 52px;
  background: var(--line); border-radius: 16px; overflow: hidden;
}
.benefit { background: white; padding: 32px 28px; }
.benefit-icon { font-size: 2rem; margin-bottom: 16px; }
.benefit h3 { font-size: 1.1rem; margin-bottom: 10px; }

/* ── Pricing ─────────────────────────────────────────────── */
.pricing-wrap {
  display: grid;
  grid-template-columns: minmax(0,1.15fr) minmax(280px,.58fr);
  gap: 52px; align-items: center;
}
.pricing-lede {
  color: rgba(255,255,255,.58);
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
  margin-top: 18px; max-width: 500px;
}
.check-list {
  list-style: none; margin: 28px 0 0; padding: 0;
  display: grid; gap: 12px;
}
.check-list li {
  display: flex; align-items: center; gap: 10px;
  color: rgba(255,255,255,.72); font-size: .98rem; font-weight: 500;
}
.check-list li::before {
  content: '✓'; width: 22px; height: 22px; border-radius: 50%;
  background: rgba(37,211,102,.15); color: var(--wa);
  display: flex; align-items: center; justify-content: center;
  font-size: .78rem; font-weight: 900; flex-shrink: 0;
}

.payment-card {
  background: white; border-radius: 18px;
  padding: clamp(24px, 4vw, 36px);
  box-shadow: 0 0 0 1px rgba(255,255,255,.06), var(--shadow-lg),
              0 0 60px rgba(37,211,102,.08);
}
.price-tag {
  font-size: clamp(4rem, 9vw, 6rem);
  font-weight: 900; line-height: .85; letter-spacing: -.04em; color: var(--ink);
}
.price-tag sup { font-size: .4em; vertical-align: top; margin-top: .28em; font-weight: 700; }
.price-sub { color: var(--muted); font-weight: 600; margin: 10px 0 24px; }

.promo-form { display: grid; gap: 8px; margin-bottom: 16px; }
.promo-form label { font-size: .87rem; font-weight: 700; color: var(--ink); }
.promo-row { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.promo-row input {
  background: var(--field); border: 1px solid var(--line);
  border-radius: 8px; color: var(--ink); font: inherit;
  font-weight: 700; min-height: 44px; padding: 10px 12px;
  text-transform: uppercase; min-width: 0;
}
.promo-row input:focus { outline: 2px solid var(--wa); border-color: transparent; }
.promo-row button {
  background: var(--ink); border: 0; border-radius: 8px; color: white;
  cursor: pointer; font: inherit; font-weight: 800;
  min-height: 44px; padding: 10px 14px;
}
.promo-message { font-size: .87rem; }
.promo-message[data-state="success"] { color: var(--wa-dark); font-weight: 600; }
.promo-message[data-state="error"]   { color: #b91c1c; font-weight: 600; }
.small-note { font-size: .83rem; color: var(--muted); margin-top: 12px; }

/* ── Final CTA ───────────────────────────────────────────── */
.final-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.final-cta h2 { color: white; }

/* ── Footer ──────────────────────────────────────────────── */
.site-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding: 28px clamp(24px, 5vw, 72px);
  border-top: 1px solid var(--line);
  font-size: .9rem; font-weight: 700; color: var(--muted);
}
.site-footer a { color: var(--wa-dark); }

/* ── Success page ────────────────────────────────────────── */
.success-page { background: var(--ink); }
.success-page h1,
.success-page h2,
.success-page h3 { color: white; }

.success-hero {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 100px clamp(24px, 5vw, 72px) 72px;
  position: relative;
}
.success-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(37,211,102,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37,211,102,.04) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}

.success-content {
  max-width: 640px; width: 100%;
  position: relative; z-index: 2;
}

.success-icon {
  width: 68px; height: 68px; border-radius: 50%;
  background: rgba(37,211,102,.12);
  border: 2px solid rgba(37,211,102,.28);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.9rem; margin-bottom: 28px;
}

.success-content h1 {
  color: white;
  font-size: clamp(3.2rem, 8vw, 5.8rem);
  font-weight: 900; line-height: .88; letter-spacing: -.035em;
  margin: 0 0 22px;
}
.success-content h1 em { font-style: normal; color: var(--wa); }

.success-lede {
  color: rgba(255,255,255,.52);
  font-size: clamp(1rem, 1.7vw, 1.18rem);
  max-width: 480px; margin: 0 0 44px; line-height: 1.6;
}

.setup-steps {
  display: flex; flex-direction: column;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 16px; overflow: hidden;
  margin-bottom: 28px;
}

.setup-step {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255,255,255,.07);
  background: rgba(255,255,255,.025);
}
.setup-step:last-child { border-bottom: 0; }
.setup-step:hover { background: rgba(37,211,102,.04); }

.setup-num {
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(37,211,102,.15); color: var(--wa);
  font-weight: 900; font-size: .88rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 1px;
}

.setup-step h3 { color: white; font-size: .98rem; margin: 0 0 4px; }
.setup-step p  { color: rgba(255,255,255,.46); font-size: .9rem; line-height: 1.5; }
.setup-step code {
  background: rgba(37,211,102,.14); color: var(--wa);
  border-radius: 4px; padding: 1px 6px; font-size: .82em;
  font-family: 'SF Mono', ui-monospace, 'Cascadia Code', monospace;
}

.promo-notice {
  background: rgba(37,211,102,.1); border: 1px solid rgba(37,211,102,.2);
  border-radius: 10px; padding: 14px 18px; margin-bottom: 24px;
  color: var(--wa); font-size: .9rem; font-weight: 600; display: none;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; min-height: auto; padding-bottom: 60px; }
  .hero-phone { display: none; }
  nav a:not(.nav-cta) { display: none; }
  .steps::before { display: none; }
  .steps { grid-template-columns: 1fr 1fr; gap: 28px; }
  .step { align-items: flex-start; text-align: left; }
  .step-num { box-shadow: none; }
  .problem-grid { grid-template-columns: 1fr; }
  .pricing-wrap { grid-template-columns: 1fr; }
  .final-cta { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  .steps { grid-template-columns: 1fr; }
  .benefit-grid { grid-template-columns: 1fr; }
  .promo-row { grid-template-columns: 1fr; }
  .site-footer { flex-direction: column; gap: 8px; }
}
