:root {
  --bg: #0F172A;
  --bg-2: #0B1120;
  --card: #1E293B;
  --card-2: #243345;
  --accent: #3B82F6;
  --accent-soft: rgba(59, 130, 246, 0.14);
  --danger: #EF4444;
  --danger-soft: rgba(239, 68, 68, 0.14);
  --text: #FFFFFF;
  --muted: #94A3B8;
  --border: rgba(148, 163, 184, 0.14);
  --border-strong: rgba(148, 163, 184, 0.28);
  --radius: 18px;
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.7);
  --display: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.accent-text { color: var(--accent); }

/* ===== Header ===== */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 23, 42, 0.78);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), #1D4ED8);
  display: grid; place-items: center;
  box-shadow: 0 8px 24px -8px rgba(59, 130, 246, 0.7);
  flex-shrink: 0;
}
.brand-mark svg { width: 22px; height: 22px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}
.brand-sub { font-size: 0.72rem; color: var(--muted); font-weight: 500; }

nav.desktop-nav { display: flex; align-items: center; gap: 30px; }
nav.desktop-nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s ease;
}
nav.desktop-nav a:hover { color: var(--text); }

.nav-cta {
  background: var(--accent);
  color: #fff;
  padding: 10px 20px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -10px rgba(59, 130, 246, 0.8); }

.menu-toggle {
  display: none;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  width: 44px; height: 44px;
  color: var(--text);
  cursor: pointer;
  place-items: center;
}
.menu-toggle svg { width: 22px; height: 22px; }

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 96px 0 80px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -200px; left: 50%;
  transform: translateX(-50%);
  width: 900px; height: 900px;
  background: radial-gradient(circle, rgba(59,130,246,0.22) 0%, rgba(59,130,246,0) 60%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-soft);
  border: 1px solid rgba(59,130,246,0.3);
  color: #bfdbfe;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 26px;
}
.badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(59,130,246,0.25); }

.hero h1 {
  font-family: var(--display);
  font-size: clamp(2.4rem, 5vw, 3.7rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 800;
  margin-bottom: 22px;
}
.hero p.sub {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 540px;
  margin-bottom: 34px;
}
.store-buttons { display: flex; gap: 14px; flex-wrap: wrap; }
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #000;
  border: 1px solid var(--border-strong);
  padding: 11px 20px;
  border-radius: 13px;
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.store-btn:hover { transform: translateY(-3px); border-color: var(--accent); }
.store-btn svg { width: 26px; height: 26px; flex-shrink: 0; }
.store-btn .lbl { display: flex; flex-direction: column; line-height: 1.15; }
.store-btn .lbl small { font-size: 0.66rem; color: var(--muted); }
.store-btn .lbl span { font-size: 1.02rem; font-weight: 600; font-family: var(--display); }

.hero-stats { display: flex; gap: 32px; margin-top: 42px; flex-wrap: wrap; }
.hero-stat .num { font-family: var(--display); font-size: 1.55rem; font-weight: 800; }
.hero-stat .lbl { font-size: 0.82rem; color: var(--muted); }

/* Phone mockup */
.phone-wrap { display: flex; justify-content: center; position: relative; }
.phone {
  position: relative;
  width: 300px;
  height: 600px;
  background: #0B1120;
  border: 10px solid #0a0f1d;
  border-radius: 44px;
  box-shadow: var(--shadow), 0 0 0 2px rgba(148,163,184,0.08);
  overflow: hidden;
}
.phone::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 130px; height: 26px;
  background: #0a0f1d;
  border-radius: 0 0 16px 16px;
  z-index: 4;
}
.phone-screen { position: absolute; inset: 0; padding: 40px 18px 20px; display: flex; flex-direction: column; gap: 14px; }
.ps-search {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex; align-items: center; gap: 10px;
  font-size: 0.82rem; color: var(--muted);
}
.ps-search svg { width: 16px; height: 16px; color: var(--accent); }
.ps-score {
  background: linear-gradient(135deg, var(--danger-soft), rgba(239,68,68,0.04));
  border: 1px solid rgba(239,68,68,0.3);
  border-radius: 16px;
  padding: 18px;
  text-align: center;
}
.ps-score .ring {
  width: 92px; height: 92px; margin: 0 auto 10px;
  border-radius: 50%;
  background: conic-gradient(var(--danger) 0% 72%, rgba(148,163,184,0.18) 72% 100%);
  display: grid; place-items: center;
}
.ps-score .ring .inner {
  width: 70px; height: 70px; border-radius: 50%;
  background: var(--bg-2); display: grid; place-items: center;
  flex-direction: column;
}
.ps-score .ring .inner b { font-family: var(--display); font-size: 1.5rem; color: var(--danger); }
.ps-score .label { font-size: 0.78rem; color: var(--muted); }
.ps-score .label b { color: #fff; display: block; font-size: 0.95rem; font-family: var(--display); }

.ps-row {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex; align-items: center; gap: 12px;
}
.ps-row .ico { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; flex-shrink: 0; }
.ps-row .ico svg { width: 18px; height: 18px; }
.ps-row .meta { flex: 1; }
.ps-row .meta .t { font-size: 0.82rem; font-weight: 600; }
.ps-row .meta .d { font-size: 0.7rem; color: var(--muted); }
.ps-row .pill { font-size: 0.66rem; font-weight: 700; padding: 3px 8px; border-radius: 999px; }

/* ===== Section primitives ===== */
section.block { padding: 88px 0; }
.section-head { text-align: center; max-width: 660px; margin: 0 auto 56px; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 14px;
}
.section-head h2 {
  font-family: var(--display);
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  letter-spacing: -0.02em;
  font-weight: 800;
  margin-bottom: 16px;
}
.section-head p { color: var(--muted); font-size: 1.05rem; }

/* ===== Features ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: linear-gradient(180deg, var(--card), var(--bg-2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform 0.22s ease, border-color 0.22s ease;
}
.feature-card:hover { transform: translateY(-6px); border-color: var(--border-strong); }
.feature-ico {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: grid; place-items: center;
  margin-bottom: 22px;
}
.feature-ico svg { width: 28px; height: 28px; }
.feature-card h3 { font-family: var(--display); font-size: 1.28rem; font-weight: 700; margin-bottom: 10px; }
.feature-card p { color: var(--muted); font-size: 0.96rem; }

/* ===== Trust ===== */
.trust { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.trust-label { text-align: center; color: var(--muted); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.16em; font-weight: 600; margin-bottom: 30px; }
.badges {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 42px;
}
.gov-badge {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px 34px;
  min-width: 130px;
}
.gov-badge .abbr { font-family: var(--display); font-weight: 800; font-size: 1.5rem; letter-spacing: -0.01em; }
.gov-badge .full { font-size: 0.72rem; color: var(--muted); text-align: center; }
.disclaimer {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px 26px;
}
.disclaimer svg { width: 18px; height: 18px; color: var(--accent); vertical-align: -3px; margin-right: 6px; }

/* ===== FAQ ===== */
.faq-wrap { max-width: 820px; margin: 0 auto; }
.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  margin-bottom: 14px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}
.faq-item[open] { border-color: var(--border-strong); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.05rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .chev {
  width: 26px; height: 26px; flex-shrink: 0;
  border-radius: 50%;
  background: var(--accent-soft);
  display: grid; place-items: center;
  transition: transform 0.25s ease;
}
.faq-item summary .chev svg { width: 15px; height: 15px; color: var(--accent); }
.faq-item[open] summary .chev { transform: rotate(180deg); }
.faq-body { padding: 0 24px 22px; color: var(--muted); font-size: 0.97rem; }

.support-cta {
  text-align: center;
  margin-top: 44px;
  background: linear-gradient(135deg, var(--accent-soft), rgba(59,130,246,0.02));
  border: 1px solid rgba(59,130,246,0.25);
  border-radius: var(--radius);
  padding: 36px;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}
.support-cta h3 { font-family: var(--display); font-size: 1.35rem; margin-bottom: 8px; }
.support-cta p { color: var(--muted); margin-bottom: 20px; }
.support-cta a.mail {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--accent); color: #fff;
  padding: 13px 26px; border-radius: 12px; font-weight: 600;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.support-cta a.mail:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -10px rgba(59,130,246,0.8); }
.support-cta a.mail svg { width: 18px; height: 18px; }

/* ===== Legal / content pages ===== */
.page-hero {
  position: relative;
  padding: 72px 0 36px;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  top: -260px; left: 50%;
  transform: translateX(-50%);
  width: 760px; height: 760px;
  background: radial-gradient(circle, rgba(59,130,246,0.16) 0%, rgba(59,130,246,0) 62%);
  pointer-events: none;
}
.page-hero .container { position: relative; }
.crumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 500;
  margin-bottom: 22px;
  transition: color 0.18s ease;
}
.crumb:hover { color: var(--accent); }
.crumb svg { width: 16px; height: 16px; }
.page-hero h1 {
  font-family: var(--display);
  font-size: clamp(2rem, 4.4vw, 3rem);
  letter-spacing: -0.025em;
  font-weight: 800;
  margin-bottom: 12px;
}
.page-hero .eff { color: var(--muted); font-size: 0.9rem; }

.legal { max-width: 820px; margin: 0 auto; padding: 52px 0 96px; }
.legal h2 {
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 700;
  margin: 34px 0 10px;
  letter-spacing: -0.01em;
}
.legal h2:first-of-type { margin-top: 0; }
.legal p, .legal li { color: #cbd5e1; font-size: 0.97rem; margin-bottom: 10px; }
.legal ul { padding-left: 22px; list-style: disc; margin-bottom: 10px; }
.legal li { margin-bottom: 8px; }
.legal a { color: var(--accent); }
.legal strong { color: #fff; }

/* ===== Footer ===== */
footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 56px 0 34px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.footer-brand { max-width: 320px; }
.footer-brand p { color: var(--muted); font-size: 0.92rem; margin-top: 16px; }
.footer-links { display: flex; gap: 60px; flex-wrap: wrap; }
.footer-col h4 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted); margin-bottom: 16px; font-weight: 700; }
.footer-col a { display: block; color: #cbd5e1; font-size: 0.93rem; margin-bottom: 12px; transition: color 0.18s ease; cursor: pointer; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 26px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  color: var(--muted); font-size: 0.86rem;
}
.footer-bottom .legal-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-bottom .legal-links a { cursor: pointer; transition: color 0.18s ease; }
.footer-bottom .legal-links a:hover { color: var(--text); }

/* ===== Mobile nav ===== */
.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 24px 20px;
  border-top: 1px solid var(--border);
  background: rgba(15,23,42,0.96);
}
.mobile-nav.open { display: flex; }
.mobile-nav a { padding: 12px 4px; color: var(--muted); font-weight: 500; border-bottom: 1px solid var(--border); }
.mobile-nav a:last-child { border-bottom: none; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero { padding: 64px 0 56px; }
  .hero p.sub { margin-left: auto; margin-right: auto; }
  .badge { margin-left: auto; margin-right: auto; }
  .hero-grid > div:first-child { text-align: center; }
  .store-buttons, .hero-stats { justify-content: center; }
  .features-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  nav.desktop-nav { display: none; }
  .menu-toggle { display: grid; }
  section.block { padding: 64px 0; }
}
