/* KILL — Landing page. CSS moderno (custom properties, clamp, grid, :has, backdrop-filter) */
:root {
  --bg: #080a0f;
  --bg-soft: #0e1118;
  --panel: #141923;
  --panel-2: #1a2030;
  --line: #2a3244;
  --text: #eef1f7;
  --muted: #9aa4b8;
  --red: #ff4d4d;
  --red-deep: #b71c1c;
  --green: #7ee787;
  --radius: 18px;
  --max: 1180px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

#particles {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  opacity: .75;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(circle at 20% 10%, rgba(255,77,77,.10), transparent 42%),
              radial-gradient(circle at 85% 60%, rgba(90,120,255,.08), transparent 45%);
}

/* NAV */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 5vw, 60px);
  background: rgba(8,10,15,.72);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: .18em;
  color: var(--text);
  text-decoration: none;
}
.brand img { width: 32px; height: 32px; filter: drop-shadow(0 0 10px rgba(255,77,77,.5)); }
.brand span { font-size: 1rem; }

.nav-links { display: flex; gap: clamp(14px, 2vw, 30px); }
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: .9rem;
  transition: color .25s var(--ease);
}
.nav-links a:hover { color: var(--text); }

/* BUTTONS */
.btn {
  --mx: 0px; --my: 0px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transform: translate(var(--mx), var(--my));
  transition: transform .18s var(--ease), box-shadow .25s, background .25s, border-color .25s;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .95rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  will-change: transform;
}
.btn:hover { box-shadow: 0 10px 30px rgba(255,77,77,.22); }
.btn-small { padding: 10px 20px; font-size: .85rem; }
.btn-primary {
  background: linear-gradient(135deg, var(--red), var(--red-deep));
  color: #fff;
}
.btn-ghost {
  background: rgba(255,255,255,.03);
  border-color: var(--line);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--red); }

/* SECTIONS */
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(72px, 10vw, 130px) clamp(20px, 5vw, 40px);
  scroll-margin-top: 80px;
}
.section-head { max-width: 760px; margin-bottom: 48px; }
.kicker {
  display: inline-block;
  font-size: .72rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}
h1, h2, h3 { line-height: 1.12; margin: 0 0 18px; }
h1 { font-size: clamp(2.6rem, 6vw, 5rem); letter-spacing: -.04em; }
h2 { font-size: clamp(2rem, 4vw, 3.4rem); letter-spacing: -.03em; }
h3 { font-size: 1.15rem; }
em { font-style: normal; color: var(--red); }
p { color: var(--muted); }

/* SPLIT TEXT animation */
.split .word {
  display: inline-block;
  white-space: nowrap;
}
.split .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(18px) rotate(3deg);
  transition: opacity .55s var(--ease), transform .55s var(--ease);
  transition-delay: calc(var(--i) * 22ms);
}
.split .space { display: inline-block; width: .28em; }
.split.is-visible .char { opacity: 1; transform: none; }

/* HERO */
.hero {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
  min-height: calc(100vh - 80px);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .78rem;
  color: var(--muted);
  margin-bottom: 26px;
  background: rgba(255,255,255,.02);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px var(--green); }
.lead { font-size: clamp(1rem, 1.6vw, 1.2rem); max-width: 54ch; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.command {
  margin-top: 34px;
  display: inline-flex;
  gap: 12px;
  align-items: center;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: .86rem;
  color: #cbd3e2;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 18px;
}
.prompt { color: var(--red); }
.ok { color: var(--green); }

.visual-frame {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 10px;
  background: linear-gradient(160deg, rgba(255,77,77,.12), rgba(255,255,255,.02));
  box-shadow: 0 30px 80px rgba(0,0,0,.55);
}
.visual-frame::before {
  content: "";
  position: absolute; inset: -1px;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--red), transparent 40%);
  opacity: .35;
  z-index: -1;
}
.visual-frame img { display: block; width: 100%; border-radius: 16px; }

/* STATS + QUOTES */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}
.stat {
  padding: 26px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.stat strong { display: block; font-size: 2.6rem; color: var(--red); line-height: 1; }
.stat span { display: block; margin-top: 10px; font-size: .85rem; color: var(--muted); }
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
blockquote {
  margin: 0;
  padding: 24px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-left: 3px solid var(--red);
  border-radius: 14px;
  font-size: .95rem;
}
blockquote cite { display: block; margin-top: 14px; font-size: .8rem; color: var(--red); font-style: normal; }

/* CARDS */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}
.card {
  padding: 30px;
  background: linear-gradient(160deg, var(--panel), var(--bg-soft));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .3s var(--ease), border-color .3s;
}
.card:hover { transform: translateY(-6px); border-color: var(--red); }
.card-icon { font-size: 2rem; margin-bottom: 18px; }
.card p { margin: 0; font-size: .92rem; }

/* STEPS */
.steps { display: grid; gap: 22px; }
.step {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 22px;
  align-items: start;
  padding: 28px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.step-num {
  display: grid; place-items: center;
  width: 54px; height: 54px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--red), var(--red-deep));
  font-weight: 800; font-size: 1.3rem;
}
.step p { margin: 0; }
.step-img {
  grid-column: 1 / -1;
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--line);
  margin-top: 10px;
}

/* DOWNLOAD */
.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
}
.dl-card {
  --mx: 0px; --my: 0px;
  display: block;
  transform: translate(var(--mx), var(--my));
  transition: transform .18s var(--ease), border-color .25s, box-shadow .25s;
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  text-decoration: none;
}
.dl-card:hover { border-color: var(--red); box-shadow: 0 16px 40px rgba(255,77,77,.14); }
.dl-badge {
  display: inline-block;
  font-family: monospace;
  font-size: .8rem;
  color: var(--red);
  border: 1px solid var(--red);
  border-radius: 8px;
  padding: 4px 10px;
  margin-bottom: 16px;
}
.dl-card p { font-family: ui-monospace, monospace; font-size: .8rem; margin: 0 0 18px; }
.dl-cta { font-weight: 700; font-size: .9rem; color: var(--green); }
.note { margin-top: 22px; font-size: .85rem; }
code { background: var(--panel-2); padding: 2px 7px; border-radius: 6px; color: #ffd0d0; }

/* FAQ */
.faq-list { display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: 14px; background: var(--panel); overflow: hidden; }
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: transparent;
  border: 0;
  color: var(--text);
  font: inherit;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}
.faq-q span { color: var(--red); font-size: 1.4rem; transition: transform .3s var(--ease); }
.faq-item.open .faq-q span { transform: rotate(45deg); }
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .35s var(--ease);
}
.faq-a p { overflow: hidden; margin: 0; padding: 0 24px; }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-item.open .faq-a p { padding-bottom: 22px; }
.faq-a a { color: var(--red); }

/* CTA */
.cta { position: relative; text-align: center; overflow: hidden; }
.cta-glow {
  position: absolute;
  left: 50%; top: 20%;
  width: 620px; height: 620px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(255,77,77,.22), transparent 65%);
  filter: blur(20px);
  z-index: -1;
}
.cta-logo { width: 84px; height: 84px; margin-bottom: 28px; filter: drop-shadow(0 0 24px rgba(255,77,77,.6)); }
.cta .hero-actions { justify-content: center; }
.powered { margin-top: 36px; font-size: .85rem; }
.powered strong { color: var(--text); }
.powered a { color: var(--red); }

/* FOOTER */
footer { border-top: 1px solid var(--line); background: var(--bg-soft); }
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 40px clamp(20px, 5vw, 40px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  justify-content: space-between;
}
footer p, .copyright { margin: 0; font-size: .82rem; }

/* Responsive */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 60px; }
  .hero-visual { order: -1; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .split .char { opacity: 1; transform: none; }
}
