:root {
  --bg-0: #020512;
  --bg-1: #050b22;
  --bg-2: #07163b;
  --blue-0: #c9ecff;
  --blue-1: #62c9ff;
  --blue-2: #0aa8ff;
  --blue-3: #005dff;
  --cyan: #17f4ff;
  --text: #eef9ff;
  --muted: rgba(221, 244, 255, 0.72);
  --line: rgba(89, 201, 255, 0.22);
  --glass: rgba(4, 14, 37, 0.46);
  --border: rgba(118, 219, 255, 0.32);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  font-family: Inter, Orbitron, Eurostile, Rajdhani, Arial, sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 50% 45%, #0a245c 0%, var(--bg-1) 32%, var(--bg-0) 76%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 52%, rgba(15, 142, 255, 0.22), transparent 28%),
    radial-gradient(circle at 15% 20%, rgba(0, 112, 255, 0.15), transparent 24%),
    radial-gradient(circle at 85% 18%, rgba(20, 208, 255, 0.12), transparent 26%);
  filter: saturate(1.2);
  z-index: -2;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(circle at 50% 45%, #000 0%, transparent 68%);
}

.page-shell {
  width: 100%;
  min-height: 100vh;
}

.hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 32px 24px;
  overflow: hidden;
  isolation: isolate;
}

#quantum-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(0, 3, 14, 0.16) 0%, rgba(0, 3, 14, 0.04) 43%, rgba(0, 3, 14, 0.72) 100%),
    radial-gradient(circle at 50% 43%, transparent 0%, rgba(1, 4, 17, 0.08) 32%, rgba(1, 4, 17, 0.58) 76%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.36;
  background:
    linear-gradient(90deg, transparent 0 49%, rgba(36, 174, 255, 0.18) 50%, transparent 51% 100%),
    linear-gradient(180deg, transparent 0 49%, rgba(36, 174, 255, 0.16) 50%, transparent 51% 100%);
  background-size: 120px 120px;
  transform: perspective(900px) rotateX(62deg) scale(1.5) translateY(16%);
  transform-origin: center bottom;
  mask-image: linear-gradient(180deg, transparent 0%, #000 42%, transparent 100%);
  animation: gridDrift 12s linear infinite;
}

.hero-glow {
  position: absolute;
  width: 42vmax;
  aspect-ratio: 1;
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.34;
  filter: blur(28px);
  background: radial-gradient(circle, rgba(0, 136, 255, 0.48) 0%, transparent 66%);
  animation: glowPulse 6s ease-in-out infinite alternate;
}

.hero-glow-left {
  left: -18vmax;
  top: 12%;
}

.hero-glow-right {
  right: -18vmax;
  bottom: 2%;
  animation-delay: -2s;
}

.hero-content {
  position: relative;
  z-index: 3;
  width: min(1080px, 100%);
  margin-top: clamp(120px, 19vh, 230px);
  text-align: center;
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid rgba(107, 209, 255, 0.14);
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(8, 23, 55, 0.36), rgba(4, 10, 28, 0.12)),
    radial-gradient(circle at 50% 0%, rgba(38, 174, 255, 0.24), transparent 54%);
  box-shadow:
    0 0 42px rgba(0, 157, 255, 0.13),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.eyebrow {
  margin: 0 0 22px;
  color: var(--blue-0);
  font-size: clamp(0.72rem, 1.8vw, 0.92rem);
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  text-shadow: 0 0 18px rgba(81, 200, 255, 0.8);
}

.brand-symbol {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: clamp(76px, 10vw, 112px);
  height: clamp(52px, 7vw, 78px);
  margin-bottom: 6px;
  filter: drop-shadow(0 0 22px rgba(26, 183, 255, 0.86));
}

.brand-symbol span {
  position: absolute;
  bottom: 5px;
  width: 52%;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--blue-1), transparent);
  transform-origin: center;
  box-shadow: 0 0 14px var(--blue-2), 0 0 28px rgba(23, 244, 255, 0.7);
}

.brand-symbol span:first-child {
  left: 9%;
  transform: rotate(-58deg);
}

.brand-symbol span:nth-child(2) {
  right: 9%;
  transform: rotate(58deg);
}

.brand-symbol i {
  position: absolute;
  width: 18px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #fff;
  box-shadow:
    0 0 10px #fff,
    0 0 24px var(--cyan),
    0 0 48px var(--blue-3);
  animation: coreBeat 1.9s ease-in-out infinite;
}

h1 {
  display: grid;
  gap: 8px;
  margin: 0;
  text-transform: uppercase;
  line-height: 0.9;
}

.brand-name {
  display: block;
  font-size: clamp(4.6rem, 16vw, 12.6rem);
  font-weight: 800;
  letter-spacing: clamp(0.08em, 1.2vw, 0.16em);
  background:
    linear-gradient(180deg, #ffffff 0%, #c9edff 18%, #79ccff 45%, #effbff 52%, #6fb5e6 72%, #264f89 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-stroke: 1px rgba(233, 249, 255, 0.48);
  text-shadow:
    0 0 2px rgba(255, 255, 255, 0.9),
    0 0 18px rgba(0, 132, 255, 0.7),
    0 0 38px rgba(0, 98, 255, 0.34);
}

.brand-subname {
  display: block;
  margin-top: clamp(4px, 0.8vw, 12px);
  color: var(--blue-2);
  font-size: clamp(1.05rem, 4.2vw, 3.2rem);
  font-weight: 700;
  letter-spacing: clamp(0.58em, 2.2vw, 1.02em);
  text-indent: clamp(0.58em, 2.2vw, 1.02em);
  text-shadow:
    0 0 12px rgba(0, 178, 255, 0.95),
    0 0 30px rgba(0, 76, 255, 0.72);
}

.hero-slogan {
  max-width: 760px;
  margin: clamp(22px, 3.4vw, 36px) auto 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2.2vw, 1.55rem);
  line-height: 1.45;
  letter-spacing: 0.02em;
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: clamp(30px, 4vw, 46px);
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.primary-button {
  color: #001026;
  border: 1px solid rgba(202, 244, 255, 0.82);
  background: linear-gradient(135deg, #f6feff 0%, #6dd9ff 36%, #009dff 100%);
  box-shadow: 0 0 28px rgba(0, 154, 255, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.soon-button {
  min-width: 190px;
  cursor: default;
}

.primary-button:hover {
  transform: translateY(-3px);
  border-color: rgba(209, 248, 255, 0.86);
  box-shadow: 0 0 34px rgba(0, 174, 255, 0.58);
}

.scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 3;
  width: 32px;
  height: 52px;
  border: 1px solid rgba(148, 225, 255, 0.36);
  border-radius: 999px;
  transform: translateX(-50%);
  opacity: 0.8;
  box-shadow: 0 0 20px rgba(0, 157, 255, 0.24);
}

.scroll-indicator span {
  position: absolute;
  left: 50%;
  top: 10px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue-1);
  transform: translateX(-50%);
  box-shadow: 0 0 12px var(--blue-1);
  animation: scrollDot 1.8s ease-in-out infinite;
}

@keyframes gridDrift {
  from { background-position: 0 0; }
  to { background-position: 120px 120px; }
}

@keyframes glowPulse {
  from { transform: scale(0.94); opacity: 0.22; }
  to { transform: scale(1.08); opacity: 0.42; }
}

@keyframes coreBeat {
  0%, 100% { transform: scale(0.82); opacity: 0.82; }
  50% { transform: scale(1.18); opacity: 1; }
}

@keyframes scrollDot {
  0% { transform: translate(-50%, 0); opacity: 0; }
  35% { opacity: 1; }
  100% { transform: translate(-50%, 22px); opacity: 0; }
}

@media (max-width: 820px) {
  .hero {
    padding: 22px 14px;
  }

  .hero-content {
    margin-top: clamp(86px, 16vh, 150px);
    border-radius: 24px;
  }

  .eyebrow {
    letter-spacing: 0.16em;
  }

  .brand-name {
    letter-spacing: 0.06em;
  }

  .brand-subname {
    letter-spacing: 0.42em;
    text-indent: 0.42em;
  }

  .primary-button {
    width: min(100%, 320px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}
