:root {
  --bg: #0d0f0e;
  --surface: #161a18;
  --border: #262b28;
  --text: #f2f5f3;
  --muted: #9aa39d;
  --accent: #b6ff3d;
  --accent-dark: #0d0f0e;
  --radius: 12px;
  --maxw: 960px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(13,15,14,0.9); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav .container { display: flex; align-items: center; justify-content: space-between; height: 62px; }
.brand { font-weight: 800; font-size: 20px; letter-spacing: -0.5px; color: var(--text); }
.brand span { color: var(--accent); }
.nav-links a { color: var(--muted); margin-left: 22px; font-size: 15px; font-weight: 600; }
.nav-links a:hover { color: var(--text); text-decoration: none; }

/* Buttons */
.btn {
  display: inline-block; padding: 13px 22px; border-radius: var(--radius);
  font-weight: 700; font-size: 15px; cursor: pointer; border: 1px solid var(--border);
  transition: transform 0.15s ease, opacity 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: var(--accent-dark); border-color: var(--accent); }
.btn-primary:hover { text-decoration: none; opacity: 0.94; box-shadow: 0 8px 24px rgba(182,255,61,0.22); }
.btn-ghost { background: transparent; color: var(--text); }
.btn-ghost:hover { text-decoration: none; border-color: var(--accent); }

/* Hero */
.hero { position: relative; padding: 96px 0 72px; text-align: center; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; top: -60px; left: 50%; transform: translateX(-50%);
  width: 760px; height: 480px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(182,255,61,0.16), rgba(182,255,61,0) 70%);
}
.hero .container { position: relative; }
.pill {
  display: inline-block; margin-bottom: 22px; padding: 7px 16px; border-radius: 999px;
  background: rgba(182,255,61,0.1); border: 1px solid rgba(182,255,61,0.28);
  color: var(--accent); font-size: 13px; font-weight: 700; letter-spacing: 0.3px;
}
.hero h1 { font-size: 50px; line-height: 1.08; letter-spacing: -1.8px; margin-bottom: 18px; }
.hero h1 span {
  background: linear-gradient(120deg, #b6ff3d, #6fe0a0);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero p { font-size: 19px; color: var(--muted); max-width: 620px; margin: 0 auto 32px; }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Sections */
section { padding: 56px 0; border-top: 1px solid var(--border); }
section h2 { font-size: 30px; letter-spacing: -0.5px; margin-bottom: 10px; text-align: center; }
section .lead { color: var(--muted); text-align: center; max-width: 620px; margin: 0 auto 40px; font-size: 17px; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.grid.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 720px) { .grid.four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 440px) { .grid.four { grid-template-columns: 1fr; } }
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px 24px;
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(182,255,61,0.4); }
.card .icon {
  width: 46px; height: 46px; border-radius: 12px; margin-bottom: 16px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(182,255,61,0.1); border: 1px solid rgba(182,255,61,0.25); color: var(--accent);
}
.card .icon svg { width: 24px; height: 24px; }
.card .step { color: var(--accent); font-weight: 800; font-size: 14px; letter-spacing: 1px; margin-bottom: 10px; }
.card h3 { font-size: 19px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15px; }

/* Pricing */
.price-wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.price-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 26px; transition: transform 0.18s ease, border-color 0.18s ease; }
.price-card:hover { transform: translateY(-4px); }
.price-card.featured { border-color: rgba(182,255,61,0.5); box-shadow: 0 0 0 1px rgba(182,255,61,0.25); }
.price-card h3 { font-size: 21px; margin-bottom: 6px; }
.price-card .who { color: var(--accent); font-weight: 700; font-size: 13px; letter-spacing: 1px; margin-bottom: 16px; }
.price-card ul { list-style: none; }
.price-card li { color: var(--muted); font-size: 15px; padding: 7px 0 7px 24px; position: relative; }
.price-card li::before { content: "✓"; color: var(--accent); position: absolute; left: 0; font-weight: 800; }

.store-soon { text-align: center; color: var(--muted); font-size: 15px; margin-top: 30px; }

/* Footer */
footer { border-top: 1px solid var(--border); padding: 40px 0; color: var(--muted); font-size: 14px; }
footer .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
footer a { color: var(--muted); margin-right: 18px; }
footer a:hover { color: var(--text); }

/* Legal pages */
.legal { padding: 48px 0 72px; max-width: 780px; }
.legal h1 { font-size: 34px; letter-spacing: -0.8px; margin-bottom: 6px; }
.legal .updated { color: var(--muted); font-size: 14px; margin-bottom: 34px; }
.legal h2 { font-size: 20px; margin: 30px 0 10px; }
.legal p { color: #d7ddd8; font-size: 15.5px; margin-bottom: 12px; }
.legal .back { display: inline-block; margin-bottom: 24px; font-weight: 700; }

@media (max-width: 600px) {
  .hero h1 { font-size: 34px; }
  .hero .btn { display: block; margin: 10px auto; max-width: 260px; }
  .nav-links a { margin-left: 14px; font-size: 14px; }
}

/* ── Animations (CSS + one tiny inline observer; no external deps) ───────────── */

/* Scroll reveal — only active when JS adds .js-anim, so content is always
   visible if JS or the observer is unavailable. */
.js-anim .card,
.js-anim .price-card,
.js-anim section h2,
.js-anim section .lead {
  opacity: 0; transform: translateY(18px);
  transition: opacity 0.6s cubic-bezier(0.2,0.7,0.2,1), transform 0.6s cubic-bezier(0.2,0.7,0.2,1);
}
.js-anim .card.in,
.js-anim .price-card.in,
.js-anim section h2.in,
.js-anim section .lead.in { opacity: 1; transform: none; }
.js-anim .grid .card:nth-child(2) { transition-delay: 0.08s; }
.js-anim .grid .card:nth-child(3) { transition-delay: 0.16s; }
.js-anim .grid .card:nth-child(4) { transition-delay: 0.24s; }
.js-anim .price-wrap .price-card:nth-child(2) { transition-delay: 0.1s; }

/* Gentle hero glow breathing (only if the user hasn't asked for reduced motion) */
@media (prefers-reduced-motion: no-preference) {
  @keyframes breathe { 0%,100%{opacity:0.7; transform:translateX(-50%) scale(1);} 50%{opacity:1; transform:translateX(-50%) scale(1.06);} }
  .hero::before { animation: breathe 6s ease-in-out infinite; }
}
