:root {
  --font: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --cyan: #3ec6ff;
  --cyan-deep: #1494d6;
  --text: #f6f8ff;
  --muted: rgba(246, 248, 255, 0.78);
  --glass: rgba(8, 12, 22, 0.42);
  --glass-strong: rgba(8, 12, 22, 0.58);
  --glass-border: rgba(255, 255, 255, 0.16);
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
  --ease: cubic-bezier(0.22, 0.8, 0.28, 1);
  --progress: 0;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: #05070d;
}

html,
body {
  margin: 0;
  min-height: 100%;
  color: var(--text);
  font-family: var(--font);
  letter-spacing: -0.01em;
}

body {
  background: transparent;
}

html {
  scrollbar-width: thin;
  scrollbar-color: rgba(62, 198, 255, 0.55) #0b1018;
}

body {
  overflow-x: hidden;
}

body.is-loading {
  overflow: hidden;
}

img,
canvas {
  -webkit-user-drag: none;
  user-select: none;
}

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

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

#scene {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  object-fit: cover;
  pointer-events: none;
  display: block;
}

.scroll-track {
  position: relative;
  height: 800vh;
  width: 100%;
  pointer-events: none;
}

.scroll-anchor {
  position: absolute;
  left: 0;
  width: 1px;
  height: 1px;
}

.progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 40;
  background: rgba(255, 255, 255, 0.08);
}

.progress__fill {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--cyan), #fff);
  box-shadow: 0 0 16px rgba(62, 198, 255, 0.7);
}

.loader {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 18px;
  background: radial-gradient(circle at 50% 20%, #16324a 0%, #05070d 62%);
  transition: opacity 0.6s var(--ease), visibility 0.6s;
}

.loader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader__logo {
  width: 88px;
  height: auto;
  filter: drop-shadow(0 0 18px rgba(62, 198, 255, 0.45));
}

.loader__label {
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.loader__bar {
  width: min(280px, 70vw);
  height: 4px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.loader__fill {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
}

.loader__pct {
  font-variant-numeric: tabular-nums;
  font-size: 0.8rem;
  color: var(--cyan);
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 4.5vw;
  pointer-events: none;
}

.nav > * {
  pointer-events: auto;
}

.nav__brand img {
  width: 44px;
  height: auto;
  display: block;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.45));
}

.overlay {
  position: fixed;
  inset: 0;
  z-index: 5;
  pointer-events: none;
}

.panel {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
}

.panel__inner {
  position: absolute;
  max-width: min(740px, 88vw);
}

.panel__inner--bl {
  left: 5.5vw;
  bottom: 9vh;
}

.panel__inner--cl {
  left: 5.5vw;
  top: 50%;
  transform: translateY(-50%);
}

.panel__inner--center {
  left: 50%;
  top: 48%;
  transform: translate(-50%, -50%);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

h1 {
  font-size: clamp(3.1rem, 7.4vw, 6.4rem);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.055em;
  max-width: 14ch;
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
}

h2 {
  font-size: clamp(2.2rem, 5.2vw, 4.4rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.045em;
  text-shadow: 0 10px 36px rgba(0, 0, 0, 0.5);
}

.lede {
  margin-top: 18px;
  font-size: clamp(1.02rem, 2vw, 1.35rem);
  font-weight: 500;
  color: var(--muted);
  text-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.cta-row--center {
  justify-content: center;
}

.btn {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition:
    transform 0.28s var(--ease),
    background 0.28s var(--ease),
    border-color 0.28s var(--ease),
    box-shadow 0.28s var(--ease),
    color 0.28s var(--ease);
}

.btn--sm {
  min-height: 42px;
  padding: 0 18px;
  font-size: 0.85rem;
}

.btn--solid {
  background: #fff;
  color: #0b1220;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
}

.btn--solid:hover {
  transform: translateY(-2px);
  background: var(--cyan);
  box-shadow: 0 14px 36px rgba(62, 198, 255, 0.32);
}

.btn--ghost {
  color: #fff;
  background: var(--glass);
  border-color: var(--glass-border);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}

.btn--ghost:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.34);
}

.btn:active {
  transform: translateY(0) scale(0.98);
}

.scroll-hint {
  position: absolute;
  right: 4.5vw;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  color: var(--muted);
}

.scroll-hint span {
  writing-mode: vertical-rl;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
}

.scroll-hint__mouse {
  width: 22px;
  height: 34px;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  border-radius: 12px;
  position: relative;
}

.scroll-hint__mouse i {
  position: absolute;
  left: 50%;
  top: 7px;
  width: 3px;
  height: 7px;
  border-radius: 99px;
  background: #fff;
  transform: translateX(-50%);
  animation: wheel 1.4s var(--ease) infinite;
}

@keyframes wheel {
  0% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(10px);
  }
}

.holo-row {
  margin-bottom: 22px;
}

.switch {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px 10px 10px;
  border-radius: 999px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  box-shadow: var(--shadow);
  cursor: pointer;
}

.switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.switch__track {
  width: 48px;
  height: 28px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.14);
  position: relative;
  transition: background 0.28s var(--ease);
}

.switch__thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.28s var(--ease), background 0.28s var(--ease);
}

.switch input:checked + .switch__track {
  background: linear-gradient(90deg, var(--cyan-deep), var(--cyan));
}

.switch input:checked + .switch__track .switch__thumb {
  transform: translateX(20px);
}

.switch__copy {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  font-size: 0.86rem;
  font-weight: 600;
}

.switch__copy small {
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.holo-title {
  max-width: 9ch;
}

.holo-title.is-live {
  text-shadow:
    0 0 18px rgba(62, 198, 255, 0.55),
    0 10px 36px rgba(0, 0, 0, 0.5);
}

.steps {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(1180px, 90vw);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.glass-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  box-shadow: var(--shadow);
}

.step-card {
  pointer-events: auto;
  padding: 28px 26px 30px;
  border-radius: 24px;
  min-height: 230px;
  transition:
    transform 0.28s var(--ease),
    border-color 0.28s var(--ease),
    background 0.28s var(--ease);
}

.step-card:hover {
  transform: translateY(-6px);
  border-color: rgba(62, 198, 255, 0.45);
  background: rgba(12, 18, 32, 0.62);
}

.step-card__index {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.step-card h3 {
  font-size: 1.28rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.25;
  text-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.step-card p {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.55;
  font-size: 0.95rem;
}

.panel--features h2 {
  max-width: 18ch;
}

.panel--features .lede {
  max-width: 42ch;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 26px 0 28px;
}

.tag {
  pointer-events: auto;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: transform 0.28s var(--ease), border-color 0.28s var(--ease);
}

.tag:hover {
  transform: translateY(-2px);
  border-color: rgba(62, 198, 255, 0.5);
}

.footer-wrap {
  width: min(1100px, 92vw);
}

.footer-wrap h2 {
  margin-bottom: 8px;
}

.footer-lede {
  margin-top: 12px;
  margin-bottom: 4px;
  max-width: 36ch;
}

.site-footer {
  pointer-events: auto;
  width: 100%;
  margin-top: 36px;
  padding: 28px 32px 22px;
  border-radius: 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px 24px;
  text-align: left;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col h4 {
  margin-bottom: 8px;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
}

.footer-col a,
.footer-col span {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
  transition: color 0.25s var(--ease);
}

.footer-col a:hover {
  color: #fff;
}

.footer-note {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 10px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--glass-border);
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.45;
}

body.is-dawn {
  --text: #141820;
  --muted: rgba(20, 24, 32, 0.72);
  --glass: rgba(255, 255, 255, 0.48);
  --glass-strong: rgba(255, 255, 255, 0.62);
  --glass-border: rgba(255, 255, 255, 0.62);
}

body.is-dawn h1,
body.is-dawn h2,
body.is-dawn h3,
body.is-dawn .lede,
body.is-dawn .step-card p,
body.is-dawn .scroll-hint span {
  text-shadow: 0 8px 24px rgba(255, 255, 255, 0.35);
}

body.is-dawn .btn--ghost,
body.is-dawn .nav .btn--ghost {
  color: #141820;
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(20, 24, 32, 0.14);
}

body.is-dawn .footer-col a:hover {
  color: #0b1220;
}

body.is-dawn .btn--solid {
  background: #141820;
  color: #fff;
}

body.is-dawn .btn--solid:hover {
  background: var(--cyan-deep);
}

@media (max-width: 900px) {
  .steps {
    grid-template-columns: 1fr;
    width: min(520px, 90vw);
    gap: 14px;
  }

  .step-card {
    min-height: 0;
    padding: 20px 20px 22px;
  }

  .site-footer {
    grid-template-columns: 1fr 1fr;
  }

  .scroll-hint {
    display: none;
  }

  .panel__inner--bl,
  .panel__inner--cl {
    left: 6vw;
    right: 6vw;
    max-width: none;
  }

  h1 {
    max-width: 12ch;
  }
}

@media (max-width: 560px) {
  .nav {
    padding: 16px 5vw;
  }

  .site-footer {
    grid-template-columns: 1fr 1fr;
    padding: 20px;
  }

  .panel__inner--bl {
    bottom: 7vh;
  }
}
