/* StopTheSpam landing page */
:root {
  --bg: #0a0d12;
  --surface: #10151d;
  --surface-2: #151b26;
  --border: rgba(255, 255, 255, 0.09);
  --text: #eef2f7;
  --muted: #98a2b3;
  --accent: #2fe6a8;
  --accent-dark: #0d3b2a;
  --radius: 14px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); font-weight: 800; }
h1 em { font-style: normal; color: var(--accent); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); font-weight: 700; margin-bottom: 12px; }
a { color: inherit; }
code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.85em;
  background: rgba(255,255,255,0.07);
  padding: 2px 7px;
  border-radius: 6px;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font: 600 0.95rem/1 var(--font);
  padding: 13px 24px;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #06130d; }
.btn-primary:hover { box-shadow: 0 6px 24px rgba(47, 230, 168, 0.35); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { border-color: rgba(255,255,255,0.25); background: rgba(255,255,255,0.04); }
.btn-lg { padding: 16px 30px; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.55; cursor: wait; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 13, 18, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; gap: 32px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.1rem; text-decoration: none; }
.nav-links { display: flex; gap: 26px; margin-left: 12px; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 0.95rem; font-weight: 500; }
.nav-links a:hover { color: var(--text); }
.nav-cta { margin-left: auto; display: flex; gap: 10px; }
.nav-burger { display: none; margin-left: auto; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-burger span { display: block; width: 22px; height: 2px; background: var(--text); margin: 5px 0; border-radius: 2px; }
.nav-mobile { display: none; flex-direction: column; padding: 8px 24px 18px; gap: 4px; }
.nav-mobile a { color: var(--muted); text-decoration: none; padding: 10px 0; border-top: 1px solid var(--border); font-weight: 500; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 96px 0 72px; }
.hero-glow {
  position: absolute; inset: -20% -10% auto; height: 640px; pointer-events: none;
  background:
    radial-gradient(520px 340px at 22% 30%, rgba(47, 230, 168, 0.13), transparent 70%),
    radial-gradient(640px 420px at 78% 18%, rgba(80, 120, 255, 0.10), transparent 70%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.badge {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 0.82rem; font-weight: 600; color: var(--accent);
  border: 1px solid rgba(47, 230, 168, 0.3);
  background: rgba(47, 230, 168, 0.08);
  padding: 7px 14px; border-radius: 999px; margin-bottom: 22px;
}
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }
.lede { color: var(--muted); font-size: 1.12rem; margin: 20px 0 30px; max-width: 34rem; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-note { margin-top: 16px; font-size: 0.85rem; color: var(--muted); }

.hero-demo { display: flex; justify-content: center; }
.demo-card {
  width: 100%; max-width: 400px;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px 26px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
.demo-label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 6px; }
.demo-addr { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.92rem; word-break: break-all; }
.demo-addr span { color: var(--accent); }
.demo-addr em { display: block; font-style: normal; font-family: var(--font); font-size: 0.78rem; color: var(--muted); margin-top: 4px; }
.demo-hidden { color: var(--muted); }
.demo-arrow { text-align: center; color: var(--accent); font-size: 1.3rem; margin: 12px 0; }

/* Trust strip */
.strip { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: rgba(255,255,255,0.015); }
.strip-inner { display: flex; align-items: center; justify-content: center; gap: 26px; padding: 18px 24px; flex-wrap: wrap; font-size: 0.92rem; color: var(--muted); font-weight: 500; }
.strip-inner i { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); opacity: 0.7; }

/* Sections */
.section { padding: 96px 0; }
.section-alt { background: rgba(255,255,255,0.015); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.kicker { color: var(--accent); font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 10px; }
.section-sub { color: var(--muted); max-width: 40rem; margin-top: 4px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 26px; }
.step-n {
  width: 40px; height: 40px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(47, 230, 168, 0.12); color: var(--accent);
  font-weight: 800; font-size: 1.1rem; margin-bottom: 18px;
}
.step h3 { margin-bottom: 8px; font-size: 1.1rem; }
.step p { color: var(--muted); font-size: 0.95rem; }

/* Feature cards */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 26px; transition: border-color 0.15s ease; }
.card:hover { border-color: rgba(47, 230, 168, 0.35); }
.card h3 { margin-bottom: 8px; font-size: 1.05rem; }
.card p { color: var(--muted); font-size: 0.94rem; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; align-items: stretch; }
.plan {
  position: relative;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 18px; padding: 34px 30px;
  display: flex; flex-direction: column;
}
.plan-pop { border-color: rgba(47, 230, 168, 0.5); background: linear-gradient(180deg, rgba(47,230,168,0.07), var(--surface) 45%); box-shadow: 0 18px 50px rgba(0,0,0,0.35); }
.plan-tag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #06130d;
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
  padding: 5px 14px; border-radius: 999px; white-space: nowrap;
}
.plan h3 { font-size: 1.15rem; }
.price { margin: 10px 0 4px; color: var(--muted); }
.price span { font-size: 2.6rem; font-weight: 800; color: var(--text); letter-spacing: -0.03em; }
.plan-desc { color: var(--muted); font-size: 0.92rem; margin-bottom: 20px; }
.plan ul { list-style: none; margin-bottom: 28px; flex: 1; }
.plan li { padding: 7px 0 7px 28px; position: relative; font-size: 0.94rem; color: var(--muted); }
.plan li strong { color: var(--text); }
.plan li::before { content: "✓"; position: absolute; left: 4px; color: var(--accent); font-weight: 700; }
.pricing-note { text-align: center; color: var(--muted); font-size: 0.88rem; margin-top: 26px; }

/* FAQ */
.faq-wrap { max-width: 780px; }
.faq { margin-top: 36px; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.faq-item summary {
  cursor: pointer; padding: 20px 24px; font-weight: 600; font-size: 1rem;
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--accent); font-size: 1.4rem; font-weight: 400; flex-shrink: 0; transition: transform 0.15s ease; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 24px 22px; color: var(--muted); font-size: 0.95rem; }

/* CTA + footer */
.cta-inner { text-align: center; max-width: 640px; margin: 0 auto; }
.cta-inner h2 { margin-bottom: 26px; }
.footer { border-top: 1px solid var(--border); padding: 30px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer p { color: var(--muted); font-size: 0.88rem; }

/* Modal */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(4, 6, 10, 0.75);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.modal-backdrop[hidden] { display: none; }
.modal {
  position: relative;
  width: 100%; max-width: 440px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 36px 34px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}
.modal-x {
  position: absolute; top: 12px; right: 16px;
  background: none; border: 0; color: var(--muted);
  font-size: 1.7rem; cursor: pointer; line-height: 1; padding: 6px;
}
.modal-x:hover { color: var(--text); }
.modal h2 { font-size: 1.45rem; margin-bottom: 8px; }
.modal .lede-sm { color: var(--muted); font-size: 0.93rem; margin-bottom: 22px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 7px; color: var(--muted); }
.field input {
  width: 100%; padding: 13px 15px;
  background: var(--bg); border: 1px solid var(--border); border-radius: 10px;
  color: var(--text); font: 500 1rem var(--font);
}
.field input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(47,230,168,0.15); }
.field input.code { letter-spacing: 0.35em; text-align: center; font-size: 1.3rem; font-weight: 700; }
.modal-err { color: #ff7a7a; font-size: 0.88rem; margin-bottom: 12px; min-height: 1.2em; }
.modal-alt { text-align: center; margin-top: 16px; font-size: 0.88rem; color: var(--muted); }
.modal-alt button { background: none; border: 0; color: var(--accent); cursor: pointer; font: inherit; font-weight: 600; }
.plan-pick { display: flex; flex-direction: column; gap: 10px; margin: 18px 0 22px; }
.plan-opt {
  display: flex; align-items: center; gap: 14px;
  border: 1px solid var(--border); border-radius: 12px;
  padding: 15px 17px; cursor: pointer; transition: border-color 0.12s ease;
}
.plan-opt:hover { border-color: rgba(255,255,255,0.25); }
.plan-opt.sel { border-color: var(--accent); background: rgba(47,230,168,0.06); }
.plan-opt input { accent-color: var(--accent); width: 17px; height: 17px; }
.plan-opt .po-name { font-weight: 700; }
.plan-opt .po-desc { color: var(--muted); font-size: 0.85rem; }
.plan-opt .po-price { margin-left: auto; font-weight: 700; color: var(--accent); white-space: nowrap; }

/* Toast */
.toast {
  position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%);
  background: var(--surface-2); border: 1px solid var(--border);
  color: var(--text); padding: 13px 22px; border-radius: 12px;
  font-size: 0.92rem; z-index: 200; box-shadow: 0 12px 40px rgba(0,0,0,0.5);
  max-width: calc(100vw - 40px); text-align: center;
}
.toast[hidden] { display: none; }

/* Responsive */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero { padding: 64px 0 56px; }
  .steps, .grid-3, .plans { grid-template-columns: 1fr; }
  .plan-pop { order: -1; }
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: block; }
  .nav-mobile.open { display: flex; }
  .section { padding: 64px 0; }
}
