:root {
  --bg: #080616;
  --bg-deep: #04030c;
  --panel: rgba(255, 255, 255, 0.075);
  --panel-strong: rgba(255, 255, 255, 0.13);
  --text: #fff8ff;
  --muted: #c9bed9;
  --soft: #8d80a7;
  --line: rgba(255, 255, 255, 0.16);
  --pink: #ff4bd8;
  --violet: #7c4dff;
  --cyan: #00e5ff;
  --yellow: #ffd84d;
  --orange: #ff8a3d;
  --green: #6dffb2;
  --radius: 30px;
  --max: 1220px;
  --shadow: 0 34px 100px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg-deep);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -6;
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 75, 216, 0.32), transparent 32%),
    radial-gradient(circle at 78% 20%, rgba(0, 229, 255, 0.24), transparent 34%),
    radial-gradient(circle at 52% 86%, rgba(124, 77, 255, 0.34), transparent 38%),
    linear-gradient(135deg, #09041a 0%, #090a21 42%, #14051d 100%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(circle at center, black, transparent 80%);
}

a {
  color: inherit;
  text-decoration: none;
}

img,
video {
  display: block;
  max-width: 100%;
}

.fx-canvas {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: 0.72;
}

.aurora {
  position: fixed;
  z-index: -5;
  width: 42vw;
  height: 42vw;
  min-width: 420px;
  min-height: 420px;
  border-radius: 999px;
  filter: blur(72px);
  opacity: 0.42;
  mix-blend-mode: screen;
  animation: floatAurora 14s ease-in-out infinite alternate;
}

.aurora-one {
  left: -14vw;
  top: 2vh;
  background: var(--pink);
}

.aurora-two {
  right: -16vw;
  top: 6vh;
  background: var(--cyan);
  animation-delay: -4s;
}

.aurora-three {
  left: 30vw;
  bottom: -22vw;
  background: var(--violet);
  animation-delay: -8s;
}

@keyframes floatAurora {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(7vw, 5vh, 0) scale(1.18);
  }
}

.page-shell {
  width: min(100% - 36px, var(--max));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 18px;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 18px 0 54px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(8, 6, 22, 0.68);
  box-shadow: 0 16px 70px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(22px) saturate(150%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
}

.brand-logo-wrap {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 75, 216, 0.28), rgba(0, 229, 255, 0.22)),
    rgba(255, 255, 255, 0.09);
  box-shadow: 0 0 38px rgba(255, 75, 216, 0.28), inset 0 0 22px rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.brand-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.brand-copy {
  display: grid;
  gap: 1px;
}

.brand-copy strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.05rem;
  letter-spacing: -0.035em;
}

.brand-copy small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  position: relative;
  padding: 11px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.site-nav a:hover {
  color: white;
  background: rgba(255, 255, 255, 0.09);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 19px;
  height: 2px;
  margin: 4px auto;
  border-radius: 99px;
  background: white;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(410px, 0.96fr);
  gap: 54px;
  align-items: center;
  min-height: calc(100vh - 132px);
  padding-bottom: 80px;
}

.hero-copy {
  min-width: 0;
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: "Space Grotesk", sans-serif;
}

h1 {
  max-width: 780px;
  margin-bottom: 24px;
  font-size: clamp(3.3rem, 6.9vw, 6.25rem);
  line-height: 0.98;
  letter-spacing: -0.075em;
  text-wrap: balance;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2.25rem, 4.6vw, 4.7rem);
  line-height: 1;
  letter-spacing: -0.06em;
  text-wrap: balance;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.38rem;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

p {
  color: var(--muted);
  line-height: 1.72;
}

.hero-lead {
  max-width: 650px;
  margin-bottom: 32px;
  font-size: clamp(1.07rem, 1.55vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 26px;
}

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 900;
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.button::before {
  content: "";
  position: absolute;
  inset: -80%;
  background: conic-gradient(from 90deg, transparent, rgba(255, 255, 255, 0.55), transparent 32%);
  opacity: 0;
  transition: opacity 180ms ease;
  animation: spin 4s linear infinite;
}

.button:hover::before {
  opacity: 1;
}

.button-primary {
  background: linear-gradient(135deg, var(--pink), var(--violet) 48%, var(--cyan));
  color: white;
  box-shadow: 0 22px 54px rgba(255, 75, 216, 0.24), 0 0 44px rgba(0, 229, 255, 0.13);
}

.button-secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.08);
  color: white;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.signal-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.signal-row span {
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.07);
  font-size: 0.83rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero-stage {
  position: relative;
  min-height: 630px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 46px;
  background:
    radial-gradient(circle at 50% 36%, rgba(255, 75, 216, 0.36), transparent 28%),
    radial-gradient(circle at 52% 64%, rgba(0, 229, 255, 0.24), transparent 32%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.045));
  box-shadow: var(--shadow), inset 0 0 90px rgba(255, 255, 255, 0.045);
  overflow: hidden;
  transform-style: preserve-3d;
}

.hero-stage::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(115deg, rgba(255, 75, 216, 0.48), transparent 28%, rgba(0, 229, 255, 0.42) 62%, transparent);
  opacity: 0.55;
  mix-blend-mode: screen;
  animation: stageGlow 6s ease-in-out infinite alternate;
}

@keyframes stageGlow {
  from { transform: translateX(-8%); }
  to { transform: translateX(8%); }
}

.stage-ring {
  position: absolute;
  left: 50%;
  top: 48%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.ring-one {
  width: 440px;
  height: 440px;
  animation: rotateSlow 18s linear infinite;
}

.ring-two {
  width: 310px;
  height: 310px;
  animation: rotateSlow 12s linear infinite reverse;
}

.stage-ring::before,
.stage-ring::after {
  content: "";
  position: absolute;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 24px var(--cyan);
}

.stage-ring::before {
  left: 50%;
  top: -7px;
}

.stage-ring::after {
  right: 14%;
  bottom: 8%;
  background: var(--pink);
  box-shadow: 0 0 24px var(--pink);
}

@keyframes rotateSlow {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.stage-core {
  position: absolute;
  left: 50%;
  top: 47%;
  display: grid;
  place-items: center;
  width: 245px;
  height: 245px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 42px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.05)),
    rgba(8, 6, 22, 0.52);
  box-shadow: 0 28px 86px rgba(0, 0, 0, 0.38), inset 0 0 52px rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(18px);
  transform: translate(-50%, -50%) rotate(-6deg);
}

.hero-logo {
  width: 155px;
  max-height: 155px;
  object-fit: contain;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.32));
}

.pulse-orbit {
  position: absolute;
  display: grid;
  place-items: center;
  min-width: 68px;
  height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.11);
  color: white;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}

.orbit-a { left: -42px; top: 30px; }
.orbit-b { right: -44px; top: 70px; }
.orbit-c { left: -32px; bottom: 42px; }
.orbit-d { right: -32px; bottom: 28px; }

.stage-panel {
  position: absolute;
  left: 28px;
  right: 28px;
  padding: 20px 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  background: rgba(7, 5, 20, 0.54);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

.stage-panel span {
  display: block;
  margin-bottom: 6px;
  color: var(--cyan);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.stage-panel strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.18rem;
  letter-spacing: -0.03em;
}

.panel-top { top: 28px; }
.panel-bottom { bottom: 28px; }

.section {
  margin-bottom: 120px;
}

.intro-section {
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: 42px;
  background:
    linear-gradient(135deg, rgba(255, 75, 216, 0.14), rgba(0, 229, 255, 0.08)),
    rgba(255, 255, 255, 0.055);
  box-shadow: 0 24px 86px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 36px;
  align-items: end;
}

.intro-grid p {
  margin-bottom: 0;
  font-size: 1.05rem;
}

.section-heading {
  max-width: 850px;
  margin-bottom: 34px;
}

.section-heading.compact {
  max-width: 680px;
}

.power-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.power-card,
.showcase-card,
.timeline-item,
.contact-card {
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.045)),
    rgba(255, 255, 255, 0.045);
  box-shadow: 0 24px 72px rgba(0, 0, 0, 0.23);
  backdrop-filter: blur(18px);
}

.power-card {
  position: relative;
  min-height: 310px;
  padding: 24px;
  border-radius: var(--radius);
  overflow: hidden;
  transform-style: preserve-3d;
}

.power-card::before,
.showcase-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: -1;
  background: radial-gradient(circle at 20% 0%, rgba(255, 75, 216, 0.3), transparent 34%), radial-gradient(circle at 86% 20%, rgba(0, 229, 255, 0.2), transparent 30%);
  opacity: 0;
  transition: opacity 220ms ease;
}

.power-card:hover::before,
.showcase-card:hover::before {
  opacity: 1;
}

.card-xl {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 638px;
}

.card-wide {
  grid-column: span 2;
}

.card-index {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-bottom: 70px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 75, 216, 0.9), rgba(124, 77, 255, 0.9));
  color: white;
  font-weight: 900;
  box-shadow: 0 18px 38px rgba(255, 75, 216, 0.2);
}

.card-xl .card-index {
  margin-bottom: 300px;
}

.power-card p,
.showcase-card p {
  margin-bottom: 0;
}

.process-section {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 48px;
  align-items: start;
}

.timeline {
  position: relative;
  display: grid;
  gap: 16px;
}

.timeline-line {
  position: absolute;
  left: 29px;
  top: 20px;
  bottom: 20px;
  width: 1px;
  background: linear-gradient(var(--pink), var(--cyan));
  opacity: 0.5;
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 20px;
  padding: 22px;
  border-radius: 26px;
}

.timeline-item span {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.11);
  color: var(--cyan);
  font-weight: 900;
}

.timeline-item p {
  margin-bottom: 0;
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  gap: 18px;
}

.showcase-card {
  position: relative;
  padding: 18px;
  border-radius: var(--radius);
  overflow: hidden;
  transform-style: preserve-3d;
}

.showcase-main {
  grid-row: span 2;
}

.media-placeholder {
  display: grid;
  place-items: center;
  min-height: 240px;
  margin-bottom: 18px;
  border-radius: 23px;
  color: rgba(255, 255, 255, 0.74);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  overflow: hidden;
}

.showcase-main .media-placeholder {
  min-height: 470px;
}

.gradient-a {
  background: radial-gradient(circle at 30% 20%, rgba(255, 216, 77, 0.56), transparent 26%), radial-gradient(circle at 68% 42%, rgba(255, 75, 216, 0.62), transparent 30%), linear-gradient(135deg, rgba(124, 77, 255, 0.85), rgba(0, 229, 255, 0.42));
}

.gradient-b {
  background: radial-gradient(circle at 30% 20%, rgba(0, 229, 255, 0.6), transparent 28%), linear-gradient(135deg, rgba(6, 255, 178, 0.36), rgba(124, 77, 255, 0.8));
}

.gradient-c {
  background: radial-gradient(circle at 75% 22%, rgba(255, 138, 61, 0.7), transparent 30%), linear-gradient(135deg, rgba(255, 75, 216, 0.58), rgba(124, 77, 255, 0.82));
}

.contact-section {
  margin-bottom: 56px;
}

.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: clamp(30px, 5vw, 64px);
  border-radius: 44px;
  background:
    radial-gradient(circle at 10% 10%, rgba(255, 75, 216, 0.28), transparent 32%),
    radial-gradient(circle at 90% 70%, rgba(0, 229, 255, 0.2), transparent 34%),
    rgba(255, 255, 255, 0.07);
}

.contact-card p {
  max-width: 760px;
  margin-bottom: 0;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 30px 0 46px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: white;
  font-weight: 900;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 720ms ease, transform 720ms cubic-bezier(0.16, 1, 0.3, 1);
}

@media (max-width: 1040px) {
  .hero,
  .intro-grid,
  .process-section,
  .showcase-grid {
    grid-template-columns: 1fr;
  }

  .hero-stage {
    min-height: 560px;
  }

  .power-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .card-xl,
  .card-wide {
    grid-column: span 1;
    grid-row: span 1;
    min-height: 330px;
  }

  .card-xl .card-index {
    margin-bottom: 70px;
  }
}

@media (max-width: 760px) {
  .page-shell {
    width: min(100% - 22px, var(--max));
  }

  .site-header {
    align-items: center;
    border-radius: 24px;
  }

  .brand-copy small {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(8, 6, 22, 0.96);
    backdrop-filter: blur(18px);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 14px 16px;
  }

  .hero {
    min-height: auto;
    padding-bottom: 56px;
  }

  h1 {
    font-size: clamp(2.85rem, 14vw, 4.25rem);
    letter-spacing: -0.065em;
  }

  h2 {
    font-size: clamp(2.1rem, 10vw, 3.2rem);
  }

  .hero-stage {
    min-height: 460px;
    border-radius: 34px;
  }

  .stage-core {
    width: 190px;
    height: 190px;
  }

  .hero-logo {
    width: 122px;
  }

  .ring-one {
    width: 330px;
    height: 330px;
  }

  .ring-two {
    width: 240px;
    height: 240px;
  }

  .stage-panel {
    left: 16px;
    right: 16px;
  }

  .power-grid {
    grid-template-columns: 1fr;
  }

  .intro-section {
    padding: 24px;
    border-radius: 30px;
  }

  .contact-card {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}
