:root {
  --bg: #030614;
  --bg-deep: #060019;
  --text: #f7fbff;
  --muted: #c9d6f7;
  --cyan: #18d6ff;
  --blue: #1977ff;
  --violet: #9b42ff;
  --pink: #d74dff;
  --line: rgba(40, 166, 255, 0.45);
  --glass: rgba(5, 14, 44, 0.58);
  --glass-strong: rgba(8, 18, 60, 0.84);
  --shadow: 0 0 42px rgba(27, 123, 255, 0.35);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  font-family: "Exo", system-ui, sans-serif;
  background:
    linear-gradient(90deg, rgba(2, 5, 19, 0.5) 0%, rgba(2, 5, 19, 0.14) 44%, rgba(2, 5, 19, 0.08) 100%),
    linear-gradient(180deg, rgba(2, 5, 19, 0.08), rgba(2, 5, 19, 0.34)),
    url("assets/bg.png") center / cover no-repeat fixed,
    radial-gradient(circle at 9% 21%, rgba(126, 49, 255, 0.35), transparent 27rem),
    radial-gradient(circle at 86% 15%, rgba(24, 214, 255, 0.18), transparent 28rem),
    radial-gradient(circle at 72% 84%, rgba(144, 57, 255, 0.25), transparent 34rem),
    linear-gradient(135deg, var(--bg), var(--bg-deep) 52%, #01030c);
}

body::before,
body::after {
  position: fixed;
  inset: 0;
  pointer-events: none;
  content: "";
}

body::before {
  z-index: -3;
  display: none;
  background-image:
    linear-gradient(rgba(29, 174, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(157, 66, 255, 0.05) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, transparent, black 20%, black 82%, transparent);
}

body::after {
  z-index: -2;
  background: linear-gradient(90deg, rgba(1, 3, 14, 0.42), rgba(1, 3, 14, 0.06) 44%, rgba(1, 3, 14, 0.2));
  opacity: 1;
}

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

svg {
  display: block;
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.page-shell {
  position: relative;
  width: min(100%, 1536px);
  min-height: 100vh;
  margin: 0 auto;
  padding: clamp(20px, 2.4vw, 36px) clamp(18px, 3.4vw, 52px);
  display: flex;
  flex-direction: column;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(430px, 1.1fr);
  align-items: start;
  gap: clamp(20px, 4vw, 60px);
  flex: 1;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.brand {
  display: inline-flex;
  align-items: center;
  margin-bottom: clamp(18px, 2.4vw, 28px);
  outline-offset: 6px;
}

.brand:focus-visible,
.contact-card:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 5px;
}

.brand-logo {
  display: block;
  width: clamp(52px, 4.2vw, 64px);
  height: auto;
  filter: drop-shadow(0 0 14px rgba(41, 154, 255, 0.65));
}

.eyebrow,
.launch-label {
  display: grid;
  grid-template-columns: 52px max-content 1fr;
  align-items: center;
  gap: 16px;
  color: var(--cyan);
  font-family: "Roboto Mono", monospace;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

.eyebrow p,
.launch-label p {
  margin: 0;
  font-size: clamp(0.68rem, 0.85vw, 0.82rem);
}

.eyebrow span,
.launch-label span {
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--pink));
  box-shadow: 0 0 14px rgba(89, 108, 255, 0.8);
}

.eyebrow span:first-child,
.launch-label span:first-child {
  position: relative;
}

.eyebrow span:first-child::after,
.launch-label span:first-child::after {
  position: absolute;
  top: 50%;
  right: -3px;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--cyan);
  box-shadow: 0 0 14px var(--cyan);
  content: "";
  transform: translateY(-50%);
}

.headline {
  max-width: 580px;
  margin: 14px 0 16px;
  font-size: clamp(3.4rem, 7vw, 6.4rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.88;
  text-shadow: 0 12px 46px rgba(115, 72, 255, 0.28);
}

.headline span {
  display: block;
  width: max-content;
  max-width: 100%;
  color: transparent;
  background: linear-gradient(105deg, #16d8ff 0%, #2470ff 30%, #8f3dff 62%, #f25dff 78%, #28e5ff 100%);
  background-size: 230% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  animation: shimmer 5.5s ease-in-out infinite;
}

.intro {
  max-width: 540px;
  margin: 0 0 22px;
  color: #f4f7ff;
  font-size: clamp(0.95rem, 1.18vw, 1.1rem);
  line-height: 1.5;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 26px;
  max-width: 600px;
}

.contact-card,
.time-card,
.features {
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(27, 72, 179, 0.28), rgba(16, 6, 51, 0.56));
  box-shadow: inset 0 0 28px rgba(19, 91, 255, 0.12), 0 18px 58px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(18px);
}

.contact-card {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  min-height: 72px;
  padding: 12px 16px;
  border-radius: 11px;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.contact-card:hover {
  border-color: rgba(215, 77, 255, 0.8);
  box-shadow: inset 0 0 28px rgba(19, 91, 255, 0.16), 0 0 36px rgba(147, 66, 255, 0.3);
  transform: translateY(-4px);
}

.icon-wrap,
.feature-icon {
  display: grid;
  place-items: center;
  color: white;
  border: 1px solid rgba(100, 113, 255, 0.95);
  border-radius: 999px;
  background: radial-gradient(circle at 32% 28%, rgba(218, 89, 255, 0.95), rgba(60, 28, 168, 0.92));
  box-shadow: 0 0 24px rgba(116, 58, 255, 0.64);
  animation: neonPulse 3.8s ease-in-out infinite;
}

.icon-wrap {
  width: 40px;
  height: 40px;
  font-size: 1.2rem;
}

.contact-card strong {
  display: block;
  margin-bottom: 2px;
  color: #63c8ff;
  font-family: "Roboto Mono", monospace;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
}

.contact-card b {
  display: block;
  overflow-wrap: anywhere;
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.05;
}

.launch {
  max-width: 600px;
}

.launch-label {
  grid-template-columns: minmax(38px, 1fr) max-content minmax(38px, 1fr);
  margin-bottom: 12px;
}

.countdown {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(6px, 1vw, 12px);
}

.time-sep {
  color: transparent;
  background: linear-gradient(135deg, #2fe4ff, #3478ff 45%, #d850ff);
  -webkit-background-clip: text;
  background-clip: text;
  font-family: "Exo", sans-serif;
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  font-weight: 900;
  line-height: 1;
  padding-bottom: 18px;
}

.time-card {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 90px;
  padding: 10px 8px;
  overflow: hidden;
  border-radius: 10px;
  animation: borderGlow 4.6s ease-in-out infinite;
}

.time-card::before {
  position: absolute;
  inset: -60%;
  background: conic-gradient(from 140deg, transparent, rgba(24, 214, 255, 0.2), transparent, rgba(215, 77, 255, 0.18), transparent);
  content: "";
  opacity: 0.8;
  animation: spinGlow 8s linear infinite;
}

.time-card strong,
.time-card span {
  position: relative;
  z-index: 1;
}

.time-card strong {
  display: block;
  color: transparent;
  background: linear-gradient(135deg, #2fe4ff, #3478ff 45%, #d850ff);
  -webkit-background-clip: text;
  background-clip: text;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 900;
  line-height: 0.96;
}

.time-card strong.tick {
  animation: tick 360ms ease;
}

.time-card span {
  margin-top: 3px;
  color: white;
  font-size: 0.8rem;
}

.hero-art {
  display: none;
  position: relative;
  min-height: 620px;
  isolation: isolate;
}

.hero-art::before,
.hero-art::after {
  position: absolute;
  z-index: -1;
  border-radius: 999px;
  content: "";
  filter: blur(24px);
}

.hero-art::before {
  inset: 11% 7% 12% 14%;
  background: radial-gradient(circle, rgba(29, 148, 255, 0.34), transparent 62%);
}

.hero-art::after {
  right: 6%;
  bottom: 2%;
  width: 62%;
  height: 18%;
  background: rgba(130, 46, 255, 0.5);
}

.hero-art img {
  position: absolute;
  right: -5%;
  bottom: -7%;
  width: min(108%, 830px);
  max-width: none;
  filter: drop-shadow(0 0 36px rgba(22, 123, 255, 0.5));
  animation: floatHero 6.5s ease-in-out infinite;
}

.holo-card {
  position: absolute;
  top: 10%;
  left: 3%;
  z-index: 2;
  width: min(50%, 380px);
  min-width: 260px;
  padding: 56px 34px;
  border: 1px solid rgba(108, 90, 255, 0.9);
  border-radius: 22px;
  background:
    linear-gradient(rgba(43, 106, 255, 0.11) 1px, transparent 1px),
    linear-gradient(90deg, rgba(43, 106, 255, 0.11) 1px, transparent 1px),
    rgba(5, 12, 46, 0.5);
  background-size: 26px 26px;
  box-shadow: inset 0 0 30px rgba(33, 106, 255, 0.25), 0 0 36px rgba(118, 63, 255, 0.42);
  transform: perspective(850px) rotateY(-8deg) rotateZ(-3deg);
  animation: holoFloat 7s ease-in-out infinite;
}

.holo-card p,
.holo-card strong {
  display: block;
  margin: 0;
  text-transform: uppercase;
}

.holo-card p {
  color: var(--cyan);
  font-size: clamp(1.28rem, 2vw, 1.85rem);
  font-weight: 800;
}

.holo-card strong {
  margin-top: 8px;
  color: transparent;
  background: linear-gradient(95deg, #1bdcff, #2472ff, #d64fff);
  -webkit-background-clip: text;
  background-clip: text;
  font-size: clamp(1.38rem, 2.4vw, 2.2rem);
  line-height: 1.08;
}

.holo-card span {
  display: block;
  width: 86px;
  height: 4px;
  margin-top: 22px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--pink));
  box-shadow: 0 0 18px rgba(84, 125, 255, 0.9);
}

.features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 22px;
  overflow: hidden;
  border-radius: 16px;
}

.features article {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-height: 92px;
  padding: 16px clamp(14px, 1.6vw, 22px);
  transition: background 220ms ease, transform 220ms ease;
}

.features article + article {
  border-left: 1px solid rgba(102, 96, 255, 0.42);
}

.features article:hover {
  background: rgba(24, 214, 255, 0.07);
  transform: translateY(-2px);
}

.feature-icon {
  width: 44px;
  height: 44px;
  color: #31dfff;
  background: rgba(43, 18, 112, 0.72);
  font-size: 1.4rem;
}

.features h2 {
  margin: 0 0 4px;
  font-size: clamp(0.9rem, 1.1vw, 1rem);
}

.features p {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.4;
}

.stars span {
  position: fixed;
  z-index: -1;
  width: 3px;
  height: 3px;
  border-radius: 999px;
  background: white;
  box-shadow: 0 0 14px currentColor;
  animation: drift 8s ease-in-out infinite;
}

.stars span:nth-child(1) { top: 9%; left: 33%; color: var(--pink); animation-delay: 0s; }
.stars span:nth-child(2) { top: 22%; left: 8%; color: var(--cyan); animation-delay: -2s; }
.stars span:nth-child(3) { top: 15%; left: 86%; color: var(--blue); animation-delay: -4s; }
.stars span:nth-child(4) { top: 55%; left: 44%; color: var(--violet); animation-delay: -1s; }
.stars span:nth-child(5) { top: 70%; left: 10%; color: var(--cyan); animation-delay: -5s; }
.stars span:nth-child(6) { top: 80%; left: 78%; color: var(--pink); animation-delay: -3s; }
.stars span:nth-child(7) { top: 34%; left: 61%; color: var(--cyan); animation-delay: -6s; }
.stars span:nth-child(8) { top: 48%; left: 93%; color: var(--violet); animation-delay: -7s; }
.stars span:nth-child(9) { top: 7%; left: 4%; color: var(--blue); animation-delay: -2.7s; }
.stars span:nth-child(10) { top: 88%; left: 36%; color: var(--pink); animation-delay: -1.8s; }

.reveal {
  opacity: 0;
  transform: translateY(22px);
  animation: reveal 780ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: var(--delay, 0ms);
}

@keyframes reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes floatHero {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-10px, -18px, 0) scale(1.015); }
}

@keyframes holoFloat {
  0%, 100% { transform: perspective(850px) rotateY(-8deg) rotateZ(-3deg) translateY(0); }
  50% { transform: perspective(850px) rotateY(-6deg) rotateZ(-2deg) translateY(-12px); }
}

@keyframes neonPulse {
  0%, 100% { box-shadow: 0 0 22px rgba(85, 62, 255, 0.54); }
  50% { box-shadow: 0 0 34px rgba(27, 215, 255, 0.78); }
}

@keyframes borderGlow {
  0%, 100% { border-color: rgba(40, 166, 255, 0.45); }
  50% { border-color: rgba(215, 77, 255, 0.78); }
}

@keyframes spinGlow {
  to { transform: rotate(1turn); }
}

@keyframes tick {
  0% { transform: translateY(-8px) scale(0.94); opacity: 0.35; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}

@keyframes drift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.4; }
  50% { transform: translate3d(18px, -26px, 0) scale(1.6); opacity: 1; }
}

@media (max-width: 1180px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero-art {
    min-height: 560px;
  }

  .hero-art img {
    right: 0;
    width: min(94vw, 760px);
  }

  .features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .features article:nth-child(3) {
    border-left: 0;
    border-top: 1px solid rgba(102, 96, 255, 0.42);
  }

  .features article:nth-child(4) {
    border-top: 1px solid rgba(102, 96, 255, 0.42);
  }
}

@media (max-width: 720px) {
  body {
    background-position: 60% center;
    background-attachment: scroll;
  }

  .page-shell {
    padding: 22px 16px 28px;
  }

  .brand {
    width: 138px;
    margin-bottom: 22px;
  }

  .eyebrow,
  .launch-label {
    grid-template-columns: 36px max-content 1fr;
    gap: 10px;
    letter-spacing: 0.18em;
  }

  .headline {
    font-size: clamp(3.8rem, 18vw, 6.2rem);
  }

  .contact-grid,
  .features {
    grid-template-columns: 1fr;
  }

  .contact-card {
    min-height: 78px;
  }

  .countdown {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .time-sep {
    display: none;
  }

  .time-card {
    min-height: 104px;
  }

  .hero-art {
    min-height: 470px;
    margin-top: 8px;
  }

  .hero-art img {
    right: 50%;
    bottom: -4%;
    width: min(120vw, 620px);
    transform: translateX(50%);
    animation-name: floatHeroMobile;
  }

  .holo-card {
    left: 0;
    width: 82%;
    min-width: 0;
    padding: 28px 22px;
  }

  .features article,
  .features article + article,
  .features article:nth-child(3),
  .features article:nth-child(4) {
    border-left: 0;
    border-top: 1px solid rgba(102, 96, 255, 0.42);
  }

  .features article:first-child {
    border-top: 0;
  }
}

@keyframes floatHeroMobile {
  0%, 100% { transform: translateX(50%) translate3d(0, 0, 0) scale(1); }
  50% { transform: translateX(50%) translate3d(-8px, -14px, 0) scale(1.01); }
}

@media (max-width: 430px) {
  .contact-card {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 13px;
    padding: 14px;
  }

  .icon-wrap {
    width: 44px;
    height: 44px;
  }

  .launch-label {
    grid-template-columns: 1fr;
    gap: 8px;
    text-align: center;
  }

  .launch-label span {
    display: none;
  }

  .features article {
    grid-template-columns: 58px minmax(0, 1fr);
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
