:root {
  --bg: #0b0b10;
  --bg-2: #111118;
  --card: rgba(255, 255, 255, 0.03);
  --line: rgba(255, 255, 255, 0.07);
  --line-2: rgba(255, 255, 255, 0.13);
  --text: #ededf4;
  --muted: #9494aa;
  --accent: #7c4dff;
  --accent-2: #b39dff;
  --accent-glow: rgba(124, 77, 255, 0.32);
  --radius: 14px;
  --font: "Space Grotesk", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
figure { margin: 0; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.mono { font-family: var(--mono); }
.muted { color: var(--muted); }
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; border-radius: 6px; }

/* Banner */
.banner {
  display: flex; justify-content: center; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 8px 16px; font-size: 13.5px; color: var(--muted);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, transparent, rgba(124,77,255,.12), transparent);
}
.banner a { color: var(--accent-2); font-weight: 500; }
.banner .sep { opacity: .5; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 3px rgba(74,222,128,.15); }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(11, 11, 16, 0.72);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.logo { font-weight: 700; font-size: 19px; letter-spacing: -0.02em; }
.logo span { color: var(--accent-2); }
.links { display: flex; gap: 30px; font-size: 14.5px; color: var(--muted); }
.links a { transition: color .15s; }
.links a:hover { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.lang {
  font: 500 12px var(--mono); color: var(--muted);
  background: transparent; border: 1px solid var(--line-2); border-radius: 8px;
  padding: 6px 9px; cursor: pointer; transition: color .15s, border-color .15s;
}
.lang:hover { color: var(--text); border-color: var(--accent); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 11px; font-weight: 600; font-size: 15px;
  border: 1px solid transparent; transition: transform .15s, box-shadow .2s, background .2s, border-color .2s;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 8px 14px; font-size: 14px; border-radius: 9px; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 8px 24px -8px var(--accent-glow); }
.btn-primary:hover { background: #8a5fff; box-shadow: 0 1px 0 rgba(255,255,255,.2) inset, 0 12px 32px -8px rgba(124,77,255,.6); }
.btn-ghost { background: var(--card); border-color: var(--line-2); }
.btn-ghost:hover { border-color: rgba(179,157,255,.5); background: rgba(124,77,255,.06); }

/* Hero */
.hero { position: relative; padding: 96px 0 72px; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 55% at 78% 35%, rgba(124,77,255,.22), transparent 70%),
    radial-gradient(ellipse 40% 40% at 10% 0%, rgba(124,77,255,.08), transparent 70%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%);
  opacity: .55;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.eyebrow {
  display: flex; align-items: center; gap: 10px;
  color: var(--accent-2); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 20px;
}
.eyebrow .line { width: 24px; height: 1px; background: var(--accent-2); }
h1 {
  font-size: clamp(38px, 5.2vw, 62px); line-height: 1.04; letter-spacing: -0.04em;
  margin: 0 0 20px; font-weight: 700; text-wrap: balance;
}
.lead { color: var(--muted); font-size: 18px; max-width: 32em; margin: 0 0 32px; text-wrap: pretty; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.tools {
  display: flex; flex-wrap: wrap; gap: 6px 0; list-style: none; padding: 0; margin: 36px 0 0;
  font-size: 12px; color: var(--muted); letter-spacing: .02em;
}
.tools li + li::before { content: "·"; margin: 0 12px; color: var(--line-2); }

/* Video clips (YouTube without its UI) */
.clip {
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden;
  background: #07070b center / cover no-repeat;
  border: 1px solid var(--line-2);
  isolation: isolate;
}
.clip-hero { box-shadow: 0 40px 100px -30px rgba(124,77,255,.45), 0 0 0 1px rgba(124,77,255,.18); }
.clip iframe {
  position: absolute; z-index: 0; border: 0; pointer-events: none;
  /* oversize slightly so YouTube's edges and overlays stay out of frame */
  top: -6%; left: -6%; width: 112%; height: 112%;
}
.clip .poster {
  position: absolute; inset: 0; z-index: 1;
  background: inherit; background-size: cover; background-position: center;
  transition: opacity .6s ease;
}
.clip.playing .poster { opacity: 0; }
.clip .shade {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(to top, rgba(7,7,11,.45), transparent 35%);
}
.clip .sound {
  position: absolute; z-index: 3; right: 12px; bottom: 12px;
  display: inline-flex; align-items: center; gap: 7px;
  height: 34px; padding: 0 12px; border-radius: 999px;
  font: 500 12px var(--mono); color: var(--text);
  background: rgba(11,11,16,.6); border: 1px solid var(--line-2);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  cursor: pointer; transition: background .15s, border-color .15s, opacity .2s;
  opacity: 0;
}
.clip.playing .sound, .clip .sound:focus-visible { opacity: 1; }
.clip .sound:hover { border-color: rgba(179,157,255,.6); background: rgba(124,77,255,.25); }
.clip .sound svg { width: 15px; height: 15px; }
.clip .sound .on { display: none; }
.clip.unmuted .sound .on { display: block; }
.clip.unmuted .sound .off { display: none; }
.clip.unmuted .sound { border-color: rgba(179,157,255,.6); background: rgba(124,77,255,.3); }
.clip .start {
  position: absolute; z-index: 3; left: 50%; top: 50%; translate: -50% -50%;
  width: 58px; height: 58px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); cursor: pointer;
  background: rgba(11,11,16,.55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.clip .start::before {
  content: ""; position: absolute; left: 23px; top: 18px;
  border-style: solid; border-width: 11px 0 11px 17px; border-color: transparent transparent transparent #fff;
}
.clip.playing .start { display: none; }

/* Stats */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--card);
}
.stats > div { padding: 22px 24px; display: flex; flex-direction: column; gap: 2px; }
.stats > div + div { border-left: 1px solid var(--line); }
.stats strong { font-size: 30px; letter-spacing: -0.03em; line-height: 1.15; font-weight: 600; }
.stats span { color: var(--muted); font-size: 13.5px; }

/* Sections */
.section { padding: 112px 0 0; }
.section-head {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: end;
  padding-bottom: 28px; margin-bottom: 36px; border-bottom: 1px solid var(--line);
}
.num { color: var(--accent-2); font-size: 13px; }
h2 { font-size: clamp(30px, 3.4vw, 40px); letter-spacing: -0.035em; margin: 6px 0 0; line-height: 1.1; font-weight: 600; }
.section-head p { color: var(--muted); margin: 0; font-size: 16px; justify-self: end; max-width: 30em; text-wrap: pretty; }

.grid-videos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

/* Plans */
.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.plan {
  display: flex; flex-direction: column; gap: 24px;
  padding: 30px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line);
}
.plan.featured {
  border-color: rgba(124,77,255,.45);
  background: linear-gradient(180deg, rgba(124,77,255,.1), rgba(124,77,255,.015) 60%);
  box-shadow: 0 30px 70px -40px var(--accent-glow);
}
.tag { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-2); }
.plan h3 { font-size: 22px; margin: 10px 0 6px; letter-spacing: -0.02em; font-weight: 600; }
.price { font-size: 44px; font-weight: 600; letter-spacing: -0.04em; margin: 0; line-height: 1.15; }
.price small { font-size: 15px; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.plan .muted { margin: 8px 0 0; }
.feat { list-style: none; padding: 20px 0 0; margin: 0; display: grid; gap: 11px; flex: 1; border-top: 1px solid var(--line); }
.feat li { position: relative; padding-left: 26px; font-size: 15px; }
.feat li::before {
  content: ""; position: absolute; left: 2px; top: .5em; width: 11px; height: 6px;
  border-left: 2px solid var(--accent-2); border-bottom: 2px solid var(--accent-2); rotate: -45deg;
}
.pay { display: flex; }
.pay .btn { flex: 1; }
.secure { margin: -12px 0 0; text-align: center; font-size: 11.5px; color: var(--muted); letter-spacing: .02em; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.steps li { padding: 26px 24px; }
.steps li + li { border-left: 1px solid var(--line); }
.steps span { color: var(--accent-2); font-size: 12.5px; }
.steps h4 { margin: 14px 0 6px; font-size: 17px; letter-spacing: -0.01em; font-weight: 600; }
.steps p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* FAQ */
.faq { margin-top: -36px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; padding: 20px 4px; font-weight: 500; font-size: 17px; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 20px var(--mono); color: var(--accent-2); transition: rotate .2s; }
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { margin: 0 4px 22px; color: var(--muted); max-width: 46em; }

/* CTA band */
.cta-band {
  margin-top: 112px; padding: 44px; border-radius: 18px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  background: radial-gradient(ellipse 60% 120% at 100% 0%, rgba(124,77,255,.3), transparent 60%), var(--bg-2);
  border: 1px solid rgba(124,77,255,.3);
}
.cta-band h2 { margin: 0 0 6px; }
.cta-band p { margin: 0; color: var(--muted); }

/* Footer */
.footer { margin-top: 112px; border-top: 1px solid var(--line); padding: 52px 0 28px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.foot-grid h5 { margin: 0 0 14px; font: 500 11.5px var(--mono); color: var(--muted); letter-spacing: .12em; text-transform: uppercase; }
.foot-grid a:not(.logo) { display: block; color: var(--muted); margin-bottom: 9px; font-size: 14.5px; transition: color .15s; }
.foot-grid a:hover { color: var(--text); }
.foot-grid p { margin: 10px 0 0; font-size: 14.5px; }
.copy { margin-top: 40px; font-size: 11.5px; color: var(--muted); }

/* Responsive */
@media (max-width: 960px) {
  .hero { padding: 64px 0 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .links { display: none; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps li:nth-child(3) { border-left: 0; }
  .steps li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .grid-videos { grid-template-columns: 1fr 1fr; }
  .grid-videos figure:first-child { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats > div:nth-child(3) { border-left: 0; }
  .stats > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .section { padding-top: 80px; }
  .section-head { grid-template-columns: 1fr; gap: 10px; }
  .section-head p { justify-self: start; }
  .grid-videos, .plans { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .steps li + li { border-left: 0; border-top: 1px solid var(--line); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > div:first-child { grid-column: 1 / -1; }
  .cta-band { padding: 30px 26px; margin-top: 80px; }
  .footer { margin-top: 80px; }
  .plan { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .clip .poster { transition: none; }
}
