:root {
  color-scheme: dark;
  --bg: #0b0c10;
  --bg-alt: #101218;
  --surface: #161922;
  --line: #262a36;
  --text: #f3f4f7;
  --muted: #a4a9b8;
  --accent: #c8ff3d;
  --accent-2: #7c5cff;
  --ink: #0b0c10;
  --radius: 18px;
  --head: "Space Grotesk", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.65 Inter, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img, video, iframe { display: block; max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--head); line-height: 1.12; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 32px; }
h3 { font-size: 1.15rem; }

.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
.narrow { max-width: 760px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 50; background: var(--accent); color: var(--ink); padding: 8px 14px; border-radius: 8px; }

.setup { background: #ffd24a; color: var(--ink); font-size: .88rem; font-weight: 500; text-align: center; padding: 8px 20px; }

/* Navigation */
.nav { position: sticky; top: 0; z-index: 20; background: rgb(11 12 16 / .82); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; font: 700 1.1rem var(--head); }
.logo-mark { width: 14px; height: 14px; border-radius: 4px; background: var(--accent); transform: rotate(45deg); }
.nav nav { display: flex; gap: 30px; font-size: .93rem; color: var(--muted); }
.nav nav a:hover { color: var(--text); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent); color: var(--ink);
  border: 1px solid transparent; border-radius: 999px;
  padding: 13px 24px; font: 600 .95rem Inter, system-ui, sans-serif;
  cursor: pointer; transition: transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgb(200 255 61 / .22); }
.btn-small { padding: 8px 18px; font-size: .87rem; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-dark { background: var(--ink); color: var(--text); }
.btn-line { background: transparent; color: var(--ink); border-color: rgb(11 12 16 / .35); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.center { justify-content: center; }

/* Hero */
.hero { position: relative; padding: 76px 0 90px; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(600px 420px at 80% 30%, rgb(124 92 255 / .22), transparent 70%),
    radial-gradient(500px 360px at 5% 0%, rgb(200 255 61 / .09), transparent 70%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 9px; border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 6px 15px; font-size: .84rem; margin-bottom: 24px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 4px rgb(61 220 132 / .18); }
h1 { font-size: clamp(2.6rem, 6.4vw, 4.6rem); line-height: 1.02; }
h1 em { font-style: normal; color: var(--accent); }
.lead { color: var(--muted); font-size: 1.12rem; max-width: 520px; margin-top: 22px; }
.lead strong { color: var(--text); font-weight: 600; }
.tools { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.tools li { font-size: .82rem; color: var(--muted); border: 1px solid var(--line); border-radius: 8px; padding: 5px 12px; }
.tools .tools-label { flex-basis: 100%; border: 0; padding: 0; font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--text); }
.tools-ai { margin-top: 18px; }

.stage { justify-self: center; width: min(330px, 100%); }
.phone { width: 230px; margin: 0 auto; padding: 8px; border-radius: 36px; background: #1d202b; border: 1px solid #363b4b; box-shadow: 0 40px 80px rgb(0 0 0 / .55); }
.screen { position: relative; aspect-ratio: 9 / 16; border-radius: 28px; overflow: hidden; display: grid; place-items: center; background: linear-gradient(160deg, #3a2a8c, #15162a 55%, #243314); }
.ranks { position: absolute; top: 24px; left: 18px; font: 700 1rem var(--head); line-height: 1.9; text-shadow: 0 2px 6px #000; }
.ranks .on { color: var(--accent); }
.caption { font: 700 2.1rem var(--head); text-align: center; background: var(--accent); color: var(--ink); padding: 2px 14px; border-radius: 10px; transform: rotate(-3deg); }
.caption.pop { animation: pop .35s cubic-bezier(.2, 1.7, .5, 1); }
.progress { position: absolute; left: 16px; right: 16px; bottom: 18px; height: 4px; background: rgb(255 255 255 / .2); border-radius: 4px; overflow: hidden; }
.progress span { display: block; height: 100%; background: #fff; transform-origin: left; animation: fill 6s linear infinite; }
.timeline { position: relative; margin-top: -46px; padding: 12px; background: rgb(22 25 34 / .94); border: 1px solid var(--line); border-radius: 14px; display: grid; gap: 6px; box-shadow: 0 20px 40px rgb(0 0 0 / .45); }
.track { display: flex; gap: 3px; height: 14px; }
.track i { background: var(--accent-2); border-radius: 4px; }
.track-b i { background: var(--accent); opacity: .85; }
.track-c i { background: #2fb7a3; height: 10px; }
.playhead { position: absolute; top: 5px; bottom: 5px; width: 2px; background: #fff; left: 12px; animation: scrub 6s linear infinite; }
@keyframes pop { from { transform: rotate(-3deg) scale(.6); } to { transform: rotate(-3deg) scale(1); } }
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes scrub { from { left: 12px; } to { left: calc(100% - 14px); } }

/* Stats */
.stats { border-block: 1px solid var(--line); background: var(--bg-alt); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; padding-block: 34px; }
.stats-grid div { display: flex; flex-direction: column-reverse; justify-content: flex-end; }
.stats-grid dd { font: 700 2.3rem var(--head); color: var(--accent); }
.stats-grid dt { color: var(--muted); font-size: .88rem; line-height: 1.45; }

/* Sections */
.section { padding: 96px 0; }
.alt { background: var(--bg-alt); border-block: 1px solid var(--line); }
.eyebrow { color: var(--accent); font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 10px; }

/* Videos */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.filters button { background: transparent; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 7px 17px; font: 500 .88rem Inter, system-ui, sans-serif; cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--text); color: var(--ink); border-color: var(--text); }
.videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.video {
  position: relative; display: block; width: 100%; aspect-ratio: 9 / 16; overflow: hidden;
  background: linear-gradient(165deg, #292250, var(--surface) 60%);
  border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--text); text-align: left; cursor: pointer; transition: transform .25s, border-color .25s;
}
.video:hover:not(:disabled) { transform: translateY(-5px); border-color: var(--accent); }
.video:disabled { cursor: default; }
.video > img, .video > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.play { position: absolute; top: 50%; left: 50%; translate: -50% -50%; width: 58px; height: 58px; border-radius: 50%; background: rgb(11 12 16 / .65); border: 1px solid rgb(255 255 255 / .35); display: grid; place-items: center; }
.play::after { content: ""; border-style: solid; border-width: 9px 0 9px 15px; border-color: transparent transparent transparent #fff; margin-left: 4px; }
.video:disabled .play { opacity: .4; }
.meta { position: absolute; inset: auto 0 0; padding: 60px 16px 16px; background: linear-gradient(transparent, rgb(0 0 0 / .88)); }
.meta b { display: block; font: 700 1rem/1.3 var(--head); }
.meta small { color: var(--muted); font-size: .8rem; }
.badge { position: absolute; top: 12px; left: 12px; background: var(--accent); color: var(--ink); font-size: .76rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; }

/* Services and steps */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; transition: border-color .25s; }
.card:hover { border-color: var(--accent-2); }
.card-wide { grid-column: 1 / -1; border-color: var(--accent-2); }
.card-wide .num { color: var(--accent); }
.num { display: block; font: 700 .85rem var(--head); color: var(--accent-2); margin-bottom: 18px; }
.card p, .steps p, .about p { color: var(--muted); margin-top: 10px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.steps li { counter-increment: step; border-top: 2px solid var(--line); padding-top: 20px; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--accent); color: var(--ink); font: 700 .95rem var(--head); margin-bottom: 16px; }

/* Send footage */
.send { padding-top: 0; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 5vw, 44px); }
.panel h2 { margin-bottom: 12px; }
.panel-intro, .upload p, .tip { color: var(--muted); }
.upload { counter-reset: upload; display: grid; gap: 22px; margin-block: 30px; }
.upload li { counter-increment: upload; display: grid; grid-template-columns: 34px 1fr; column-gap: 16px; }
.upload li::before { content: counter(upload); grid-row: span 2; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--accent); color: var(--ink); font: 700 .95rem var(--head); }
.upload p { margin-top: 4px; overflow-wrap: anywhere; }
.upload strong { color: var(--text); font-weight: 600; }
.tip { font-size: .88rem; border-left: 2px solid var(--accent-2); padding-left: 14px; margin-bottom: 26px; }
.text-link { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* Pricing */
.price-panel { text-align: center; border-color: var(--accent-2); }
.price { font: 700 clamp(2.6rem, 9vw, 4.2rem)/1.1 var(--head); color: var(--accent); margin-bottom: 16px; }
.price small { display: block; font: 500 .9rem Inter, system-ui, sans-serif; color: var(--muted); margin-top: 6px; }
.price-panel .panel-intro { max-width: 440px; margin: 0 auto 26px; }

/* About */
.about { display: grid; grid-template-columns: 340px 1fr; gap: 60px; align-items: start; }
.about h2 { margin-bottom: 12px; }
.about-photo { aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; display: grid; place-items: center; background: linear-gradient(150deg, var(--accent-2), #1b1d2c 70%); font: 700 4.5rem var(--head); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.history { margin-top: 30px; display: grid; gap: 22px; }
.history li { border-left: 2px solid var(--accent); padding-left: 20px; }
.history span { display: inline-block; font: 500 .75rem Inter, system-ui, sans-serif; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 2px 10px; margin-left: 8px; vertical-align: middle; letter-spacing: 0; }
.history p { margin-top: 6px; }

/* FAQ */
details { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; padding: 20px 0; font: 700 1.08rem var(--head); }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--accent); font-size: 1.4rem; line-height: 1; }
details[open] summary::after { content: "−"; }
details p { color: var(--muted); padding-bottom: 20px; }

/* Contact */
.cta { background: var(--accent); color: var(--ink); border-radius: 30px; padding: 70px 24px; text-align: center; }
.cta h2 { margin-bottom: 14px; font-size: clamp(2.2rem, 5vw, 3.6rem); }
.cta > p { max-width: 520px; margin-inline: auto; }
.email { margin-top: 18px; font-weight: 600; overflow-wrap: anywhere; }
.links { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; margin-top: 26px; font-size: .92rem; font-weight: 500; }
.links a { text-decoration: underline; text-underline-offset: 4px; }
.cta :focus-visible { outline-color: var(--ink); }

.footer { display: flex; justify-content: space-between; gap: 16px; padding-block: 30px 44px; color: var(--muted); font-size: .87rem; }

/* Video popup */
dialog { margin: auto; width: min(400px, 100% - 24px, (96vh - 120px) * .5625 + 26px); min-width: 240px; max-height: 96vh; background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; }
dialog::backdrop { background: rgb(0 0 0 / .85); }
.close { display: block; margin-left: auto; background: none; border: 0; color: var(--text); font-size: 1.8rem; line-height: 1; cursor: pointer; padding: 0 6px 8px; }
#player-body > * { width: 100%; aspect-ratio: 9 / 16; border: 0; border-radius: 10px; background: #000; }
#player-link { display: block; text-align: center; font-size: .82rem; color: var(--muted); margin-top: 10px; text-decoration: underline; }

/* Scroll animation */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s, transform .6s; }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 880px) {
  .nav nav { display: none; }
  .hero { padding-top: 48px; }
  .hero-grid, .about { grid-template-columns: 1fr; }
  .steps, .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .about-photo { max-width: 300px; }
}
@media (max-width: 580px) {
  .section { padding: 68px 0; }
  .cards, .steps { grid-template-columns: 1fr; }
  .videos { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .play { width: 46px; height: 46px; }
  .hero .actions .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
