:root {
  --bg: #07170e;
  --bg-alt: #0f2618;
  --panel: rgba(242, 255, 244, 0.94);
  --panel-strong: #ffffff;
  --ink: #173021;
  --muted: #4d6957;
  --accent: #b5ef62;
  --accent-deep: #2e7a3d;
  --line: rgba(31, 90, 49, 0.16);
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.22);
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(111, 255, 147, 0.18), transparent 30%),
    radial-gradient(circle at bottom right, rgba(255, 239, 98, 0.16), transparent 34%),
    linear-gradient(180deg, var(--bg) 0%, #0c1e13 100%);
}

img {
  display: block;
  max-width: 100%;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.page-shell {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding: 20px 0 48px;
}

.topbar {
  position: sticky;
  top: 14px;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  margin-bottom: 20px;
  backdrop-filter: blur(18px);
  background: rgba(7, 23, 14, 0.72);
  border: 1px solid rgba(183, 240, 106, 0.18);
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.16);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #efffe9;
  text-decoration: none;
}

.brand__icon {
  width: 52px;
  height: 52px;
  padding: 6px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.12);
}

.brand__text {
  display: grid;
  gap: 2px;
}

.brand__title {
  font-family: Bungee, sans-serif;
  font-size: 0.92rem;
  line-height: 1.1;
}

.brand__subtitle {
  color: rgba(239, 255, 233, 0.72);
  font-size: 0.84rem;
}

.topbar__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.nav a {
  color: rgba(239, 255, 233, 0.88);
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 600;
}

.language-picker select {
  color: #efffe9;
  font: inherit;
  padding: 10px 14px;
  border: 1px solid rgba(183, 240, 106, 0.22);
  border-radius: 14px;
  background: rgba(7, 23, 14, 0.88);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.language-picker select option {
  color: #efffe9;
  background: #102419;
}

.hero,
.feature-strip,
.showcase,
.gallery,
.languages,
.download {
  margin-top: 22px;
}

.hero {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 28px;
  padding: 28px;
  border-radius: 36px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02)),
    linear-gradient(180deg, rgba(26, 65, 40, 0.95), rgba(10, 28, 18, 0.95));
  border: 1px solid rgba(183, 240, 106, 0.14);
  box-shadow: var(--shadow);
}

.hero__copy {
  color: #f3ffef;
  align-self: center;
}

.hero__badge,
.section-heading__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  color: #163322;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: linear-gradient(180deg, #f3ffbf, var(--accent));
}

.hero__title,
.section-heading h2,
.download__card h2 {
  margin: 16px 0 0;
  font-family: Bungee, sans-serif;
  line-height: 1.05;
}

.hero__title {
  font-size: clamp(2.2rem, 4vw, 4.1rem);
}

.hero__lead,
.section-heading p,
.download__card p {
  max-width: 60ch;
  color: rgba(243, 255, 239, 0.86);
  font-size: 1.02rem;
  line-height: 1.65;
}

.hero__lead {
  white-space: pre-line;
}

.hero__actions,
.download__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 52px;
  padding: 0 20px;
  border-radius: 18px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button--primary {
  color: #193719;
  background: linear-gradient(180deg, #f7ffcb, var(--accent));
  box-shadow: 0 12px 30px rgba(181, 239, 98, 0.25);
}

.button--ghost {
  color: #efffe9;
  border: 1px solid rgba(239, 255, 233, 0.22);
  background: rgba(255, 255, 255, 0.05);
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.hero__stats li,
.feature-card,
.showcase__panel,
.showcase-point,
.gallery__item,
.download__card,
.languages,
.showcase,
.gallery,
.feature-strip {
  border-radius: var(--radius);
}

.hero__stats li {
  min-width: 120px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero__stats strong {
  display: block;
  font-family: Bungee, sans-serif;
  font-size: 1.1rem;
}

.hero__stats span {
  display: block;
  margin-top: 6px;
  color: rgba(243, 255, 239, 0.72);
  font-size: 0.88rem;
}

.hero__visual {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: center;
}

.phone-stack {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
}

.phone-stack__main,
.phone-stack__secondary {
  position: absolute;
  border-radius: 24px;
  border: 10px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.3);
  object-fit: contain;
  background:
    radial-gradient(circle at top left, rgba(181, 239, 98, 0.18), transparent 30%),
    linear-gradient(180deg, #173021 0%, #102419 100%);
}

.phone-stack__main {
  inset: 6% 6% 6% 6%;
  width: 88%;
  height: 88%;
  z-index: 1;
}

.phone-stack__secondary {
  width: 30%;
  height: auto;
  aspect-ratio: 16 / 9;
  z-index: 2;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.28);
}

.phone-stack__secondary--left {
  left: 2%;
  top: 10%;
  transform: rotate(-7deg);
}

.phone-stack__secondary--right {
  right: 2%;
  bottom: 6%;
  transform: rotate(7deg);
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-card,
.showcase,
.gallery,
.languages,
.download__card {
  background: var(--panel);
  box-shadow: var(--shadow);
}

.feature-card {
  padding: 22px;
  border: 1px solid var(--line);
}

.feature-card h2,
.showcase-point h3 {
  margin: 0 0 10px;
  font-size: 1.08rem;
}

.feature-card p,
.showcase-point p,
.download__note {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.showcase,
.gallery,
.languages {
  padding: 28px;
}

.section-heading h2,
.download__card h2 {
  color: var(--ink);
  font-size: clamp(1.6rem, 3vw, 2.7rem);
}

.section-heading p,
.download__card p {
  color: var(--muted);
}

.showcase__grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 22px;
  margin-top: 24px;
}

.showcase__panel {
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel-strong);
}

.showcase__panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.showcase__list {
  display: grid;
  gap: 14px;
}

.showcase-point {
  padding: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.75);
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.gallery__item {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at top left, rgba(181, 239, 98, 0.18), transparent 30%),
    linear-gradient(180deg, #173021 0%, #102419 100%);
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.language-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.language-chip {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--ink);
  font-weight: 700;
  background: rgba(181, 239, 98, 0.16);
  border: 1px solid rgba(46, 122, 61, 0.14);
}

.download__card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 28px;
}

.footer {
  padding: 24px 8px 8px;
  color: rgba(239, 255, 233, 0.72);
  text-align: center;
}

@media (max-width: 980px) {
  .hero,
  .showcase__grid,
  .download__card {
    grid-template-columns: 1fr;
    display: grid;
  }

  .feature-strip {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    min-height: 300px;
  }

  .gallery__item--large,
  .gallery__item {
    grid-column: span 1;
  }
}

@media (max-width: 760px) {
  .page-shell {
    width: min(100% - 20px, 1200px);
  }

  .topbar {
    position: static;
    flex-direction: column;
    align-items: stretch;
  }

  .topbar__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .nav {
    justify-content: space-between;
  }

  .hero,
  .showcase,
  .gallery,
  .languages,
  .download__card {
    padding: 20px;
  }

  .hero__visual {
    min-height: 220px;
  }

  .phone-stack__main {
    inset: 6% 0 10% 0;
    width: 100%;
    height: 84%;
  }

  .phone-stack__secondary {
    width: 34%;
  }

  .phone-stack__secondary--left {
    left: 0;
    top: 4%;
    transform: rotate(-6deg);
  }

  .phone-stack__secondary--right {
    right: 0;
    bottom: 0;
    transform: rotate(6deg);
  }

  .gallery__grid {
    grid-template-columns: 1fr;
  }
}
