* {
  box-sizing: border-box;
}

:root {
  color-scheme: dark;
  --bg: #060816;
  --bg2: #0a1430;
  --bg3: #071a2f;
  --panel: rgba(8, 17, 42, 0.78);
  --panel-strong: rgba(10, 22, 52, 0.92);
  --line: rgba(109, 190, 255, 0.22);
  --cyan: #61e3ff;
  --blue: #4f7bff;
  --teal: #67d8ff;
  --text: #eef4ff;
  --muted: #a5b6da;
  --warn: #ffcf6b;
  --mx: 50vw;
  --my: 22vh;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background:
    radial-gradient(circle at top, rgba(79, 123, 255, 0.22), transparent 32%),
    radial-gradient(circle at 80% 20%, rgba(47, 245, 200, 0.12), transparent 22%),
    linear-gradient(180deg, var(--bg2) 0%, var(--bg) 62%);
  color: var(--text);
  font-family: "Noto Sans SC", sans-serif;
}

body {
  position: relative;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 14% 18%, rgba(97, 227, 255, 0.12), transparent 0, transparent 24%),
    radial-gradient(circle at 84% 14%, rgba(79, 123, 255, 0.12), transparent 0, transparent 22%),
    radial-gradient(circle at 52% 78%, rgba(103, 216, 255, 0.08), transparent 0, transparent 26%),
    radial-gradient(circle at 24% 82%, rgba(79, 123, 255, 0.08), transparent 0, transparent 24%),
    linear-gradient(180deg, var(--bg3) 0%, var(--bg2) 36%, var(--bg) 100%);
}

.backdrop,
.grid,
.noise,
.cursor-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.backdrop {
  background:
    radial-gradient(circle at 18% 20%, rgba(97, 227, 255, 0.18), transparent 0, transparent 20%),
    radial-gradient(circle at 82% 18%, rgba(79, 123, 255, 0.15), transparent 0, transparent 21%),
    radial-gradient(circle at 48% 72%, rgba(103, 216, 255, 0.1), transparent 0, transparent 19%),
    radial-gradient(circle at 76% 68%, rgba(97, 227, 255, 0.09), transparent 0, transparent 17%);
  filter: blur(42px);
  opacity: 0.88;
}

.grid {
  background-image:
    linear-gradient(rgba(109, 190, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(109, 190, 255, 0.08) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent);
  opacity: 0.42;
}

.noise {
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.065) 0.7px, transparent 0.7px);
  background-size: 18px 18px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.42), transparent 94%);
  opacity: 0.12;
  mix-blend-mode: screen;
}

.cursor-glow {
  background:
    radial-gradient(circle 220px at var(--mx) var(--my), rgba(97, 227, 255, 0.16), transparent 62%),
    radial-gradient(circle 420px at var(--mx) var(--my), rgba(79, 123, 255, 0.09), transparent 68%);
  mix-blend-mode: screen;
  opacity: 0.95;
  transition: background 0.12s ease-out;
}

.shell {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 48px 0 64px;
}

.hero,
.feature-strip,
.modules,
.guide-panel,
.footer-panel {
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(16px);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(320px, 420px);
  gap: 28px;
  padding: 38px;
  border-radius: 30px;
}

.eyebrow,
.label,
.tag,
.status,
code,
h1,
h2,
h3,
.step-index {
  font-family: "Orbitron", sans-serif;
}

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

h1 {
  margin: 0 0 16px;
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1.05;
}

.lede {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid rgba(97, 227, 255, 0.25);
  color: var(--text);
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 24px rgba(97, 227, 255, 0.18);
  border-color: rgba(97, 227, 255, 0.5);
}

.primary {
  background: rgba(97, 227, 255, 0.08);
  color: var(--text);
  border: 1px solid rgba(97, 227, 255, 0.25);
  font-weight: 700;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.025), 0 0 16px rgba(97, 227, 255, 0.1);
}

.secondary {
  background: rgba(97, 227, 255, 0.08);
}

.ghost {
  background: rgba(255, 255, 255, 0.04);
}

.hero-button {
  background: rgba(97, 227, 255, 0.08);
  color: var(--text);
  border: 1px solid rgba(97, 227, 255, 0.25);
  font-weight: 700;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.025), 0 0 16px rgba(97, 227, 255, 0.1);
}

.hero-button:hover {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04), 0 0 24px rgba(97, 227, 255, 0.18);
}

.module-card .button,
.guide-step .button {
  background: rgba(97, 227, 255, 0.08);
  color: var(--text);
  border: 1px solid rgba(97, 227, 255, 0.25);
  font-weight: 700;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.025), 0 0 16px rgba(97, 227, 255, 0.1);
}

.module-card .button:hover,
.guide-step .button:hover {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04), 0 0 24px rgba(97, 227, 255, 0.18);
}

.signal-card {
  padding: 22px 22px 18px;
  border-radius: 24px;
  background: var(--panel-strong);
  border: 1px solid rgba(97, 227, 255, 0.18);
}

.signal-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--cyan);
  font-family: "Orbitron", sans-serif;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.live {
  background: var(--teal);
  box-shadow: 0 0 12px var(--teal);
}

.signal-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.9;
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 22px;
  border-radius: 26px;
  overflow: hidden;
}

.feature-strip article {
  padding: 26px 24px 28px;
  border-right: 1px solid var(--line);
}

.feature-strip article:last-child {
  border-right: none;
}

.label {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--cyan);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
}

.feature-strip h2 {
  margin: 0 0 12px;
  font-size: 1.2rem;
}

.feature-strip p,
.guide-step p,
.module-card p,
.footer-panel p:last-child {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.modules,
.guide-panel {
  margin-top: 26px;
  border-radius: 30px;
  padding: 34px;
}

.section-title h2 {
  margin: 0;
  font-size: 2rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 24px;
}

.cards.three-up {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.module-card,
.guide-step {
  padding: 26px;
  border-radius: 24px;
  background: rgba(6, 16, 38, 0.74);
  border: 1px solid rgba(109, 190, 255, 0.16);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.module-card::before,
.guide-step::before {
  content: "";
  position: absolute;
  inset: -1px;
  background:
    radial-gradient(circle at top right, rgba(97, 227, 255, 0.12), transparent 34%);
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.module-card::after,
.guide-step::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background:
    conic-gradient(
      from 0deg,
      rgba(97, 227, 255, 0.04) 0deg,
      rgba(97, 227, 255, 0.86) 46deg,
      rgba(79, 123, 255, 0.14) 112deg,
      rgba(103, 216, 255, 0.76) 182deg,
      rgba(97, 227, 255, 0.08) 250deg,
      rgba(79, 123, 255, 0.82) 312deg,
      rgba(97, 227, 255, 0.04) 360deg
    );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: 0.58;
  filter: saturate(1.18) blur(0.25px);
  animation: border-orbit 6.8s linear infinite;
  pointer-events: none;
  z-index: 0;
}

.module-card:hover::before,
.guide-step:hover::before {
  opacity: 1;
}

.module-card:hover::after,
.guide-step:hover::after {
  opacity: 0.92;
  filter: saturate(1.32) blur(0.2px) drop-shadow(0 0 14px rgba(97, 227, 255, 0.24));
}

.module-card > *,
.guide-step > * {
  position: relative;
  z-index: 1;
}

.highlight {
  background:
    linear-gradient(180deg, rgba(8, 20, 46, 0.96), rgba(7, 18, 36, 0.88)),
    radial-gradient(circle at top right, rgba(97, 227, 255, 0.14), transparent 32%);
  border-color: rgba(97, 227, 255, 0.34);
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.tag,
.status {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tag {
  background: rgba(79, 123, 255, 0.16);
  color: var(--cyan);
}

.status.pending {
  background: rgba(255, 207, 107, 0.14);
  color: var(--warn);
}

.status.locked {
  background: rgba(97, 227, 255, 0.14);
  color: var(--teal);
}

.status.live {
  background: linear-gradient(135deg, rgba(79, 123, 255, 0.18), rgba(97, 227, 255, 0.2));
  color: var(--cyan);
  box-shadow: 0 0 18px rgba(97, 227, 255, 0.22);
}

.module-card h3,
.guide-step h3 {
  margin: 0 0 14px;
  font-size: 1.3rem;
}

.meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 22px 0;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(109, 190, 255, 0.1);
}

.meta span {
  color: var(--muted);
}

code {
  color: var(--cyan);
  font-size: 0.84rem;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 24px;
}

.step-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  border-radius: 50%;
  color: #05101f;
  background: linear-gradient(135deg, rgba(79, 123, 255, 0.95), rgba(97, 227, 255, 0.92));
  font-size: 0.86rem;
}

.footer-panel {
  margin-top: 24px;
  border-radius: 24px;
  padding: 22px 28px;
}

@keyframes border-orbit {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 1100px) {
  .cards.three-up,
  .guide-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .hero,
  .cards,
  .feature-strip {
    grid-template-columns: 1fr;
  }

  .feature-strip article {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .feature-strip article:last-child {
    border-bottom: none;
  }
}

@media (max-width: 640px) {
  .shell {
    width: min(100% - 24px, 1180px);
    padding-top: 24px;
  }

  .hero,
  .modules,
  .guide-panel {
    padding: 22px;
  }

  .button {
    width: 100%;
  }

  .meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .cursor-glow {
    opacity: 0.65;
  }

  .module-card::after,
  .guide-step::after {
    animation-duration: 9.5s;
    opacity: 0.48;
  }
}
