:root {
  --bg: #0a0a12;
  --bg-2: #10101c;
  --panel: #14141f;
  --stroke: #232a3d;
  --ink: #eaf0ff;
  --muted: #9aa3bd;
  --cyan: #59e6ff;
  --gold: #ffcc40;
  --pink: #ff5a9e;
  --max: 1120px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  background-image:
    radial-gradient(1200px 600px at 70% -10%, rgba(89, 230, 255, 0.08), transparent 60%),
    radial-gradient(900px 500px at 10% 110%, rgba(255, 204, 64, 0.06), transparent 55%);
  background-attachment: fixed;
  min-height: 100vh;
}

a {
  color: var(--cyan);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ---------- Header ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: var(--max);
  margin: 0 auto;
  padding: 1rem clamp(1rem, 4vw, 2rem);
  backdrop-filter: blur(10px);
  background: rgba(10, 10, 18, 0.72);
  border-bottom: 1px solid rgba(35, 42, 61, 0.6);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  font-size: 1.15rem;
}

.brand svg {
  width: 40px;
  height: 40px;
  display: block;
}

.brand:hover {
  text-decoration: none;
}

nav {
  display: flex;
  gap: clamp(0.5rem, 3vw, 1.8rem);
  align-items: center;
  flex-wrap: wrap;
}

nav a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.35rem 0.15rem;
  transition: color 0.15s ease;
}

nav a:hover {
  color: var(--cyan);
  text-decoration: none;
}

/* ---------- Layout ---------- */
main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem);
}

section {
  padding: clamp(3.5rem, 9vw, 7rem) 0;
}

h1 {
  font-size: clamp(2.6rem, 9vw, 5.2rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.7rem, 4.5vw, 2.5rem);
  line-height: 1.15;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 0.85rem;
}

.lede {
  color: var(--muted);
  font-size: clamp(1.05rem, 2.4vw, 1.28rem);
  max-width: 44ch;
}

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  min-height: calc(100vh - 70px);
}

.hero .copy p.lede {
  margin: 1.4rem 0 2.1rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(89, 230, 255, 0.08);
  border: 1px solid rgba(89, 230, 255, 0.35);
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.7rem;
  border-radius: 99px;
  margin-bottom: 1.1rem;
}

.cta-row {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--cyan);
  color: #04121a;
  font-weight: 700;
  padding: 0.85rem 1.5rem;
  border-radius: 12px;
  border: 1px solid transparent;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(89, 230, 255, 0.28);
  text-decoration: none;
}

.btn.ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--stroke);
}

.btn.ghost:hover {
  border-color: var(--cyan);
  box-shadow: none;
}

.hero-art {
  position: relative;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.hero-art .ring {
  position: absolute;
  inset: 6%;
  border-radius: 50%;
  border: 2px solid rgba(89, 230, 255, 0.25);
  animation: spin 26s linear infinite;
}

.hero-art .ring.r2 {
  inset: 18%;
  border-color: rgba(89, 230, 255, 0.12);
  animation-duration: 40s;
  animation-direction: reverse;
}

.hero-art .glyphs {
  width: 78%;
  height: 78%;
  animation: spin 30s linear infinite;
}

.hero-art .core {
  position: absolute;
  width: 26%;
  animation: pulse 3.4s ease-in-out infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

/* ---- floating shapes around hero art ---- */
.spark {
  position: absolute;
  width: 12px;
  height: 12px;
  background: var(--c, var(--cyan));
  border-radius: 2px;
  animation: float 5s ease-in-out infinite;
  opacity: 0.85;
}

.spark.s1 { top: 8%; left: 14%; --c: #ff5a59; animation-delay: -1s; }
.spark.s2 { top: 20%; right: 10%; --c: #a45cff; animation-delay: -2.5s; border-radius: 50%; }
.spark.s3 { bottom: 16%; left: 8%; --c: #4de65f; animation-delay: -3.5s; }
.spark.s4 { bottom: 10%; right: 22%; --c: #ff8c40; animation-delay: -0.7s; border-radius: 50%; }
.spark.s5 { top: 46%; left: 2%; --c: #ffcc40; animation-delay: -1.8s; }
.spark.s6 { top: 60%; right: 4%; --c: #ff5a9e; animation-delay: -4s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

/* ---------- Feature grid ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.1rem;
}

.card {
  background: linear-gradient(180deg, var(--panel), var(--bg-2));
  border: 1px solid var(--stroke);
  border-radius: 16px;
  padding: 1.6rem 1.4rem;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.card:hover {
  border-color: rgba(89, 230, 255, 0.5);
  transform: translateY(-3px);
}

.card .ico {
  width: 34px;
  height: 34px;
  margin-bottom: 0.9rem;
}

.card p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---------- Weapon list ---- */
.section-head {
  max-width: 58ch;
  margin-bottom: 2.4rem;
}

.weapon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.9rem;
}

.weapon {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: var(--bg-2);
  border: 1px solid var(--stroke);
  border-radius: 14px;
  padding: 0.95rem 1.1rem;
}

.weapon .mark {
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
}

.weapon .name {
  font-weight: 700;
  font-size: 0.98rem;
}

.weapon .kind {
  color: var(--muted);
  font-size: 0.8rem;
}

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.1rem;
  counter-reset: step;
}

.step {
  position: relative;
  background: var(--bg-2);
  border: 1px solid var(--stroke);
  border-radius: 16px;
  padding: 2.4rem 1.4rem 1.5rem;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -18px;
  left: 1.3rem;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: var(--gold);
  color: #1a1300;
  font-weight: 800;
  border-radius: 10px;
}

.step p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---------- Stats band ---------- */
.band {
  background: linear-gradient(90deg, rgba(89, 230, 255, 0.08), rgba(255, 204, 64, 0.05));
  border: 1px solid var(--stroke);
  border-radius: 20px;
  padding: clamp(1.5rem, 4vw, 2.6rem);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.4rem;
  text-align: center;
}

.stat .num {
  font-size: clamp(2.2rem, 6vw, 3.2rem);
  font-weight: 800;
  color: var(--cyan);
}

.stat .label {
  color: var(--muted);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ---------- CTA panel ---------- */
.cta-panel {
  text-align: center;
  background: linear-gradient(160deg, var(--panel), var(--bg-2));
  border: 1px solid var(--stroke);
  border-radius: 24px;
  padding: clamp(2.4rem, 7vw, 4.5rem) clamp(1.4rem, 5vw, 3rem);
}

.cta-panel p.lede {
  margin: 0.8rem auto 2rem;
  max-width: 50ch;
}

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--stroke);
  margin-top: 2rem;
}

.foot-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.2rem clamp(1rem, 4vw, 2rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.9rem;
}

.foot-inner nav {
  gap: 1.4rem;
}

/* ---------- Legal / prose (privacy) ---------- */
.prose {
  max-width: 72ch;
}

.prose h2 {
  margin-top: 2.4rem;
  font-size: 1.35rem;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p, .prose li {
  color: var(--muted);
}

.prose ul {
  color: var(--muted);
  padding-left: 1.2rem;
  margin: 0.6rem 0;
}

.prose .updated {
  margin-bottom: 2rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.page-head {
  padding-top: clamp(2.5rem, 7vw, 4.5rem);
  padding-bottom: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    min-height: auto;
    padding-top: 2.5rem;
  }
  .hero .copy {
    order: 2;
  }
  .hero .copy p.lede {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-art {
    order: 1;
    width: min(70vw, 360px);
    margin: 0 auto;
  }
  .cta-row {
    justify-content: center;
  }
  header {
    flex-direction: column;
    gap: 0.4rem;
  }
  .section-head {
    margin-left: auto;
    margin-right: auto;
  }
}

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