:root {
  --bg: #050b17;
  --bg-soft: #0c1830;
  --panel: rgba(12, 28, 54, 0.78);
  --line: rgba(125, 198, 255, 0.28);
  --text: #eaf6ff;
  --muted: #b8d4ec;
  --accent: #62e4ff;
  --accent-2: #90b7ff;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 14%, #143056 0, transparent 42%),
    radial-gradient(circle at 82% 0%, #1d3f67 0, transparent 36%),
    linear-gradient(170deg, #050b17 0%, #071126 55%, #0b1630 100%);
  min-height: 100%;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.page {
  width: min(1060px, 92vw);
  margin: 0 auto;
  padding: 28px 0 44px;
}

/* ── Header ────────────────────────────────────────────────────────────── */

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.brand {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.brand small {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
}

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

.nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  color: #d9eeff;
  background: rgba(17, 35, 63, 0.62);
  font-size: 14px;
  font-weight: 700;
  transition: border-color 0.18s, background 0.18s, color 0.18s;
}

.nav a:hover {
  border-color: rgba(98, 228, 255, 0.5);
  background: rgba(24, 52, 90, 0.75);
  color: #f2fcff;
  text-decoration: none;
}

.nav a.active {
  border-color: rgba(118, 229, 255, 0.62);
  color: #f2fcff;
  box-shadow: 0 0 0 1px rgba(71, 208, 255, 0.28) inset;
}

/* ── Panels ─────────────────────────────────────────────────────────────── */

.hero,
.card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  backdrop-filter: blur(4px);
  padding: 20px;
}

.hero h1,
.card h1 {
  margin: 0 0 12px;
  font-size: 34px;
  line-height: 1.08;
}

.hero-desc {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
  max-width: 720px;
  margin: 0 0 4px;
}

.hero p,
.card p,
.card li {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.52;
}

/* ── App Store button ───────────────────────────────────────────────────── */

.app-store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  padding: 12px 22px;
  background: #000;
  border-radius: 14px;
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  text-decoration: none;
  transition: opacity 0.18s, border-color 0.18s;
}

.app-store-btn:hover {
  opacity: 0.85;
  border-color: rgba(255, 255, 255, 0.36);
  text-decoration: none;
}

.app-store-btn span {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.app-store-btn small {
  font-size: 11px;
  font-weight: 400;
  opacity: 0.76;
}

.app-store-btn span > :last-child {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.3px;
}

/* ── Cards ──────────────────────────────────────────────────────────────── */

.cards {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.cards .item {
  border: 1px solid rgba(145, 188, 242, 0.28);
  border-radius: 14px;
  background: rgba(10, 27, 53, 0.66);
  padding: 14px;
}

.cards .item h3 {
  margin: 0 0 8px;
  font-size: 17px;
}

.cards .item p {
  margin: 0;
}

/* ── Gallery ────────────────────────────────────────────────────────────── */

.gallery {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.gallery img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  border: 1px solid rgba(129, 180, 240, 0.3);
  background: #061022;
  aspect-ratio: 2778 / 1284;
}

/* ── Sections (sub-pages) ───────────────────────────────────────────────── */

.section {
  margin-top: 12px;
  border-top: 1px solid rgba(136, 186, 245, 0.24);
  padding-top: 12px;
}

.section h2 {
  margin: 0 0 8px;
  font-size: 19px;
}

/* ── Badge ──────────────────────────────────────────────────────────────── */

.badge {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(126, 223, 255, 0.44);
  color: #e8faff;
  background: rgba(18, 48, 80, 0.7);
  font-size: 12px;
  font-weight: 700;
}

/* ── Footer ─────────────────────────────────────────────────────────────── */

.footer {
  margin-top: 16px;
  color: #adcbe4;
  font-size: 13px;
}

/* ── Responsive ─────────────────────────────────────────────────────────── */

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

  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .top {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero h1,
  .card h1 {
    font-size: 26px;
  }

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

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