:root { --bg: #0b0c10; --panel: #14161d; --panel2: #1b1e27; --line: #262a36; --text: #eceef4; --muted: #949aac; --accent: #7c5cff; --accent2: #a48dff; --ok: #2ecc8c; --bad: #ff4d5e; --warn: #ffc400; color-scheme: dark; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--accent2); }
img, svg { max-width: 100%; }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.nav { position: sticky; top: 0; z-index: 10; background: rgba(11, 12, 16, .85); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 18px; height: 60px; }
.logo { font-weight: 800; font-size: 19px; color: var(--text); text-decoration: none; white-space: nowrap; }
.nav nav { display: flex; gap: 18px; margin-left: auto; align-items: center; }
.nav nav a { color: var(--muted); text-decoration: none; font-size: 14px; }
.nav nav a:hover { color: var(--text); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 10px; font-weight: 700; text-decoration: none; border: 1px solid var(--line); background: var(--panel2); color: var(--text); font-size: 15px; cursor: pointer; min-height: 44px; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.primary:hover { background: var(--accent2); }
.btn.small { padding: 8px 14px; font-size: 14px; min-height: 38px; }
.hero { padding: 72px 0 40px; text-align: center; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 600; color: var(--accent2); border: 1px solid #3a2f74; background: #1a1630; padding: 4px 12px; border-radius: 20px; margin-bottom: 18px; }
h1 { font-size: clamp(34px, 6vw, 60px); line-height: 1.07; margin: 0 auto 18px; max-width: 860px; letter-spacing: -.02em; }
h1 em { font-style: normal; color: var(--accent2); }
.lead { font-size: clamp(17px, 2.2vw, 20px); color: var(--muted); max-width: 680px; margin: 0 auto 30px; }
.ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.trust { margin-top: 18px; font-size: 14px; color: var(--muted); }
section { padding: 64px 0; }
h2 { font-size: clamp(26px, 4vw, 38px); margin: 0 0 12px; letter-spacing: -.01em; }
.sub { color: var(--muted); margin: 0 0 34px; max-width: 640px; }
.center { text-align: center; } .center .sub { margin-left: auto; margin-right: auto; }

/* animated demo: a long video → found moments → vertical short */
.demo { margin: 46px auto 0; max-width: 980px; background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 22px; display: grid; grid-template-columns: 1fr 190px; gap: 22px; align-items: center; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.demo-left { min-width: 0; }
.demo-label { font-size: 12px; color: var(--muted); margin: 0 0 6px; display: flex; justify-content: space-between; }
.demo-track { position: relative; height: 74px; background: #0d0e13; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.demo-wave { position: absolute; inset: 0; display: flex; align-items: center; gap: 2px; padding: 0 6px; }
.demo-wave i { flex: 1; background: #2f7f58; border-radius: 1px; min-height: 2px; }
.demo-hit { position: absolute; top: 4px; bottom: 4px; border: 2px solid var(--warn); border-radius: 6px; background: rgba(255, 196, 0, .12); opacity: 0; animation: hit 6s infinite; }
.demo-hit b { position: absolute; top: -1px; left: 4px; font-size: 10px; color: var(--warn); }
.demo-scan { position: absolute; top: 0; bottom: 0; width: 2px; background: #4ea3ff; box-shadow: 0 0 12px #4ea3ff; animation: scan 6s linear infinite; }
@keyframes scan { 0% { left: 0; } 70%, 100% { left: 100%; } }
@keyframes hit { 0%, 12% { opacity: 0; transform: scale(.9); } 18%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.demo-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 16px; }
.demo-steps div { background: var(--panel2); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font-size: 13px; color: var(--muted); }
.demo-steps b { display: block; color: var(--text); font-size: 14px; }
.phone { aspect-ratio: 9 / 16; border-radius: 22px; border: 3px solid #2d3140; background: #000; position: relative; overflow: hidden; }
.phone .scene { position: absolute; inset: 0; background: linear-gradient(160deg, #ff7a59 0%, #c03a8f 45%, #3a1f78 100%); animation: pan 6s ease-in-out infinite alternate; background-size: 220% 220%; }
.phone .road { position: absolute; left: -20%; right: -20%; bottom: 0; height: 38%; background: repeating-linear-gradient(90deg, #1c1c24 0 40px, #23232d 40px 80px); transform: perspective(200px) rotateX(40deg); transform-origin: bottom; }
.phone .car { position: absolute; bottom: 20%; left: 50%; width: 46px; height: 22px; margin-left: -23px; background: #ffd23f; border-radius: 6px 10px 4px 4px; animation: jump 1.6s ease-in-out infinite; }
.phone .hook { position: absolute; top: 12%; left: 8%; right: 8%; text-align: center; font-weight: 900; font-size: 15px; line-height: 1.1; text-shadow: 0 2px 0 #000, 0 0 8px #000; }
.phone .cap { position: absolute; bottom: 30%; left: 0; right: 0; text-align: center; font-weight: 900; font-size: 17px; color: #fff; text-shadow: 0 2px 0 #000, 0 0 10px #000; }
.phone .cap span { color: var(--warn); }
.phone .prog { position: absolute; left: 0; bottom: 0; height: 4px; background: var(--bad); animation: prog 6s linear infinite; }
@keyframes pan { to { background-position: 100% 100%; } }
@keyframes jump { 0%, 100% { transform: translateY(0) rotate(0); } 45% { transform: translateY(-42px) rotate(-12deg); } }
@keyframes prog { from { width: 0; } to { width: 100%; } }
@media (prefers-reduced-motion: reduce) { .demo *, .phone * { animation: none !important; } .demo-hit { opacity: 1; } }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.feature .ic { font-size: 24px; }
.feature h3 { margin: 8px 0 6px; font-size: 18px; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }
.tag { font-size: 11px; font-weight: 700; color: var(--accent2); border: 1px solid #3a2f74; border-radius: 10px; padding: 1px 7px; margin-left: 6px; vertical-align: middle; }

.private { background: linear-gradient(180deg, #10131a, #0b0c10); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.private-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li { padding-left: 32px; position: relative; color: var(--muted); }
.checks li b { color: var(--text); }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; background: #133528; color: var(--ok); font-size: 13px; display: grid; place-items: center; font-weight: 800; }
.flow { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 22px; font-size: 14px; }
.flow .box { border: 1px dashed #3d4357; border-radius: 10px; padding: 14px; text-align: center; }
.flow .box b { display: block; }
.flow .arrow { text-align: center; color: var(--muted); margin: 6px 0; }
.flow .cloud { opacity: .6; text-decoration: line-through; }

.pricing { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 820px; margin: 0 auto; }
.plan { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 26px; display: flex; flex-direction: column; }
.plan.pro { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.plan h3 { margin: 0; font-size: 20px; }
.price { font-size: 34px; font-weight: 800; margin: 8px 0 2px; }
.price small { font-size: 15px; color: var(--muted); font-weight: 500; }
.plan ul { padding-left: 20px; color: var(--muted); margin: 14px 0 22px; flex: 1; }
.signup { display: flex; gap: 8px; flex-wrap: wrap; }
.signup input[type=email] { flex: 1; min-width: 200px; background: #0b0c10; border: 1px solid var(--line); color: var(--text); border-radius: 10px; padding: 11px 14px; font: inherit; min-height: 44px; }
.signup .hp { position: absolute; left: -9999px; }
.signup-msg { font-size: 14px; margin-top: 8px; min-height: 1.4em; }
.signup-msg.ok { color: var(--ok); } .signup-msg.err { color: var(--bad); }

.faq { max-width: 780px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; color: var(--accent2); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq p { color: var(--muted); margin: 10px 0 0; }

.final { text-align: center; }
footer { border-top: 1px solid var(--line); padding: 30px 0 40px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; }
footer nav { display: flex; gap: 18px; flex-wrap: wrap; margin-left: auto; }
footer a { color: var(--muted); }

/* legal pages */
.legal { max-width: 760px; margin: 0 auto; padding: 48px 20px 70px; }
.legal h1 { font-size: 36px; text-align: left; margin: 0 0 6px; }
.legal .updated { color: var(--muted); margin: 0 0 30px; }
.legal h2 { font-size: 21px; margin: 34px 0 8px; }
.legal p, .legal li { color: #c9cdd8; }
.legal table { border-collapse: collapse; width: 100%; font-size: 14px; margin: 10px 0; }
.legal td, .legal th { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }

@media (max-width: 860px) {
  .nav nav a.hide-m { display: none; }
  .demo { grid-template-columns: 1fr; }
  .demo .phone { width: 170px; margin: 0 auto; }
  .demo-steps { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .private-grid, .pricing { grid-template-columns: 1fr; }
  .hero { padding-top: 44px; }
  section { padding: 48px 0; }
}
