:root {
  --bg-deep: #071325;
  --bg-mid: #0d1f38;
  --ink: #eaf2ff;
  --ink-dim: #b6c7e5;
  --accent: #35d3a7;
  --accent-strong: #17b086;
  --panel: rgba(255, 255, 255, 0.08);
  --panel-border: rgba(255, 255, 255, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: "Manrope", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 12% 12%, #214b82 0%, transparent 30%),
    radial-gradient(circle at 88% 76%, #1e6e57 0%, transparent 34%),
    linear-gradient(160deg, var(--bg-deep), var(--bg-mid));
  padding: clamp(18px, 3vw, 40px);
  position: relative;
  overflow-x: clip;
}

.ambient {
  position: fixed;
  width: 34vw;
  height: 34vw;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.28;
  z-index: -1;
  pointer-events: none;
}

.ambient-left {
  left: -14vw;
  top: -10vw;
  background: #2f7dff;
}

.ambient-right {
  right: -12vw;
  bottom: -10vw;
  background: #18cc98;
}

.page {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  gap: clamp(28px, 4vw, 46px);
  overflow-x: clip;
}

.hero,
.screenshots {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 28px;
  backdrop-filter: blur(8px);
}

.hero {
  padding: clamp(24px, 4vw, 52px);
}

.eyebrow {
  display: inline-block;
  margin: 0 0 16px;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-weight: 700;
  color: #d4f6ea;
  background: rgba(53, 211, 167, 0.18);
  border: 1px solid rgba(53, 211, 167, 0.42);
}

.app-card {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 14px;
}

.app-icon {
  width: clamp(66px, 8vw, 88px);
  height: clamp(66px, 8vw, 88px);
  border-radius: 22px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
}

h1 {
  font-family: "Sora", "Avenir Next", sans-serif;
  margin: 0;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2rem, 4.6vw, 3.6rem);
  line-height: 1.02;
}

.subtitle {
  margin: 8px 0 0;
  color: var(--ink-dim);
  font-weight: 600;
}

.lead {
  margin: 18px 0 0;
  color: var(--ink-dim);
  font-size: clamp(1.02rem, 1.9vw, 1.24rem);
  line-height: 1.6;
  max-width: 60ch;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  padding: 12px 18px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.cta-primary {
  color: #001814;
  background: linear-gradient(120deg, var(--accent), #66f0c9);
  box-shadow: 0 10px 26px rgba(23, 176, 134, 0.3);
}

.cta-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(23, 176, 134, 0.34);
  background: linear-gradient(120deg, var(--accent-strong), #5ce8c0);
}

.screenshots {
  padding: clamp(18px, 2.8vw, 26px);
  overflow: hidden;
}

.shot-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(170px, 22vw, 260px);
  gap: 14px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 2px 2px 8px;
  scrollbar-width: thin;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
}

.shot {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 12px 30px rgba(3, 10, 20, 0.44);
  background: rgba(255, 255, 255, 0.04);
  scroll-snap-align: start;
}

.shot img {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 19.5;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 0.25s ease;
}

.shot:hover img {
  transform: scale(1.04);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 760px) {
  body {
    padding: 16px;
  }

  .app-card {
    align-items: flex-start;
  }

  .shot-grid {
    grid-auto-columns: 56vw;
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .hero,
  .screenshots {
    border-radius: 22px;
  }

  .shot {
    border-radius: 16px;
  }

  .shot-grid {
    grid-auto-columns: 70vw;
  }
}
