/* ── Google Fonts loaded in each page <head> ── */
:root {
  --bg:        #F6FAFD;
  --bg-soft:   #EAF4FB;
  --surface:   #FFFFFF;
  --ink:       #0B1A2B;
  --ink-2:     #1F2D44;
  --muted:     #64748B;
  --faint:     #94A3B8;
  --line:      rgba(11,26,43,0.08);
  --line-2:    rgba(11,26,43,0.14);
  --pool-1:    #5FD0FF;
  --pool-2:    #00A8E8;
  --pool-3:    #0077C2;
  --pool-4:    #0B5FFF;
  --accent:    #7A5AE0;
  --teal:      #22C8B0;
  --shadow-sm: 0 1px 2px rgba(11,26,43,0.05);
  --shadow:    0 1px 2px rgba(11,26,43,0.04), 0 10px 30px rgba(11,26,43,0.08);
  --shadow-lg: 0 24px 60px -20px rgba(11,32,80,0.30), 0 8px 20px -10px rgba(11,32,80,0.20);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: var(--pool-3); text-decoration: none; }
a:hover { color: var(--pool-4); }
::selection { background: #c9ecff; color: var(--ink); }

/* ── Layout ── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 32px; }

/* ── Navigation ── */
.site-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246,250,253,0.88);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.nav-brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); }
.nav-brand-icon { width: 36px; height: 36px; border-radius: 9px; overflow: hidden; box-shadow: 0 4px 12px rgba(11,32,80,0.18); flex-shrink: 0; }
.nav-brand-icon img { width: 100%; height: 100%; object-fit: cover; }
.nav-brand-name { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 20px; letter-spacing: -0.02em; }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a { color: var(--ink-2); font-weight: 500; font-size: 14px; text-decoration: none; }
.nav-links a:hover,
.nav-links a.active { color: var(--pool-3); }
.nav-right { display: flex; align-items: center; gap: 14px; }
.lang-switcher { display: flex; gap: 4px; }
.lang-btn {
  font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px;
  border: 1px solid var(--line-2); color: var(--muted); cursor: pointer;
  background: none; font-family: inherit; transition: 100ms ease;
}
.lang-btn.active { background: var(--ink); color: #fff; border-color: transparent; }
.nav-cta {
  display: inline-flex; align-items: center; gap: 7px;
  height: 38px; padding: 0 16px; border-radius: 999px;
  background: var(--ink); color: #fff !important; font-weight: 600;
  font-size: 13px; text-decoration: none; transition: 150ms ease;
}
.nav-cta:hover { background: var(--pool-4); }
.nav-menu-toggle {
  display: none; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 10px;
  background: #fff; border: 1px solid var(--line); cursor: pointer; color: var(--ink);
}

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  height: 50px; padding: 0 22px; border-radius: 999px;
  font-weight: 600; font-size: 15px; border: none; cursor: pointer;
  font-family: 'Inter', sans-serif; text-decoration: none; transition: 150ms ease;
}
.btn-primary { background: var(--ink); color: #fff; box-shadow: 0 10px 24px rgba(11,26,43,0.20); }
.btn-primary:hover { background: var(--pool-4); color: #fff; transform: translateY(-1px); }
.btn-secondary { background: #fff; color: var(--ink); border: 1px solid var(--line-2); }
.btn-secondary:hover { border-color: var(--pool-3); color: var(--pool-3); }

/* ── Section headers ── */
.section-eyebrow {
  font-size: 12px; font-weight: 700; color: var(--pool-3);
  letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 12px;
}
.section-title {
  font-family: 'Sora', sans-serif; font-weight: 800;
  font-size: clamp(30px, 3.5vw, 46px); letter-spacing: -0.03em;
  line-height: 1.05; margin: 0 0 14px; color: var(--ink);
}
.section-sub { color: var(--muted); font-size: 17px; line-height: 1.55; max-width: 580px; margin: 0 auto; }
.section-head { text-align: center; margin-bottom: 52px; }

/* ── Download CTA banner ── */
.cta-banner { padding: 72px 0; background: var(--bg); }
.cta-card {
  background: linear-gradient(135deg, var(--pool-3) 0%, var(--pool-4) 100%);
  border-radius: 28px; padding: 60px 52px; color: #fff;
  display: grid; grid-template-columns: 1.4fr 0.6fr;
  align-items: center; gap: 32px;
  box-shadow: 0 30px 60px -20px rgba(11,95,255,0.40);
  position: relative; overflow: hidden;
}
.cta-card::after {
  content: ''; position: absolute; right: -80px; bottom: -80px;
  width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(95,208,255,0.40), transparent 70%);
  pointer-events: none;
}
.cta-card h2 {
  font-family: 'Sora', sans-serif; font-weight: 800;
  font-size: clamp(26px, 3vw, 40px); letter-spacing: -0.03em;
  line-height: 1.05; margin: 0 0 10px;
}
.cta-card p { margin: 0; color: rgba(255,255,255,0.85); font-size: 16px; line-height: 1.5; }
.cta-actions { display: flex; flex-direction: column; gap: 10px; justify-self: end; position: relative; z-index: 1; }
.store-btn {
  display: flex; align-items: center; gap: 12px; padding: 12px 20px;
  background: #0b1a2b; color: #fff; border-radius: 13px;
  text-decoration: none; min-width: 200px; transition: 150ms ease;
}
.store-btn:hover { background: #000; color: #fff; transform: translateY(-1px); }
.store-btn .sub { font-size: 11px; opacity: 0.7; font-weight: 500; display: block; }
.store-btn .main { font-size: 16px; font-weight: 700; font-family: 'Sora', sans-serif; line-height: 1.1; display: block; }

/* ── Footer ── */
.site-footer { background: var(--ink); color: rgba(255,255,255,0.65); padding: 56px 0 28px; }
.foot-top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; margin-bottom: 40px; }
.foot-brand p { margin: 12px 0 0; color: rgba(255,255,255,0.55); line-height: 1.55; font-size: 14px; max-width: 300px; }
.foot-col h5 { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 12px; color: #fff; margin: 0 0 14px; letter-spacing: 0.06em; text-transform: uppercase; }
.foot-col ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.foot-col a { color: rgba(255,255,255,0.65); font-size: 14px; text-decoration: none; }
.foot-col a:hover { color: var(--pool-1); }
.foot-bottom {
  border-top: 1px solid rgba(255,255,255,0.10); padding-top: 22px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: rgba(255,255,255,0.40);
}
.foot-legal { display: flex; gap: 20px; }
.foot-legal a { color: rgba(255,255,255,0.50); text-decoration: none; }
.foot-legal a:hover { color: var(--pool-1); }

/* ── Language sections ── */
.lang-section { display: none; }
.lang-section.active { display: block; }

/* ── Responsive ── */
@media (max-width: 980px) {
  .cta-card { grid-template-columns: 1fr; }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .nav-menu-toggle { display: inline-flex; }
  .cta-actions { justify-self: start; }
  .nav-links.open {
    display: flex; position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; background: #fff;
    padding: 20px 32px 24px; gap: 16px;
    border-bottom: 1px solid var(--line); z-index: 49;
  }
}
@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .cta-card { padding: 36px 24px; }
  .foot-top { grid-template-columns: 1fr; }
  .foot-bottom { flex-direction: column; gap: 10px; text-align: center; }
}

/* ── Screenshot Gallery ── */
.gallery-section { padding: 88px 0 80px; }
.gallery-head { text-align: center; margin-bottom: 52px; }
.gallery-sub { font-size: 17px; color: var(--muted); max-width: 520px; margin: 0 auto; line-height: 1.6; }
.gallery-phone-wrap { display: flex; flex-direction: column; align-items: center; gap: 32px; }
.gallery-phone {
  width: 260px;
  background: var(--ink);
  border-radius: 52px;
  padding: 14px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.06),
    0 0 0 3px rgba(11,26,43,0.6),
    0 40px 100px -20px rgba(11,32,80,0.55),
    0 12px 32px -8px rgba(11,32,80,0.35);
  position: relative;
}
.gallery-phone::before {
  content: '';
  position: absolute;
  top: 14px; left: 50%;
  transform: translateX(-50%);
  width: 80px; height: 24px;
  background: var(--ink);
  border-radius: 0 0 16px 16px;
  z-index: 10;
}
.gallery-screen {
  border-radius: 40px;
  overflow: hidden;
  aspect-ratio: 390 / 844;
  position: relative;
  background: #1a2d40;
}
.gallery-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.gallery-slide.active { opacity: 1; }
.gallery-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-dots {
  display: flex; gap: 8px; align-items: center;
}
.gallery-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--line-2); border: none; cursor: pointer; padding: 0;
  transition: background 0.25s, width 0.25s, border-radius 0.25s;
}
.gallery-dot.active {
  width: 26px; border-radius: 4px; background: var(--pool-3);
}
@media (max-width: 600px) {
  .gallery-phone { width: 210px; }
}
