* { box-sizing: border-box; }

:root {
  --navy: #0d1b4b;
  --blue: #2563eb;
  --gold: #ffd700;
  --text: #1f2937;
  --muted: #6b7280;
  --surface: #f8fafc;
  --white: #ffffff;
  --radius: 16px;
  --shadow: 0 12px 40px rgba(13, 27, 75, 0.12);
}

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--surface);
  color: var(--text);
  line-height: 1.6;
}

.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Header */
.site-header {
  background: var(--navy);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 10;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 1rem;
}

.brand {
  color: var(--gold);
  font-size: 1.35rem;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
}

.nav-links a:hover { color: var(--gold); }

.nav-toggle,
.nav-toggle-btn { display: none; }

.tagline {
  margin: 0.5rem 0 0;
  font-size: 0.95rem;
  opacity: 0.85;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
}

.nav-app {
  color: var(--gold) !important;
}

/* Hero */
.hero {
  background: linear-gradient(145deg, var(--navy) 0%, #1e3a8a 55%, var(--blue) 100%);
  color: var(--white);
  padding: 3.5rem 0 4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  opacity: 0.75;
  margin: 0 0 0.75rem;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 5vw, 2.75rem);
  line-height: 1.15;
  font-weight: 900;
}

.lead {
  font-size: 1.1rem;
  opacity: 0.92;
  max-width: 540px;
  margin: 0 0 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.35rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--white);
}

.hero-note {
  font-size: 0.85rem;
  opacity: 0.7;
  margin: 0;
}

.hero-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  padding: 1.25rem;
  backdrop-filter: blur(8px);
}

.stat {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.stat:last-child { border-bottom: none; }

.stat-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--gold);
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.85;
}

/* Features */
.features {
  padding: 4rem 0;
}

.features h2,
.trust h2 {
  text-align: center;
  color: var(--navy);
  font-size: 1.75rem;
  margin: 0 0 2rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: var(--shadow);
  border: 1px solid #e5e7eb;
}

.feature-card h3 {
  margin: 0 0 0.5rem;
  color: var(--blue);
  font-size: 1.05rem;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Trust */
.trust {
  padding: 3rem 0 4rem;
  background: var(--white);
  border-top: 1px solid #e5e7eb;
}

.trust-inner {
  max-width: 720px;
}

.trust ul {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--muted);
}

.trust li { margin-bottom: 0.65rem; }

/* Legal pages (terms, privacy…) */
.legal {
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

.legal h1 { color: var(--navy); font-size: 1.75rem; }
.legal h2 { color: var(--blue); font-size: 1.15rem; margin-top: 1.5rem; }
.updated { color: var(--muted); font-size: 0.9rem; }

.legal-body {
  white-space: pre-wrap;
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--white);
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1.25rem;
  overflow-x: auto;
}

section { margin-top: 1.25rem; }

.cta {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.75rem 1.25rem;
  background: var(--blue);
  color: var(--white);
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
}

.store-badges { margin-top: 1.25rem; }

/* Footer */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.75);
  padding: 2.5rem 0 1.5rem;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}

.footer-nav a:hover { color: var(--gold); }

.copyright {
  text-align: center;
  margin: 0;
  font-size: 0.85rem;
  opacity: 0.65;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.25rem;
}

@media (max-width: 768px) {
  .hero-grid { grid-template-columns: 1fr; }
  .nav-toggle-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    font-size: 1.4rem;
    color: var(--gold);
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 10px;
    background: transparent;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--navy);
    padding: 0.75rem 1.25rem 1rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  }
  .nav-links a {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .header-inner { position: relative; }
  .nav-toggle:checked ~ .nav-links { display: flex; }
  .hero-actions { flex-direction: column; align-items: stretch; }
}
