:root {
  --brand-purple: #6f20fa;
  --brand-mint: #7bdaa4;
  --ink-dark: #15092f;
  --ink-light: #f7f2ff;
  --ink-soft: rgba(247, 242, 255, 0.74);
  --glass: rgba(255, 255, 255, 0.18);
  --glass-strong: rgba(255, 255, 255, 0.32);
  --glass-border: rgba(255, 255, 255, 0.45);
  --shadow: 0 22px 50px rgba(16, 6, 45, 0.28);
  --shadow-soft: 0 16px 30px rgba(16, 6, 45, 0.22);
}

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

body {
  min-height: 100vh;
  font-family: "Space Grotesk", sans-serif;
  color: var(--ink-light);
  background: var(--brand-purple);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

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

.backdrop {
  position: fixed;
  inset: -10%;
  z-index: -2;
  background:
    radial-gradient(1200px 900px at 14% 12%, rgba(123, 218, 164, 0.22), transparent 60%),
    radial-gradient(900px 700px at 86% 18%, rgba(255, 255, 255, 0.18), transparent 60%),
    radial-gradient(900px 800px at 70% 88%, rgba(37, 12, 94, 0.6), transparent 60%),
    linear-gradient(130deg, #6f20fa 0%, #5a17d4 45%, #350a82 100%);
  background-size: 160% 160%;
  animation: wash 18s ease-in-out infinite;
}

.orb {
  position: absolute;
  border-radius: 999px;
  opacity: 0.75;
  filter: blur(4px);
  mix-blend-mode: soft-light;
  animation: float 20s ease-in-out infinite;
}

.orb-1 {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle at 30% 30%, rgba(111, 32, 250, 0.6), rgba(111, 32, 250, 0));
  top: -140px;
  left: -80px;
}

.orb-2 {
  width: 360px;
  height: 360px;
  background: radial-gradient(circle at 60% 40%, rgba(123, 218, 164, 0.65), rgba(123, 218, 164, 0));
  top: 40px;
  right: -120px;
  animation-delay: -6s;
}

.orb-3 {
  width: 460px;
  height: 460px;
  background: radial-gradient(circle at 40% 60%, rgba(124, 180, 255, 0.5), rgba(124, 180, 255, 0));
  bottom: -200px;
  left: 12%;
  animation-delay: -10s;
}

.orb-4 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0));
  bottom: 10%;
  right: 10%;
  animation-delay: -4s;
}

.grid {
  position: absolute;
  inset: -10%;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 90px 90px;
  opacity: 0.25;
  animation: drift 26s linear infinite;
}

.parallax {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.parallax-item {
  position: absolute;
  top: var(--y);
  left: var(--x);
  width: var(--size);
  height: var(--size);
  opacity: var(--opacity);
  transform: translate3d(0, 0, 0) scale(var(--scale));
  will-change: transform;
}

.parallax-item::after {
  content: "";
  position: absolute;
  inset: 12% -40% 12% 12%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.3), transparent);
  filter: blur(12px);
  opacity: 0.35;
  pointer-events: none;
}

.parallax-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: blur(var(--blur)) saturate(120%) brightness(1.1);
  opacity: 0.95;
}

.parallax-item.fly-right {
  animation: fly-right var(--duration) linear infinite;
  animation-delay: var(--delay);
}

.parallax-item.fly-left {
  animation: fly-left var(--duration) linear infinite;
  animation-delay: var(--delay);
}

.page {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
  padding: 70px 28px 90px;
  display: flex;
  flex-direction: column;
  gap: 44px;
}

.page > * {
  animation: rise 0.9s ease both;
}

.page > *:nth-child(2) {
  animation-delay: 0.2s;
}

.page > *:nth-child(3) {
  animation-delay: 0.35s;
}

.hero {
  display: grid;
  grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  position: relative;
  isolation: isolate;
  padding: 12px 0 6px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -40px -20px 0 -40px;
  background:
    radial-gradient(60% 60% at 10% 10%, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0)),
    radial-gradient(40% 40% at 70% 30%, rgba(123, 218, 164, 0.2), rgba(123, 218, 164, 0));
  border-radius: 58% 42% 50% 60% / 55% 48% 52% 45%;
  z-index: -1;
}

.logo-wrap {
  position: relative;
  display: grid;
  place-items: center;
  padding: 4px;
}

.logo-wrap::before {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0));
  filter: blur(24px);
  z-index: -1;
}

.logo {
  width: min(260px, 100%);
  filter: drop-shadow(0 18px 30px rgba(9, 4, 30, 0.45));
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 520px;
}

.eyebrow {
  display: inline-flex;
  align-self: flex-start;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--ink-light);
}

.hero h1 {
  font-family: "Unbounded", sans-serif;
  font-size: clamp(2.1rem, 4vw, 3.6rem);
  letter-spacing: 0.02em;
  background: linear-gradient(120deg, #f7f2ff, var(--brand-mint));
  -webkit-background-clip: text;
  color: transparent;
}

.hero p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink-soft);
}

.actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn {
  align-self: flex-start;
  padding: 12px 24px;
  border-radius: 999px;
  background: linear-gradient(120deg, rgba(111, 32, 250, 0.85), rgba(123, 218, 164, 0.9));
  color: #0a081a;
  font-weight: 600;
  box-shadow: 0 14px 26px rgba(20, 8, 55, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 18px 32px rgba(20, 8, 55, 0.3);
}

.note {
  font-size: 0.95rem;
  color: rgba(247, 242, 255, 0.68);
}

.carousel {
  position: relative;
  padding: 10px 0 6px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  isolation: isolate;
}

.carousel-window {
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
}

.carousel-track {
  display: flex;
  gap: 22px;
  width: max-content;
  animation: scroll 40s linear infinite;
  padding: 8px 0 18px;
}


.frame {
  width: 240px;
  height: 240px;
  border-radius: 22px;
  overflow: hidden;
}

.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(115%);
}

.footer {
  padding: 18px 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 0.95rem;
  color: rgba(247, 242, 255, 0.65);
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.footer strong {
  font-weight: 600;
  margin-right: 10px;
  color: rgba(247, 242, 255, 0.9);
}

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

@keyframes float {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(40px, 30px, 0) scale(1.06);
  }
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-120px, -120px, 0);
  }
}

@keyframes fly-right {
  from {
    transform: translate3d(-160vw, 0, 0) scale(var(--scale));
  }
  to {
    transform: translate3d(160vw, 0, 0) scale(var(--scale));
  }
}

@keyframes fly-left {
  from {
    transform: translate3d(160vw, 0, 0) scale(var(--scale));
  }
  to {
    transform: translate3d(-160vw, 0, 0) scale(var(--scale));
  }
}

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

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .hero::before {
    inset: -30px -10px 0 -10px;
  }

  .hero-copy {
    text-align: center;
    align-items: center;
  }

  .eyebrow {
    align-self: center;
  }

  .actions {
    align-items: center;
  }

  .btn {
    align-self: center;
  }

  .footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .page {
    padding: 50px 18px 70px;
  }

  .frame {
    width: 200px;
    height: 200px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .carousel-track,
  .parallax-item,
  .orb,
  .grid,
  .backdrop,
  .page > * {
    animation: none;
  }

  .btn {
    transition: none;
  }
}
