:root {
  --bg: #081028;
  --panel: #0f1f45;
  --panel-soft: #152b5c;
  --line: #2f4e96;
  --text: #f3f7ff;
  --muted: #c5d4ff;
  --green: #15a165;
  --gold: #f4bf43;
  --shadow: 0 24px 60px rgba(5, 11, 28, 0.35);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Manrope", "Avenir Next", sans-serif;
  background: radial-gradient(circle at 10% 10%, #0f2f69 0%, var(--bg) 50%, #060b1e 100%);
  color: var(--text);
  line-height: 1.55;
}

.bg-noise {
  position: fixed;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 3px 3px;
  opacity: 0.08;
  pointer-events: none;
  z-index: 0;
}

.topbar,
main,
.footer {
  position: relative;
  z-index: 1;
}

.topbar {
  max-width: 1160px;
  margin: 0 auto;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
}

.pill {
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  padding: 0.5rem 0.95rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
}

.lang-pill {
  background: rgba(255, 255, 255, 0.06);
}

main {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 1.25rem 5rem;
}

section {
  margin-top: 5.5rem;
}

.section-head h2 {
  font-family: "Barlow Condensed", "Impact", sans-serif;
  letter-spacing: 0.03em;
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0 0 0.35rem;
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2rem;
  align-items: center;
  margin-top: 1.75rem;
}

.kicker {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
  font-size: 0.8rem;
}

.hero h1 {
  margin: 0.2rem 0 0.5rem;
  font-family: "Barlow Condensed", "Impact", sans-serif;
  font-size: clamp(2.5rem, 8vw, 4.7rem);
  line-height: 0.98;
}

.subtitle {
  color: var(--muted);
  margin: 0;
  max-width: 46ch;
}

.free-badge {
  display: inline-block;
  margin-top: 1rem;
  background: linear-gradient(130deg, #1bc777, #0f9f61);
  color: #042214;
  border-radius: 999px;
  font-weight: 800;
  padding: 0.4rem 0.9rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.4rem;
}

.btn {
  text-decoration: none;
  padding: 0.8rem 1.1rem;
  border-radius: 12px;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
}

.btn-primary {
  background: linear-gradient(135deg, #2f9dff, #1f4ee8);
  color: white;
}

.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: var(--text);
}

.hero-media {
  display: flex;
  justify-content: center;
}

.video-frame {
  border-radius: 22px;
  overflow: hidden;
  background: #020611;
  border: 1px solid #24428a;
  box-shadow: var(--shadow);
}

.video-frame video {
  display: block;
  width: min(520px, 82vw);
  aspect-ratio: 10 / 19;
  object-fit: cover;
}

.preview-grid {
  margin-top: 1.35rem;
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 1.25rem;
}

.phone-mockup {
  background: #0a1634;
  border-radius: 36px;
  border: 1px solid #2c4f9a;
  padding: 1rem;
  box-shadow: var(--shadow);
}

.phone-notch {
  width: 42%;
  height: 16px;
  margin: 0 auto 0.75rem;
  border-radius: 999px;
  background: #1f356b;
}

.mock-screen {
  border-radius: 26px;
  background: linear-gradient(150deg, #f4f8ff, #d9e7ff);
  min-height: 500px;
  color: #1c2f57;
  padding: 1.1rem 1rem;
  display: flex;
  flex-direction: column;
}

.mock-track {
  position: relative;
  flex: 1;
}

.mock-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateX(14px);
  transition: opacity 280ms ease, transform 280ms ease;
  background: white;
  border-radius: 20px;
  padding: 1rem;
  border: 1px solid #c7d6f5;
}

.mock-slide.is-active {
  opacity: 1;
  transform: translateX(0);
}

.mock-slide h3 {
  margin: 0;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.6rem;
}

.mock-slide p {
  margin: 0.25rem 0 0.8rem;
  color: #334f84;
}

.mock-slide img {
  width: 100%;
  height: calc(100% - 88px);
  object-fit: cover;
  object-position: top;
  border-radius: 14px;
  border: 1px solid #cbd9f7;
  display: block;
}

.dots {
  display: flex;
  gap: 0.45rem;
  margin-top: 0.8rem;
}

.dots button {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  background: #95afd8;
}

.dots button.active {
  background: #2050d8;
}

.preview-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 1fr));
  gap: 0.9rem;
}

.mini-card {
  background: linear-gradient(160deg, var(--panel), var(--panel-soft));
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem;
  box-shadow: var(--shadow);
  transition: transform 180ms ease;
}

.mini-card:hover {
  transform: translateY(-4px);
}

.mini-card h4 {
  margin: 0 0 0.25rem;
  font-family: "Barlow Condensed", sans-serif;
  letter-spacing: 0.03em;
  font-size: 1.45rem;
}

.mini-card p {
  margin: 0;
  color: var(--muted);
}

.feature-grid {
  margin-top: 1.1rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(170px, 1fr));
  gap: 0.8rem;
}

.feature {
  background: rgba(10, 28, 70, 0.62);
  border: 1px solid #3158a8;
  border-radius: 14px;
  padding: 0.9rem;
  font-weight: 700;
}

.gallery-grid {
  margin-top: 1.25rem;
  display: grid;
  grid-template-columns: repeat(5, minmax(170px, 1fr));
  gap: 0.75rem;
}

.gallery-card {
  margin: 0;
  background: rgba(17, 39, 89, 0.72);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #2f5097;
  box-shadow: var(--shadow);
}

.gallery-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  object-position: top;
  display: block;
}

.gallery-card figcaption {
  padding: 0.65rem 0.75rem;
  font-size: 0.92rem;
  color: #dbe7ff;
}

.podium {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  gap: 0.9rem;
  align-items: end;
}

.rank {
  border-radius: 16px;
  padding: 1rem;
  border: 1px solid #375dae;
  background: linear-gradient(160deg, #132856, #102149);
  box-shadow: var(--shadow);
}

.rank-1 {
  min-height: 220px;
}

.rank-2,
.rank-3 {
  min-height: 180px;
}

.medal {
  font-size: 2rem;
}

.rank h3 {
  margin: 0.35rem 0 0.25rem;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.8rem;
}

.rank p {
  margin: 0;
  color: var(--muted);
  font-weight: 600;
}

.group-card {
  margin-top: 1rem;
  max-width: 580px;
  background: linear-gradient(160deg, #0f2552, #0c1b3d);
  border: 1px solid #3659a7;
  border-radius: 16px;
  padding: 1rem;
}

.group-card h3 {
  margin: 0 0 0.7rem;
}

.group-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.group-card li {
  display: flex;
  justify-content: space-between;
  padding: 0.55rem 0.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.group-card li:last-child {
  border-bottom: 0;
}

.free {
  background: linear-gradient(120deg, #0f2d63, #15794e);
  border-radius: 18px;
  padding: 1.2rem;
  border: 1px solid #3aa87d;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 1rem;
  align-items: center;
}

.free img {
  width: 64px;
  height: 64px;
  border-radius: 14px;
}

.free h2 {
  margin: 0;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 2rem;
}

.free p {
  grid-column: 2;
  margin: 0.15rem 0 0;
}

.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 3rem;
  padding: 1.2rem 1.25rem 2rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
}

.footer nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer a {
  color: #d0defd;
  text-decoration: none;
}

.footer a:hover {
  color: white;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 500ms ease, transform 500ms ease;
}

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

@media (max-width: 1050px) {
  .hero {
    grid-template-columns: 1fr;
  }

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

  .phone-mockup {
    max-width: 420px;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(190px, 1fr));
  }

  .gallery-grid {
    grid-template-columns: repeat(3, minmax(170px, 1fr));
  }
}

@media (max-width: 760px) {
  section {
    margin-top: 4.2rem;
  }

  .topbar {
    padding-top: 0.7rem;
  }

  .top-actions {
    width: 100%;
  }

  .brand span {
    font-size: 0.95rem;
  }

  .pill {
    font-size: 0.84rem;
    padding: 0.44rem 0.75rem;
  }

  .mock-screen {
    min-height: 430px;
  }

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

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

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

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

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

  .free p {
    grid-column: auto;
  }
}
