/* ─── Design tokens ──────────────────────────────────────────── */
:root {
  --navy:       #1E3A8A;
  --blue:       #2563EB;
  --blue-mid:   #1976D2;
  --cornflower: #4A90D9;
  --sky:        #60BFEA;
  --pale:       #BAE6FD;
  --red:        #E53935;

  --hero-from:  #EFF6FF;
  --hero-mid:   #DBEAFE;
  --hero-to:    #BFDBFE;

  --bg-alt:     #F0F7FF;
  --bg-white:   #FFFFFF;
  --text:       #1E293B;
  --text-muted: #64748B;
  --border:     #E2E8F0;

  --radius:     16px;
  --shadow:     0 4px 24px rgba(30,58,138,.10);
  --shadow-lg:  0 12px 48px rgba(30,58,138,.18);
}

/* ─── Reset & base ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--bg-white);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ─── Nav ────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nav__brand img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}
.nav__brand span {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
}
.nav__links {
  display: flex;
  gap: 32px;
  flex: 1;
  justify-content: center;
}
.nav__links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color .18s;
}
.nav__links a:hover { color: var(--blue); }
.nav__cta {
  flex-shrink: 0;
}

/* ─── Google Play badge ──────────────────────────────────────── */
.badge-gp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #000;
  color: #fff;
  border-radius: 8px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  transition: opacity .18s;
}
.badge-gp:hover { opacity: .85; }
.badge-gp svg { flex-shrink: 0; }
.badge-gp__label { font-size: 10px; font-weight: 400; opacity: .8; display: block; }
.badge-gp__store { font-size: 14px; font-weight: 700; display: block; }

/* ─── Primary button ─────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--blue);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 12px;
  transition: background .18s, transform .12s;
  box-shadow: 0 4px 16px rgba(37,99,235,.30);
}
.btn-primary:hover { background: var(--navy); transform: translateY(-1px); }

/* ─── Hamburger – mobile only ────────────────────────────────── */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
  background: none;
  border: none;
}
.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform .2s, opacity .2s;
}
.nav__mobile-menu {
  display: none;
  flex-direction: column;
  padding: 16px 24px 20px;
  border-top: 1px solid var(--border);
  gap: 16px;
}
.nav__mobile-menu a {
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
}
.nav__mobile-menu.open { display: flex; }

/* ─── Footer ─────────────────────────────────────────────────── */
.footer {
  background: var(--navy);
  padding: 48px 24px 32px;
  color: rgba(255,255,255,.6);
}
.footer__inner {
  max-width: 1120px;
  margin: 0 auto;
}
.footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  margin-bottom: 24px;
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer__brand img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.footer__brand span {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}
.footer__links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.footer__links a {
  font-size: 14px;
  color: rgba(255,255,255,.6);
  transition: color .15s;
}
.footer__links a:hover { color: #fff; }
.footer__copy {
  font-size: 13px;
  text-align: center;
}

/* ─── Responsive – shared nav/footer ────────────────────────── */
@media (max-width: 720px) {
  .nav__links, .nav__cta { display: none; }
  .nav__hamburger { display: flex; }
}
@media (max-width: 480px) {
  .footer__top { flex-direction: column; align-items: flex-start; }
}
