:root {
  --bg: #03050a;
  --bg-2: #07101d;
  --bg-3: #0b1730;
  --bg-4: #07162a;
  --text: #f7f9ff;
  --muted: #a8b4d8;
  --muted-2: #d7def7;
  --line: rgba(255, 255, 255, 0.09);
  --card: rgba(255, 255, 255, 0.06);
  --card-strong: rgba(255, 255, 255, 0.1);
  --accent: #7c5cff;
  --accent-2: #00d4ff;
  --accent-3: #9f67ff;
  --accent-4: #4b7dff;
  --shadow: 0 35px 100px rgba(0, 0, 0, 0.55);
  --shadow-strong: 0 45px 120px rgba(0, 0, 0, 0.65);
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 20px;
  --radius-sm: 16px;
  --transition: 280ms cubic-bezier(0.22, 0.8, 0.2, 1);
}

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

html,
body {
  min-height: 100%;
}

body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 16%, rgba(124, 92, 255, 0.22), transparent 22%),
    radial-gradient(circle at 88% 18%, rgba(0, 212, 255, 0.16), transparent 22%),
    radial-gradient(circle at 50% 100%, rgba(159, 103, 255, 0.14), transparent 26%),
    linear-gradient(145deg, var(--bg), var(--bg-2) 34%, var(--bg-3) 70%, var(--bg-4));
  overflow-x: hidden;
  position: relative;
}

.page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 110px 18px 40px;
  position: relative;
  z-index: 2;
}

.hero {
  width: 100%;
  max-width: 1220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero__title {
  font-size: clamp(3.15rem, 8.7vw, 6.3rem);
  line-height: 1.04;
  letter-spacing: -0.065em;
  font-weight: 950;
  margin-bottom: 12px;
  text-wrap: balance;
}

.hero__title span {
  display: inline-block;
  color: #8a72ff;
  text-shadow:
    0 0 18px rgba(138, 114, 255, 0.22),
    0 0 40px rgba(0, 212, 255, 0.10);
}

.hero__subtitle {
  max-width: 760px;
  font-size: clamp(1rem, 1.5vw, 1.14rem);
  line-height: 1.7;
  color: var(--muted-2);
  margin-bottom: 24px;
}

.hero__panel {
  width: 100%;
  max-width: 1040px;
  position: relative;
  padding: 18px;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.11), rgba(255,255,255,0.05));
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.hero__panel:hover {
  border-color: rgba(255,255,255,0.2);
  box-shadow: var(--shadow-strong);
}

.hero__panel-glow {
  position: absolute;
  inset: -24%;
  background:
    radial-gradient(circle at 20% 20%, rgba(124, 92, 255, 0.18), transparent 24%),
    radial-gradient(circle at 80% 18%, rgba(0, 213, 255, 0.14), transparent 21%),
    radial-gradient(circle at 50% 100%, rgba(159, 103, 255, 0.14), transparent 24%);
  filter: blur(34px);
  z-index: 0;
}

.hero__panel-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 18%,
    rgba(255,255,255,0.03) 34%,
    rgba(255,255,255,0.12) 48%,
    rgba(255,255,255,0.05) 60%,
    transparent 78%
  );
  transform: translateX(-120%);
  animation: shineMove 7s linear infinite;
  pointer-events: none;
  z-index: 1;
}

.hero__panel-ring {
  position: absolute;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
  z-index: 0;
}

.hero__panel-ring--one {
  width: 220px;
  height: 220px;
  right: -60px;
  top: -50px;
}

.hero__panel-ring--two {
  width: 340px;
  height: 340px;
  left: -120px;
  bottom: -160px;
}

.video-frame {
  position: relative;
  z-index: 2;
  border-radius: 24px;
  overflow: hidden;
  background: #000;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow:
    0 18px 45px rgba(0, 0, 0, 0.45),
    inset 0 0 0 1px rgba(255,255,255,0.04);
}

.video-frame iframe {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border: 0;
}

.cta-zone {
  position: relative;
  z-index: 2;
  margin-top: 20px;
  padding: 24px 8px 10px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.cta-copy {
  flex: 1 1 360px;
  text-align: left;
}

.cta-copy__eyebrow {
  margin-bottom: 10px;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(224, 231, 255, 0.6);
}

.cta-copy__title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 900;
  margin-bottom: 0;
}

.cta-actions {
  flex: 0 1 420px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.cta-button {
  position: relative;
  appearance: none;
  border: 0;
  cursor: pointer;
  min-width: 340px;
  min-height: 64px;
  padding: 0 28px;
  border-radius: 22px;
  color: #ffffff;
  font-size: 1.02rem;
  font-weight: 850;
  letter-spacing: 0.01em;
  background:
    linear-gradient(135deg, #6248ff 0%, #8364ff 24%, #5e78ff 55%, #00d5ff 100%);
  box-shadow:
    0 24px 60px rgba(91, 65, 255, 0.42),
    0 0 0 0 rgba(124, 92, 255, 0.3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    filter var(--transition);
  overflow: hidden;
}

.cta-button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent 12%,
    rgba(255,255,255,0.28) 36%,
    transparent 62%
  );
  transform: translateX(-145%);
  transition: transform 800ms ease;
}

.cta-button::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 21px;
  background: linear-gradient(180deg, rgba(255,255,255,0.18), rgba(255,255,255,0.02));
  opacity: 0.58;
  pointer-events: none;
}

.cta-button:hover {
  transform: translateY(-4px) scale(1.012);
  box-shadow:
    0 34px 70px rgba(91, 65, 255, 0.56),
    0 0 0 14px rgba(124, 92, 255, 0.08);
  filter: brightness(1.05);
}

.cta-button:hover::before {
  transform: translateX(145%);
}

.cta-button:active {
  transform: translateY(-1px) scale(0.996);
}

.cta-button__glow {
  position: absolute;
  inset: auto auto -46px 50%;
  width: 70%;
  height: 70px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(255,255,255,0.22), transparent 60%);
  filter: blur(24px);
  pointer-events: none;
}

.cta-button__text,
.cta-button__icon {
  position: relative;
  z-index: 2;
}

.cta-button__icon {
  display: inline-flex;
  width: 20px;
  height: 20px;
}

.cta-button__icon svg {
  width: 100%;
  height: 100%;
}

.cta-note {
  margin-top: 12px;
  font-size: 0.92rem;
  color: rgba(220, 229, 255, 0.76);
  transition: opacity var(--transition), transform var(--transition);
}

.bg-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.22;
}

.orb-1 {
  width: 360px;
  height: 360px;
  top: 6%;
  left: -90px;
  background: var(--accent);
  animation: float1 12s ease-in-out infinite alternate;
}

.orb-2 {
  width: 420px;
  height: 420px;
  top: 10%;
  right: -120px;
  background: var(--accent-2);
  animation: float2 14s ease-in-out infinite alternate;
}

.orb-3 {
  width: 320px;
  height: 320px;
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-3);
  animation: float3 13s ease-in-out infinite alternate;
}

.grid-overlay {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.028) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(circle at center, black 42%, transparent 92%);
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
}

.noise-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.03;
  background-image:
    radial-gradient(circle at 15% 25%, #fff 0.6px, transparent 0.8px),
    radial-gradient(circle at 75% 35%, #fff 0.6px, transparent 0.8px),
    radial-gradient(circle at 55% 75%, #fff 0.6px, transparent 0.8px);
  background-size: 140px 140px;
}

.vignette-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(circle at center, transparent 52%, rgba(0,0,0,0.34) 100%);
}

.reveal {
  opacity: 0;
  transform: translateY(28px) scale(0.985);
  animation: revealUp 0.9s cubic-bezier(0.22, 0.8, 0.2, 1) forwards;
}

.reveal-delay-2 { animation-delay: 0.18s; }
.reveal-delay-3 { animation-delay: 0.28s; }
.reveal-delay-5 { animation-delay: 0.55s; }

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

@keyframes shineMove {
  to {
    transform: translateX(120%);
  }
}

@keyframes float1 {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(40px, -22px, 0) scale(1.08); }
}

@keyframes float2 {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-40px, 24px, 0) scale(1.06); }
}

@keyframes float3 {
  from { transform: translateX(-50%) translateY(0) scale(1); }
  to { transform: translateX(-50%) translateY(-24px) scale(1.08); }
}

.legal-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
}

.legal-modal.is-open {
  display: block;
}

.legal-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 7, 15, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.legal-modal__dialog {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(92vw, 760px);
  max-height: min(88vh, 860px);
  transform: translate(-50%, -50%) scale(0.96);
  border-radius: 30px;
  border: 1px solid rgba(255,255,255,0.12);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.1), rgba(255,255,255,0.04)),
    rgba(8, 13, 25, 0.96);
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.5),
    inset 0 0 0 1px rgba(255,255,255,0.02);
  padding: 26px;
  opacity: 0;
  transition: opacity 220ms ease, transform 220ms ease;
  overflow: hidden;
}

.legal-modal.is-open .legal-modal__dialog {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.legal-modal.is-reading .legal-modal__dialog {
  width: min(94vw, 860px);
  max-height: min(92vh, 940px);
}

.legal-modal__eyebrow {
  margin-bottom: 8px;
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(224, 231, 255, 0.66);
  font-weight: 700;
}

.legal-modal__title {
  font-size: clamp(1.75rem, 2.8vw, 2.35rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
  font-weight: 950;
  color: #fff;
  margin-bottom: 14px;
  text-shadow:
    0 0 18px rgba(138, 114, 255, 0.22),
    0 0 38px rgba(0, 212, 255, 0.12);
}

.legal-modal__title--content {
  margin-bottom: 0;
}

.legal-modal__text {
  color: #d7def7;
  line-height: 1.7;
  margin-bottom: 18px;
  font-size: 1rem;
}

.legal-modal__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.legal-modal__actions--intro {
  margin-bottom: 12px;
}

.legal-modal__actions--bottom {
  margin-top: 18px;
  justify-content: center;
  align-items: center;
  flex-direction: column-reverse;
}

.legal-modal__primary,
.legal-modal__secondary,
.legal-modal__link {
  appearance: none;
  border: 0;
  cursor: pointer;
  font-weight: 900;
}

.legal-modal__primary {
  min-height: 58px;
  padding: 0 22px;
  border-radius: 20px;
  color: #fff;
  font-size: 1rem;
  background: linear-gradient(135deg, #6248ff 0%, #8364ff 24%, #5e78ff 55%, #00d5ff 100%);
  box-shadow: 0 22px 48px rgba(91, 65, 255, 0.34);
  transition: transform var(--transition), box-shadow var(--transition), filter var(--transition);
}

.legal-modal__primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
  box-shadow: 0 28px 58px rgba(91, 65, 255, 0.42);
}

.legal-modal__primary--intro {
  width: 100%;
  min-height: 64px;
  font-size: 1.04rem;
}

.legal-modal__primary--bottom {
  width: min(100%, 420px);
  min-height: 68px;
  font-size: 1.08rem;
  letter-spacing: 0.01em;
}

.legal-modal__secondary {
  background: transparent;
  color: rgba(220, 229, 255, 0.82);
  min-height: auto;
  padding: 2px 4px;
  font-size: 0.92rem;
  font-weight: 700;
}

.legal-modal__secondary--back {
  opacity: 0.9;
}

.legal-modal__secondary:hover,
.legal-modal__link:hover {
  color: #ffffff;
}

.legal-modal__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #9db4ff;
  font-size: 0.95rem;
  padding: 2px 0;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.legal-modal__content {
  display: none;
  margin-top: 0;
}

.legal-modal__content.is-visible {
  display: block;
}

.legal-modal__content-head {
  margin-bottom: 16px;
}

.legal-modal__scroll {
  max-height: min(56vh, 560px);
  overflow: auto;
  padding-right: 8px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  padding: 18px 16px;
}

.legal-modal__scroll h4 {
  margin: 14px 0 8px;
  font-size: 1rem;
  color: #fff;
}

.legal-modal__scroll p {
  color: #d7def7;
  line-height: 1.78;
}
@media (max-width: 980px) {
  .page {
    padding-top: 96px;
  }

  .cta-zone {
    padding-top: 20px;
  }

  .cta-actions {
    width: 100%;
    align-items: stretch;
  }

  .cta-button {
    min-width: 100%;
    width: 100%;
  }

  .cta-copy {
    text-align: center;
  }
}

@media (max-width: 760px) {
  .hero__subtitle {
    margin-bottom: 24px;
  }

  .hero__panel {
    padding: 12px;
    border-radius: 24px;
  }

  .video-frame {
    border-radius: 18px;
  }

  .cta-zone {
    gap: 14px;
  }

  .cta-copy__title {
    font-size: 1.5rem;
  }
}

@media (max-width: 640px) {
  .page {
    padding: 92px 14px 24px;
  }

  .hero__title {
    font-size: clamp(2.65rem, 10vw, 4.35rem);
    line-height: 1.06;
    margin-bottom: 10px;
  }

  .hero__subtitle {
    max-width: min(100%, 94vw);
    font-size: 0.72rem;
    margin-bottom: 22px;
    white-space: nowrap;
    line-height: 1.15;
    letter-spacing: -0.02em;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .cta-button {
    min-height: 58px;
    padding: 0 20px;
    border-radius: 18px;
    font-size: 0.98rem;
  }

  .cta-button::after {
    border-radius: 17px;
  }

  .cta-note {
    font-size: 0.86rem;
    text-align: center;
  }

  .legal-modal__dialog {
    width: min(94vw, 760px);
    padding: 18px;
    border-radius: 24px;
  }

  .legal-modal.is-reading .legal-modal__dialog {
    width: min(96vw, 860px);
    max-height: 94vh;
  }

  .legal-modal__title {
    font-size: 1.5rem;
  }

  .legal-modal__scroll {
    max-height: 58vh;
    padding: 16px 14px;
  }

  .legal-modal__actions {
    flex-direction: column;
  }

  .legal-modal__primary,
  .legal-modal__secondary {
    width: 100%;
  }

  .legal-modal__secondary--back {
    width: auto;
    align-self: center;
  }

  .legal-modal__link {
    align-self: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 768px) {
  .hero__subtitle {
    display: block;
    max-width: min(100%, 96vw);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: clamp(0.66rem, 2.5vw, 0.82rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin: 0 auto 18px;
    text-align: center;
  }

  .legal-modal__link {
    font-size: 0.74rem;
    padding: 5px 9px;
    line-height: 1.1;
    white-space: nowrap;
  }
}
