/* ═══════════════════════════════════════════════════════════════════════════
   Kidan - public homepage (kidanapp.com)

   The homepage's markup was written with its own component classes (hero,
   pricing deck, FAQ, footer...) but never had a stylesheet: it only linked the
   app's style.css, which styles the app screens and none of these. This file is
   the homepage's design. It is deliberately separate from style.css, which is
   also bundled into the Android app.

   Mobile first. Breakpoints: 640px, 960px (navigation collapses), 1100px.
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
  --bg: #090514;
  --bg-raised: #0f0820;
  --surface: #140c28;
  --surface-2: #1b1135;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #f8fafc;
  --text-muted: #b4adc8;
  --text-faint: #8a82a3;

  --accent-pink: #f472b6;
  --fuchsia: #d946ef;
  --violet: #8b5cf6;
  --gold: #fbbf24;
  --green: #34d399;
  --rose: #fb7185;
  --grad: linear-gradient(135deg, #d946ef 0%, #8b5cf6 100%);
  --grad-warm: linear-gradient(135deg, #f472b6 0%, #d946ef 45%, #8b5cf6 100%);

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 26px;
  --pill: 999px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 10px 34px rgba(217, 70, 239, 0.35);

  --container: 1180px;
  --nav-h: 68px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ── Base ─────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto,
               'Noto Sans Ethiopic', 'Nyala', 'Abyssinica SIL', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
h1, h2, h3, h4, p { margin: 0; }
strong { font-weight: 700; }
section[id] { scroll-margin-top: calc(var(--nav-h) + 16px); }
:focus-visible { outline: 2px solid var(--accent-pink); outline-offset: 3px; border-radius: 6px; }

.container-standard { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.gradient-text {
  background: var(--grad-warm);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.accent-pink { color: var(--accent-pink); }

/* Ge'ez script reads better a touch larger and without tight tracking. */
.brand-geez { font-family: 'Noto Sans Ethiopic', 'Nyala', 'Abyssinica SIL', 'Plus Jakarta Sans', sans-serif; }

/* ── Announcement bar ─────────────────────────────────────────────────────── */
.top-announcement {
  background: linear-gradient(90deg, rgba(217,70,239,0.22), rgba(139,92,246,0.22));
  border-bottom: 1px solid var(--border);
  font-size: 13.5px;
}
.announcement-content {
  max-width: var(--container); margin: 0 auto; padding: 9px 20px;
  display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap;
  text-align: center;
}
.announcement-pill {
  background: var(--grad); color: #fff; font-size: 11px; font-weight: 800;
  letter-spacing: 0.06em; padding: 3px 10px; border-radius: var(--pill);
}
.announcement-link { color: var(--accent-pink); font-weight: 700; white-space: nowrap; }
.announcement-link:hover { text-decoration: underline; }

/* ── Navigation ───────────────────────────────────────────────────────────── */
.navbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(9, 5, 20, 0.6);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.navbar.scrolled { background: rgba(9, 5, 20, 0.88); border-bottom-color: var(--border); }
.nav-container {
  max-width: var(--container); margin: 0 auto; padding: 0 20px;
  height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand { display: inline-flex; align-items: baseline; gap: 8px; }
.brand-geez {
  font-size: 26px; font-weight: 700;
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.brand-name { font-size: 20px; font-weight: 800; letter-spacing: -0.01em; }
.brand-tag {
  font-size: 11px; font-weight: 700; color: var(--text-faint);
  text-transform: uppercase; letter-spacing: 0.1em;
}

.nav-menu { display: none; gap: 4px; }
.nav-link {
  white-space: nowrap;
  padding: 8px 12px; border-radius: var(--pill);
  font-size: 14.5px; font-weight: 600; color: var(--text-muted);
  transition: color 0.2s, background 0.2s;
}
.nav-link:hover { color: var(--text); background: rgba(255,255,255,0.06); }

.nav-actions { display: flex; align-items: center; gap: 10px; }
.lang-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px; border-radius: var(--pill);
  border: 1px solid var(--border-strong); background: rgba(255,255,255,0.04);
  font-size: 13.5px; font-weight: 700;
  transition: background 0.2s;
}
.lang-pill:hover { background: rgba(255,255,255,0.1); }
.btn-ghost-nav, .btn-solid-nav {
  display: none; align-items: center; gap: 6px;
  padding: 9px 16px; border-radius: var(--pill);
  font-size: 14px; font-weight: 700; white-space: nowrap;
  transition: transform 0.2s var(--ease), box-shadow 0.2s, background 0.2s;
}
.btn-ghost-nav { border: 1px solid var(--border-strong); }
.btn-ghost-nav:hover { background: rgba(244,114,182,0.1); }
.btn-solid-nav { background: var(--grad); color: #fff; }
.btn-solid-nav:hover { transform: translateY(-1px); }

.mobile-menu-toggle {
  width: 42px; height: 42px; border-radius: 12px;
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  border: 1px solid var(--border-strong); background: rgba(255,255,255,0.04);
}
.mobile-menu-toggle span {
  width: 18px; height: 2px; border-radius: 2px; background: var(--text);
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.mobile-menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-toggle.open span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Mobile drawer ────────────────────────────────────────────────────────── */
.mobile-drawer-overlay {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(3, 1, 8, 0.6); backdrop-filter: blur(3px);
  opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s;
}
.mobile-drawer-overlay.open { opacity: 1; visibility: visible; }
.mobile-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 100;
  width: min(84vw, 340px);
  background: var(--bg-raised); border-left: 1px solid var(--border);
  display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform 0.35s var(--ease);
  box-shadow: -20px 0 60px rgba(0,0,0,0.5);
}
.mobile-drawer.open { transform: translateX(0); }
.drawer-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px; border-bottom: 1px solid var(--border);
}
.drawer-close {
  width: 38px; height: 38px; border-radius: 10px; font-size: 18px;
  background: rgba(255,255,255,0.06);
}
.drawer-links { display: flex; flex-direction: column; padding: 10px 12px; overflow-y: auto; flex: 1; }
.drawer-link {
  padding: 13px 12px; border-radius: 12px;
  font-size: 15.5px; font-weight: 600; color: var(--text-muted);
}
.drawer-link:hover { background: rgba(255,255,255,0.05); color: var(--text); }
.drawer-footer { padding: 16px 20px 24px; border-top: 1px solid var(--border); display: flex; flex-direction: column; }
.btn-drawer-solid, .btn-drawer-ghost {
  display: block; text-align: center; padding: 13px; border-radius: 14px; font-weight: 700;
}
.btn-drawer-solid { background: var(--grad); color: #fff; }
.btn-drawer-ghost { border: 1px solid var(--border-strong); }

/* ── Hero ─────────────────────────────────────────────────────────────────── */
.hero-section { position: relative; overflow: hidden; padding: 48px 0 64px; }
.glow-orb {
  position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.35; pointer-events: none;
}
.orb-purple { width: 420px; height: 420px; background: #7c3aed; top: -120px; left: -120px; }
.orb-rose   { width: 360px; height: 360px; background: #db2777; bottom: -140px; right: 10%; opacity: 0.25; }
.orb-gold   { width: 260px; height: 260px; background: #f59e0b; top: 30%; right: -80px; opacity: 0.14; }

.hero-grid {
  position: relative; z-index: 1;
  max-width: var(--container); margin: 0 auto; padding: 0 20px;
  display: grid; gap: 48px; align-items: center;
}
.hero-text-wrap { text-align: center; }
.cultural-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: var(--pill);
  background: rgba(255,255,255,0.05); border: 1px solid var(--border-strong);
  font-size: 13px; font-weight: 600; color: var(--text-muted);
}
.hero-headline {
  margin: 20px 0 16px;
  font-size: clamp(2.1rem, 7vw, 3.9rem); font-weight: 800;
  line-height: 1.08; letter-spacing: -0.025em;
}
.hero-lead {
  max-width: 560px; margin: 0 auto;
  font-size: clamp(1rem, 2.4vw, 1.15rem); color: var(--text-muted);
}

.hero-buttons-cluster {
  margin-top: 28px;
  display: flex; flex-direction: column; gap: 12px; align-items: stretch;
}
.btn-store {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 12px 22px 12px 16px; border-radius: 16px;
  text-align: left;
  transition: transform 0.25s var(--ease), box-shadow 0.25s, background 0.25s;
}
.btn-store.primary { background: var(--grad); color: #fff; box-shadow: var(--shadow-glow); }
.btn-store.secondary { background: rgba(255,255,255,0.05); border: 1px solid var(--border-strong); }
.btn-store:hover { transform: translateY(-2px); }
.btn-store.primary:hover { box-shadow: 0 14px 40px rgba(217,70,239,0.5); }
.btn-store.secondary:hover { background: rgba(255,255,255,0.09); }
.store-icon {
  width: 40px; height: 40px; border-radius: 12px; flex-shrink: 0;
  display: grid; place-items: center; font-size: 20px;
  background: rgba(255,255,255,0.14);
}
.store-text { display: flex; flex-direction: column; line-height: 1.2; }
.store-sub { font-size: 11.5px; font-weight: 600; opacity: 0.8; }
.store-title { font-size: 16.5px; font-weight: 800; }

.hero-login-note { margin-top: 16px; font-size: 13.5px; color: var(--text-muted); }

.hero-trust-bar {
  margin-top: 28px; padding: 14px 16px;
  display: grid; gap: 12px;
  background: rgba(255,255,255,0.03); border: 1px solid var(--border); border-radius: var(--radius);
  text-align: left;
}
.trust-item { display: flex; align-items: center; gap: 10px; }
.trust-icon {
  width: 36px; height: 36px; border-radius: 10px; flex-shrink: 0;
  display: grid; place-items: center; font-size: 17px; background: rgba(255,255,255,0.06);
}
.trust-item strong { display: block; font-size: 13.5px; }
.trust-item small { display: block; font-size: 12px; color: var(--text-faint); }
.trust-separator { display: none; }

/* ── Hero phone mockup ────────────────────────────────────────────────────── */
.hero-device-wrap { display: flex; justify-content: center; }
.device-phone {
  position: relative; width: 300px; max-width: 86vw;
  aspect-ratio: 9 / 19;
  padding: 12px; border-radius: 46px;
  background: linear-gradient(160deg, #2a2140, #110b1f);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.1), 0 40px 90px rgba(0,0,0,0.6), 0 0 80px rgba(139,92,246,0.25);
}
.phone-camera-island {
  position: absolute; top: 20px; left: 50%; transform: translateX(-50%); z-index: 5;
  width: 88px; height: 24px; border-radius: 20px; background: #000;
}
.phone-screen-content {
  position: relative; height: 100%; border-radius: 36px; overflow: hidden;
  background: #0b0616;
  display: flex; flex-direction: column;
  padding: 44px 10px 12px;
}
.phone-top-bar { display: flex; align-items: center; justify-content: space-between; padding: 0 6px 10px; }
.phone-brand { font-weight: 800; font-size: 15px; }
.phone-vip-pill {
  font-size: 10.5px; font-weight: 800; color: #1a1033;
  background: linear-gradient(135deg, #fde68a, #fbbf24); padding: 3px 9px; border-radius: var(--pill);
}
.phone-profile-card {
  position: relative; flex: 1; border-radius: 22px; overflow: hidden;
  background: var(--surface);
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}
.card-bg-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; cursor: pointer; }
.card-story-indicators {
  position: absolute; top: 8px; left: 10px; right: 10px; z-index: 3;
  display: flex; gap: 4px;
}
.story-dash { flex: 1; height: 3px; border-radius: 3px; background: rgba(255,255,255,0.35); cursor: pointer; }
.story-dash.active { background: #fff; }
.card-tap-zone { position: absolute; top: 0; bottom: 45%; width: 40%; z-index: 2; cursor: pointer; }
.card-tap-zone.left { left: 0; }
.card-tap-zone.right { right: 0; }
.card-scrim-layer {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 60px 12px 12px;
  background: linear-gradient(to top, rgba(6,3,14,0.96) 0%, rgba(6,3,14,0.7) 55%, transparent 100%);
}
.card-status-badges { display: flex; gap: 6px; margin-bottom: 6px; }
.pill-intent, .pill-verified {
  font-size: 10px; font-weight: 700; padding: 3px 8px; border-radius: var(--pill);
}
.pill-intent { background: rgba(217,70,239,0.25); color: #f5d0fe; }
.pill-verified { background: rgba(52,211,153,0.2); color: #6ee7b7; }
.card-user-name { font-size: 20px; font-weight: 800; line-height: 1.2; }
.card-user-location { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.card-pills-row { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.culture-pill {
  font-size: 10px; font-weight: 600; padding: 3px 8px; border-radius: var(--pill);
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.12);
}
.card-prompt-quote {
  display: flex; gap: 8px; align-items: flex-start; margin-top: 8px;
  padding: 8px 10px; border-radius: 12px; background: rgba(255,255,255,0.07);
}
.card-prompt-quote p {
  font-size: 11px; line-height: 1.45; color: var(--text-muted);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.quote-icon { font-size: 14px; }
.card-reaction-overlay {
  position: absolute; inset: 0; z-index: 4; pointer-events: none;
  display: grid; place-items: center;
  font-size: 88px; font-weight: 800;
  opacity: 0; transform: scale(0.6);
  transition: opacity 0.25s ease, transform 0.35s var(--ease);
  text-shadow: 0 6px 30px rgba(0,0,0,0.5);
}
.card-reaction-overlay.show { opacity: 1; transform: scale(1); }
.phone-actions-tray { display: flex; justify-content: center; align-items: center; gap: 10px; padding-top: 12px; }
.circle-btn {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center; font-size: 16px;
  background: var(--surface-2); border: 1px solid var(--border-strong);
  transition: transform 0.2s var(--ease);
}
.circle-btn:hover { transform: scale(1.1); }
.circle-btn:active { transform: scale(0.94); }
.circle-btn.pass, .circle-btn.like { width: 52px; height: 52px; font-size: 20px; }
.circle-btn.pass { color: #f87171; }
.circle-btn.like { background: var(--grad); border-color: transparent; box-shadow: var(--shadow-glow); }
.circle-btn.super { color: #c084fc; }
.circle-btn.undo { color: var(--gold); }

/* ── Proof band ───────────────────────────────────────────────────────────── */
.proof-band { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-raised); }
.proof-container {
  max-width: var(--container); margin: 0 auto; padding: 28px 20px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px 16px;
}
.proof-stat { text-align: center; }
/* With an odd number of stats the last one would sit alone on the left. */
.proof-stat:last-child { grid-column: 1 / -1; }
.stat-big {
  font-size: clamp(1.7rem, 5vw, 2.4rem); font-weight: 800; letter-spacing: -0.02em;
  background: var(--grad-warm); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-sub { font-size: 13px; color: var(--text-muted); margin-top: 2px; }
.stat-line { display: none; }

/* ── Shared section header ────────────────────────────────────────────────── */
.how-section, .features-section, .safety-section, .pricing-section, .faq-section, .cta-banner-section {
  padding: 72px 0;
}
.features-section, .faq-section { background: var(--bg-raised); }
.section-badge-center { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.section-tag-gold, .section-tag-rose, .section-tag-green {
  display: inline-block; padding: 6px 14px; border-radius: var(--pill);
  font-size: 12.5px; font-weight: 700; margin-bottom: 14px;
}
.section-tag-gold  { background: rgba(251,191,36,0.12);  color: #fcd34d; border: 1px solid rgba(251,191,36,0.25); }
.section-tag-rose  { background: rgba(244,114,182,0.12); color: #f9a8d4; border: 1px solid rgba(244,114,182,0.25); }
.section-tag-green { background: rgba(52,211,153,0.12);  color: #6ee7b7; border: 1px solid rgba(52,211,153,0.25); }
.section-header {
  font-size: clamp(1.75rem, 4.6vw, 2.7rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.02em;
}
.section-subtext { margin-top: 14px; font-size: clamp(0.98rem, 2.2vw, 1.08rem); color: var(--text-muted); }

/* ── How it works ─────────────────────────────────────────────────────────── */
.steps-grid { display: grid; gap: 18px; }
.step-card {
  position: relative; overflow: hidden;
  padding: 28px 24px; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--border);
}
.step-num {
  position: absolute; top: 14px; right: 20px;
  font-size: 54px; font-weight: 800; line-height: 1; color: rgba(255,255,255,0.05);
}
.step-icon-wrap {
  display: inline-grid; place-items: center;
  padding: 10px 14px; border-radius: 14px; font-size: 20px; letter-spacing: 4px;
  background: rgba(217,70,239,0.12); border: 1px solid rgba(217,70,239,0.25);
}
.step-title { margin: 18px 0 8px; font-size: 19px; font-weight: 800; }
.step-desc { font-size: 15px; color: var(--text-muted); }

/* ── Features ─────────────────────────────────────────────────────────────── */
.features-grid-refined { display: grid; gap: 18px; }
.refined-card {
  display: flex; flex-direction: column;
  padding: 26px 24px; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--border);
  transition: transform 0.3s var(--ease), border-color 0.3s;
}
.refined-card:hover { transform: translateY(-4px); border-color: rgba(217,70,239,0.35); }
.refined-card.gold-border { border-color: rgba(251,191,36,0.35); background: linear-gradient(180deg, rgba(251,191,36,0.06), var(--surface) 60%); }
.feat-icon-bubble {
  width: 52px; height: 52px; border-radius: 16px;
  display: grid; place-items: center; font-size: 25px;
  background: rgba(255,255,255,0.06); border: 1px solid var(--border-strong);
}
.feat-title { margin: 18px 0 8px; font-size: 18px; font-weight: 800; }
.feat-copy { font-size: 14.5px; color: var(--text-muted); flex: 1; }
.feat-highlight {
  align-self: flex-start; margin-top: 16px;
  font-size: 12.5px; font-weight: 700; color: #6ee7b7;
  padding: 5px 11px; border-radius: var(--pill); background: rgba(52,211,153,0.1);
}

/* ── Safety ───────────────────────────────────────────────────────────────── */
.safety-card-banner {
  display: grid; gap: 32px; align-items: center;
  padding: 32px 24px; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(52,211,153,0.08), rgba(139,92,246,0.08));
  border: 1px solid rgba(52,211,153,0.2);
}
.safety-heading { font-size: clamp(1.6rem, 4vw, 2.3rem); font-weight: 800; line-height: 1.2; letter-spacing: -0.02em; }
.safety-text { margin-top: 14px; color: var(--text-muted); }
.safety-checklist { margin-top: 22px; display: flex; flex-direction: column; gap: 12px; }
.safe-point { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--text-muted); }
.safe-point strong { color: var(--text); }
.safe-check {
  width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0; margin-top: 1px;
  display: grid; place-items: center; font-size: 13px; font-weight: 800;
  background: rgba(52,211,153,0.18); color: var(--green);
}
.safety-btn-row { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px; }
.btn-safety-outline {
  padding: 11px 18px; border-radius: var(--pill); font-size: 14px; font-weight: 700;
  border: 1px solid rgba(52,211,153,0.35); color: #6ee7b7;
  transition: background 0.2s;
}
.btn-safety-outline:hover { background: rgba(52,211,153,0.1); }
.safety-badge-graphic { display: flex; justify-content: center; }
.shield-box {
  width: 100%; max-width: 320px; text-align: center;
  padding: 36px 24px; border-radius: var(--radius-lg);
  background: rgba(9,5,20,0.55); border: 1px solid var(--border-strong);
  box-shadow: 0 0 60px rgba(52,211,153,0.12);
}
.shield-icon { font-size: 62px; line-height: 1; filter: drop-shadow(0 8px 24px rgba(52,211,153,0.35)); }
.shield-title { margin-top: 14px; font-size: 19px; font-weight: 800; }
.shield-sub { margin-top: 6px; font-size: 13px; color: var(--text-faint); }

/* ── Pricing ──────────────────────────────────────────────────────────────── */
.pricing-billing-toggle {
  margin-top: 26px;
  display: inline-flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: center;
  padding: 8px 14px; border-radius: var(--pill);
  background: rgba(255,255,255,0.04); border: 1px solid var(--border);
}
.billing-opt { font-size: 14px; font-weight: 700; color: var(--text-faint); cursor: pointer; transition: color 0.2s; }
.billing-opt.active { color: var(--text); }
.discount-badge {
  margin-left: 4px; font-size: 11px; font-weight: 800; color: #1a1033;
  background: var(--gold); padding: 2px 8px; border-radius: var(--pill);
}
/* JS moves the thumb with translateX(28px): 56px track - 22px thumb - 3px padding each side. */
.toggle-track {
  position: relative; width: 56px; height: 28px; border-radius: var(--pill); cursor: pointer;
  background: var(--grad);
}
.toggle-thumb {
  position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%;
  background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  transition: transform 0.3s var(--ease);
}

.pricing-deck { display: grid; gap: 20px; align-items: stretch; }
.plan-card {
  position: relative; display: flex; flex-direction: column;
  padding: 30px 24px; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--border);
}
.plan-card.popular-highlight {
  border: 1px solid transparent;
  background:
    linear-gradient(var(--surface-2), var(--surface-2)) padding-box,
    var(--grad) border-box;
  box-shadow: 0 24px 60px rgba(139,92,246,0.25);
}
.popular-ribbon {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  white-space: nowrap; font-size: 11px; font-weight: 800; letter-spacing: 0.03em;
  padding: 5px 14px; border-radius: var(--pill); background: var(--grad); color: #fff;
  box-shadow: var(--shadow-glow);
}
.plan-region-pill {
  align-self: flex-start;
  font-size: 12px; font-weight: 700; color: var(--text-muted);
  padding: 5px 11px; border-radius: var(--pill); background: rgba(255,255,255,0.06);
}
.plan-region-pill.gold { color: #fcd34d; background: rgba(251,191,36,0.12); }
.plan-name { margin-top: 16px; font-size: 22px; font-weight: 800; }
.plan-price-row { margin-top: 12px; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.currency-symbol { font-size: 22px; font-weight: 800; }
.currency-amount { font-size: 42px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.currency-period { font-size: 14px; color: var(--text-faint); font-weight: 600; }
.plan-summary { margin-top: 14px; font-size: 14.5px; color: var(--text-muted); }
.plan-bullet-list {
  list-style: none; margin: 20px 0 26px; padding: 18px 0 0;
  border-top: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 10px; flex: 1;
  font-size: 14.5px; color: var(--text-muted);
}
.plan-bullet-list strong { color: var(--text); font-weight: 600; }
.btn-plan-select {
  display: block; text-align: center; padding: 14px; border-radius: 14px; font-weight: 800;
  transition: transform 0.2s var(--ease), background 0.2s, box-shadow 0.2s;
}
.btn-plan-select.solid { background: var(--grad); color: #fff; box-shadow: var(--shadow-glow); }
.btn-plan-select.outline { border: 1px solid var(--border-strong); }
.btn-plan-select:hover { transform: translateY(-2px); }
.btn-plan-select.outline:hover { background: rgba(255,255,255,0.06); }
#plan-fx-note { color: var(--text-muted); }

/* ── FAQ ──────────────────────────────────────────────────────────────────── */
.faq-accordion-wrap { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border);
  cursor: pointer; transition: border-color 0.25s;
}
.faq-item:hover, .faq-item.active { border-color: rgba(217,70,239,0.35); }
.faq-question {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 20px; font-size: 16px; font-weight: 700;
}
.faq-toggle {
  width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center; font-size: 20px; font-weight: 500; line-height: 1;
  background: rgba(255,255,255,0.06);
  transition: transform 0.3s var(--ease), background 0.3s;
}
.faq-item.active .faq-toggle { transform: rotate(45deg); background: var(--grad); color: #fff; }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s var(--ease);
}
.faq-item.active .faq-answer { max-height: 480px; }
.faq-answer p { padding: 0 20px 20px; color: var(--text-muted); font-size: 15px; }

/* ── Final call to action ─────────────────────────────────────────────────── */
.cta-master-box {
  position: relative; overflow: hidden; text-align: center;
  padding: 52px 24px; border-radius: 32px;
  background: linear-gradient(135deg, #3b0b4f 0%, #1e1147 55%, #120b24 100%);
  border: 1px solid rgba(217,70,239,0.3);
}
.cta-orb-glow {
  position: absolute; width: 420px; height: 420px; top: -200px; left: 50%; transform: translateX(-50%);
  border-radius: 50%; background: #d946ef; filter: blur(110px); opacity: 0.35; pointer-events: none;
}
.cta-giant-title {
  position: relative; font-size: clamp(1.9rem, 5.5vw, 3.2rem); font-weight: 800; line-height: 1.12; letter-spacing: -0.02em;
}
.cta-giant-sub { position: relative; max-width: 620px; margin: 16px auto 0; color: #d6cfe6; }
.cta-store-buttons {
  position: relative; margin-top: 30px;
  display: flex; flex-direction: column; gap: 12px; align-items: center;
}
.btn-cta-main, .btn-cta-secondary {
  display: inline-flex; align-items: center; gap: 12px; min-width: 260px;
  padding: 13px 24px 13px 16px; border-radius: 16px; text-align: left;
  transition: transform 0.25s var(--ease), background 0.25s;
}
.btn-cta-main { background: #fff; color: #1a1033; }
.btn-cta-secondary { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.2); color: #fff; }
.btn-cta-main:hover, .btn-cta-secondary:hover { transform: translateY(-2px); }
.btn-icon {
  width: 40px; height: 40px; border-radius: 12px; flex-shrink: 0;
  display: grid; place-items: center; font-size: 20px; background: rgba(139,92,246,0.15);
}
.btn-cta-main > div, .btn-cta-secondary > div { display: flex; flex-direction: column; line-height: 1.2; }
.btn-sub { font-size: 11.5px; font-weight: 600; opacity: 0.75; }
.btn-bold { font-size: 16.5px; font-weight: 800; }
.cta-fineprint { position: relative; margin-top: 22px; font-size: 13.5px; color: #cbc3de; }

/* ── Footer ───────────────────────────────────────────────────────────────── */
.footer-master { padding: 60px 0 28px; border-top: 1px solid var(--border); background: #06030e; }
.footer-columns-grid { display: grid; gap: 34px; }
.footer-about { margin-top: 14px; max-width: 360px; font-size: 14.5px; color: var(--text-muted); }
.footer-badges { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.footer-pill {
  font-size: 12px; font-weight: 600; color: var(--text-muted);
  padding: 5px 11px; border-radius: var(--pill); background: rgba(255,255,255,0.05); border: 1px solid var(--border);
}
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 {
  margin-bottom: 4px; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text);
}
.footer-col a { font-size: 14.5px; color: var(--text-muted); transition: color 0.2s; overflow-wrap: anywhere; }
.footer-col a:hover { color: var(--accent-pink); }
.footer-social-icons { display: flex; gap: 10px; margin-top: 6px; }
.social-bubble {
  width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center; font-size: 18px;
  background: rgba(255,255,255,0.05); border: 1px solid var(--border);
}
.footer-copyright-bar {
  margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--border);
  font-size: 13px; color: var(--text-faint); text-align: center;
}

/* ── Toast and coffee-invite pop-up ───────────────────────────────────────── */
.live-toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 120;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  max-width: calc(100vw - 32px);
  padding: 12px 20px; border-radius: var(--pill);
  background: rgba(27,17,53,0.96); border: 1px solid var(--border-strong);
  font-size: 14px; font-weight: 600; box-shadow: var(--shadow);
  transition: opacity 0.3s, transform 0.3s var(--ease);
}
.live-toast.show { opacity: 1; transform: translate(-50%, 0); }

.buna-modal-overlay {
  position: fixed; inset: 0; z-index: 130; padding: 20px;
  display: grid; place-items: center;
  background: rgba(3,1,8,0.7); backdrop-filter: blur(4px);
  opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s;
}
.buna-modal-overlay.open { opacity: 1; visibility: visible; }
.buna-modal-card {
  position: relative; width: 100%; max-width: 400px; text-align: center;
  padding: 36px 26px 26px; border-radius: var(--radius-lg);
  background: var(--surface-2); border: 1px solid rgba(251,191,36,0.3); box-shadow: var(--shadow);
  transform: scale(0.92); transition: transform 0.35s var(--ease);
}
.buna-modal-overlay.open .buna-modal-card { transform: scale(1); }
.buna-modal-close {
  position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 10px;
  background: rgba(255,255,255,0.06);
}
.buna-modal-emoji { font-size: 40px; letter-spacing: 6px; }
.buna-modal-title { margin-top: 14px; font-size: 20px; font-weight: 800; }
.buna-modal-desc { margin-top: 10px; font-size: 14.5px; color: var(--text-muted); }
.btn-buna-confirm {
  margin-top: 22px; width: 100%; padding: 13px; border-radius: 14px; font-weight: 800;
  background: linear-gradient(135deg, #fbbf24, #f59e0b); color: #1a1033;
}

/* ═══ ≥ 640px ═══════════════════════════════════════════════════════════════ */
@media (min-width: 640px) {
  .hero-buttons-cluster { flex-direction: row; justify-content: center; }
  .hero-trust-bar { grid-template-columns: repeat(3, auto); justify-content: center; gap: 18px; }
  .trust-separator { display: block; width: 1px; align-self: stretch; background: var(--border); }
  .hero-trust-bar { grid-template-columns: auto 1px auto 1px auto; }
  .features-grid-refined { grid-template-columns: repeat(2, 1fr); }
  .cta-store-buttons { flex-direction: row; justify-content: center; }
  .footer-columns-grid { grid-template-columns: 1fr 1fr; }
}

/* ═══ ≥ 960px: full navigation, two-column hero ═════════════════════════════ */
@media (min-width: 960px) {
  /* The two app buttons fit from here; the five section links only fit from
     1200px (below that they wrapped onto two lines), so the menu button stays. */
  .btn-ghost-nav, .btn-solid-nav { display: inline-flex; }

  .hero-section { padding: 72px 0 96px; }
  .hero-grid { grid-template-columns: 1.1fr 0.9fr; gap: 56px; }
  .hero-text-wrap { text-align: left; }
  .hero-lead { margin: 0; }
  .hero-buttons-cluster { justify-content: flex-start; }
  .hero-trust-bar { justify-content: start; }

  /* A row of however many stats there are, spaced evenly with dividers between. */
  .proof-container { display: flex; align-items: center; justify-content: space-around; gap: 24px; padding: 34px 20px; }
  .proof-stat { flex: 1; }
  .proof-stat:last-child { grid-column: auto; }
  .stat-line { display: block; width: 1px; height: 44px; background: var(--border-strong); }

  .how-section, .features-section, .safety-section, .pricing-section, .faq-section, .cta-banner-section { padding: 96px 0; }
  .steps-grid { grid-template-columns: repeat(3, 1fr); }
  .features-grid-refined { grid-template-columns: repeat(3, 1fr); }
  .safety-card-banner { grid-template-columns: 1.4fr 1fr; padding: 48px; }
  .pricing-deck { grid-template-columns: repeat(3, 1fr); }
  .plan-card.popular-highlight { transform: translateY(-10px); }
  .cta-master-box { padding: 72px 48px; }
  .footer-columns-grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; }
  .footer-copyright-bar { text-align: left; }
}

@media (min-width: 1100px) {
  .device-phone { width: 320px; }
}

@media (min-width: 1200px) {
  .nav-menu { display: flex; }
  .mobile-menu-toggle { display: none; }
}

/* Phones: keep the announcement to its message, and let the billing switch wrap
   into a rounded box rather than a stretched pill. */
@media (max-width: 639px) {
  .announcement-pill { display: none; }
  .pricing-billing-toggle { border-radius: 18px; }
}

/* People who ask for less motion get none of the decorative movement. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
