:root {
  --bg-a: #0a0a1a;
  --bg-b: #1a0b2e;
  --violet: #8B5CF6;
  --pink: #EC4899;
  --blue: #3B82F6;
  --glow: #C084FC;
  --text: #f8f7ff;
  --muted: rgba(248, 247, 255, 0.72);
  --border: rgba(255, 255, 255, 0.16);
  --variant-glow: #C084FC;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    linear-gradient(180deg, rgba(10, 10, 26, 0), rgba(10, 10, 26, 0.92) 46rem),
    radial-gradient(circle at 16% 22%, rgba(139, 92, 246, 0.22), transparent 28rem),
    radial-gradient(circle at 82% 42%, rgba(236, 72, 153, 0.14), transparent 30rem),
    linear-gradient(135deg, var(--bg-a), var(--bg-b) 58%, #080612);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body[data-variant="rose"] {
  --variant-glow: #EC4899;
  --hue: 28deg;
  --sat: 1.18;
}

body[data-variant="blue"] {
  --variant-glow: #60A5FA;
  --hue: -20deg;
  --sat: 1.18;
}

body[data-variant="gold"] {
  --variant-glow: #F59E0B;
  --hue: 118deg;
  --sat: 1.14;
}

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

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

.nav {
  position: fixed;
  top: 1rem;
  left: 50%;
  z-index: 10;
  width: min(1180px, calc(100% - 2rem));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.72rem 0.8rem 0.72rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(10, 10, 26, 0.08);
  backdrop-filter: blur(6px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.12);
  transform: translateX(-50%);
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

.nav.is-scrolled {
  background: rgba(9, 7, 22, 0.88);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(20px);
}

.brand {
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: 0;
  text-shadow: 0 0 18px rgba(0, 0, 0, 0.48);
  white-space: nowrap;
}

.brand::after {
  content: "";
  display: inline-block;
  width: 0.52rem;
  height: 0.52rem;
  margin-left: 0.42rem;
  border-radius: 999px;
  background: var(--pink);
  box-shadow: 0 0 24px var(--pink);
}

.nav__links {
  display: flex;
  gap: clamp(0.85rem, 2.6vw, 2rem);
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.92rem;
  text-shadow: 0 0 16px rgba(0, 0, 0, 0.7);
}

.nav__links a,
.footer__bottom a {
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.nav__links a:hover,
.footer__bottom a:hover {
  color: white;
  text-shadow: 0 0 18px var(--glow);
}

.nav__cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
}

.nav__cta {
  min-height: 2.45rem;
  padding: 0.65rem 1rem;
  background: linear-gradient(135deg, var(--violet), var(--pink));
  box-shadow: 0 0 24px rgba(236, 72, 153, 0.34);
  font-size: 0.86rem;
  white-space: nowrap;
}

.nav__cta:hover {
  transform: translateY(-1px) scale(1.03);
  box-shadow: 0 0 34px rgba(192, 132, 252, 0.58);
}

.hero {
  min-height: 100vh;
  position: relative;
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero__video {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--bg-a);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 -1px;
  height: 18rem;
  z-index: -1;
  background: linear-gradient(180deg, transparent, rgba(10, 10, 26, 0.94) 76%, var(--bg-a));
  pointer-events: none;
}

.hero__watermark-mask {
  position: absolute;
  right: clamp(0.8rem, 2.2vw, 1.6rem);
  bottom: clamp(0.8rem, 2.2vw, 1.6rem);
  width: 44px;
  height: 44px;
  z-index: 2;
  border-radius: 10px;
  background: #070711;
  box-shadow: 0 0 18px rgba(7, 7, 17, 0.9);
  pointer-events: none;
}

.hero__content {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 8rem clamp(1rem, 4vw, 3rem) 5rem;
}

.hero__copy {
  width: 100%;
  position: relative;
  padding: clamp(1.1rem, 2.5vw, 1.8rem) 0;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__copy::before {
  content: "";
  position: absolute;
  inset: -3rem -6rem -3rem -3rem;
  z-index: -1;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.74), rgba(0, 0, 0, 0.34) 48%, transparent);
  filter: blur(12px);
  pointer-events: none;
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: #e9d5ff;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1.3rem;
  letter-spacing: -0.03em;
  line-height: 1;
  text-shadow: 0 0 34px rgba(0, 0, 0, 0.4);
}

.hero-heading-top {
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: -0.05em;
}

.hero-heading-bottom {
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 800;
  white-space: nowrap;
  background: linear-gradient(to bottom, #ffffff 20%, #888888 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2.1rem, 4.8vw, 4.8rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 0.7rem;
  font-size: 1.2rem;
}

.hero__text,
.section__header,
.feature-card p,
.buy p,
.footer p {
  color: var(--muted);
  line-height: 1.7;
}

.hero__text {
  max-width: 35rem;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1rem, 1.35vw, 1.16rem);
}

.button {
  min-height: 3.3rem;
  padding: 0.9rem 1.35rem;
}

.button--primary {
  margin-top: 1.2rem;
  background: linear-gradient(135deg, var(--violet), var(--pink));
  box-shadow: 0 0 32px rgba(236, 72, 153, 0.4);
}

.button--primary:hover,
.button--dark:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 0 46px rgba(192, 132, 252, 0.68);
}

.hero-enter {
  opacity: 0;
  transform: translateY(24px);
  animation: heroIn 0.72s ease forwards;
}

.hero-enter:nth-child(1) {
  animation-delay: 0.32s;
}

.hero-enter:nth-child(2) {
  animation-delay: 0.42s;
}

.hero-enter:nth-child(3) {
  animation-delay: 0.52s;
}

.hero-enter:nth-child(4) {
  animation-delay: 0.62s;
}

.section {
  position: relative;
  padding: clamp(5rem, 10vw, 8rem) clamp(1rem, 4vw, 4rem);
}

.section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(10, 10, 26, 0), rgba(26, 11, 46, 0.36), rgba(10, 10, 26, 0));
  pointer-events: none;
}

.section__header {
  width: min(850px, 100%);
  margin: 0 auto clamp(2rem, 5vw, 4rem);
  text-align: center;
}

.feature-grid,
.gallery-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}

.feature-grid {
  grid-template-columns: repeat(3, 1fr);
}

.feature-card {
  min-height: 17rem;
  padding: clamp(1.2rem, 2.6vw, 2rem);
  border: 1px solid var(--border);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.045));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-7px);
  border-color: rgba(192, 132, 252, 0.5);
  box-shadow: 0 22px 56px rgba(139, 92, 246, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.feature-card__icon {
  width: 3.4rem;
  height: 3.4rem;
  display: grid;
  place-items: center;
  margin-bottom: 1.5rem;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--violet), var(--pink), var(--blue));
  font-weight: 900;
  box-shadow: 0 0 26px rgba(192, 132, 252, 0.42);
}

.variant-showcase {
  width: min(850px, 100%);
  margin: 0 auto;
  display: grid;
  place-items: center;
  gap: 1.25rem;
}

.variant-showcase__image {
  width: min(720px, 100%);
  position: relative;
  padding: clamp(0.5rem, 2vw, 1.2rem);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035));
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.32);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.variant-showcase__image:hover {
  transform: translateY(-7px);
  border-color: rgba(192, 132, 252, 0.5);
  box-shadow: 0 22px 56px rgba(139, 92, 246, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.variant-showcase__image::before {
  content: "";
  position: absolute;
  inset: 12%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--variant-glow) 44%, transparent), transparent 68%);
  filter: blur(24px);
}

#variantImage {
  width: 100%;
  border-radius: 8px;
  filter: drop-shadow(0 0 28px color-mix(in srgb, var(--variant-glow) 48%, transparent)) saturate(var(--sat, 1.08)) hue-rotate(var(--hue, 0deg));
  transition: opacity 0.26s ease, transform 0.26s ease, filter 0.45s ease;
}

#variantImage.is-switching {
  opacity: 0.58;
  transform: scale(0.985);
}

.variant-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.variant-panel p {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.swatches {
  display: flex;
  gap: 0.8rem;
}

.swatch {
  width: 2.45rem;
  height: 2.45rem;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.swatch span {
  width: 1.22rem;
  height: 1.22rem;
  border-radius: 999px;
  background: var(--swatch);
  box-shadow: 0 0 18px var(--swatch);
}

.swatch:hover,
.swatch.is-active {
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2), 0 0 28px var(--variant-glow);
}

.swatch.is-active {
  animation: ringPulse 1.7s ease-in-out infinite;
}

.gallery-grid {
  grid-template-columns: 1.15fr 0.85fr;
  grid-template-areas:
    "studio travel"
    "studio gym";
}

.vibe-card {
  min-height: 21rem;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #120b25;
  isolation: isolate;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.vibe-card:hover {
  transform: translateY(-7px);
  border-color: rgba(192, 132, 252, 0.5);
  box-shadow: 0 22px 56px rgba(139, 92, 246, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.vibe-card--studio {
  grid-area: studio;
  min-height: 43rem;
}

.vibe-card--travel {
  grid-area: travel;
}

.vibe-card--gym {
  grid-area: gym;
}

.vibe-card img {
  width: 112%;
  height: 112%;
  max-width: none;
  object-fit: cover;
  position: absolute;
  inset: -6%;
  opacity: 0.92;
  transform: translateY(var(--parallax, 0));
  filter: saturate(1.12) contrast(1.08);
}

.vibe-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, transparent 35%, rgba(6, 5, 16, 0.9)),
    linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(236, 72, 153, 0.12), rgba(59, 130, 246, 0.16));
}

.vibe-card div {
  position: absolute;
  left: 1.5rem;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 2;
}

.vibe-card span {
  color: #e9d5ff;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.vibe-card h3 {
  margin: 0.3rem 0 0;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
}

.buy {
  padding: clamp(5rem, 10vw, 8rem) clamp(1rem, 4vw, 4rem);
}

.buy__inner {
  width: min(1100px, 100%);
  margin: 0 auto;
  padding: clamp(2rem, 6vw, 5rem);
  overflow: hidden;
  border-radius: 8px;
  position: relative;
  display: block;
  align-items: center;
  gap: clamp(1rem, 4vw, 3rem);
  background:
    radial-gradient(circle at 30% 45%, rgba(255, 255, 255, 0.2), transparent 18rem),
    linear-gradient(135deg, rgba(139, 92, 246, 0.96), rgba(236, 72, 153, 0.92), rgba(59, 130, 246, 0.95));
  box-shadow: 0 30px 90px rgba(139, 92, 246, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.24);
  isolation: isolate;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.buy__inner:hover {
  transform: translateY(-7px);
  box-shadow: 0 30px 110px rgba(139, 92, 246, 0.54), inset 0 1px 0 rgba(255, 255, 255, 0.44);
}

.buy__inner::before {
  content: "";
  position: absolute;
  width: 30rem;
  height: 30rem;
  left: 8%;
  top: 50%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.36), rgba(192, 132, 252, 0.24) 38%, transparent 68%);
  filter: blur(18px);
  transform: translateY(-50%);
  animation: lightBurst 4.8s ease-in-out infinite;
}

.buy__particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.24;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.56) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 42px 42px, 16px 16px;
  mask-image: linear-gradient(90deg, black, transparent 80%);
  animation: particleFloat 12s linear infinite;
}

.buy__copy {
  position: relative;
  z-index: 2;
  pointer-events: none;
}

.buy__copy a {
  pointer-events: auto;
}

.buy__spline {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.buy h2 {
  max-width: 11ch;
}

.buy p {
  max-width: 38rem;
  color: rgba(255, 255, 255, 0.84);
}

.button--dark {
  margin-top: 1rem;
  background: rgba(10, 10, 26, 0.88);
  box-shadow: 0 0 34px rgba(255, 255, 255, 0.2);
  animation: pulseButton 1.8s ease-in-out infinite;
}

.buy__product {
  min-height: 18rem;
  display: grid;
  place-items: center;
}

.buy__product img {
  width: min(34rem, 100%);
  border-radius: 8px;
  mix-blend-mode: screen;
  filter: drop-shadow(0 0 36px rgba(255, 255, 255, 0.34)) saturate(1.2);
  transform: rotate(-3deg);
  opacity: 0.9;
}

.footer {
  padding: clamp(4rem, 8vw, 5rem) clamp(1rem, 4vw, 4rem) 2rem;
  background:
    linear-gradient(90deg, rgba(139, 92, 246, 0.5), rgba(236, 72, 153, 0.5), rgba(59, 130, 246, 0.5)) top / 100% 1px no-repeat,
    linear-gradient(180deg, rgba(9, 7, 22, 0.98), rgba(5, 4, 14, 1));
}

.footer__top,
.footer__bottom {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer__top {
  padding-bottom: 2.5rem;
}

.footer__brand {
  display: grid;
  gap: 0.8rem;
}

.footer__bottom {
  padding-top: 1.3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

.footer__bottom div,
.socials {
  display: flex;
  gap: 0.8rem;
}

.footer p {
  margin: 0;
  color: rgba(248, 247, 255, 0.78);
}

.socials a {
  width: 2.6rem;
  height: 2.6rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.78rem;
  font-weight: 900;
  transition: color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.socials a:hover {
  color: white;
  transform: translateY(-2px);
  border-color: rgba(192, 132, 252, 0.72);
  box-shadow: 0 0 24px rgba(192, 132, 252, 0.42);
}

.reveal {
  opacity: 0;
  transform: translateY(34px);
}

.reveal.is-visible {
  animation: riseIn 0.72s ease forwards;
}

.feature-card.reveal:nth-child(2),
.vibe-card.reveal:nth-child(2) {
  animation-delay: 0.12s;
}

.feature-card.reveal:nth-child(3),
.vibe-card.reveal:nth-child(3) {
  animation-delay: 0.22s;
}

@keyframes heroIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(34px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes ringPulse {
  0%,
  100% {
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18), 0 0 18px var(--variant-glow);
  }
  50% {
    box-shadow: 0 0 0 6px color-mix(in srgb, var(--variant-glow) 20%, transparent), 0 0 36px var(--variant-glow);
  }
}

@keyframes lightBurst {
  0%,
  100% {
    opacity: 0.58;
    transform: translateY(-50%) scale(0.9);
  }
  50% {
    opacity: 0.92;
    transform: translateY(-50%) scale(1.08);
  }
}

@keyframes particleFloat {
  to {
    background-position: 84px -84px, 32px 32px;
  }
}

@keyframes pulseButton {
  0%,
  100% {
    box-shadow: 0 0 24px rgba(255, 255, 255, 0.18);
  }
  50% {
    box-shadow: 0 0 44px rgba(255, 255, 255, 0.42);
  }
}

@media (max-width: 900px) {
  .feature-grid,
  .gallery-grid,
  .buy__inner {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-areas: none;
  }

  .vibe-card,
  .vibe-card--studio,
  .vibe-card--travel,
  .vibe-card--gym {
    grid-area: auto;
    min-height: 23rem;
  }

  .buy__inner,
  .buy p,
  .buy h2 {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .buy__product {
    min-height: 14rem;
  }
}

@media (max-width: 620px) {
  .nav {
    top: 0.65rem;
    width: calc(100% - 1rem);
    padding: 0.62rem 0.65rem;
  }

  .nav__links {
    display: none;
  }

  .nav__cta {
    min-height: 2.25rem;
    padding: 0.56rem 0.78rem;
    font-size: 0.78rem;
  }

  .hero {
    align-items: end;
  }

  .hero__content {
    padding: 7rem 1rem 5rem;
  }

  .hero__copy::before {
    inset: -2rem -2rem -2rem -1rem;
  }

  h1 {
    font-size: clamp(3.6rem, 17vw, 5.2rem);
  }

  .hero__text {
    font-size: 0.96rem;
    line-height: 1.55;
  }

  .hero__watermark-mask {
    width: 40px;
    height: 40px;
  }

  .variant-panel {
    flex-direction: column;
  }

  .footer,
  .footer__top,
  .footer__bottom {
    text-align: center;
  }

  .footer__top,
  .footer__bottom {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
