/* ============================================================
   DreSense — Dark Theme Design System
   Black Background · Neon Green · Violet Purple
   ============================================================ */

/* ─── Tokens ─────────────────────────────────────────────── */
:root {
  --green:         #00FF7A;
  --green-dim:     #00CC62;
  --green-glow:    rgba(0, 255, 122, 0.14);
  --green-border:  rgba(0, 255, 122, 0.28);

  --purple:        #8B5CF6;
  --purple-dim:    #7C3AED;
  --purple-glow:   rgba(139, 92, 246, 0.14);
  --purple-border: rgba(139, 92, 246, 0.28);

  --bg:            #000000;
  --bg-2:          #050505;
  --bg-3:          #0C0C0C;

  --glass:         rgba(255, 255, 255, 0.04);
  --glass-hover:   rgba(255, 255, 255, 0.07);
  --border:        rgba(255, 255, 255, 0.08);
  --border-md:     rgba(255, 255, 255, 0.12);

  --text:          #FFFFFF;
  --text-muted:    #7A7A7A;
  --text-dim:      #333333;

  --r:  14px;
  --r-sm: 8px;
  --ease: all 0.25s ease;
}

/* ─── Reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
a { text-decoration: none; color: inherit; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Dot-grid background texture */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
  z-index: 0;
}

h1, h2, h3 { font-family: 'Poppins', sans-serif; line-height: 1.15; }

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* ─── Ambient Orbs ───────────────────────────────────────── */
.orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(110px);
}

.orb-green { background: var(--green); }
.orb-purple { background: var(--purple); }

/* ─── Section Header ─────────────────────────────────────── */
.sec-head {
  text-align: center;
  margin-bottom: 60px;
}

.sec-tag {
  display: inline-block;
  background: var(--glass);
  border: 1px solid var(--border-md);
  color: var(--green);
  padding: 5px 18px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 16px;
}

.sec-head h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.025em;
  margin-bottom: 12px;
}

.sec-sub {
  font-size: 0.97rem;
  color: var(--text-muted);
  max-width: 460px;
  margin: 0 auto;
}

/* ─── Reveal Animation ───────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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

/* ─── NAVBAR ─────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 300;
  padding: 22px 0;
  transition: var(--ease);
}

.nav.scrolled {
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}

.nav-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 1.55rem;
  color: var(--text);
  letter-spacing: -0.025em;
}

.logo span { color: var(--green); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--text-muted);
  transition: var(--ease);
}

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

.nav-btn {
  background: var(--green) !important;
  color: #000 !important;
  padding: 9px 22px;
  border-radius: 50px;
  font-weight: 700 !important;
  font-size: 0.87rem !important;
  letter-spacing: 0.01em;
  transition: var(--ease) !important;
}

.nav-btn:hover {
  background: var(--green-dim) !important;
  color: #000 !important;
  box-shadow: 0 0 24px rgba(0, 255, 122, 0.4) !important;
  transform: none !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.hamburger span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  display: block;
  transition: var(--ease);
}

/* ─── HERO ───────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  padding: 140px 0 100px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.orb-1 { width: 700px; height: 700px; opacity: 0.11; top: -250px; right: -150px; }
.orb-2 { width: 500px; height: 500px; opacity: 0.1;  bottom: -120px; left: -120px; }
.orb-3 { width: 300px; height: 300px; opacity: 0.07; top: 40%;   left: 35%; }

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* Left */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--glass);
  border: 1px solid var(--border-md);
  color: var(--text-muted);
  padding: 7px 16px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 500;
  margin-bottom: 26px;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  display: inline-block;
  flex-shrink: 0;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(1.3); }
}

.hero-left h1 {
  font-size: clamp(2.8rem, 5.5vw, 4.6rem);
  font-weight: 900;
  color: var(--text);
  margin-bottom: 22px;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.grad-text {
  background: linear-gradient(120deg, var(--green) 0%, var(--purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.07rem;
  color: var(--text-muted);
  max-width: 400px;
  margin-bottom: 38px;
  line-height: 1.85;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green);
  color: #000;
  padding: 15px 32px;
  border-radius: 50px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  transition: var(--ease);
  box-shadow: 0 0 32px rgba(0, 255, 122, 0.28);
}

.btn-primary:hover {
  background: var(--green-dim);
  box-shadow: 0 0 55px rgba(0, 255, 122, 0.5);
  transform: translateY(-2px);
}

.btn-arrow {
  display: inline-block;
  transition: transform 0.2s ease;
}

.btn-primary:hover .btn-arrow { transform: translateX(4px); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  padding: 15px 24px;
  border-radius: 50px;
  border: 1px solid var(--border-md);
  font-weight: 500;
  font-size: 0.92rem;
  transition: var(--ease);
  background: var(--glass);
}

.btn-ghost:hover {
  color: var(--text);
  border-color: var(--border-md);
  background: var(--glass-hover);
}

.social-proof {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatars { display: flex; }

.avatars span {
  font-size: 1.3rem;
  margin-left: -4px;
  display: inline-block;
}

.avatars span:first-child { margin-left: 0; }

.proof-text {
  font-size: 0.87rem;
  color: var(--text-muted);
}

.proof-text strong { color: var(--text); }

/* Right — Demo Visual */
.hero-right { display: flex; justify-content: center; }

.demo-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  width: 100%;
  max-width: 420px;
}

.demo-inputs-row {
  display: flex;
  align-items: stretch;
  gap: 14px;
  width: 100%;
}

.demo-card {
  background: var(--glass);
  border: 1px solid var(--border-md);
  border-radius: var(--r);
  padding: 24px 18px;
  text-align: center;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: var(--ease);
  flex: 1;
}

.demo-card:hover {
  background: var(--glass-hover);
  border-color: var(--border-md);
  transform: translateY(-3px);
}

.card-a { border-top: 2px solid rgba(139, 92, 246, 0.5); }
.card-b { border-top: 2px solid rgba(139, 92, 246, 0.5); }

.card-result {
  width: 100%;
  border: 1px solid var(--green-border);
  background: linear-gradient(140deg, rgba(0,255,122,0.07) 0%, rgba(139,92,246,0.07) 100%);
  position: relative;
  overflow: hidden;
  animation: card-glow 3s ease-in-out infinite;
}

@keyframes card-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(0,255,122,0.12), 0 0 60px rgba(139,92,246,0.06); }
  50%       { box-shadow: 0 0 40px rgba(0,255,122,0.22), 0 0 80px rgba(139,92,246,0.12); }
}

.result-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 120%, rgba(0,255,122,0.15) 0%, transparent 60%);
  pointer-events: none;
}

.result-pill {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, var(--green), var(--purple));
  color: #000;
  font-size: 0.62rem;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.demo-chip {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.demo-emoji {
  font-size: 3rem;
  line-height: 1;
  margin-bottom: 10px;
  display: block;
}

.glow-emoji { filter: drop-shadow(0 0 14px rgba(0, 255, 122, 0.6)); }

.demo-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}

.demo-plus {
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  padding: 0 4px;
  flex-shrink: 0;
}

.demo-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  color: var(--text-muted);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-md), transparent);
}

.divider-label { white-space: nowrap; color: var(--green); opacity: 0.8; }

/* ─── MARQUEE ─────────────────────────────────────────────── */
.marquee-wrap {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
  padding: 15px 0;
  position: relative;
  z-index: 1;
}

.marquee-track {
  display: flex;
  gap: 52px;
  width: max-content;
  animation: marquee 34s linear infinite;
}

.marquee-track span {
  white-space: nowrap;
  font-size: 0.87rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  color: var(--text-dim);
}

.marquee-track span:nth-child(4n+1) { color: var(--green); opacity: 0.75; }
.marquee-track span:nth-child(4n+3) { color: var(--purple); opacity: 0.65; }

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ─── SECTION ─────────────────────────────────────────────── */
.section { padding: 100px 0; position: relative; z-index: 1; }
.showcase-sec { background: var(--bg-2); }

/* ─── HOW IT WORKS ───────────────────────────────────────── */
.steps-row {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.step-card {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 42px 28px;
  text-align: center;
  flex: 1;
  min-width: 220px;
  max-width: 300px;
  position: relative;
  transition: var(--ease);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.step-card + .step-connector + .step-card { border-left: none; border-radius: 0; }
.step-card:last-child { border-radius: 0 var(--r) var(--r) 0; }
.step-card:first-child { border-radius: var(--r) 0 0 var(--r); }

.step-card:hover {
  background: var(--glass-hover);
  z-index: 2;
}

.step-glow {
  border-color: var(--green-border);
  background: linear-gradient(145deg, rgba(0,255,122,0.07), var(--glass));
}

.step-glow:hover {
  background: linear-gradient(145deg, rgba(0,255,122,0.1), var(--glass-hover));
  box-shadow: 0 0 40px rgba(0,255,122,0.1);
}

.step-num {
  position: absolute;
  top: 16px;
  right: 18px;
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 1.7rem;
  color: var(--text-dim);
  line-height: 1;
  user-select: none;
}

.step-glow .step-num { color: var(--green); opacity: 0.3; }

.step-icon {
  font-size: 2.6rem;
  margin-bottom: 16px;
  display: block;
}

.step-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}

.step-card p {
  font-size: 0.87rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.step-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
  color: var(--text-dim);
  font-size: 1.4rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--glass);
  flex-shrink: 0;
}

/* ─── SHOWCASE ───────────────────────────────────────────── */
.showcase-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.sc-card {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 44px 32px;
  text-align: center;
  min-width: 180px;
  max-width: 230px;
  flex: 1;
  transition: var(--ease);
  position: relative;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.sc-card + .sc-op + .sc-card { border-left: none; border-radius: 0; }
.sc-card:first-child { border-radius: var(--r) 0 0 var(--r); }
.sc-output { border-radius: 0 var(--r) var(--r) 0; }

.sc-card:hover { background: var(--glass-hover); z-index: 2; }

.sc-output {
  border-color: var(--green-border);
  background: linear-gradient(145deg, rgba(0,255,122,0.07), rgba(139,92,246,0.05));
  max-width: 260px;
  animation: card-glow 3.5s ease-in-out infinite;
}

.sc-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, var(--green), var(--purple));
  color: #000;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 5px 16px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.sc-icon  { font-size: 3.4rem; margin-bottom: 14px; display: block; }
.sc-name  { font-weight: 700; font-size: 0.98rem; color: var(--text); margin-bottom: 5px; }
.sc-desc  { font-size: 0.81rem; color: var(--text-muted); }

.sc-op {
  padding: 0 18px;
  flex-shrink: 0;
  font-size: 2rem;
  font-weight: 300;
  color: var(--text-dim);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  background: var(--glass);
}

.sc-arr { color: var(--green); opacity: 0.7; }

/* ─── FEATURES ───────────────────────────────────────────── */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.feat-card {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 34px 30px;
  position: relative;
  overflow: hidden;
  transition: var(--ease);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.feat-card::after {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, var(--green), var(--purple));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.feat-card:hover::after { transform: scaleX(1); }

.feat-card:hover {
  background: var(--glass-hover);
  border-color: var(--border-md);
  transform: translateY(-4px);
}

.feat-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 18px;
}

.green-icon  { background: var(--green-glow); border: 1px solid var(--green-border); }
.purple-icon { background: var(--purple-glow); border: 1px solid var(--purple-border); }

.feat-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.feat-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.72;
}

/* ─── WAITLIST ───────────────────────────────────────────── */
.waitlist-sec {
  padding: 100px 0;
  background: var(--bg-2);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.wl-orb-1 { width: 600px; height: 600px; opacity: 0.1;  top: -150px; left: -120px; }
.wl-orb-2 { width: 450px; height: 450px; opacity: 0.08; bottom: -100px; right: -80px; }

.wl-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* Left copy */
.wl-copy .sec-tag { margin-bottom: 18px; }

.wl-copy h2 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 900;
  color: var(--text);
  margin-bottom: 14px;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.wl-copy > p {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 30px;
  line-height: 1.8;
}

.perk-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.perk-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 0.93rem;
  font-weight: 500;
}

.perk-icon { font-size: 0.85rem; flex-shrink: 0; }
.perk-icon.green  { color: var(--green); }
.perk-icon.purple { color: var(--purple); }

/* Form */
.wl-form {
  background: var(--glass);
  border: 1px solid var(--border-md);
  border-radius: 18px;
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-field > label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.form-field input[type="text"],
.form-field input[type="email"] {
  border: 1px solid var(--border-md);
  border-radius: var(--r-sm);
  padding: 13px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  background: rgba(255,255,255,0.04);
  outline: none;
  transition: var(--ease);
  width: 100%;
}

.form-field input::placeholder { color: #3a3a3a; }

.form-field input:focus {
  border-color: var(--green);
  background: rgba(0,255,122,0.04);
  box-shadow: 0 0 0 3px rgba(0, 255, 122, 0.1);
}

.pill-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.pill-opt {
  display: flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  font-size: 0.87rem;
  font-weight: 500;
  padding: 9px 16px;
  border: 1px solid var(--border-md);
  border-radius: var(--r-sm);
  background: rgba(255,255,255,0.03);
  transition: var(--ease);
  user-select: none;
  color: var(--text-muted);
}

.pill-opt input { display: none; }

.pill-opt:has(input:checked) {
  border-color: var(--green);
  background: var(--green-glow);
  color: var(--green);
}

.pill-opt.checked {
  border-color: var(--green);
  background: var(--green-glow);
  color: var(--green);
}

.btn-submit {
  background: linear-gradient(135deg, var(--green) 0%, #00d467 100%);
  color: #000;
  border: none;
  border-radius: 50px;
  padding: 16px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.97rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--ease);
  box-shadow: 0 0 30px rgba(0, 255, 122, 0.22);
  width: 100%;
  letter-spacing: 0.01em;
}

.btn-submit:hover {
  background: linear-gradient(135deg, var(--green-dim) 0%, #00aa52 100%);
  box-shadow: 0 0 55px rgba(0, 255, 122, 0.38);
  transform: translateY(-1px);
}

.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.form-note {
  text-align: center;
  font-size: 0.77rem;
  color: var(--text-dim);
}

/* Toast */
.toast {
  position: fixed;
  bottom: 32px;
  right: 32px;
  background: var(--bg-3);
  border: 1px solid var(--green-border);
  border-radius: 14px;
  padding: 18px 22px;
  box-shadow: 0 0 50px rgba(0, 255, 122, 0.15);
  display: flex;
  align-items: flex-start;
  gap: 14px;
  max-width: 310px;
  z-index: 999;
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275),
              opacity 0.4s ease;
}

.toast.show { transform: translateY(0); opacity: 1; }

.toast > span { font-size: 1.7rem; flex-shrink: 0; }

.toast strong {
  display: block;
  font-family: 'Poppins', sans-serif;
  color: var(--text);
  margin-bottom: 4px;
  font-size: 0.93rem;
}

.toast p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ─── STATS ──────────────────────────────────────────────── */
.stats-sec {
  padding: 80px 0;
  background: var(--bg);
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.stat-item {
  flex: 1;
  min-width: 140px;
  text-align: center;
  padding: 24px 28px;
}

.stat-val {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  margin-bottom: 8px;
}

.stat-num {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(3rem, 6vw, 4.4rem);
  font-weight: 900;
  background: linear-gradient(120deg, var(--green), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.stat-suf {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 900;
  color: var(--text-muted);
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.stat-div {
  width: 1px;
  height: 64px;
  background: var(--border);
  flex-shrink: 0;
}

/* ─── FOOTER ─────────────────────────────────────────────── */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 44px 0 20px;
  position: relative;
  z-index: 1;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.footer .logo { font-size: 1.3rem; }

.footer-made { font-size: 0.88rem; color: var(--text-muted); }

.footer-links { display: flex; gap: 24px; }

.footer-links a {
  color: var(--text-muted);
  font-size: 0.88rem;
  transition: var(--ease);
}

.footer-links a:hover { color: var(--green); }

.footer-copy {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-dim);
  border-top: 1px solid var(--border);
  padding-top: 18px;
}

/* ─── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 56px;
    text-align: center;
  }

  .hero-right { order: -1; }
  .hero-sub   { margin-left: auto; margin-right: auto; }
  .hero-ctas  { justify-content: center; }
  .social-proof { justify-content: center; }

  .wl-inner { grid-template-columns: 1fr; gap: 48px; }
  .wl-copy  { text-align: center; }
  .perk-list { max-width: 380px; margin: 0 auto; }

  .step-card { border-radius: var(--r) !important; }
  .step-connector { display: none; }
  .steps-row { flex-direction: column; align-items: center; gap: 12px; }
  .step-card { max-width: 100%; width: 100%; }

  .sc-card { border-radius: var(--r) !important; }
  .sc-op { display: none; }
  .showcase-flow { flex-direction: column; align-items: center; gap: 12px; }
  .sc-card { max-width: 100%; width: 100%; }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 68px;
    right: 16px;
    background: var(--bg-3);
    border: 1px solid var(--border-md);
    padding: 20px 28px;
    border-radius: 14px;
    gap: 18px;
    z-index: 290;
  }

  .feat-grid { grid-template-columns: 1fr; }

  .demo-inputs-row { flex-direction: column; }
  .demo-plus { transform: rotate(90deg); align-self: center; }

  .stats-row { flex-direction: column; }
  .stat-div  { width: 60px; height: 1px; }

  .wl-form { padding: 28px 20px; }
  .pill-row { flex-direction: column; }

  .hero-left h1 { font-size: clamp(2.4rem, 10vw, 3.2rem); }

  .toast { right: 16px; left: 16px; max-width: none; bottom: 20px; }

  .footer-inner { flex-direction: column; align-items: center; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal, .demo-card, .card-result, .sc-output,
  .badge-dot { transition: none; animation: none; }
}
