@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@500;600;700&family=IBM+Plex+Sans:wght@400;500;600;700&family=IBM+Plex+Mono:wght@500;600&family=Caveat:wght@600;700&display=swap');

:root {
  --bg: #04060b;
  --surface: #0b1424;
  --surface-2: #101c33;
  --ink: #eef2f9;
  --ink-dim: #8fa0bf;
  --ink-faint: #5c6c8a;
  --hero-grey: #d9e0ec;
  --accent: #3d8bff;
  --accent-2: #7fb4ff;
  --accent-soft: rgba(61, 139, 255, 0.13);
  --amber: #ffb648;
  --line: rgba(125, 165, 225, 0.16);
  --line-strong: rgba(125, 165, 225, 0.3);
  --focus: #7fb4ff;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'IBM Plex Sans', -apple-system, 'Segoe UI', sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--accent-2); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3 {
  font-family: 'Oswald', 'Arial Narrow', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  text-wrap: balance;
  margin: 0;
  color: var(--ink);
}

.mono {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-variant-numeric: tabular-nums;
}

.eyebrow {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-2);
  display: flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px 1px var(--accent);
  flex-shrink: 0;
}

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ---------- Top bar ---------- */

header.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(4, 6, 11, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.brand-mark {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.brand-text .bt1 { font-size: 15px; color: var(--ink); }
.brand-text .bt2 { font-size: 15px; color: var(--accent-2); margin-top: 1px; }

.topbar-right { display: flex; align-items: center; gap: 28px; }

.nav-desktop { display: none; align-items: center; gap: 30px; }
.nav-desktop a {
  position: relative;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-dim);
  text-decoration: none;
  padding: 24px 0;
}
.nav-desktop a:hover { color: var(--ink); }
.nav-desktop a.active { color: var(--ink); }
.nav-desktop a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--accent);
}

.btn-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #04060b;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 22px;
  border-radius: 10px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s;
}
.btn-download:hover { background: var(--accent-2); }

.menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  color: var(--ink);
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
}
.menu-btn svg { width: 18px; height: 18px; }
.menu-btn:hover { border-color: var(--accent); color: var(--accent-2); }

.mobile-nav {
  max-height: 0;
  overflow: hidden;
  border-bottom: 1px solid transparent;
  background: rgba(4, 6, 11, 0.97);
  transition: max-height 0.25s ease;
}
.mobile-nav.open { max-height: 320px; border-bottom-color: var(--line); }
.mobile-nav-inner { display: flex; flex-direction: column; padding: 6px 24px 18px; gap: 2px; }
.mobile-nav a {
  padding: 11px 0;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink-dim);
  border-bottom: 1px solid var(--line);
}
.mobile-nav a.active { color: var(--accent-2); }
.mobile-nav .btn-download { margin-top: 12px; text-align: center; }

@media (min-width: 900px) {
  .nav-desktop { display: flex; }
  .menu-btn { display: none; }
  .mobile-nav { display: none; }
}
@media (max-width: 899px) {
  .topbar-right > .btn-download { display: none; }
}

/* ---------- Shared buttons ---------- */

.store-row { display: flex; gap: 12px; flex-wrap: wrap; }
.store-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #0a0d14;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  padding: 10px 18px 10px 14px;
  text-decoration: none;
  color: var(--ink);
  transition: border-color 0.15s, transform 0.15s;
}
.store-badge:hover { border-color: var(--accent); transform: translateY(-1px); }
.store-badge svg { width: 24px; height: 24px; flex-shrink: 0; color: var(--ink); }
.store-badge .store-label { display: flex; flex-direction: column; line-height: 1.15; }
.store-badge .store-label span:first-child { font-size: 10.5px; color: var(--ink-faint); text-transform: uppercase; letter-spacing: 0.06em; }
.store-badge .store-label span:last-child { font-size: 15px; font-weight: 600; font-family: 'Oswald', sans-serif; letter-spacing: 0.01em; }

.btn-bug {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1.5px solid var(--accent);
  color: var(--ink);
  background: rgba(61, 139, 255, 0.08);
  border-radius: 14px;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 600;
  transition: background 0.15s, border-color 0.15s;
}
.btn-bug:hover { background: rgba(61, 139, 255, 0.16); border-color: var(--accent-2); }
.btn-bug .bug-icon { width: 20px; height: 20px; color: var(--accent-2); flex-shrink: 0; }
.btn-bug span { flex: 1; }
.btn-bug .chevron { width: 16px; height: 16px; color: var(--accent-2); flex-shrink: 0; }

.icon-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-2);
  flex-shrink: 0;
}
.icon-circle svg { width: 50%; height: 50%; }

/* ---------- Photo placeholder ---------- */

.photo-slot {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(150deg, #16233b 0%, #1c2c4a 45%, #0a1120 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 140px;
}
.photo-slot svg {
  width: 34%;
  height: 34%;
  color: rgba(127, 180, 255, 0.22);
}
.photo-slot .photo-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 30px 16px 14px;
  background: linear-gradient(180deg, transparent, rgba(2, 4, 8, 0.85) 70%);
  font-family: 'Oswald', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1.3;
}

/* ---------- Footer ---------- */

footer { padding: 44px 0 28px; border-top: 1px solid var(--line); }
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
  padding-bottom: 28px;
}
.footer-brand { display: flex; flex-direction: column; gap: 8px; }
.footer-brand .brand { pointer-events: none; }
.footer-brand .brand-mark { width: 30px; height: 30px; }
.footer-brand .brand-text .bt1, .footer-brand .brand-text .bt2 { font-size: 13.5px; }
.footer-tagline { font-family: 'Caveat', cursive; font-size: 18px; color: var(--ink-dim); font-weight: 600; }

.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 13.5px; color: var(--ink-dim); text-decoration: none; }
.footer-links a:hover { color: var(--ink); }

.footer-social { display: flex; gap: 10px; }
.footer-social span {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  color: var(--ink-dim);
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-social span svg { width: 16px; height: 16px; }

.footer-qr { display: flex; align-items: center; gap: 12px; }
.footer-qr img {
  width: 54px;
  height: 54px;
  border-radius: 8px;
  border: 1px solid var(--line-strong);
  background: var(--ink);
  padding: 4px;
  flex-shrink: 0;
}
.footer-qr-text { display: flex; flex-direction: column; gap: 3px; }
.footer-qr-text span { font-size: 11.5px; color: var(--ink-dim); }
.footer-qr-text a { font-size: 11px; color: var(--accent-2); font-family: 'IBM Plex Mono', monospace; word-break: break-all; text-decoration: none; }
.footer-qr-text a:hover { text-decoration: underline; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11.5px;
  color: var(--ink-faint);
}
.footer-bottom-links { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-bottom-links a { color: var(--ink-faint); text-decoration: none; }
.footer-bottom-links a:hover { color: var(--ink-dim); }

.flag-bar {
  display: flex;
  width: 22px;
  height: 14px;
  border-radius: 2px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  flex-shrink: 0;
}
.flag-bar span { flex: 1; }
.flag-bar span:nth-child(1) { background: #3854e0; }
.flag-bar span:nth-child(2) { background: #eef2f9; }
.flag-bar span:nth-child(3) { background: #e0473f; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; }
}
