:root {
  --bg: #050b14;
  --bg-soft: #0a1322;
  --panel: rgba(11, 23, 39, 0.78);
  --panel-strong: rgba(13, 30, 52, 0.94);
  --line: rgba(135, 199, 255, 0.16);
  --ink: #f5fbff;
  --muted: #9eb2c8;
  --blue: #17a9ff;
  --blue-strong: #0875ff;
  --cyan: #28e0d4;
  --gold: #ffb454;
  --danger: #ff6673;
  --ok: #5dffa8;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 14% 12%, rgba(23, 169, 255, 0.22), transparent 30%),
    radial-gradient(circle at 86% 8%, rgba(40, 224, 212, 0.16), transparent 26%),
    radial-gradient(circle at 70% 82%, rgba(255, 180, 84, 0.1), transparent 28%),
    linear-gradient(180deg, #050b14 0%, #07111e 48%, #050b14 100%);
  font-family: "Segoe UI Variable Display", "Aptos Display", "Trebuchet MS", sans-serif;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(135, 199, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(135, 199, 255, 0.045) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.82), transparent 78%);
}

a {
  color: inherit;
  text-decoration: none;
}

.ambient {
  position: fixed;
  z-index: -1;
  pointer-events: none;
  filter: blur(18px);
  opacity: 0.78;
}

.ambient-one {
  width: 420px;
  height: 420px;
  left: -150px;
  top: 120px;
  border-radius: 999px;
  background: rgba(23, 169, 255, 0.18);
}

.ambient-two {
  width: 380px;
  height: 380px;
  right: -130px;
  bottom: 130px;
  border-radius: 999px;
  background: rgba(40, 224, 212, 0.14);
}

.site-shell {
  width: min(1220px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0 58px;
}

.topbar {
  position: sticky;
  top: 16px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 14px;
  margin-bottom: 34px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(5, 11, 20, 0.72);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 15px;
  color: #06101d;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  box-shadow: 0 16px 38px rgba(23, 169, 255, 0.24);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 900;
}

.brand strong,
.brand small {
  display: block;
}

.brand small,
.eyebrow,
.hero p,
.glass-card p,
.pack-card p,
.pack-card li,
.ops-card p,
.command-deck dt,
.command-deck p {
  color: var(--muted);
}

.nav-links,
.hero-actions,
.quick-links,
.trust-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.nav-links a,
.quick-links a,
.trust-row span {
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  color: #d8ecff;
  font-size: 0.92rem;
  font-weight: 800;
}

.nav-links a:hover,
.quick-links a:hover {
  border-color: rgba(40, 224, 212, 0.36);
  background: rgba(40, 224, 212, 0.08);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(330px, 0.72fr);
  gap: 20px;
  align-items: stretch;
  margin-bottom: 18px;
}

.hero-copy,
.command-deck,
.glass-card,
.pack-card,
.ops-card,
.command-strip,
.stats-strip article {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-copy {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  padding: clamp(30px, 6vw, 74px);
  border-radius: 34px;
  background:
    linear-gradient(145deg, rgba(11, 23, 39, 0.86), rgba(5, 11, 20, 0.72)),
    radial-gradient(circle at 88% 18%, rgba(40, 224, 212, 0.18), transparent 34%);
}

.hero-copy::before {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -110px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(40, 224, 212, 0.18);
  border-radius: 44% 56% 50% 50%;
  background:
    radial-gradient(circle at 38% 34%, rgba(23, 169, 255, 0.2), transparent 28%),
    linear-gradient(135deg, rgba(40, 224, 212, 0.12), transparent);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--cyan);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: -0.05em;
}

h1 {
  max-width: 820px;
  font-size: clamp(3rem, 7.4vw, 6.6rem);
  line-height: 0.9;
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.65rem);
  line-height: 1.03;
}

h3 {
  font-size: 1.45rem;
}

.hero p {
  position: relative;
  max-width: 720px;
  margin: 24px 0 0;
  font-size: 1.08rem;
  line-height: 1.72;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 18px;
  margin-top: 30px;
  border-radius: 15px;
  font-weight: 900;
}

.button.primary {
  color: #06101d;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  box-shadow: 0 18px 42px rgba(23, 169, 255, 0.28);
}

.button.secondary {
  border: 1px solid var(--line);
  color: #d9ecff;
  background: rgba(255, 255, 255, 0.06);
}

.trust-row {
  position: relative;
  margin-top: 24px;
}

.command-deck {
  display: grid;
  align-content: space-between;
  min-height: 560px;
  padding: 24px;
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(13, 30, 52, 0.94), rgba(5, 11, 20, 0.94)),
    radial-gradient(circle at top right, rgba(23, 169, 255, 0.22), transparent 38%);
}

.deck-top {
  display: flex;
  align-items: center;
  gap: 11px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.led {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--danger);
  box-shadow: 0 0 0 6px rgba(255, 102, 115, 0.12);
}

.led.ok {
  background: var(--ok);
  box-shadow: 0 0 0 6px rgba(93, 255, 168, 0.13);
}

.deck-screen {
  display: grid;
  gap: 12px;
  padding: 22px;
  margin: 22px 0;
  border: 1px solid rgba(40, 224, 212, 0.18);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(40, 224, 212, 0.1), transparent),
    rgba(255, 255, 255, 0.04);
}

.screen-line {
  display: block;
  width: 78%;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(40, 224, 212, 0.78), rgba(23, 169, 255, 0.22));
}

.screen-line.short {
  width: 54%;
}

.screen-pulse {
  width: fit-content;
  margin-top: 10px;
  padding: 8px 10px;
  border-radius: 999px;
  color: #06101d;
  background: var(--ok);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.12em;
}

.command-deck dl {
  display: grid;
  gap: 12px;
  margin: 0;
}

.command-deck dl div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
}

.command-deck dt {
  margin-bottom: 6px;
  font-size: 0.82rem;
}

.command-deck dd {
  margin: 0;
  font-size: 1.28rem;
  font-weight: 950;
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0 42px;
}

.stats-strip article {
  padding: 18px;
  border-radius: 22px;
}

.stats-strip strong,
.stats-strip span {
  display: block;
}

.stats-strip strong {
  color: var(--cyan);
  font-size: 1.85rem;
  line-height: 1;
}

.stats-strip span {
  margin-top: 8px;
  color: var(--muted);
  font-weight: 800;
}

.section-grid,
.pack-grid,
.ops-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.glass-card,
.pack-card,
.ops-card {
  padding: 24px;
  border-radius: 28px;
}

.span-2 {
  grid-column: span 2;
}

.glass-card p,
.pack-card p,
.ops-card p {
  margin: 14px 0 0;
  line-height: 1.68;
}

.packs {
  margin-top: 58px;
}

.section-title {
  max-width: 720px;
  margin-bottom: 18px;
}

.pack-card {
  position: relative;
  overflow: hidden;
}

.pack-card.featured {
  background:
    linear-gradient(160deg, rgba(8, 117, 255, 0.96), rgba(6, 16, 29, 0.96)),
    radial-gradient(circle at top right, rgba(40, 224, 212, 0.32), transparent 42%);
}

.pack-card.featured p,
.pack-card.featured li {
  color: rgba(245, 251, 255, 0.8);
}

.pack-tag {
  display: inline-flex;
  padding: 8px 11px;
  margin-bottom: 18px;
  border-radius: 999px;
  color: #06101d;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  font-weight: 950;
}

.pack-card ul {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding-left: 18px;
}

.ops-grid {
  margin-top: 58px;
}

.ops-card code {
  color: var(--cyan);
  font-weight: 900;
}

.command-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 58px;
  padding: 24px;
  border-radius: 28px;
  background: var(--panel-strong);
}

@media (max-width: 980px) {
  .topbar,
  .command-strip {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero,
  .section-grid,
  .pack-grid,
  .ops-grid,
  .stats-strip {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .command-deck {
    min-height: auto;
  }

  .span-2 {
    grid-column: span 1;
  }
}

@media (max-width: 620px) {
  .site-shell {
    width: min(100% - 18px, 100%);
    padding-top: 10px;
  }

  .nav-links a,
  .quick-links a,
  .trust-row span {
    width: 100%;
    text-align: center;
  }

  .hero-copy,
  .command-deck,
  .glass-card,
  .pack-card,
  .ops-card,
  .command-strip,
  .stats-strip article {
    border-radius: 22px;
    padding: 20px;
  }

  h1 {
    font-size: 2.75rem;
  }
}
