:root {
  --bg: #0a0a0f;
  --bg2: #0d0d18;
  --card: #111118;
  --card2: #0e0e16;
  --border: #20202c;
  --text: #f3f3f7;
  --muted: #888ca8;
  --muted2: #555570;
  --accent: #e94560;
  --accent2: #6c63ff;
  --radius: 16px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 12px; font-weight: 600; cursor: pointer; border: 1px solid transparent;
  transition: transform .12s ease, background .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 24px -8px rgba(233,69,96,.6); }
.btn-primary:hover { background: #c73850; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { background: #16161f; }
.btn-sm { padding: 8px 16px; font-size: 14px; }
.btn-lg { padding: 15px 28px; font-size: 17px; }
.btn-block { display: flex; width: 100%; padding: 14px; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px clamp(20px, 5vw, 64px);
  background: rgba(10,10,15,.72); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; }
.brand-mark { width: 28px; height: 28px; vertical-align: middle; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--muted); font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: var(--text); }
.nav-links .btn { color: #fff; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: clamp(60px, 10vw, 120px) 20px 80px; text-align: center; }
.hero-glow {
  position: absolute; top: -200px; left: 50%; transform: translateX(-50%);
  width: 900px; height: 600px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(233,69,96,.18), transparent 70%);
  pointer-events: none;
}
.hero-inner { position: relative; max-width: 1080px; margin: 0 auto; }
.badge {
  display: inline-block; padding: 7px 16px; border-radius: 999px;
  background: #15151f; border: 1px solid var(--border);
  color: var(--muted); font-size: 13px; font-weight: 500; margin-bottom: 28px;
}
.hero h1 { font-size: clamp(38px, 7vw, 68px); font-weight: 900; }
.grad { background: linear-gradient(90deg, #e94560, #6c63ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { max-width: 620px; margin: 24px auto 0; color: var(--muted); font-size: clamp(16px, 2.2vw, 19px); }
.lead strong { color: var(--text); }
.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 36px; }
.cta-note { margin-top: 16px; color: var(--muted2); font-size: 14px; }

/* Hero mockup */
.hero-mock {
  max-width: 560px; margin: 56px auto 0; background: var(--card);
  border: 1px solid var(--border); border-radius: 20px; overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.8);
}
.mock-bar { display: flex; gap: 7px; padding: 14px 18px; background: #0c0c14; border-bottom: 1px solid var(--border); }
.mock-bar span { width: 11px; height: 11px; border-radius: 50%; background: #2a2a38; }
.mock-bar span:first-child { background: var(--accent); }
.mock-screen {
  position: relative; aspect-ratio: 16/9;
  background: linear-gradient(135deg, #15151f, #0e0e16);
  display: flex; align-items: center; justify-content: center;
}
.mock-countdown {
  font-size: 90px; font-weight: 900; color: #fff;
  text-shadow: 0 0 40px rgba(233,69,96,.7);
}
.mock-strip { position: absolute; right: 24px; bottom: 24px; display: flex; flex-direction: column; gap: 6px; z-index: 2; }
.mock-strip div { width: 60px; height: 40px; border-radius: 6px; background: linear-gradient(135deg, var(--accent), var(--accent2)); opacity: .85; box-shadow: 0 4px 12px rgba(0,0,0,.35); }
/* Booth "in-use" scene (SVG illustration or a real photo dropped in as .booth-scene) */
.booth-scene { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.mock-countdown { position: relative; z-index: 2; transform: translateY(-6%); }
.booth-brand { position: absolute; z-index: 2; top: 12px; left: 14px; display: flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 700; color: #fff; opacity: .92; }
.booth-brand img { display: block; }
.booth-smile { position: absolute; z-index: 2; left: 0; right: 0; bottom: 56px; text-align: center; font-size: 19px; font-weight: 800; color: #fff; letter-spacing: .03em; text-shadow: 0 2px 12px rgba(0,0,0,.55); }

/* Trust */
.trust {
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: center;
  padding: 0 20px 24px; color: var(--muted2); font-size: 14px; font-weight: 500; letter-spacing: .02em;
}

/* Sections */
.section { padding: clamp(64px, 9vw, 110px) clamp(20px, 5vw, 64px); max-width: 1400px; margin: 0 auto; }
.section-alt { background: linear-gradient(180deg, var(--bg), var(--bg2)); max-width: none; }
.section-alt > * { max-width: 1400px; margin-left: auto; margin-right: auto; }
.section-title { font-size: clamp(28px, 4.5vw, 42px); font-weight: 800; text-align: center; }
.section-sub { text-align: center; color: var(--muted); margin-top: 12px; font-size: 17px; }

/* Feature grid */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; margin-top: 48px; }
.card {
  background: linear-gradient(180deg, var(--card), var(--card2));
  border: 1px solid var(--border); border-radius: var(--radius); padding: 26px;
  transition: transform .15s ease, border-color .15s ease;
}
.card:hover { transform: translateY(-3px); border-color: #34344a; }
.ic { font-size: 30px; }
.card h3 { font-size: 19px; margin: 14px 0 8px; }
.card p { color: var(--muted); font-size: 15px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; margin-top: 48px; }
.step { text-align: center; padding: 20px; }
.step-n {
  width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; font-weight: 800; color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
}
.step h3 { font-size: 20px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; }

/* Pricing */
.pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; max-width: 880px; margin: 48px auto 0; }
.price-card {
  position: relative; background: linear-gradient(180deg, var(--card), var(--card2));
  border: 1px solid var(--border); border-radius: 20px; padding: 32px;
}
.price-card.featured { border-color: var(--accent); box-shadow: 0 30px 60px -30px rgba(233,69,96,.45); }
.ribbon {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff; font-size: 12px; font-weight: 700;
  padding: 5px 14px; border-radius: 999px; white-space: nowrap;
}
.price-card h3 { font-size: 20px; color: var(--muted); font-weight: 600; }
.price { margin: 14px 0 22px; }
.amount { font-size: 46px; font-weight: 900; }
.per { color: var(--muted); font-size: 16px; }
.price-card ul { list-style: none; margin-bottom: 26px; }
.price-card li { padding: 7px 0; color: var(--text); font-size: 15px; border-bottom: 1px solid #18181f; }

/* Download */
.download { text-align: center; }
.download .btn { margin-top: 32px; }

/* Footer */
.footer { border-top: 1px solid var(--border); padding: 56px clamp(20px,5vw,64px) 32px; }
.footer-top { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: 2.2fr 1fr 1.4fr 1fr; gap: 40px; }
.footer-brand { max-width: 340px; }
.footer-brand p { color: var(--muted); font-size: 14px; margin-top: 14px; }
.socials { display: flex; gap: 12px; margin-top: 20px; }
.socials a {
  width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; color: var(--muted);
  transition: color .15s ease, border-color .15s ease, transform .12s ease;
}
.socials a:hover { color: var(--text); border-color: #34344a; transform: translateY(-2px); }
.socials svg { width: 18px; height: 18px; fill: currentColor; }
.footer-col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted2); margin-bottom: 14px; }
.footer-col a { display: block; color: var(--muted); font-size: 14px; padding: 5px 0; }
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  max-width: 1400px; margin: 40px auto 0; padding-top: 24px; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
}
.footer-bottom .copy { color: var(--muted2); font-size: 13px; margin: 0; }
.todo { color: var(--accent2); font-style: italic; }

/* Legal pages */
.legal-nav { padding: 16px clamp(20px,5vw,64px); border-bottom: 1px solid var(--border); }
.legal { max-width: 780px; margin: 0 auto; padding: clamp(36px,6vw,72px) clamp(20px,5vw,40px) 80px; }
.legal h1 { font-size: clamp(28px,5vw,40px); font-weight: 800; margin-bottom: 6px; }
.legal .updated { color: var(--muted2); font-size: 14px; margin-bottom: 32px; }
.legal h2 { font-size: 20px; margin: 34px 0 12px; scroll-margin-top: clamp(80px, 14vh, 150px); }
.legal p, .legal li { color: var(--muted); font-size: 15px; margin-bottom: 12px; }
.legal ul { padding-left: 22px; margin-bottom: 12px; }
.legal a { color: var(--accent2); }
.legal code { overflow-wrap: anywhere; }
.legal td, .legal th { overflow-wrap: anywhere; }
.legal table { width: 100%; border-collapse: collapse; margin: 12px 0 20px; }
.legal th, .legal td { border: 1px solid var(--border); padding: 9px 12px; text-align: left; font-size: 14px; color: var(--muted); }
.legal th { color: var(--text); font-weight: 600; }
.legal .todo { background: #1a1520; border: 1px dashed #4a2a52; border-radius: 6px; padding: 1px 7px; font-style: normal; color: #d98cc9; }
.legal-back { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 14px; margin-bottom: 28px; }
.legal-back:hover { color: var(--text); }
.legal-note { background: var(--card); border: 1px solid var(--border); border-left: 3px solid var(--accent2); border-radius: 10px; padding: 14px 16px; color: var(--muted); font-size: 14px; margin: 20px 0; }

/* Legal table of contents (jump links). Two-column only once JS adds .has-toc → no-JS stays 1 column. */
.legal-toc { display: none; }
.legal-layout.has-toc { max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) 232px; gap: 44px; align-items: start; padding: 0 clamp(20px, 5vw, 40px); }
.legal-layout.has-toc > .legal { grid-column: 1; grid-row: 1; min-width: 0; max-width: none; margin: 0; padding-left: 0; padding-right: 0; }
.legal-layout.has-toc .legal-toc { grid-column: 2; grid-row: 1; display: block; position: sticky; top: 24px; align-self: start; padding-top: clamp(36px, 6vw, 72px); }
.legal-toc-title { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted2); margin-bottom: 12px; padding-left: 14px; }
.legal-toc nav { display: flex; flex-direction: column; border-left: 1px solid var(--border); max-height: calc(100vh - 96px); overflow-y: auto; }
.legal-toc a { color: var(--muted); font-size: 13px; line-height: 1.35; padding: 7px 14px; border-left: 2px solid transparent; margin-left: -1px; transition: color .15s ease, border-color .15s ease; }
.legal-toc a:hover { color: var(--text); }
.legal-toc a.active { color: var(--text); border-left-color: var(--accent); font-weight: 500; }
@media (max-width: 860px) {
  .legal-layout.has-toc { display: block; max-width: none; padding: 0; }
  .legal-layout.has-toc > .legal { max-width: 780px; margin: 0 auto; padding-left: clamp(20px, 5vw, 40px); padding-right: clamp(20px, 5vw, 40px); }
  .legal-layout.has-toc .legal-toc { display: none; }
}

@media (max-width: 820px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .nav-links { gap: 16px; }
  .nav-links a:not(.btn) { display: none; }
}
