:root {
  --bg: #0b0d10;
  --bg-card: #14181d;
  --bg-card-2: #191f26;
  --text: #eef1f4;
  --text-dim: #9aa4af;
  --accent: #e8b64a;
  --accent-text: #17130a;
  --border: #242b33;
  --radius: 14px;
}

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

html { scroll-behavior: smooth; }

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

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

.hero {
  max-width: 720px;
  margin: 0 auto;
  padding: 4.5rem 1.25rem 3.5rem;
  text-align: center;
}

.eyebrow {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(1.9rem, 5.5vw, 3.1rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 800;
}

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

.hero .sub {
  color: var(--text-dim);
  margin: 1.25rem auto 2rem;
  max-width: 34rem;
  font-size: 1.05rem;
}

.hero-cta { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.12s ease, opacity 0.12s ease;
}
.btn:hover { transform: translateY(-1px); opacity: 0.92; }
.btn-primary { background: var(--accent); color: var(--accent-text); }
.btn-ghost { border: 1px solid var(--border); color: var(--text); }

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

.section {
  max-width: 1020px;
  margin: 0 auto;
  padding: 3.5rem 1.25rem;
  border-top: 1px solid var(--border);
}

.section h2 {
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  letter-spacing: -0.01em;
  text-align: center;
}

.section-sub {
  color: var(--text-dim);
  text-align: center;
  margin: 0.5rem auto 2.25rem;
  max-width: 30rem;
}

/* ---------- before/after ---------- */

.pairs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 640px) { .pairs { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .pairs { grid-template-columns: 1fr 1fr 1fr; } }

.empty-note { color: var(--text-dim); text-align: center; grid-column: 1 / -1; }

.ba {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  touch-action: pan-y;
}

.ba img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
}

.ba .before { clip-path: inset(0 calc(100% - var(--pos, 50%)) 0 0); }

.ba .handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos, 50%);
  width: 2px;
  background: #fff;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
  pointer-events: none;
}

.ba .handle::after {
  content: "\2194";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background: #fff;
  color: #111;
  display: grid;
  place-items: center;
  font-size: 1rem;
  font-weight: 700;
}

.ba .tag {
  position: absolute;
  top: 0.6rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  pointer-events: none;
}
.ba .tag-before { left: 0.6rem; }
.ba .tag-after { right: 0.6rem; }

.ba input[type="range"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  margin: 0;
}

/* ---------- how it works ---------- */

.steps {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  max-width: 900px;
  margin: 0 auto;
}
@media (min-width: 720px) { .steps { grid-template-columns: 1fr 1fr 1fr; } }

.steps li {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem;
}
.steps strong { display: block; margin-bottom: 0.4rem; font-size: 1.02rem; }
.steps span { color: var(--text-dim); font-size: 0.92rem; }

/* ---------- pricing ---------- */

.tiers {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 800px) { .tiers { grid-template-columns: 1fr 1fr 1fr; align-items: start; } }

.tier {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  text-align: center;
  position: relative;
}

.tier.featured {
  background: var(--bg-card-2);
  border-color: var(--accent);
}

.badge {
  position: absolute;
  top: -0.8rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--accent-text);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  white-space: nowrap;
}

.tier h3 { font-size: 1.1rem; }

.price {
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0.3rem 0 1rem;
}

.tier ul {
  list-style: none;
  color: var(--text-dim);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}
.tier li { padding: 0.3rem 0; border-bottom: 1px dashed var(--border); }
.tier li:last-child { border-bottom: none; }

.tier .btn { width: 100%; }

.guarantee {
  text-align: center;
  color: var(--text-dim);
  margin-top: 2rem;
  font-size: 0.95rem;
}

/* ---------- contact & footer ---------- */

.contact { text-align: center; }

footer {
  border-top: 1px solid var(--border);
  padding: 2rem 1.25rem;
  text-align: center;
  color: var(--text-dim);
  font-size: 0.85rem;
}
