:root {
  --bg: #0d0d0f;
  --panel: #161618;
  --panel-2: #1d1d20;
  --line: rgba(255, 255, 255, 0.08);
  --text: #f3f3f4;
  --muted: #a1a1a8;
  --red: #ef4444;
  --red-soft: #fca5a5;
  --glow: rgba(239, 68, 68, 0.35);
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(900px 620px at 78% 12%, rgba(239, 68, 68, 0.14), transparent 60%),
    radial-gradient(700px 520px at 12% 70%, rgba(252, 165, 165, 0.07), transparent 62%),
    var(--bg);
  color: var(--text);
  font-family: "Segoe UI", Inter, system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
code { font-family: Consolas, "SF Mono", monospace; font-size: 0.92em; color: var(--red-soft); }

/* Falling sparks */
.sparks { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.sparks i {
  position: absolute;
  top: -12px;
  left: var(--x, 50%);
  width: var(--s, 3px);
  height: var(--s, 3px);
  border-radius: 50%;
  background: var(--red-soft);
  box-shadow: 0 0 10px var(--red), 0 0 22px var(--glow);
  opacity: 0;
  animation: fall var(--d, 14s) linear var(--delay, 0s) infinite;
}
@keyframes fall {
  0% { transform: translate3d(0, -10vh, 0); opacity: 0; }
  12% { opacity: var(--alpha, 0.5); }
  88% { opacity: var(--alpha, 0.5); }
  100% { transform: translate3d(var(--drift, 40px), 110vh, 0); opacity: 0; }
}

.topbar {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 22px 24px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  font-weight: 900;
  color: white;
  background: linear-gradient(145deg, #ef4444, #991b1b);
  box-shadow: 0 0 24px var(--glow);
}
.brand-name { font-weight: 900; letter-spacing: 0.16em; font-size: 14px; }
.brand-name span { color: var(--muted); font-weight: 600; margin-left: 5px; }
.topbar nav { display: flex; gap: 26px; color: var(--muted); font-size: 14px; }
.topbar nav a:hover { color: var(--text); }
.nav-cta {
  padding: 9px 16px;
  border: 1px solid rgba(239, 68, 68, 0.5);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: var(--red-soft);
  transition: 0.2s ease;
}
.nav-cta:hover { background: rgba(239, 68, 68, 0.14); box-shadow: 0 0 24px var(--glow); }

main { position: relative; z-index: 2; }
section { max-width: 1160px; margin: 0 auto; padding: 72px 24px; }

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 56px;
  min-height: 620px;
  padding-top: 48px;
}
.eyebrow, .kicker {
  display: inline-block;
  color: var(--red-soft);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.hero h1 {
  margin: 18px 0 4px;
  font-size: clamp(52px, 7vw, 86px);
  line-height: 0.98;
  letter-spacing: -0.05em;
  font-weight: 900;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(120deg, #fca5a5, #ef4444 60%, #991b1b);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 22px var(--glow));
}
.tagline { margin: 14px 0 8px; font-size: clamp(20px, 2.4vw, 27px); font-weight: 700; }
.lede { max-width: 540px; color: var(--muted); font-size: 16px; }
.lede strong { color: var(--text); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn.primary {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, #ef4444, #b91c1c);
  box-shadow: 0 12px 34px rgba(185, 28, 28, 0.35);
}
.btn.primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 42%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
  pointer-events: none;
  animation: shine 4.5s ease-in-out infinite;
}
@keyframes shine {
  0%, 58% { left: -60%; }
  100% { left: 140%; }
}
.btn.primary:hover { box-shadow: 0 16px 44px rgba(239, 68, 68, 0.5); }
.btn.primary > span { position: relative; z-index: 1; }
.btn.ghost { border-color: var(--line); color: var(--text); background: rgba(255, 255, 255, 0.03); }
.btn.ghost:hover { background: rgba(255, 255, 255, 0.07); }
.micro { margin-top: 14px; color: #7f7f87; font-size: 12px; }
.micro code { color: var(--red-soft); }
.trust-row { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 26px; color: var(--muted); font-size: 12px; }
.trust-row b { color: var(--text); }

.hero-visual { position: relative; min-height: 420px; display: grid; place-items: center; }
.halo {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--glow), transparent 66%);
  filter: blur(18px);
  animation: breathe 5s ease-in-out infinite;
}
@keyframes breathe { 50% { transform: scale(1.12); opacity: 0.75; } }
.launcher-card {
  position: relative;
  width: min(100%, 560px);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(160deg, #202024, #121214);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 60px rgba(239, 68, 68, 0.12);
  overflow: hidden;
  animation: floaty 7s ease-in-out infinite;
}
@keyframes floaty { 50% { transform: translateY(-10px); } }
.launcher-top {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 14px;
  background: #101012;
  border-bottom: 1px solid var(--line);
}
.dot { width: 9px; height: 9px; border-radius: 50%; background: #4b4b50; }
.dot.red { background: var(--red); box-shadow: 0 0 12px var(--glow); }
.win-title { margin-left: auto; color: #77777e; font-size: 11px; letter-spacing: 0.08em; }
.launcher-body { display: grid; grid-template-columns: 74px 1fr; min-height: 330px; }
.mini-sidebar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 20px 8px;
  background: #131315;
  border-right: 1px solid var(--line);
}
.mini-nav { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; color: #6f6f76; font-size: 15px; }
.mini-nav.on { color: var(--red-soft); background: rgba(239, 68, 68, 0.12); box-shadow: inset 0 0 18px rgba(239, 68, 68, 0.12); }
.mini-brand {
  margin-top: auto;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  color: #fff;
  text-shadow: 0 0 14px var(--red);
}
.mini-sidebar small { color: #6f6f76; font-size: 9px; }
.mini-main { padding: 24px; }
.mini-main h3 { margin: 0; font-size: 20px; }
.mini-main > p { margin: 4px 0 20px; color: var(--muted); font-size: 11px; }
.version-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 9px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  font-size: 12px;
}
.version-row span { color: #7e7e86; font-size: 10px; }
.version-row.active {
  border-color: rgba(239, 68, 68, 0.55);
  background: rgba(239, 68, 68, 0.1);
  box-shadow: 0 0 24px rgba(239, 68, 68, 0.12);
}
.version-row.active b { color: var(--red-soft); }
.mini-footer { margin-top: 18px; color: #74747b; font-size: 10px; letter-spacing: 0.08em; }

/* Hero logo */
.logo-card {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 18px;
  width: min(100%, 480px);
  padding: 54px 36px 34px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: radial-gradient(circle at 50% 30%, rgba(239, 68, 68, 0.14), transparent 62%), linear-gradient(160deg, #202024, #121214);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 60px rgba(239, 68, 68, 0.12);
  animation: floaty 7s ease-in-out infinite;
}
.hero-logo {
  width: min(220px, 60%);
  height: auto;
  filter: drop-shadow(0 0 26px rgba(239, 68, 68, 0.45));
}
.logo-caption {
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 900;
  letter-spacing: 0.16em;
  line-height: 1;
  text-shadow: 0 0 26px var(--glow);
}
.logo-caption span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.42em;
}
.logo-foot { color: #74747b; font-size: 11px; letter-spacing: 0.16em; }

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  padding: 0 24px;
  margin-top: -30px;
}
.stats > div {
  padding: 22px;
  text-align: center;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
  border-radius: 14px;
  margin: 0 5px;
}
.stats b { display: block; font-size: 24px; color: var(--red-soft); }
.stats span { color: var(--muted); font-size: 12px; }

.section-head { max-width: 640px; margin-bottom: 38px; }
.section-head h2, .download h2 { margin: 10px 0 8px; font-size: clamp(30px, 4vw, 44px); line-height: 1.1; letter-spacing: -0.03em; }
.section-head p, .download p { color: var(--muted); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.feature:hover {
  transform: translateY(-4px);
  border-color: rgba(239, 68, 68, 0.4);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35), 0 0 30px rgba(239, 68, 68, 0.08);
}
.feature-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  border-radius: 12px;
  background: rgba(239, 68, 68, 0.12);
  color: var(--red-soft);
  font-size: 19px;
}
.feature h3 { margin: 0 0 8px; font-size: 17px; }
.feature p { margin: 0; color: var(--muted); font-size: 14px; }
.feature em { color: var(--text); }

.screenshots { padding-top: 30px; }
.shot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.shot {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  margin: 0;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: radial-gradient(circle at 50% 35%, rgba(239, 68, 68, 0.13), transparent 60%), #151517;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.shot:hover {
  transform: translateY(-4px);
  border-color: rgba(239, 68, 68, 0.45);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.4), 0 0 30px rgba(239, 68, 68, 0.1);
}
.shot img { display: block; width: 100%; height: 100%; object-fit: cover; }
.shot::before {
  content: attr(data-label);
  position: absolute;
  padding: 10px 16px;
  border: 1px dashed rgba(252, 165, 165, 0.45);
  border-radius: 10px;
  color: var(--red-soft);
  font-size: 12px;
  letter-spacing: 0.08em;
  opacity: 0;
  pointer-events: none;
}
.shot.empty::before { opacity: 1; }
.shot.empty img { display: none; }
.shot figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(13, 13, 15, 0.82);
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 11px;
  letter-spacing: 0.05em;
}

.download { padding-top: 30px; }
.download-card {
  position: relative;
  overflow: hidden;
  padding: 46px;
  border: 1px solid rgba(239, 68, 68, 0.25);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(239, 68, 68, 0.1), rgba(255, 255, 255, 0.02) 55%);
  box-shadow: 0 0 70px rgba(239, 68, 68, 0.08);
}
.download-card::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--glow), transparent 70%);
  pointer-events: none;
}
.download-card > * { position: relative; z-index: 1; }
.download ol { max-width: 640px; padding-left: 20px; color: var(--muted); }
.download li { margin: 10px 0; }
.download li b { color: var(--text); }
.download-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }

.faq-list { display: grid; gap: 12px; max-width: 820px; }
details {
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
}
summary { cursor: pointer; font-weight: 700; }
summary::marker { color: var(--red); }
details p { margin: 12px 0 0; color: var(--muted); font-size: 14px; }

footer {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 28px 24px 40px;
  border-top: 1px solid var(--line);
  color: #77777e;
  font-size: 12px;
}
.footer-brand { font-weight: 900; letter-spacing: 0.18em; color: var(--text); text-shadow: 0 0 16px var(--glow); }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 30px; }
  .hero-visual { min-height: 360px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .shot-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 12px; }
  .topbar nav { display: none; }
}
@media (max-width: 620px) {
  section { padding: 52px 18px; }
  .hero h1 { font-size: 50px; }
  .feature-grid { grid-template-columns: 1fr; }
  .shot-grid { grid-template-columns: 1fr; }
  .download-card { padding: 28px 22px; }
  .nav-cta { display: none; }
  .stats { margin-top: 0; }
  footer { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; scroll-behavior: auto !important; }
}
