@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;600&family=Space+Grotesk:wght@400;500;600;700&display=swap");

:root {
  --bg: #020204;
  --white: #f7f7f8;
  --muted: #8b8b94;
  --line: rgba(255,255,255,.11);
  --red: #cf1f25;
  --red-bright: #ff353d;
  --mono: "IBM Plex Mono", monospace;
  --sans: "Space Grotesk", sans-serif;
}

* { box-sizing: border-box; }

html { min-height: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 76% 47%, rgba(207,31,37,.13), transparent 26%),
    radial-gradient(circle at 18% 62%, rgba(207,31,37,.045), transparent 30%),
    linear-gradient(145deg, #08080b 0%, #020204 52%, #08080a 100%);
  font-family: var(--sans);
}

#network {
  position: fixed;
  inset: 0;
  z-index: -4;
  width: 100%;
  height: 100%;
}

.grid {
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(circle at 61% 54%, #000 8%, transparent 80%);
}

.noise {
  position: fixed;
  inset: -60%;
  z-index: 20;
  pointer-events: none;
  opacity: .026;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.87' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain .24s steps(2) infinite;
}

.cursor-glow {
  position: fixed;
  z-index: -2;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%,-50%);
  background: radial-gradient(circle, rgba(207,31,37,.12), transparent 68%);
  filter: blur(18px);
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 10;
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 4vw;
  border-bottom: 1px solid rgba(255,255,255,.09);
  background: rgba(2,2,4,.53);
  backdrop-filter: blur(18px);
}

.brand {
  display: block;
  width: clamp(205px, 19vw, 290px);
  height: 56px;
}

.brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}

.email-link {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #d9d9dc;
  text-decoration: none;
  font-size: 15px;
  transition: color .2s, transform .2s;
}

.email-link:hover {
  color: white;
  transform: translateY(-2px);
}

.email-link svg {
  width: 24px;
  fill: none;
  stroke: var(--red-bright);
  stroke-width: 1.4;
}

.hero {
  width: min(1540px, 100%);
  min-height: 100vh;
  margin: auto;
  padding: 125px 5vw 80px;
  display: grid;
  grid-template-columns: minmax(0,1.08fr) minmax(420px,.92fr);
  gap: clamp(45px,5vw,90px);
  align-items: center;
}

.countdown-column {
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 34px;
  text-align: center;
  font: 500 clamp(16px,1.45vw,22px) var(--mono);
  letter-spacing: .32em;
}

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

.unit {
  min-width: 0;
  text-align: center;
}

.digit-card {
  position: relative;
  min-height: clamp(112px,10vw,155px);
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(207,31,37,.5);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.045), transparent 50%),
    rgba(7,7,10,.72);
  box-shadow:
    inset 0 0 30px rgba(207,31,37,.055),
    0 18px 50px rgba(0,0,0,.3);
}

.digit-card::before {
  content: "";
  position: absolute;
  inset: 50% 0 auto;
  height: 1px;
  background: rgba(255,255,255,.065);
}

.digit-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,53,61,.08), transparent);
  transform: translateX(-100%);
  animation: sweep 4s infinite;
}

.digit-card > span:first-child {
  position: relative;
  z-index: 2;
  font: 500 clamp(48px,5.3vw,84px) var(--mono);
  letter-spacing: -.075em;
  color: white;
  text-shadow:
    0 0 5px white,
    0 0 14px var(--red-bright),
    0 0 35px rgba(255,53,61,.65);
}

.reflection {
  position: absolute;
  bottom: -43px;
  opacity: .07;
  transform: scaleY(-1);
  filter: blur(1px);
  font: 500 clamp(48px,5.3vw,84px) var(--mono);
}

.unit small {
  display: block;
  margin-top: 13px;
  color: #d0d0d4;
  font: 10px var(--mono);
  letter-spacing: .23em;
}

.colon {
  transform: translateY(-9px);
  color: white;
  font: 500 clamp(26px,2.2vw,38px) var(--mono);
  text-shadow: 0 0 10px var(--red-bright);
  animation: blink 1s steps(1) infinite;
}

.message {
  margin: 46px 0 34px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
}

.message span {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(207,31,37,.85));
}

.message span:last-child {
  background: linear-gradient(90deg, rgba(207,31,37,.85), transparent);
}

.message p {
  margin: 0;
  white-space: nowrap;
  font: 12px var(--mono);
  letter-spacing: .23em;
}

.message strong {
  color: var(--red-bright);
  font-weight: 500;
}

.progress-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
}

.status {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #c7c7cc;
  font: 9px var(--mono);
  letter-spacing: .16em;
}

.status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red-bright);
  box-shadow: 0 0 14px var(--red-bright);
  animation: pulse 1.5s infinite;
}

.progress-track {
  height: 3px;
  background: rgba(255,255,255,.1);
}

.progress-track span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--red), var(--red-bright));
  box-shadow: 0 0 16px rgba(255,53,61,.65);
  transition: width .8s ease;
}

.progress-row > strong {
  min-width: 47px;
  color: var(--red-bright);
  font: 500 12px var(--mono);
}

.visual-column {
  position: relative;
  min-height: 700px;
  display: grid;
  place-items: center;
  perspective: 1400px;
}

.glass-card {
  position: relative;
  z-index: 5;
  width: min(470px,82vw);
  min-height: 520px;
  padding: 28px;
  overflow: hidden;
  transform-style: preserve-3d;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.12), transparent 27%),
    linear-gradient(180deg, rgba(24,30,42,.78), rgba(6,7,11,.78));
  backdrop-filter: blur(22px);
  box-shadow:
    0 55px 100px rgba(0,0,0,.62),
    inset 0 0 45px rgba(255,255,255,.035),
    0 0 0 1px rgba(255,53,61,.08),
    0 0 80px rgba(207,31,37,.09);
  transition: transform .08s linear;
}

.shine {
  position: absolute;
  inset: -50%;
  opacity: 0;
  pointer-events: none;
  background: radial-gradient(circle, rgba(255,255,255,.28), transparent 22%);
  transform: translate(var(--shine-x,0), var(--shine-y,0));
  transition: opacity .25s;
}

.glass-card:hover .shine { opacity: .5; }

.scan {
  position: absolute;
  inset: -100px 0 auto;
  height: 95px;
  background: linear-gradient(transparent, rgba(255,53,61,.13), transparent);
  animation: scan 4.8s linear infinite;
}

.logo-stage {
  position: relative;
  height: 385px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.07);
  background:
    radial-gradient(circle, rgba(207,31,37,.14), transparent 55%),
    rgba(0,0,0,.17);
  transform: translateZ(42px);
}

.logo-stage img {
  position: relative;
  z-index: 2;
  width: 92%;
  max-height: 84%;
  object-fit: contain;
  filter: drop-shadow(0 0 22px rgba(255,53,61,.18));
}

.inner-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.11);
}

.ring-one {
  width: 290px;
  height: 290px;
  border-left-color: var(--red-bright);
  animation: spin 11s linear infinite;
}

.ring-two {
  width: 235px;
  height: 235px;
  border-style: dashed;
  border-right-color: var(--red-bright);
  animation: spinReverse 8s linear infinite;
}

.card-line {
  width: 70%;
  height: 1px;
  margin: 24px auto 17px;
  background: linear-gradient(90deg, transparent, var(--red-bright), transparent);
  box-shadow: 0 0 15px rgba(255,53,61,.4);
}

.glass-card p {
  margin: 0;
  min-height: 24px;
  text-align: center;
  color: #a9a9b0;
  font: 10px var(--mono);
  letter-spacing: .14em;
}

.corner {
  position: absolute;
  width: 22px;
  height: 22px;
  border-color: var(--red-bright);
}
.top-left { left: 11px; top: 11px; border-left: 1px solid; border-top: 1px solid; }
.top-right { right: 11px; top: 11px; border-right: 1px solid; border-top: 1px solid; }
.bottom-left { left: 11px; bottom: 11px; border-left: 1px solid; border-bottom: 1px solid; }
.bottom-right { right: 11px; bottom: 11px; border-right: 1px solid; border-bottom: 1px solid; }

.platform {
  position: absolute;
  z-index: 2;
  bottom: 25px;
  width: 620px;
  height: 185px;
  transform: rotateX(67deg);
  transform-style: preserve-3d;
}

.platform-top {
  position: absolute;
  inset: 12px 42px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.19);
  background:
    radial-gradient(circle, rgba(207,31,37,.13), rgba(0,0,0,.6) 60%),
    #060608;
  box-shadow:
    0 0 0 14px #111116,
    0 0 0 16px rgba(255,53,61,.52),
    0 0 0 35px #070709,
    0 0 0 37px rgba(255,53,61,.7),
    0 0 48px rgba(255,53,61,.32);
}

.platform-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.15);
}

.ring-1 { inset: -15px; border-color: rgba(255,53,61,.55); animation: spin 14s linear infinite; }
.ring-2 { inset: -35px; border-style: dashed; animation: spinReverse 18s linear infinite; }
.ring-3 { inset: -60px; opacity: .45; animation: spin 28s linear infinite; }

.orbit {
  position: absolute;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 50%;
  transform: rotateX(69deg);
}

.orbit::after {
  content: "";
  position: absolute;
  top: 50%;
  left: -4px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red-bright);
  box-shadow: 0 0 15px var(--red-bright);
}

.orbit-a { width: 610px; height: 610px; animation: orbit 15s linear infinite; }
.orbit-b { width: 510px; height: 510px; animation: orbitReverse 10s linear infinite; }
.orbit-c { width: 720px; height: 720px; border-style: dashed; opacity: .3; animation: orbit 27s linear infinite; }

footer {
  position: fixed;
  inset: auto 0 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  padding: 19px 4vw;
  color: #66666e;
  font: 9px var(--mono);
  letter-spacing: .11em;
}

body.launched .digit-card > span:first-child { color: var(--red-bright); }
body.launched .status span { color: var(--red-bright); }

@keyframes blink { 50% { opacity: 0; } }
@keyframes pulse { 50% { opacity: .3; transform: scale(.75); } }
@keyframes sweep { to { transform: translateX(100%); } }
@keyframes scan { to { top: calc(100% + 100px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes spinReverse { to { transform: rotate(-360deg); } }
@keyframes orbit { to { transform: rotateX(69deg) rotateZ(360deg); } }
@keyframes orbitReverse { to { transform: rotateX(69deg) rotateZ(-360deg); } }
@keyframes grain {
  0% { transform: translate(0,0); }
  25% { transform: translate(2%,-1%); }
  50% { transform: translate(-1%,2%); }
  75% { transform: translate(1%,1%); }
  100% { transform: translate(-2%,-1%); }
}

@media (max-width: 1080px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 130px;
  }

  .countdown-column {
    max-width: 900px;
    margin: auto;
  }

  .visual-column {
    min-height: 660px;
  }

  footer {
    position: relative;
  }
}

@media (max-width: 680px) {
  .site-header {
    min-height: 76px;
    padding: 13px 18px;
  }

  .brand {
    width: 165px;
    height: 45px;
  }

  .email-link span {
    display: none;
  }

  .hero {
    padding: 105px 16px 35px;
  }

  .eyebrow {
    margin-bottom: 23px;
    font-size: 13px;
  }

  .countdown {
    gap: 4px;
  }

  .digit-card {
    min-height: 82px;
    border-radius: 11px;
  }

  .digit-card > span:first-child,
  .reflection {
    font-size: clamp(29px,10vw,45px);
  }

  .reflection {
    bottom: -25px;
  }

  .unit small {
    margin-top: 8px;
    font-size: 7px;
    letter-spacing: .11em;
  }

  .colon {
    font-size: 18px;
  }

  .message {
    margin: 30px 0 26px;
    gap: 9px;
  }

  .message p {
    font-size: 8px;
    letter-spacing: .13em;
  }

  .progress-row {
    gap: 10px;
  }

  .status span {
    display: none;
  }

  .visual-column {
    min-height: 560px;
  }

  .glass-card {
    width: min(410px,89vw);
    min-height: 480px;
    padding: 20px;
  }

  .logo-stage {
    height: 350px;
  }

  .platform {
    width: 440px;
    height: 135px;
    bottom: 22px;
  }

  .orbit-a { width: 450px; height: 450px; }
  .orbit-b { width: 380px; height: 380px; }
  .orbit-c { width: 530px; height: 530px; }

  footer {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

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