:root {
  --bg: #101018;
  --panel: #191927;
  --panel-2: #202033;
  --text: #ffffff;
  --muted: #b8b8c8;
  --accent: #8f5cff;
  --green: #2ec4b6;
  --red: #7a1f2b;
  --orange: #c97834;
  --blue: #263a74;
  --radius: 34px;
  --nav-h: 92px;
  --container: 1340px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  min-height: 100vh;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  user-select: none;
  -webkit-user-select: none;
  padding-bottom: calc(var(--nav-h) + 28px);
  touch-action: pan-y;
}

body.modal-open {
  overflow: hidden;
  touch-action: none;
}

button,
a {
  font: inherit;
  color: inherit;
}

button {
  border: 0;
  cursor: pointer;
  background: none;
  touch-action: manipulation;
}

a {
  text-decoration: none;
}

strong {
  color: #fff;
  font-weight: 850;
}

.container {
  width: min(100% - 64px, var(--container));
  margin-inline: auto;
}

.bottom-nav {
  position: fixed;
  z-index: 50;
  left: 50%;
  bottom: 18px;
  width: min(100% - 36px, 920px);
  min-height: var(--nav-h);
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  padding: 10px;
  border-radius: 999px;
  background: #181824;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 18px 44px rgba(0,0,0,.35);
}

.bottom-nav a {
  min-height: 68px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 850;
  font-size: 16px;
  color: rgba(255,255,255,.68);
}

.bottom-nav a.active {
  background: #fff;
  color: #111;
}

.bottom-nav a:active {
  transform: scale(.96);
  background: rgba(255,255,255,.16);
  color: #fff;
}

section {
  padding: 96px 0;
  min-height: 70vh;
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 72px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: var(--muted);
  font-size: 18px;
  margin-bottom: 28px;
}

.kicker::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 99px;
  background: var(--green);
}

h1 {
  max-width: 760px;
  font-size: clamp(64px, 7vw, 124px);
  line-height: .9;
  letter-spacing: -.075em;
  margin-bottom: 34px;
}

h2 {
  max-width: 900px;
  font-size: clamp(48px, 5vw, 86px);
  line-height: .96;
  letter-spacing: -.06em;
  margin-bottom: 24px;
}

p {
  color: var(--muted);
  font-size: 22px;
  line-height: 1.45;
}

.lead {
  max-width: 760px;
  font-size: clamp(24px, 2vw, 30px);
  margin-bottom: 36px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.btn {
  min-height: 76px;
  min-width: 210px;
  padding: 0 34px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.12);
  font-size: 20px;
  font-weight: 850;
}

.btn.primary {
  background: var(--accent);
  border-color: var(--accent);
}

.btn:active {
  transform: scale(.96);
}

.hero-visual {
  height: min(620px, 62vh);
  min-height: 500px;
  border-radius: 48px;
  background: linear-gradient(135deg, rgba(122,31,43,.95), rgba(201,120,52,.85) 42%, rgba(106,53,217,.86));
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
}

.shape {
  position: absolute;
  border-radius: 30px;
  background: rgba(255,255,255,.16);
}

.shape.s1 {
  width: 42%;
  height: 30%;
  top: 11%;
  left: 8%;
}

.shape.s2 {
  width: 50%;
  height: 42%;
  right: 8%;
  top: 30%;
  background: rgba(16,16,24,.26);
}

.shape.s3 {
  width: 28%;
  aspect-ratio: 1;
  right: 14%;
  bottom: 10%;
  border-radius: 999px;
  background: rgba(46,196,182,.55);
}

.section-head {
  margin-bottom: 44px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card {
  min-height: 360px;
  padding: 32px;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid rgba(255,255,255,.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
}

.card h3 {
  font-size: 38px;
  line-height: 1;
  letter-spacing: -.045em;
  margin-bottom: 16px;
}

.card .badge {
  width: fit-content;
  min-height: 54px;
  padding: 0 20px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  background: rgba(255,255,255,.1);
  font-weight: 850;
  color: rgba(255,255,255,.8);
}

.card:active,
.card.selected {
  transform: scale(.98);
  background: var(--panel-2);
  border-color: rgba(255,255,255,.24);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

.video-card {
  min-height: 480px;
  padding: 36px;
  border-radius: 42px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  text-align: left;
  color: #fff;
  background: var(--video-bg);
  border: 1px solid rgba(255,255,255,.14);
}

.video-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.64), rgba(0,0,0,.06));
}

.video-card:active {
  transform: scale(.98);
}

.video-inner {
  position: relative;
  z-index: 1;
  max-width: 620px;
}

.play {
  width: 104px;
  height: 104px;
  margin-bottom: 26px;
  border-radius: 999px;
  background: #fff;
  color: #111;
  display: grid;
  place-items: center;
}

.play svg {
  width: 40px;
  height: 40px;
  transform: translateX(4px);
  fill: currentColor;
}

.video-card h3 {
  font-size: clamp(44px, 4.8vw, 72px);
  line-height: .94;
  letter-spacing: -.055em;
  margin-bottom: 16px;
}

.video-card p {
  color: rgba(255,255,255,.78);
}

.native-slider {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(78vw, 720px);
  gap: 22px;
  overflow-x: auto;
  padding-bottom: 22px;
  scroll-snap-type: x mandatory;
  touch-action: pan-x;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.native-slider::-webkit-scrollbar {
  display: none;
}

.slide {
  min-height: 470px;
  scroll-snap-align: start;
  border-radius: 42px;
  padding: 36px;
  display: flex;
  align-items: flex-end;
  position: relative;
  overflow: hidden;
  background: var(--slide-bg);
  border: 1px solid rgba(255,255,255,.14);
}

.slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.58), rgba(0,0,0,.04));
}

.slide > div {
  position: relative;
  z-index: 1;
}

.slide h3 {
  font-size: 56px;
  line-height: .95;
  letter-spacing: -.055em;
  margin-bottom: 14px;
}

.faq {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: start;
}

.accordion {
  display: grid;
  gap: 16px;
}

.acc-item {
  border-radius: 28px;
  background: var(--panel);
  border: 1px solid rgba(255,255,255,.1);
  overflow: hidden;
}

.acc-btn {
  width: 100%;
  min-height: 90px;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  text-align: left;
  color: #fff;
  font-size: 23px;
  font-weight: 850;
}

.acc-icon {
  flex: 0 0 auto;
  width: 50px;
  height: 50px;
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  display: grid;
  place-items: center;
  font-size: 30px;
}

.acc-content {
  display: none;
  padding: 0 28px 28px;
}

.acc-item.open .acc-content {
  display: block;
}

.faq-visual {
  min-height: 510px;
  border-radius: 42px;
  background: linear-gradient(135deg, var(--accent), var(--blue));
  border: 1px solid rgba(255,255,255,.14);
}

.cta-box {
  min-height: 520px;
  border-radius: 52px;
  padding: 48px;
  background: linear-gradient(135deg, var(--red), var(--accent) 48%, var(--blue));
  display: grid;
  place-items: center;
  text-align: center;
  border: 1px solid rgba(255,255,255,.14);
}

.cta-box .lead {
  margin-inline: auto;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  padding: 36px;
  background: #05050a;
  align-items: center;
  justify-content: center;
}

.modal.open {
  display: flex;
}

.modal-inner {
  width: min(100%, 1280px);
  position: relative;
}

.close {
  position: absolute;
  right: 0;
  top: -96px;
  width: 76px;
  height: 76px;
  border-radius: 999px;
  background: #fff;
  color: #111;
  font-size: 42px;
  font-weight: 900;
  display: grid;
  place-items: center;
}

.close:active {
  transform: scale(.94);
}

.frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 28px;
  overflow: hidden;
}

.frame video {
  width: 100%;
  height: 100%;
  display: block;
  background: #000;
}

.video-error {
  min-height: 360px;
  padding: 40px;
  display: grid;
  place-items: center;
  text-align: center;
  background: #111;
  color: #fff;
}

.video-error p {
  max-width: 640px;
  color: rgba(255,255,255,.72);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .42s ease, transform .42s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

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

@media (max-width: 1100px) {
  .hero-grid,
  .faq,
  .video-grid {
    grid-template-columns: 1fr;
  }

  .cards {
    grid-template-columns: 1fr 1fr;
  }

  .hero-visual {
    height: 520px;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 32px, var(--container));
  }

  section {
    padding: 76px 0;
  }

  .bottom-nav {
    width: calc(100% - 20px);
    bottom: 10px;
  }

  .bottom-nav a {
    font-size: 12px;
    min-height: 62px;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 400px;
    height: 400px;
    border-radius: 34px;
  }

  .video-card,
  .slide {
    min-height: 410px;
    border-radius: 32px;
  }

  .native-slider {
    grid-auto-columns: 86vw;
  }

  .close {
    top: -84px;
    width: 68px;
    height: 68px;
  }

  .modal {
    padding: 18px;
  }

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