/* LUMINA VISION — cinematic interface */

:root {
  --pad-x: 70px;
  --font: "Space Grotesk", sans-serif;
  --white: #ffffff;
  --white-60: rgba(255, 255, 255, 0.6);
  --white-25: rgba(255, 255, 255, 0.25);
}

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

html,
body {
  height: 100%;
  background: #000;
  color: var(--white);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}

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

button {
  font: inherit;
  border: none;
  background: none;
  cursor: pointer;
  color: inherit;
}

.stage {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* —— Background video —— */
.bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  transform-origin: right center;
  transform: scale(1.3);
  opacity: 1;
  filter: brightness(1.1) contrast(1.1);
  z-index: 0;
  pointer-events: none;
}

.video-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0.85) 30%,
    rgba(0, 0, 0, 0) 85%
  );
}

/* —— Layer 1: Navigation —— */
.nav {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  padding: 28px var(--pad-x) 0;
  flex-shrink: 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.logo-frame {
  position: relative;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(59, 130, 246, 0.55);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 0 12px rgba(59, 130, 246, 0.35);
}

.logo-node {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3b82f6;
  box-shadow:
    0 0 8px 2px rgba(59, 130, 246, 0.9),
    0 0 18px 4px rgba(59, 130, 246, 0.45);
}

.logo-text {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5em;
  line-height: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
  margin-right: 3rem; /* mr-12 */
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--white-60);
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--white);
}

.play-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: background 0.2s ease, transform 0.2s ease;
}

.play-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: scale(1.04);
}

.play-btn svg {
  display: block;
}

.play-btn svg[hidden] {
  display: none;
}

.play-btn .icon-play {
  margin-left: 2px;
}

/* —— Layer 2: Hero —— */
.hero {
  position: relative;
  z-index: 5;
  flex: 1;
  display: flex;
  align-items: center;
  padding-inline: var(--pad-x);
  transform: translateY(-12%);
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-tag {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4em;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  margin-bottom: 12px;
}

.hero-heading {
  font-size: 80px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  white-space: nowrap;
}

.hero-sub {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--white-60);
  max-width: 430px;
  margin-bottom: 30px;
}

/* Orbital frosted CTA */
.cta {
  position: relative;
  display: inline-flex;
  border-radius: 999px;
  padding: 2.5px; /* 2.5px orbital stroke */
  isolation: isolate;
  overflow: hidden;
}

.cta-orbit {
  position: absolute;
  inset: -450%;
  width: 1000%;
  height: 1000%;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  background: conic-gradient(
    from 0deg,
    #3b82f6,
    #a855f7,
    #ec4899,
    #f8a170,
    #eab308,
    #3b82f6
  );
  animation: orbit 6s linear infinite;
  z-index: 0;
  pointer-events: none;
}

@keyframes orbit {
  to {
    transform: rotate(360deg);
  }
}

.cta-inner {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26.5px;
  border-radius: 999px;
  /* Dark base blocks orbital gradient; frosted white layer on top */
  background:
    linear-gradient(rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.25)),
    rgba(8, 10, 16, 0.88);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    inset 0 0 24px rgba(255, 255, 255, 0.12),
    0 0 20px rgba(255, 255, 255, 0.08);
}

.cta-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-shadow: none;
  color: var(--white);
}

.cta-arrow {
  display: block;
  transition: transform 0.25s ease;
}

.cta:hover .cta-arrow {
  transform: translateX(5px);
}

/* —— Layer 3: Footer + ticker —— */
.footer {
  position: relative;
  z-index: 5;
  padding: 0 var(--pad-x) 36px;
  flex-shrink: 0;
  margin-top: auto;
}

.footer-label {
  text-align: center;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6em;
  opacity: 0.25;
  margin-bottom: 18px;
}

.ticker {
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 28s linear infinite;
  filter: grayscale(1);
  opacity: 0.55;
}

.ticker-group {
  display: flex;
  align-items: center;
  gap: 56px;
  padding-right: 56px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.brand-icon {
  height: 15px;
  width: 15px;
  flex-shrink: 0;
  color: var(--white);
}

.brand span {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* —— Responsive —— */
@media (max-width: 960px) {
  .nav-links {
    gap: 18px;
    margin-right: 1.5rem;
  }

  .hero-heading {
    font-size: clamp(40px, 8vw, 80px);
    white-space: normal;
  }
}

@media (max-width: 768px) {
  :root {
    --pad-x: 24px;
  }

  .nav {
    padding-top: 20px;
  }

  .nav-links {
    display: none;
  }

  .logo-text {
    letter-spacing: 0.28em;
  }

  .hero {
    transform: translateY(-6%);
  }

  .hero-heading {
    white-space: normal;
  }

  .footer {
    padding-bottom: 24px;
  }
}
