:root {
  --bg: #050a18;
  --bg-soft: #0d1730;
  --surface: #0f1c37;
  --surface-soft: #121f3d;
  --text: #f4f7ff;
  --muted: #c6d2ec;
  --accent: #81b3ff;
  --accent-strong: #4f8cff;
  --border: #273b70;
  --shadow: 0 20px 50px rgba(6, 11, 27, 0.45);
}

* {
  box-sizing: border-box;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: radial-gradient(circle at 8% 4%, #1a2a54 0%, var(--bg) 46%),
    linear-gradient(180deg, var(--bg-soft), var(--bg));
  color: var(--text);
  line-height: 1.6;
}

a {
  color: var(--accent);
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(117, 149, 221, 0.13);
  background: rgba(5, 10, 24, 0.74);
  backdrop-filter: blur(6px);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
}

.brand {
  color: var(--text);
  text-decoration: none;
  font-size: 1.06rem;
  font-weight: 750;
  letter-spacing: 0.2px;
  white-space: nowrap;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-logo {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: cover;
}

.brand-text {
  color: var(--text);
  font-size: 1.06rem;
  font-weight: 750;
  letter-spacing: 0.2px;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-link {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

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

.nav-link.active {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 2px;
  text-decoration-color: rgba(129, 179, 255, 0.85);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 10px 16px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

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

.button-primary {
  background: linear-gradient(135deg, var(--accent-strong), var(--accent));
  color: #fff;
}

.button-primary:hover {
  background: linear-gradient(135deg, #4a83ea, #72a4ff);
}

.button-secondary {
  border-color: rgba(139, 167, 232, 0.45);
  color: var(--text);
  background: rgba(22, 33, 64, 0.45);
}

.button-secondary:hover {
  background: rgba(33, 48, 89, 0.6);
}

.button-nav {
  min-width: 112px;
}

.section {
  padding: 0 0 72px;
  scroll-margin-top: 86px;
}

.hero {
  padding-top: 84px;
}

.eyebrow {
  margin: 0 0 10px;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-weight: 700;
  color: #9fbbf7;
}

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 5.3vw, 3.8rem);
  line-height: 1.05;
  max-width: 820px;
}

.hero-copy {
  margin: 0;
  font-size: 1.13rem;
  max-width: 760px;
  color: var(--muted);
}

.store-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.store-links-hero {
  margin-top: 30px;
}

.store-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.store-link img {
  display: block;
  width: 142px;
  height: 42px;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.store-link:hover img {
  opacity: 0.92;
  transform: translateY(-1px);
}

.section-heading {
  margin-bottom: 24px;
  max-width: 760px;
}

.section-heading h2 {
  margin: 0 0 10px;
  font-size: clamp(1.62rem, 3.2vw, 2.3rem);
  line-height: 1.2;
}

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

.problem-grid,
.solution-layout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.card {
  background: linear-gradient(165deg, rgba(18, 31, 61, 0.9), rgba(14, 24, 48, 0.93));
  border: 1px solid rgba(126, 154, 220, 0.24);
  border-radius: 18px;
  padding: 22px;
  box-shadow: var(--shadow);
}

.card h3 {
  margin: 0 0 8px;
  font-size: 1.06rem;
  line-height: 1.35;
}

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

.feature-card {
  min-height: 150px;
}

.shots-carousel {
  margin-top: 8px;
}

.shots-carousel-frame {
  display: flex;
  align-items: center;
  gap: 10px;
}

.shots-carousel-viewport {
  flex: 1;
  min-width: 0;
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  border-radius: 18px;
  outline: none;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.shots-carousel-viewport::-webkit-scrollbar {
  display: none;
}

.shots-carousel-viewport:focus-visible {
  box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px rgba(129, 158, 224, 0.85);
}

.shots-carousel-slide {
  flex: 0 0 auto;
  width: 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  margin: 0;
  box-sizing: border-box;
}

.shots-carousel-btn {
  flex: 0 0 auto;
  align-self: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 12px;
  border: 1px solid rgba(139, 168, 233, 0.45);
  background: rgba(20, 40, 80, 0.55);
  color: #e4ecff;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.shots-carousel-btn:hover:not(:disabled) {
  background: rgba(40, 70, 130, 0.65);
  border-color: rgba(178, 202, 255, 0.55);
}

.shots-carousel-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.shots-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
}

.shots-carousel-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: rgba(129, 158, 224, 0.35);
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}

.shots-carousel-dot:hover {
  background: rgba(178, 202, 255, 0.5);
}

.shots-carousel-dot[aria-current='true'] {
  background: #8fb4ff;
  transform: scale(1.15);
}

.shot-card {
  padding: 22px;
}

.shot {
  border: 1px solid rgba(129, 158, 224, 0.35);
  border-radius: 14px;
  background: linear-gradient(180deg, #1a2b56 0%, #102042 100%);
  padding: 18px;
  min-height: 248px;
}

.shot-screenshot {
  padding: 14px 14px 16px;
  min-height: 0;
  background: linear-gradient(180deg, #141c2e 0%, #0d1528 100%);
}

.shot-screen {
  border-radius: 12px;
  overflow: hidden;
  line-height: 0;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.shot-screen img {
  width: 100%;
  height: auto;
  display: block;
}

.shots-carousel-slide .shot-screen {
  display: flex;
  justify-content: center;
}

.shots-carousel-slide .shot-screen img {
  width: auto;
  max-width: min(100%, 320px);
  max-height: min(60vh, 520px);
  height: auto;
  object-fit: contain;
}

.shot-chip {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 5px 9px;
  border: 1px solid rgba(178, 202, 255, 0.55);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #e4ecff;
}

.shot-card figcaption {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.99rem;
}

.download-band {
  padding: 30px;
  border-radius: 22px;
  border: 1px solid rgba(139, 168, 233, 0.34);
  background: radial-gradient(circle at 15% 2%, #1b3365, #102042 66%);
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 20px;
  align-items: center;
}

.download-band h2 {
  margin: 0 0 12px;
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.2;
}

.download-band p {
  margin: 0;
  color: var(--muted);
}

.footer {
  margin-top: 10px;
  padding: 24px 0 34px;
  border-top: 1px solid rgba(117, 149, 221, 0.2);
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.footer-links {
  display: flex;
  gap: 16px;
  align-items: center;
}

.footer-links a {
  color: var(--muted);
}

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

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

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

.privacy-content {
  padding: 42px 0 52px;
}

.privacy-content h1 {
  margin-top: 0;
}

@media (max-width: 980px) {
  .header .container {
    flex-wrap: wrap;
    justify-content: center;
  }

  .top-nav {
    order: 3;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .problem-grid,
  .solution-layout {
    grid-template-columns: 1fr;
  }

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

  .download-band {
    grid-template-columns: 1fr;
    padding: 24px;
  }
}

@media (max-width: 680px) {
  .brand-logo {
    width: 28px;
    height: 28px;
  }

  .brand-text {
    font-size: 1rem;
  }

  .section {
    padding-bottom: 58px;
  }

  .hero {
    padding-top: 66px;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .card {
    padding: 18px;
  }

  .shot:not(.shot-screenshot) {
    min-height: 206px;
  }

  .footer-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .shots-carousel-frame {
    gap: 6px;
  }

  .shots-carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .shots-carousel-viewport {
    scroll-behavior: auto;
  }

  .shots-carousel-dot {
    transition: none;
  }

  .button,
  .store-link img,
  .reveal {
    transition: none;
  }

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