:root {
  --bg-0: #05070f;
  --bg-1: #0a1120;
  --text-0: #eaf2ff;
  --text-1: #95a4c6;
  --line: rgba(150, 180, 255, 0.2);
  --glass-border: rgba(140, 172, 255, 0.28);
  --neon-blue: #59c3ff;
  --neon-cyan: #4ef4ff;
  --neon-purple: #915dff;
  --max: 980px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text-0);
  background:
    radial-gradient(90% 80% at 10% 0%, rgba(78, 244, 255, 0.2), transparent 55%),
    radial-gradient(70% 80% at 100% 0%, rgba(145, 93, 255, 0.22), transparent 50%),
    linear-gradient(165deg, var(--bg-0), var(--bg-1) 65%, #070d1c 100%);
  cursor: none;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

#network-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  opacity: 0.36;
  pointer-events: none;
}

.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  border-radius: 50%;
  z-index: 50;
}

.cursor-dot {
  width: 6px;
  height: 6px;
  background: var(--neon-cyan);
}

.cursor-ring {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(78, 244, 255, 0.75);
  box-shadow: 0 0 14px rgba(78, 244, 255, 0.35);
}

.cursor-active .cursor-ring {
  width: 52px;
  height: 52px;
}

.page {
  width: min(100% - 2rem, var(--max));
  margin: 1.2rem auto 2.4rem;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 999px;
  padding: 0.5rem 0.8rem 0.5rem 1rem;
  border: 1px solid var(--glass-border);
  background: linear-gradient(130deg, rgba(20, 30, 54, 0.7), rgba(11, 19, 39, 0.45));
  backdrop-filter: blur(11px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  font-size: 0.92rem;
}

.brand-logo {
  width: 32px;
  height: 32px;
  border-radius: 0.5rem;
  object-fit: cover;
  box-shadow: 0 0 12px rgba(78, 244, 255, 0.28);
}

.btn-back {
  border: 1px solid rgba(121, 194, 255, 0.4);
  border-radius: 999px;
  padding: 0.42rem 0.76rem;
  font-size: 0.88rem;
}

.hero-card {
  margin-top: 1rem;
  border-radius: 1.2rem;
  padding: clamp(1.1rem, 3vw, 2rem);
  border: 1px solid rgba(126, 180, 255, 0.24);
  background: linear-gradient(150deg, rgba(17, 33, 68, 0.62), rgba(10, 18, 36, 0.45));
  box-shadow: 8px 10px 26px rgba(0, 0, 0, 0.35), -8px -8px 20px rgba(124, 154, 219, 0.06);
}

.eyebrow {
  font-size: 0.72rem;
  color: var(--neon-cyan);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  margin-top: 0.4rem;
  font-size: clamp(1.7rem, 5.5vw, 3.1rem);
  letter-spacing: -0.02em;
}

p {
  color: var(--text-1);
  line-height: 1.6;
}

.hero-description {
  margin-top: 0.8rem;
  max-width: 60ch;
}

.signal-row {
  margin-top: 1.1rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 0.6rem;
}

.signal-chip {
  border: 1px solid rgba(128, 191, 255, 0.33);
  border-radius: 999px;
  padding: 0.38rem 0.66rem;
  font-size: 0.82rem;
  background: rgba(8, 20, 39, 0.58);
}

.content-grid {
  margin-top: 1rem;
  display: grid;
  gap: 1rem;
}

.panel {
  border: 1px solid rgba(126, 180, 255, 0.22);
  border-radius: 1rem;
  padding: 1rem;
  background: linear-gradient(130deg, rgba(17, 30, 58, 0.54), rgba(9, 15, 29, 0.35));
  backdrop-filter: blur(8px);
}

.panel h2 {
  font-size: clamp(1.1rem, 3vw, 1.55rem);
  margin-bottom: 0.45rem;
}

.flow {
  display: grid;
  gap: 0.6rem;
}

.flow-item {
  border: 1px solid rgba(108, 183, 255, 0.22);
  border-radius: 0.75rem;
  padding: 0.62rem 0.7rem;
  background: rgba(9, 20, 38, 0.55);
}

.reveal-item {
  opacity: 0;
  transform: translateY(16px);
}

@media (min-width: 920px) {
  .content-grid {
    grid-template-columns: 1.2fr 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal-item {
    opacity: 1 !important;
    transform: none !important;
  }
  .cursor-dot,
  .cursor-ring {
    display: none;
  }
  body {
    cursor: auto;
  }
}
