:root {
  --bg: #f6f4f0;
  --text-dark: #171412;
  --text-soft: #4d4743;
  --accent: #7161f6;
  --accent-2: #d4ff29;
  --frame: #0f0d0c;
  --shadow: 0 30px 90px rgba(16, 12, 10, 0.12);
  --container: 1220px;
  --hero-copy: 1080px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(180deg, rgba(113, 97, 246, 0.06) 0%, rgba(113, 97, 246, 0) 18%),
    radial-gradient(circle at top center, rgba(212, 255, 41, 0.12), transparent 24%),
    var(--bg);
  color: var(--text-dark);
  font-family: "Manrope", sans-serif;
}

iframe {
  display: block;
  border: 0;
  width: 100%;
  height: 100%;
}

video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page {
  min-height: 100vh;
}

.hero {
  padding: 48px 24px 80px;
}

.hero__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 0 20px;
  padding: 10px 16px;
  border: 1px solid rgba(23, 20, 18, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #1f1a17;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  text-align: center;
  font-weight: 700;
  box-shadow: 0 12px 30px rgba(17, 13, 11, 0.06);
}

.hero__eyebrow-dot {
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 0 0 rgba(212, 255, 41, 0.55);
  animation: pulse-dot 1.6s ease-out infinite;
}

.hero__eyebrow-loading {
  position: relative;
  width: 34px;
  height: 8px;
  border-radius: 999px;
  background: rgba(23, 20, 18, 0.08);
  overflow: hidden;
}

.hero__eyebrow-loading::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 40%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-2) 100%);
  animation: loading-slide 1.2s ease-in-out infinite;
}

.hero h1 {
  margin: 0;
  max-width: var(--hero-copy);
  text-align: center;
  color: var(--text-dark);
  text-wrap: balance;
  font-size: clamp(2rem, 3.2vw, 3.2rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 700;
}

.hero h1::after {
  content: "";
  display: block;
  width: 88px;
  height: 5px;
  margin: 24px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-2) 100%);
}

.hero__highlight {
  color: var(--accent);
}

.hero__media {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  width: 100%;
}

.hero__actions {
  width: min(100%, 520px);
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 16px 24px;
  border-radius: 0;
  text-decoration: none;
  text-align: center;
  font-size: 1rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  transition:
    transform 180ms ease,
    opacity 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button--primary {
  color: #161311;
  font-weight: 700;
  background: var(--accent-2);
  box-shadow: 0 16px 36px rgba(212, 255, 41, 0.22);
}

.button--primary:hover {
  box-shadow: 0 20px 40px rgba(212, 255, 41, 0.28);
}

.button--ghost {
  color: rgba(23, 20, 18, 0.72);
  font-weight: 500;
  background: transparent;
}

.button--ghost:hover {
  opacity: 0.9;
}

.showcase {
  width: 100%;
  margin-top: 54px;
  padding: 20px 0 8px;
}

.showcase__header {
  padding: 0 0 24px;
  text-align: center;
}

.showcase__header h2 {
  margin: 0;
  max-width: none;
  color: var(--text-dark);
  font-size: clamp(1.9rem, 3.4vw, 3.8rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
  font-weight: 700;
  text-align: center;
}

.showcase__marquee {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
}

.showcase__marquee::before,
.showcase__marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(28px, 6vw, 80px);
  z-index: 2;
  pointer-events: none;
}

.showcase__marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg) 0%, rgba(246, 244, 240, 0) 100%);
}

.showcase__marquee::after {
  right: 0;
  background: linear-gradient(270deg, var(--bg) 0%, rgba(246, 244, 240, 0) 100%);
}

.showcase__track {
  display: flex;
  gap: 22px;
  width: max-content;
  padding: 0 24px;
  animation: showcase-scroll 34s linear infinite;
}

.showcase__track:hover {
  animation-play-state: paused;
}

.showcase__card {
  position: relative;
  width: min(32vw, 460px);
  min-width: 320px;
  aspect-ratio: 16 / 9;
  border-radius: 24px;
  overflow: hidden;
  background: #0d0b0c;
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 24px 50px rgba(0, 0, 0, 0.22);
}

.showcase__card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 38%;
  background: linear-gradient(180deg, transparent 0%, rgba(7, 6, 6, 0.34) 100%);
  pointer-events: none;
}

.video-card {
  position: relative;
  width: min(100%, 344px);
}

.video-card__glow {
  position: absolute;
  inset: auto 8% -7% 8%;
  height: 30%;
  border-radius: 50%;
  background: rgba(113, 97, 246, 0.18);
  filter: blur(48px);
}

.video-card__shell {
  aspect-ratio: 9 / 16;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.video-card__shell iframe {
  border-radius: 18px;
  background: #000;
}

@keyframes pulse-dot {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(212, 255, 41, 0.5);
  }

  70% {
    transform: scale(1.04);
    box-shadow: 0 0 0 10px rgba(212, 255, 41, 0);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(212, 255, 41, 0);
  }
}

@keyframes loading-slide {
  0% {
    transform: translateX(0);
  }

  50% {
    transform: translateX(150%);
  }

  100% {
    transform: translateX(0);
  }
}

@keyframes showcase-scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

@media (max-width: 1100px) {
  .hero h1 {
    max-width: 920px;
    font-size: clamp(1.9rem, 3.6vw, 2.8rem);
    line-height: 1.1;
  }

  .video-card {
    width: min(100%, 336px);
  }
}

@media (max-width: 820px) {
  .hero {
    padding: 30px 20px 56px;
  }

  .hero__eyebrow {
    margin-bottom: 18px;
    padding: 9px 14px;
  }

  .hero h1 {
    max-width: 760px;
    font-size: clamp(1.8rem, 4.4vw, 2.45rem);
    line-height: 1.12;
    letter-spacing: -0.025em;
  }

  .hero h1::after {
    width: 74px;
    margin-top: 20px;
  }

  .hero__media {
    margin-top: 28px;
  }

  .hero__actions {
    margin-top: 24px;
  }

  .showcase {
    margin-top: 42px;
    padding-top: 16px;
  }

  .showcase__header {
    padding-bottom: 20px;
  }

  .showcase__header h2 {
    font-size: clamp(1.6rem, 4.8vw, 2.6rem);
  }

  .showcase__track {
    gap: 16px;
    padding: 0 20px;
  }

  .showcase__card {
    width: min(62vw, 420px);
    min-width: 280px;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 22px 16px 38px;
  }

  .hero__eyebrow {
    margin-bottom: 16px;
    gap: 8px;
    padding: 8px 12px;
    font-size: 0.62rem;
    letter-spacing: 0.06em;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(1.5rem, 5.4vw, 2rem);
    line-height: 1.16;
    letter-spacing: -0.02em;
    text-wrap: pretty;
  }

  .hero h1::after {
    width: 60px;
    height: 4px;
    margin-top: 18px;
  }

  .hero__media {
    margin-top: 24px;
  }

  .hero__actions {
    width: min(100%, 360px);
    margin-top: 22px;
    gap: 10px;
  }

  .showcase {
    margin-top: 34px;
    padding-top: 10px;
  }

  .showcase__header {
    padding-bottom: 18px;
  }

  .showcase__header h2 {
    width: 100%;
    max-width: 13ch;
    margin: 0 auto;
    font-size: clamp(1.28rem, 5.8vw, 1.72rem);
    line-height: 1.08;
    letter-spacing: -0.035em;
  }

  .showcase__track {
    gap: 14px;
    padding: 0 16px;
  }

  .showcase__card {
    width: 82vw;
    min-width: 250px;
    border-radius: 20px;
  }

  .button {
    min-height: 54px;
    padding: 14px 18px;
    font-size: 0.95rem;
  }

  .video-card {
    width: min(100%, 300px);
  }
}

@media (max-width: 420px) {
  .hero {
    padding-left: 14px;
    padding-right: 14px;
  }

  .hero h1 {
    font-size: clamp(1.38rem, 5.8vw, 1.72rem);
    line-height: 1.18;
  }

  .video-card {
    width: min(100%, 284px);
  }
}
