:root {
  --bg: #0f0f11;
  --bg-2: #161619;
  --card: #1c1c20;
  --card-2: #242429;
  --line: #2c2c32;
  --text: #f5f5f4;
  --muted: #a8a29e;
  --brand-1: #833ab4;
  --brand-2: #fd1d1d;
  --brand-3: #fcb045;
  --grad: linear-gradient(90deg, var(--brand-1), var(--brand-2), var(--brand-3));
  --grad-diag: linear-gradient(135deg, var(--brand-1), var(--brand-2) 55%, var(--brand-3));
  --radius: 18px;
  --shadow: 0 30px 80px rgba(0, 0, 0, .45);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Segoe UI', system-ui, -apple-system, 'Helvetica Neue', Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 28px; } }

.skip { position: absolute; left: -999px; top: 8px; background: var(--text); color: var(--bg); padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

:focus-visible { outline: 2px solid var(--brand-3); outline-offset: 3px; border-radius: 6px; }

.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-3); margin-bottom: 14px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 22px; border-radius: 999px; font-weight: 600; font-size: 16px;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn svg { width: 20px; height: 20px; }
.btn:hover { transform: translateY(-1px); }
.btn-lg { padding: 15px 28px; font-size: 17px; }
.btn-small { padding: 8px 16px; font-size: 14px; }
.btn-primary { background: var(--grad-diag); color: #fff; box-shadow: 0 10px 30px rgba(253, 29, 29, .28); }
.btn-primary:hover { box-shadow: 0 14px 36px rgba(253, 29, 29, .4); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { background: var(--card); }
.btn-light { background: #fff; color: #111; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(15, 15, 17, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid rgba(255,255,255,.06); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; text-decoration: none; letter-spacing: -0.01em; }
.brand img { border-radius: 8px; }
.nav-links { display: none; gap: 28px; }
.nav-links a { text-decoration: none; color: var(--muted); font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.lang { background: transparent; border: 1px solid var(--line); color: var(--muted); border-radius: 999px; font: inherit; font-size: 13px; font-weight: 600; padding: 6px 12px; cursor: pointer; }
.lang:hover { color: var(--text); }
@media (min-width: 900px) { .nav-links { display: flex; } }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 48px 0 24px; }
.glow { position: absolute; inset: -30% -10% auto auto; width: 900px; height: 900px; background: radial-gradient(circle, rgba(253, 29, 29, .22), rgba(131, 58, 180, .12) 40%, transparent 70%); pointer-events: none; }
.hero-inner { position: relative; display: grid; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(36px, 6.4vw, 58px); font-weight: 750; }
.lead { margin-top: 22px; font-size: clamp(17px, 2.2vw, 20px); color: var(--muted); max-width: 560px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.platforms-line { margin-top: 18px; font-size: 14px; color: var(--muted); min-height: 1.6em; }
.platforms { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.platforms li { font-size: 13px; color: var(--muted); border: 1px solid var(--line); padding: 4px 12px; border-radius: 999px; }
@media (min-width: 980px) {
  .hero { padding: 88px 0 56px; }
  .hero-inner { grid-template-columns: 1.1fr 1fr; }
}
@media (max-width: 520px) {
  .hero-ctas .btn { width: 100%; }
}

/* Device mockups */
.hero-visual { position: relative; height: 380px; max-width: 560px; width: 100%; margin: 0 auto; }
.laptop { position: absolute; right: 0; top: 10px; width: 86%; }
.laptop-screen { background: var(--bg-2); border: 8px solid #2a2a2f; border-bottom-width: 12px; border-radius: 14px 14px 4px 4px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 16 / 10.4; }
.laptop-base { height: 12px; margin: 0 -6%; background: linear-gradient(#3a3a40, #222226); border-radius: 0 0 14px 14px; }
.app-bar { display: flex; align-items: center; gap: 6px; padding: 8px 12px; border-bottom: 1px solid var(--line); font-size: 11px; color: var(--muted); }
.app-bar i { width: 8px; height: 8px; border-radius: 50%; background: #3a3a40; }
.app-bar span { margin-left: 8px; font-weight: 600; }
.app-body { display: flex; height: calc(100% - 31px); }
.app-side { width: 30%; border-right: 1px solid var(--line); padding: 12px 10px; display: flex; flex-direction: column; gap: 6px; font-size: 11px; color: var(--muted); }
.app-side b { font-size: 10px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 4px; }
.app-side span { padding: 5px 8px; border-radius: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-side .on { background: var(--card-2); color: var(--text); }
.app-chat { flex: 1; padding: 14px; display: flex; flex-direction: column; gap: 8px; justify-content: flex-end; }
.b { padding: 8px 12px; border-radius: 14px; font-size: 12px; line-height: 1.45; max-width: 88%; }
.b.user { background: var(--grad); color: #fff; align-self: flex-end; font-weight: 500; border-bottom-right-radius: 4px; }
.b.ai { background: var(--card-2); color: var(--text); align-self: flex-start; border-bottom-left-radius: 4px; }
.b.src { font-size: 10.5px; color: var(--muted); background: transparent; border: 1px solid var(--line); padding: 4px 10px; }
.b.sm { font-size: 11px; padding: 7px 10px; max-width: 92%; }

.phone { position: absolute; left: 0; bottom: 0; width: 33%; max-width: 190px; aspect-ratio: 9 / 18.5; background: #0b0b0d; border: 7px solid #2a2a2f; border-radius: 30px; box-shadow: var(--shadow); overflow: hidden; }
.phone-notch { position: absolute; top: 6px; left: 50%; transform: translateX(-50%); width: 36%; height: 14px; background: #2a2a2f; border-radius: 10px; z-index: 2; }
.phone-screen { height: 100%; padding: 34px 10px 14px; display: flex; flex-direction: column; gap: 7px; justify-content: flex-end; background: radial-gradient(circle at 50% 28%, rgba(253, 29, 29, .18), transparent 60%); }
.voice-orb { width: 42%; aspect-ratio: 1; margin: 8px auto 0; border-radius: 50%; background: var(--grad-diag); display: grid; place-items: center; animation: pulse 2.4s ease-in-out infinite; }
.voice-orb span { width: 34%; aspect-ratio: 1; border-radius: 50%; background: #fff; }
.voice-state { text-align: center; font-size: 11px; color: var(--muted); margin: 4px 0 auto; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(253, 29, 29, .45); } 50% { box-shadow: 0 0 0 16px rgba(253, 29, 29, 0); } }
@media (prefers-reduced-motion: reduce) { .voice-orb { animation: none; } html { scroll-behavior: auto; } .btn:hover { transform: none; } }
@media (max-width: 520px) {
  .hero-visual { height: auto; }
  .laptop { display: none; }
  .phone { position: relative; margin: 0 auto; width: 220px; max-width: 220px; }
}

/* Sections */
.section { padding: 64px 0; }
.section-tight { padding: 32px 0; }
@media (min-width: 900px) { .section { padding: 88px 0; } }
.section-head { max-width: 680px; margin-bottom: 44px; }
.section-head h2, .video-copy h2, .final h2 { font-size: clamp(30px, 4.6vw, 44px); font-weight: 720; }
.section-lead { margin-top: 16px; color: var(--muted); font-size: 18px; }

/* Features */
.features { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .features { grid-template-columns: repeat(3, 1fr); } }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: border-color .2s ease; }
.feature:hover { border-color: #3d3d45; }
.feature h3 { font-size: 19px; margin: 18px 0 8px; }
.feature p { color: var(--muted); font-size: 15.5px; }
.ficon { width: 46px; height: 46px; border-radius: 12px; background: var(--grad-diag); display: grid; place-items: center; }
.ficon svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Video */
.video-wrap { display: grid; gap: 32px; align-items: center; }
.video-copy p:last-child { margin-top: 14px; color: var(--muted); font-size: 18px; }
.video-frame { width: 100%; max-width: 340px; margin: 0 auto; border-radius: 28px; overflow: hidden; border: 1px solid var(--line); background: #000; box-shadow: var(--shadow); }
.video-frame video { width: 100%; height: auto; }
@media (min-width: 900px) { .video-wrap { grid-template-columns: 1.2fr 1fr; } }

/* Download */
.dl-detected { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; padding: 24px; border-radius: var(--radius); background: linear-gradient(var(--card), var(--card)) padding-box, var(--grad-diag) border-box; border: 1px solid transparent; margin-bottom: 28px; }
.dl-detected-label { font-size: 13px; color: var(--muted); }
.dl-detected-name { font-size: 22px; font-weight: 700; }
@media (max-width: 520px) { .dl-detected .btn { width: 100%; } }

.tabs { display: flex; gap: 6px; overflow-x: auto; padding: 4px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 999px; width: max-content; max-width: 100%; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { flex: none; font: inherit; font-size: 14px; font-weight: 600; color: var(--muted); background: transparent; border: 0; padding: 9px 16px; border-radius: 999px; cursor: pointer; white-space: nowrap; }
.tabs button[aria-selected="true"] { background: var(--card-2); color: var(--text); }
.panel { margin-top: 20px; }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; gap: 14px; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { counter-increment: s; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 22px 70px; position: relative; display: flex; flex-direction: column; gap: 4px; }
.steps li::before { content: counter(s); position: absolute; left: 22px; top: 20px; width: 32px; height: 32px; border-radius: 50%; background: var(--grad-diag); color: #fff; font-weight: 700; display: grid; place-items: center; font-size: 15px; }
.steps span { color: var(--muted); font-size: 15px; }
.dl-note { margin-top: 24px; color: var(--muted); font-size: 15px; }
.dl-note a { color: var(--text); }

/* Pricing */
.plans { display: grid; gap: 18px; grid-template-columns: 1fr; align-items: stretch; }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(3, 1fr); } }
.plan { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 30px 26px; display: flex; flex-direction: column; }
.plan h3 { font-size: 22px; }
.plan-featured { background: linear-gradient(var(--card), var(--card)) padding-box, var(--grad-diag) border-box; border: 2px solid transparent; }
.badge { position: absolute; top: -13px; left: 26px; background: var(--grad); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.price { margin: 14px 0 20px; display: flex; align-items: baseline; gap: 6px; }
.price span { font-size: 46px; font-weight: 750; letter-spacing: -0.03em; }
.price small { color: var(--muted); font-size: 15px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 11px; flex: 1; align-content: start; }
.plan li { position: relative; padding-left: 28px; font-size: 15px; color: #d6d3d1; }
.plan li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: rgba(252, 176, 69, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='none' stroke='%23fcb045' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='m5.5 10.5 3 3 6-7'/%3E%3C/svg%3E") center / 14px no-repeat; }
.plan .btn { width: 100%; }
.prices-note { margin-top: 18px; font-size: 13px; color: var(--muted); }

/* FAQ */
.faq-wrap { max-width: 820px; }
.faq { display: grid; gap: 10px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 28px 18px 0; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--muted); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding-bottom: 20px; font-size: 15.5px; }

/* Final CTA */
.final { text-align: center; padding: 56px 24px; border-radius: 28px; background: var(--grad-diag); display: flex; flex-direction: column; align-items: center; gap: 24px; }
.final img { border-radius: 18px; box-shadow: 0 12px 30px rgba(0,0,0,.25); }
.final h2 { max-width: 640px; color: #fff; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 32px 0 40px; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 18px 28px; align-items: center; justify-content: space-between; }
.brand-foot { font-size: 16px; }
.brand-foot img { border-radius: 6px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: 14px; }
.footer-links a:hover { color: var(--text); }
.footer-copy { color: var(--muted); font-size: 14px; }
