:root {
  --bg: #08111a;
  --bg-soft: #102030;
  --card: rgba(255, 255, 255, 0.08);
  --card-border: rgba(255, 255, 255, 0.25);
  --text: #ecf7ff;
  --muted: #b2c9d9;
  --accent: #33d7a0;
  --accent-2: #1ea0ff;
  --radius: 20px;
  --shadow: 0 20px 48px rgba(0, 0, 0, 0.3);
  --container: 1140px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Sora", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

.page-bg {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 20% 15%, rgba(51, 215, 160, 0.2), transparent 45%),
    radial-gradient(circle at 80% 10%, rgba(30, 160, 255, 0.22), transparent 40%),
    radial-gradient(circle at 60% 80%, rgba(255, 159, 67, 0.16), transparent 35%),
    linear-gradient(180deg, #08111a 0%, #0e1f30 52%, #08111a 100%);
  z-index: -1;
}

.site-header {
  width: min(var(--container), calc(100% - clamp(1rem, 3vw, 2.5rem)));
  margin: 1.2rem auto 0;
  padding: 0.75rem clamp(0.75rem, 2vw, 1rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  background: rgba(9, 22, 34, 0.68);
  position: sticky;
  top: 0.9rem;
  z-index: 40;
}

.logo {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.3rem;
  letter-spacing: 0.04em;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
}

.main-nav {
  display: flex;
  gap: 1.15rem;
}

.main-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
}

.main-nav a:hover {
  color: var(--text);
}

.btn {
  text-decoration: none;
  color: var(--text);
  border-radius: 999px;
  padding: 0.55rem 1rem;
  font-size: 0.88rem;
  font-weight: 600;
}

.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.35);
  transition: transform 0.25s ease;
}

.mobile-pricing {
  display: none;
}

.btn-outline:hover {
  transform: translateY(-2px);
}

main {
  width: min(var(--container), calc(100% - clamp(1rem, 3vw, 2.5rem)));
  margin: 2.2rem auto 7rem;
  display: grid;
  gap: clamp(2.25rem, 5vw, 4rem);
}

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

.eyebrow {
  margin: 0 0 0.7rem;
  color: var(--accent);
  font-size: 0.83rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2 {
  font-family: "Space Grotesk", sans-serif;
  line-height: 1.12;
  margin: 0;
}

h1 {
  font-size: clamp(2rem, 4vw, 4rem);
  max-width: 16ch;
}

h2 {
  font-size: clamp(1.4rem, 2.5vw, 2.2rem);
}

.lead {
  max-width: 52ch;
  color: var(--muted);
}

.download-row {
  margin-top: 1.3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.hero-copy .download-row {
  justify-content: center;
}

.badge-link {
  display: inline-flex;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: var(--shadow);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.badge-link:hover {
  transform: translateY(-3px) scale(1.02);
}

.badge-link img {
  display: block;
  height: 54px;
  width: auto;
  background: #000;
}

.hero-copy {
  width: min(100%, 760px);
  text-align: center;
}

.hero-copy h1,
.hero-copy .lead {
  margin-left: auto;
  margin-right: auto;
}

.hero-feature-image {
  margin: 1.1rem 0 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: var(--shadow);
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.hero-feature-image img {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.panel,
.platform-copy,
.platform-cards,
.gallery-card,
.site-footer {
  border-radius: var(--radius);
  border: 1px solid var(--card-border);
  background: var(--card);
  backdrop-filter: blur(10px);
}

.panel {
  padding: 1.4rem;
}

.panel p,
.platform-copy p,
.platform-copy li {
  color: var(--muted);
}

.platform-section {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(290px, 0.95fr);
  gap: 1rem;
}

.platform-copy {
  padding: 1.6rem;
}

.platform-copy ul {
  margin: 1rem 0 0;
  padding-left: 1rem;
}

.platform-cards {
  padding: 1.2rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  align-content: center;
}

.mini-card {
  border-radius: 14px;
  padding: 1rem;
  font-weight: 600;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: linear-gradient(145deg, rgba(30, 160, 255, 0.22), rgba(51, 215, 160, 0.18));
}

.preview-section {
  border-radius: var(--radius);
  border: 1px solid var(--card-border);
  background: var(--card);
  backdrop-filter: blur(10px);
  padding: clamp(1rem, 2.5vw, 1.3rem);
}

.preview-header h2 {
  margin-top: 0.2rem;
  font-size: clamp(1.25rem, 2.2vw, 1.9rem);
}

.carousel-shell {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.7rem;
}

.carousel-track {
  flex: 1;
  display: flex;
  gap: 0.8rem;
  overflow-x: auto;
  padding: 0.35rem 0.2rem 0.55rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.carousel-track::-webkit-scrollbar {
  height: 8px;
}

.carousel-track::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.35);
  border-radius: 999px;
}

.carousel-btn {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--text);
  background: rgba(6, 16, 26, 0.82);
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
}

.gallery-card {
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  flex: 0 0 clamp(125px, 16vw, 170px);
  scroll-snap-align: start;
}

.gallery-card img {
  width: 100%;
  display: block;
  aspect-ratio: 9 / 19.5;
  object-fit: cover;
  background: #09131d;
}

.site-footer {
  width: min(var(--container), calc(100% - clamp(1rem, 3vw, 2.5rem)));
  margin: 0 auto 6rem;
  padding: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-footer p {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
}

.footer-meta {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.footer-meta a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-meta a:hover {
  color: var(--text);
}

.footer-contact {
  font-size: 0.82rem;
  padding: 0.48rem 0.8rem;
}

.download-row.compact {
  margin-top: 0;
}

.sticky-download {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 1rem;
  z-index: 55;
  display: none;
  gap: 0.6rem;
  padding: 0.6rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 14px;
  background: rgba(8, 17, 26, 0.92);
  backdrop-filter: blur(8px);
}

.sticky-download img {
  height: 44px;
  width: auto;
  display: block;
}

.reveal,
.reveal-delay,
.reveal-late {
  opacity: 0;
  transform: translateY(14px);
}

.reveal.is-visible,
.reveal-delay.is-visible,
.reveal-late.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal-delay.is-visible {
  transition-delay: 0.14s;
}

.reveal-late.is-visible {
  transition-delay: 0.24s;
}

@media (max-width: 1080px) {
  .platform-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .platform-section {
    grid-template-columns: 1fr;
  }

  .main-nav {
    display: none;
  }

  .mobile-pricing {
    display: inline-flex;
  }
}

@media (max-width: 760px) {
  body {
    padding-bottom: 5.5rem;
  }

  .site-header {
    width: calc(100% - 1rem);
    margin-top: 0.7rem;
    top: 0.45rem;
  }

  main,
  .site-footer {
    width: calc(100% - 1rem);
  }

  .site-footer {
    margin-bottom: 1rem;
  }

  .site-footer .download-row {
    display: none;
  }

  .footer-meta {
    width: 100%;
  }

  .sticky-download {
    display: flex;
  }

  .sticky-download img {
    height: 42px;
  }

  .badge-link img {
    height: 50px;
  }

  .hero-feature-image {
    margin-top: 0.9rem;
  }

  .carousel-btn {
    display: none;
  }

  .gallery-card {
    flex-basis: 145px;
  }
}

@media (max-width: 560px) {
  .site-header {
    border-radius: 18px;
  }

  .btn {
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
  }

  .badge-link img {
    height: 46px;
  }

  .hero-feature-image img {
    aspect-ratio: 16 / 10;
  }

  .sticky-download {
    width: calc(100% - 1rem);
    justify-content: center;
  }

  .sticky-download img {
    height: 40px;
  }

  .carousel-track {
    gap: 0.6rem;
  }

  .gallery-card {
    flex-basis: 132px;
  }
}
