:root {
  --bg: #070816;
  --bg-alt: #0b0d22;
  --card: rgba(16, 20, 44, 0.72);
  --line: rgba(255, 255, 255, 0.10);
  --text: #f2f4ff;
  --muted: #a9b3d6;
  --cyan: #22d3ff;
  --red: #ff3b5c;
  --pink: #ff5fa2;
  --violet: #8c5aff;
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
code { background: rgba(34, 211, 255, 0.12); padding: 1px 6px; border-radius: 6px; font-size: 0.92em; }

/* Navigation */
.nav {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; gap: 24px;
  padding: 12px clamp(16px, 4vw, 48px);
  background: rgba(7, 8, 22, 0.78);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 800; font-size: 20px; }
.nav-brand:hover { text-decoration: none; }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a { color: var(--muted); font-weight: 500; }
.nav-links a:hover { color: var(--text); text-decoration: none; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px;
  font-weight: 700; font-size: 17px; color: var(--text);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn-primary {
  background: linear-gradient(100deg, var(--cyan), var(--violet) 55%, var(--red));
  color: #fff; box-shadow: 0 8px 30px rgba(34, 211, 255, 0.28);
}
.btn-primary:hover { box-shadow: 0 10px 36px rgba(255, 59, 92, 0.35); }
.btn-ghost { border: 2px solid rgba(255, 255, 255, 0.75); background: rgba(7, 8, 22, 0.55); }
.btn-ghost:hover { border-color: var(--cyan); }
.btn-small { padding: 8px 18px; font-size: 15px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.06); }

/* Fixed background art; --dim rises as the page scrolls */
.page-art {
  position: fixed; inset: 0; z-index: -1;
  background: url("assets/hero.jpg") 30% top / cover no-repeat;
  --dim: 0;
}
.page-art::before, .page-art::after { content: ""; position: absolute; inset: 0; }
.page-art::before {
  background: linear-gradient(90deg, rgba(7, 8, 22, 0.96) 0%, rgba(7, 8, 22, 0.82) 38%, rgba(7, 8, 22, 0.25) 75%, rgba(7, 8, 22, 0.15) 100%);
  opacity: calc(1 - var(--dim) * 0.5);
}
.page-art::after { background: rgb(7, 8, 22); opacity: calc(var(--dim) * 0.55); }

/* Hero */
.hero {
  position: relative;
  min-height: min(88vh, 860px);
  display: flex; align-items: center;
  padding: 72px clamp(16px, 5vw, 72px);
}
.hero-content { position: relative; max-width: 620px; }
.eyebrow { margin: 0 0 10px; color: var(--cyan); font-weight: 700; letter-spacing: .18em; text-transform: uppercase; font-size: 14px; }
h1 { margin: 0; font-size: clamp(38px, 5.2vw, 64px); line-height: 1.05; letter-spacing: -0.02em; font-weight: 800; text-shadow: 0 6px 30px rgba(0, 0, 0, 0.6); }
.tagline { margin: 14px 0 0; font-size: clamp(22px, 2.6vw, 30px); font-style: italic; font-weight: 700; }
.lead { margin: 14px 0 28px; font-size: clamp(17px, 1.6vw, 20px); color: #dfe4ff; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-note { margin-top: 18px; color: var(--muted); font-size: 14px; letter-spacing: .04em; }

/* Sections */
.section { padding: 88px clamp(16px, 5vw, 72px); max-width: 1240px; margin: 0 auto; }
.section-alt { max-width: none; background: rgba(11, 13, 34, 0.55); backdrop-filter: blur(6px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-alt > .wrap { max-width: 1096px; margin: 0 auto; }
h2 { font-size: clamp(28px, 3.4vw, 40px); margin: 0 0 10px; letter-spacing: -0.01em; }
.section-lead { color: var(--muted); font-size: 18px; margin: 0 0 36px; max-width: 760px; }

/* Feature cards */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 20px; }
.card {
  background: var(--card); backdrop-filter: blur(8px); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; transition: border-color .2s ease, transform .2s ease;
}
.card:hover { border-color: rgba(34, 211, 255, 0.55); transform: translateY(-2px); }
.card h3 { margin: 14px 0 6px; font-size: 20px; }
.card p { margin: 0; color: var(--muted); }
.card-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; }
.card-icon svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.card-icon.cyan { background: linear-gradient(135deg, var(--cyan), #1e6bff); }
.card-icon.red { background: linear-gradient(135deg, var(--red), #ff8a3c); }
.card-icon.pink { background: linear-gradient(135deg, var(--pink), var(--violet)); }

/* Steps */
.steps { list-style: none; padding: 0; margin: 30px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.steps li { display: flex; gap: 16px; background: var(--card); backdrop-filter: blur(8px); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.steps h3 { margin: 2px 0 4px; font-size: 18px; }
.steps p { margin: 0; color: var(--muted); }
.step-num {
  flex: none; width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 800;
  background: rgba(34, 211, 255, 0.14); border: 1px solid var(--cyan); color: var(--cyan);
}

/* Requirements */
.reqs { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; margin-top: 30px; }
.req-card { background: var(--card); backdrop-filter: blur(8px); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; }
.req-card.featured { border: 2px solid transparent; background: linear-gradient(var(--bg-alt), var(--bg-alt)) padding-box, linear-gradient(120deg, var(--cyan), var(--violet), var(--red)) border-box; }
.req-card h3 { margin: 0 0 14px; font-size: 20px; }
.req-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.req-card li { color: #dfe4ff; }
.req-card b { display: inline-block; min-width: 48px; color: var(--cyan); }
.fine { color: var(--muted); font-size: 14px; margin-top: 18px; }

/* Credits */
.credits-text { color: #dfe4ff; font-size: 17px; max-width: 820px; }

/* Footer */
.footer { background: rgba(7, 8, 22, 0.7); border-top: 1px solid var(--line); padding: 48px clamp(16px, 5vw, 72px) 56px; text-align: center; color: var(--muted); font-size: 14px; }
.footer-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 800; font-size: 20px; margin-bottom: 10px; }
.footer p { max-width: 720px; margin: 8px auto; }

@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav .btn-small { margin-left: auto; }
  .hero { min-height: 0; padding-top: 48px; padding-bottom: 64px; }
  .page-art { background-position: 50% center; }
  .page-art::before { background: rgba(7, 8, 22, 0.55); }
  .section { padding-top: 64px; padding-bottom: 64px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .card { transition: none; }
}
