/* ====== BRAND: change these to rebrand ====== */
:root {
  --bg: #08090a;
  --surface: #111214;
  --surface-2: #17181b;
  --border: #232428;
  --text: #f7f8f8;
  --muted: #8a8f98;
  --accent: #e5e5e6;      /* primary button */
  --accent-text: #08090a;
  --highlight: #7c5cff;   /* brand color (badges, checks) */
  --radius: 14px;
  --max: 1120px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg); color: var(--text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.mono { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.muted { color: var(--muted); }
section { padding: 96px 0; }
h1 { font-size: clamp(36px, 6vw, 64px); font-weight: 500; line-height: 1.05; letter-spacing: -.03em; }
h2 { font-size: clamp(30px, 4.5vw, 48px); font-weight: 500; line-height: 1.1; letter-spacing: -.025em; }
h3 { font-size: 18px; font-weight: 500; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 18px; border-radius: 9999px; font-size: 14px; font-weight: 500; transition: opacity .15s, background .15s; cursor: pointer; border: 0; }
.btn-primary { background: var(--accent); color: var(--accent-text); }
.btn-primary:hover { opacity: .88; }
.btn-ghost { background: var(--surface-2); color: var(--text); border: 1px solid var(--border); }
.btn-ghost:hover { background: var(--border); }
.btn-lg { height: 48px; padding: 0 24px; font-size: 15px; width: 100%; }

/* Nav */
.site-nav { position: sticky; top: 0; z-index: 50; background: rgba(8,9,10,.8); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.site-nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; }
.logo-mark { width: 22px; height: 22px; border-radius: 6px; background: linear-gradient(135deg, var(--highlight), #ff5ca8); }
.nav-links { display: flex; gap: 28px; font-size: 14px; color: var(--muted); }
.nav-links a:hover { color: var(--text); }
.nav-right { display: flex; align-items: center; gap: 28px; }
.lang { font-size: 13px; color: var(--muted); border: 1px solid var(--border); border-radius: 9999px; padding: 4px 10px; }
.lang:hover { color: var(--text); }
@media (max-width: 760px) { .nav-right { gap: 12px; } }
@media (max-width: 760px) { .nav-links { display: none; } }

/* Hero */
.hero { padding: 88px 0 48px; }
.hero-sub { max-width: 520px; margin-top: 20px; font-size: 17px; color: var(--muted); }
.hero-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-top: 28px; }
.hero-ctas { display: flex; gap: 10px; flex-wrap: wrap; }
.price-tag { font-size: 14px; }
.price-tag b { font-weight: 600; }

/* Demo window */
.demo-label { margin: 56px 0 16px; }
.demo { display: grid; grid-template-columns: 200px 1fr 260px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); overflow: hidden; min-height: 460px; }
.demo-side { border-right: 1px solid var(--border); padding: 16px; font-size: 13px; color: var(--muted); display: flex; flex-direction: column; gap: 8px; }
.demo-side .item { padding: 6px 10px; border-radius: 8px; }
.demo-side .item.active { background: var(--surface-2); color: var(--text); }
.demo-main { padding: 20px 28px; display: flex; flex-direction: column; gap: 16px; font-size: 14px; }
.demo-title { text-align: center; font-size: 13px; color: var(--muted); }
.bubble-user { align-self: flex-end; background: var(--surface-2); border: 1px solid var(--border); border-radius: 12px; padding: 10px 14px; max-width: 80%; }
.tasks { border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; }
.tasks .t { display: flex; gap: 10px; align-items: center; color: var(--muted); font-size: 13px; }
.tasks .t::before { content: "✓"; color: var(--highlight); font-weight: 600; }
.files { display: flex; flex-wrap: wrap; gap: 8px; }
.file { border: 1px solid var(--border); border-radius: 8px; padding: 6px 10px; font-size: 12px; color: var(--muted); }
.file b { color: var(--text); font-weight: 500; }
.composer { margin-top: auto; border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; color: var(--muted); font-size: 13px; }
.demo-preview { border-left: 1px solid var(--border); padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.phone { flex: 1; border-radius: 12px; background: linear-gradient(160deg, #1d1a33, #0c0c10 60%); display: grid; place-items: center; text-align: center; padding: 20px; font-size: 22px; font-weight: 600; line-height: 1.2; }
.phone span { color: var(--highlight); }
@media (max-width: 900px) { .demo { grid-template-columns: 1fr; } .demo-side, .demo-preview { display: none; } }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin-top: 48px; }
.stat { background: var(--bg); padding: 28px; }
.stat b { display: block; font-size: 40px; font-weight: 500; letter-spacing: -.02em; }

/* How it works */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; }
.step { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); overflow: hidden; display: flex; flex-direction: column; }
.step-visual { height: 220px; border-bottom: 1px solid var(--border); padding: 20px; display: flex; flex-direction: column; gap: 8px; background: radial-gradient(circle at 50% 0%, rgba(124,92,255,.12), transparent 70%); }
.step-body { padding: 20px; }
.step-body p { margin-top: 6px; font-size: 14px; }
.chip { border: 1px solid var(--border); background: var(--surface-2); border-radius: 9999px; padding: 6px 12px; font-size: 12px; color: var(--muted); align-self: flex-start; }
.chip.on { color: var(--text); border-color: var(--highlight); }
.prog { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--muted); }
.prog i { width: 8px; height: 8px; border-radius: 50%; background: var(--highlight); }
.prog.wait i { background: var(--border); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }

/* Examples */
.results-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.results { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 1fr); gap: 16px; overflow-x: auto; margin-top: 40px; padding-bottom: 8px; scroll-snap-type: x mandatory; }
.card { scroll-snap-align: start; }
.thumb { aspect-ratio: 9/16; border-radius: var(--radius); border: 1px solid var(--border); background: linear-gradient(170deg, #22203a, #0d0d12); display: grid; place-items: center; color: var(--muted); font-size: 13px; overflow: hidden; }
.thumb img, .thumb video { width: 100%; height: 100%; object-fit: cover; }
.card .creator { font-size: 12px; color: var(--muted); margin-top: 12px; }
.card h3 { font-size: 14px; margin-top: 4px; }
.card .meta { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-top: 6px; }
.card .meta a:hover { color: var(--text); }
.disclaimer { font-size: 12px; color: var(--muted); margin-top: 20px; max-width: 640px; }

/* Pricing */
.pricing { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.price-card { border: 1px solid var(--border); border-radius: 18px; background: var(--surface); padding: 28px; }
.price-card .amount { font-size: 56px; font-weight: 500; letter-spacing: -.03em; margin: 8px 0 4px; }
.price-card .amount small { font-size: 15px; color: var(--muted); font-weight: 400; letter-spacing: 0; }
.checks { list-style: none; display: flex; flex-direction: column; gap: 12px; margin: 24px 0; font-size: 14px; }
.checks li { display: flex; gap: 10px; }
.checks li::before { content: "✓"; color: var(--highlight); font-weight: 600; }
.trust { display: flex; flex-wrap: wrap; gap: 16px; padding-top: 20px; border-top: 1px solid var(--border); font-size: 12px; color: var(--muted); }
@media (max-width: 900px) { .pricing { grid-template-columns: 1fr; } }

/* Guarantee */
.marquee { overflow: hidden; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 14px 0; white-space: nowrap; }
.marquee-track { display: inline-block; animation: scroll 30s linear infinite; }
@keyframes scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }
.guarantee { display: grid; grid-template-columns: 220px 1fr; gap: 48px; align-items: center; }
.seal { width: 200px; height: 200px; border-radius: 50%; border: 1px solid var(--border); background: radial-gradient(circle, var(--surface-2), var(--bg)); display: grid; place-items: center; text-align: center; }
.seal b { display: block; font-size: 64px; font-weight: 500; line-height: 1; }
@media (max-width: 760px) { .guarantee { grid-template-columns: 1fr; } }

/* FAQ */
.faq { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; }
details { border-bottom: 1px solid var(--border); }
summary { list-style: none; cursor: pointer; padding: 18px 0; display: flex; justify-content: space-between; gap: 16px; font-size: 15px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--muted); font-size: 18px; transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { padding: 0 0 18px; color: var(--muted); font-size: 14px; max-width: 560px; }
@media (max-width: 900px) { .faq { grid-template-columns: 1fr; } }

/* Final CTA */
.final { text-align: center; }
.final .hero-ctas { justify-content: center; margin-top: 32px; }

/* Footer (shared by every page) */
footer { border-top: 1px solid var(--border); padding: 32px 0; font-size: 13px; color: var(--muted); }
footer .wrap { display: flex; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; }
footer .links { display: flex; flex-wrap: wrap; gap: 12px 20px; }
footer .links a:hover, footer .links a[aria-current="page"] { color: var(--text); }
footer .trademark { order: 3; flex-basis: 100%; font-size: 12px; }

/* Accessibility: visible focus for keyboard users */
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--highlight); outline-offset: 3px; border-radius: 6px; }

/* Legal pages */
.legal { padding: 72px 0 96px; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: clamp(32px, 5vw, 48px); }
.legal .updated { margin-top: 12px; }
.legal h2 { font-size: 20px; letter-spacing: -.01em; margin: 40px 0 12px; }
.legal p, .legal li { color: #c9ccd1; font-size: 15px; line-height: 1.7; }
.legal p + p { margin-top: 12px; }
.legal ul { margin: 12px 0 0 20px; display: flex; flex-direction: column; gap: 6px; }
.legal a { text-decoration: underline; }
.legal .note { margin-top: 24px; padding: 16px 18px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); font-size: 14px; color: var(--muted); }
.pending { background: rgba(255, 196, 0, .14); color: #ffd25c; padding: 1px 6px; border-radius: 4px; font-family: "JetBrains Mono", ui-monospace, monospace; font-size: .85em; }
.contact-card { margin-top: 32px; border: 1px solid var(--border); border-radius: 18px; background: var(--surface); padding: 28px; display: flex; flex-direction: column; gap: 20px; }
.contact-card .row .mono { display: block; margin-bottom: 4px; }
.contact-card .row p { color: var(--text); }
