/* ═══════════════════════════════════════════════════════
   KIDOA — style.css  (redesign 2026)
═══════════════════════════════════════════════════════ */

/* ── Variables ──────────────────────────────────────── */
:root {
  --primary:       #1B4332;
  --primary-dark:  #0F2E22;
  --secondary:     #2D6A4F;
  --accent:        #52B788;
  --accent-light:  #74C69D;
  --soft:          #EAF8EF;
  --bg:            #F6FBF8;
  --card:          #FFFFFF;
  --text:          #10231B;
  --muted:         #5A6E63;
  --border:        #DDE9E2;
  --shadow-sm:     0 4px 16px rgba(15,46,34,.08);
  --shadow-md:     0 12px 40px rgba(15,46,34,.13);
  --shadow-lg:     0 28px 80px rgba(15,46,34,.18);
  --radius-sm:     12px;
  --radius-md:     20px;
  --radius-lg:     32px;
  --radius-xl:     44px;
  --float-range:   18px;
}

/* ── Reset ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  overflow-x: hidden;
}
body[dir="rtl"] {
  font-family: "Noto Sans Arabic", Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ── Container ───────────────────────────────────────── */
.container {
  width: min(1160px, calc(100% - 48px));
  margin-inline: auto;
}

/* ══════════════════════════════════════════════════════
   HEADER
══════════════════════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(20px) saturate(1.6);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  background: rgba(246,251,248,.88);
  border-bottom: 1px solid rgba(221,233,226,.7);
  transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: 0 4px 24px rgba(15,46,34,.10); }
.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 900;
  font-size: 18px;
  letter-spacing: -.3px;
  color: var(--primary);
}
.brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  object-fit: cover;
  box-shadow: 0 6px 20px rgba(27,67,50,.2);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-weight: 700;
  font-size: 14px;
  color: var(--muted);
}
.nav-links a { transition: color .2s; }
.nav-links a:hover { color: var(--primary); }
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.lang-select {
  border: 1.5px solid var(--border);
  background: white;
  color: var(--primary);
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 800;
  font-size: 13px;
  outline: none;
  cursor: pointer;
  transition: border-color .2s;
}
.lang-select:hover { border-color: var(--accent); }

/* ── Buttons ─────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 14px 26px;
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
  transition: transform .22s cubic-bezier(.34,1.56,.64,1), box-shadow .22s;
  white-space: nowrap;
  line-height: 1;
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: 10px 18px; font-size: 13px; }
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  box-shadow: 0 8px 24px rgba(27,67,50,.22);
}
.btn-primary:hover { box-shadow: 0 14px 32px rgba(27,67,50,.28); }
.btn-white {
  color: var(--primary);
  background: #fff;
  box-shadow: 0 8px 24px rgba(27,67,50,.14);
}
.btn-white:hover { box-shadow: 0 14px 32px rgba(27,67,50,.2); }
.btn-glass {
  color: rgba(255,255,255,.92);
  background: rgba(255,255,255,.14);
  border: 1.5px solid rgba(255,255,255,.32);
  backdrop-filter: blur(8px);
}
.btn-glass:hover { background: rgba(255,255,255,.22); }

/* ══════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 100px 0 80px;
}

/* Background photo + overlay */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  transform: scale(1.04);
  animation: heroZoom 18s ease-in-out infinite alternate;
}
@keyframes heroZoom {
  from { transform: scale(1.04); }
  to   { transform: scale(1.10); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(11,34,22,.82) 0%,
    rgba(27,67,50,.72) 45%,
    rgba(15,46,34,.60) 100%
  );
}

/* Floating particles */
.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-particles span {
  position: absolute;
  border-radius: 50%;
  background: rgba(82,183,136,.22);
  animation: drift linear infinite;
}
.hero-particles span:nth-child(1)  { width:60px;  height:60px;  left:10%; top:15%; animation-duration:14s; animation-delay:0s; }
.hero-particles span:nth-child(2)  { width:30px;  height:30px;  left:25%; top:60%; animation-duration:10s; animation-delay:-3s; }
.hero-particles span:nth-child(3)  { width:90px;  height:90px;  left:70%; top:10%; animation-duration:18s; animation-delay:-6s; }
.hero-particles span:nth-child(4)  { width:20px;  height:20px;  left:80%; top:70%; animation-duration:8s;  animation-delay:-1s; }
.hero-particles span:nth-child(5)  { width:50px;  height:50px;  left:55%; top:45%; animation-duration:13s; animation-delay:-5s; }
.hero-particles span:nth-child(6)  { width:15px;  height:15px;  left:5%;  top:80%; animation-duration:9s;  animation-delay:-2s; }
.hero-particles span:nth-child(7)  { width:40px;  height:40px;  left:40%; top:20%; animation-duration:16s; animation-delay:-7s; }
.hero-particles span:nth-child(8)  { width:25px;  height:25px;  left:88%; top:35%; animation-duration:11s; animation-delay:-4s; }
.hero-particles span:nth-child(9)  { width:70px;  height:70px;  left:15%; top:40%; animation-duration:20s; animation-delay:-9s; }
.hero-particles span:nth-child(10) { width:18px;  height:18px;  left:62%; top:78%; animation-duration:7s;  animation-delay:-2s; }
@keyframes drift {
  0%   { transform: translateY(0) translateX(0) scale(1); opacity:.6; }
  33%  { transform: translateY(-40px) translateX(15px) scale(1.08); opacity:.9; }
  66%  { transform: translateY(-15px) translateX(-20px) scale(.94); opacity:.5; }
  100% { transform: translateY(0) translateX(0) scale(1); opacity:.6; }
}

/* Hero grid */
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* Hero text */
.hero-content { color: #fff; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.28);
  color: rgba(255,255,255,.92);
  font-weight: 800;
  font-size: 13px;
  backdrop-filter: blur(8px);
  margin-bottom: 22px;
}
.eyebrow-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-light);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(82,183,136,.25);
  animation: pulse-dot 2.4s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 5px rgba(82,183,136,.25); }
  50%       { box-shadow: 0 0 0 10px rgba(82,183,136,.08); }
}
.hero h1 {
  font-size: clamp(40px, 5.2vw, 72px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -2.5px;
  color: #fff;
  margin-bottom: 20px;
}
.hero > .hero-grid > .hero-content > p {
  font-size: 18px;
  line-height: 1.78;
  color: rgba(255,255,255,.8);
  max-width: 560px;
  margin-bottom: 32px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13.5px;
  font-weight: 700;
  color: rgba(255,255,255,.78);
}
.trust-row span { display: inline-flex; align-items: center; gap: 7px; }
.check {
  width: 20px;
  height: 20px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  flex-shrink: 0;
}

/* Hero phone */
.hero-phone {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.phone-glow {
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(82,183,136,.4) 0%, transparent 70%);
  filter: blur(30px);
  animation: glowPulse 4s ease-in-out infinite;
}
@keyframes glowPulse {
  0%, 100% { transform: scale(1); opacity:.7; }
  50%       { transform: scale(1.12); opacity:1; }
}

/* ── Phone mockup ────────────────────────────────────── */
.phone {
  position: relative;
  width: min(320px, 85vw);
  border-radius: 44px;
  padding: 14px;
  background: linear-gradient(145deg, #0c2217, #1B4332);
  box-shadow: 0 50px 110px rgba(11,30,20,.5), 0 0 0 1px rgba(255,255,255,.07) inset;
}
.phone-sm {
  width: min(260px, 75vw);
  border-radius: 38px;
  padding: 12px;
}
.phone-notch {
  width: 90px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,.18);
  margin: 0 auto 10px;
}
.phone-screen {
  border-radius: 34px;
  overflow: hidden;
  background: #F4FAF6;
  min-height: 520px;
}
.phone-sm .phone-screen {
  border-radius: 28px;
  min-height: 430px;
}
.float-anim {
  animation: float var(--float-duration, 5.5s) ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(calc(var(--float-range, 18px) * -1)); }
}

/* App bar inside phone */
.app-header-bar {
  background: var(--primary);
  color: #fff;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 800;
  font-size: 14px;
}
.phone-sm .app-header-bar { padding: 12px 14px; font-size: 12px; }
.phone-body { padding: 14px; }
.phone-sm .phone-body { padding: 12px 11px; }

/* Dashboard elements */
.app-stats-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 12px;
}
.app-stat-card {
  background: var(--soft);
  border-radius: 14px;
  padding: 12px;
  text-align: center;
}
.stat-label { display: block; font-size: 11px; color: var(--muted); font-weight: 600; }
.stat-val { display: block; font-size: 15px; font-weight: 900; color: var(--primary); margin-top: 3px; }
.app-section-label {
  font-size: 11px;
  font-weight: 900;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: .5px;
  margin: 6px 0 6px;
}
.app-btn-filled {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 10px 12px;
  border-radius: 14px;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  font-size: 12px;
  border: none;
  cursor: default;
  margin-bottom: 6px;
}
.app-btn-outline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 9px 12px;
  border-radius: 14px;
  background: transparent;
  color: var(--primary);
  font-weight: 700;
  font-size: 12px;
  border: 1.5px solid var(--border);
  cursor: default;
  margin-bottom: 5px;
}
.app-expense-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: white;
  border-radius: 12px;
  padding: 9px 10px;
  border: 1px solid var(--border);
  margin-bottom: 6px;
}
.expense-icon {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.expense-info { flex: 1; min-width: 0; }
.expense-name { display: block; font-size: 11px; font-weight: 800; color: var(--text); }
.expense-meta { display: block; font-size: 10px; color: var(--muted); }
.expense-amount { font-size: 11px; font-weight: 900; color: var(--primary); white-space: nowrap; }

/* Form elements inside phone */
.form-group-mini { margin-bottom: 8px; }
.form-group-mini label { display: block; font-size: 10px; color: var(--muted); font-weight: 700; margin-bottom: 3px; }
.input-mini {
  display: flex;
  align-items: center;
  gap: 6px;
  background: white;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 7px 10px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text);
}
.input-active { border-color: var(--primary); background: var(--soft); }
.sharing-box { margin: 8px 0; }
.share-opt {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 8px;
  border-radius: 10px;
  background: white;
  border: 1.5px solid var(--border);
  margin-bottom: 5px;
  font-size: 10px;
}
.share-opt-active { border-color: var(--primary); background: var(--soft); }
.share-opt b { display: block; font-weight: 800; color: var(--text); margin-bottom: 1px; font-size: 10px; }
.share-opt span { color: var(--muted); font-size: 9.5px; }
.radio-dot {
  width: 14px; height: 14px; border-radius: 50%;
  border: 2px solid var(--border);
  flex-shrink: 0; margin-top: 1px;
}
.radio-dot.active { border-color: var(--primary); background: radial-gradient(circle, var(--primary) 4px, transparent 4px); }

/* Participants in phone */
.event-mini-title { font-size: 13px; font-weight: 900; color: var(--primary); margin-bottom: 2px; }
.event-mini-sub { font-size: 10px; color: var(--muted); margin-bottom: 8px; }
.participant-list { margin: 8px 0; }
.participant-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 7px 9px;
  margin-bottom: 5px;
}
.p-avatar {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--primary);
  color: white;
  font-weight: 900; font-size: 11px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.p-info { flex: 1; }
.p-info b { display: block; font-size: 11px; font-weight: 800; }
.p-info span { font-size: 10px; color: var(--muted); }

/* Balance screen */
.balance-summary {
  display: flex;
  justify-content: center;
  margin: 10px 0 14px;
}
.balance-circle {
  width: 90px; height: 90px; border-radius: 50%;
  border: 3px solid var(--accent);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  background: var(--soft);
  box-shadow: 0 0 0 6px rgba(82,183,136,.12);
}
.bal-label { font-size: 9px; color: var(--muted); font-weight: 700; }
.bal-amount { font-size: 18px; font-weight: 900; color: var(--primary); line-height: 1; }
.bal-currency { font-size: 9px; color: var(--muted); }
.balance-row-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 9px;
  margin-bottom: 6px;
}
.balance-arrow { flex: 1; text-align: center; }
.balance-dir { display: block; font-size: 9.5px; font-weight: 700; color: #e74c3c; margin-bottom: 2px; }
.balance-period {
  display: flex; align-items: center; gap: 5px;
  font-size: 10px; color: var(--muted); font-weight: 600;
}

/* phone badge float */
.phone-badge-float {
  position: absolute;
  bottom: -12px;
  right: -20px;
  display: flex;
  align-items: center;
  gap: 7px;
  background: white;
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 12px;
  font-weight: 800;
  color: var(--primary);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  animation: popIn .6s cubic-bezier(.34,1.56,.64,1) .8s both;
}
.phone-badge-float span:first-child {
  color: var(--accent);
  font-size: 16px;
}
@keyframes popIn {
  from { transform: scale(.6); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}
.scroll-hint span {
  display: block;
  width: 28px;
  height: 44px;
  border: 2px solid rgba(255,255,255,.4);
  border-radius: 999px;
  position: relative;
}
.scroll-hint span::before {
  content: '';
  position: absolute;
  top: 7px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 10px;
  background: rgba(255,255,255,.7);
  border-radius: 999px;
  animation: scrollWheel 1.8s ease-in-out infinite;
}
@keyframes scrollWheel {
  0%   { transform: translateX(-50%) translateY(0); opacity: 1; }
  100% { transform: translateX(-50%) translateY(18px); opacity: 0; }
}

/* ══════════════════════════════════════════════════════
   SCROLL REVEAL
══════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .65s cubic-bezier(.22,1,.36,1), transform .65s cubic-bezier(.22,1,.36,1);
}
.reveal.stagger-1 { transition-delay: .08s; }
.reveal.stagger-2 { transition-delay: .18s; }
.reveal.stagger-3 { transition-delay: .28s; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ══════════════════════════════════════════════════════
   SECTION DEFAULTS
══════════════════════════════════════════════════════ */
.section { padding: 100px 0; }
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}
.section-tag {
  display: inline-block;
  padding: 5px 16px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--secondary);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
  border: 1px solid rgba(82,183,136,.3);
}
.section-head h2 {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 900;
  letter-spacing: -1.5px;
  color: var(--primary-dark);
  margin-bottom: 14px;
  line-height: 1.08;
}
.section-head p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

/* ══════════════════════════════════════════════════════
   HOW IT WORKS
══════════════════════════════════════════════════════ */
.section-how {
  background: linear-gradient(180deg, white 0%, var(--bg) 100%);
}
.step-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 90px;
}
.step-row:last-child { margin-bottom: 0; }
.step-row-reverse .step-content { order: 2; }
.step-row-reverse .step-phone   { order: 1; }
.step-num {
  font-size: 72px;
  font-weight: 900;
  color: var(--soft);
  line-height: 1;
  margin-bottom: -8px;
  letter-spacing: -4px;
  -webkit-text-stroke: 2px var(--accent);
}
.step-content h3 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 900;
  color: var(--primary-dark);
  letter-spacing: -1px;
  margin: 12px 0 16px;
}
.step-content p {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.75;
  max-width: 460px;
}
.step-phone {
  display: flex;
  justify-content: center;
}

/* ══════════════════════════════════════════════════════
   FEATURES
══════════════════════════════════════════════════════ */
.section-features { background: var(--bg); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.feature-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .3s cubic-bezier(.34,1.56,.64,1), box-shadow .3s;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.feat-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: var(--soft);
  color: var(--primary);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  transition: background .3s, transform .3s;
}
.feature-card:hover .feat-icon {
  background: var(--primary);
  color: white;
  transform: scale(1.08) rotate(-4deg);
}
.feature-card:hover .feat-icon svg { stroke: white; }
.feature-card h3 {
  font-size: 19px;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 10px;
  letter-spacing: -.4px;
}
.feature-card p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
}

/* ══════════════════════════════════════════════════════
   STATS
══════════════════════════════════════════════════════ */
.section-stats {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, var(--secondary) 100%);
  padding: 70px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.stat-item {
  padding: 20px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  transition: background .3s, transform .3s;
}
.stat-item:hover {
  background: rgba(255,255,255,.12);
  transform: translateY(-4px);
}
.stat-big {
  display: block;
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 900;
  color: var(--accent-light);
  letter-spacing: -2px;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-desc {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,.72);
  line-height: 1.4;
}

/* ══════════════════════════════════════════════════════
   DOWNLOAD
══════════════════════════════════════════════════════ */
.section-download {
  background: white;
  padding: 100px 0;
}
.download-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.download-left { }
.dl-logo {
  width: 72px;
  height: 72px;
  border-radius: 22px;
  object-fit: cover;
  box-shadow: var(--shadow-md);
  margin-bottom: 24px;
}
.download-left h2 {
  font-size: clamp(30px, 3.5vw, 46px);
  font-weight: 900;
  color: var(--primary-dark);
  letter-spacing: -1.5px;
  margin-bottom: 14px;
  line-height: 1.1;
}
.download-left p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 480px;
}
.badges-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 340px;
}
.dl-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  border-radius: var(--radius-md);
  padding: 14px 20px;
  font-weight: 700;
  transition: transform .25s cubic-bezier(.34,1.56,.64,1), box-shadow .25s;
  position: relative;
  cursor: pointer;
  text-decoration: none;
}
.dl-badge-primary {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: white;
  box-shadow: 0 10px 30px rgba(27,67,50,.22);
}
.dl-badge-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(27,67,50,.3); }
.dl-badge-soon {
  background: white;
  color: var(--text);
  border: 1.5px solid var(--border);
  cursor: not-allowed;
  opacity: .8;
}
.badge-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255,255,255,.16);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.badge-icon-play { background: #f0faf4; }
.badge-icon-apple { background: #111; border-radius: 12px; }
.badge-text { flex: 1; }
.badge-sub {
  display: block;
  font-size: 11px;
  font-weight: 600;
  opacity: .75;
  margin-bottom: 2px;
}
.badge-main {
  display: block;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: -.3px;
}
.dl-badge-soon .badge-sub { color: var(--muted); }
.dl-badge-soon .badge-main { color: var(--text); }
.dl-badge-play {
  background: white;
  color: var(--text);
  border: 1.5px solid var(--border);
  box-shadow: 0 6px 20px rgba(0,0,0,.08);
}
.dl-badge-play:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(0,0,0,.13); }
.soon-tag {
  font-size: 11px;
  font-weight: 800;
  background: var(--soft);
  color: var(--secondary);
  border-radius: 999px;
  padding: 4px 10px;
  border: 1px solid rgba(82,183,136,.3);
}

/* Download phone */
.download-right { display: flex; justify-content: center; }
.dl-phone-wrap { position: relative; }
.invite-section { text-align: center; padding: 8px 4px 0; }
.invite-logo-mini { margin: 0 auto 8px; }
.invite-event { font-size: 14px; font-weight: 900; color: var(--primary); margin-bottom: 2px; }
.invite-sub { font-size: 10px; color: var(--muted); margin-bottom: 10px; }
.invite-code-box {
  background: var(--soft);
  border: 1.5px dashed var(--accent);
  border-radius: 12px;
  padding: 10px;
  font-size: 20px;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: 1px;
  margin-bottom: 6px;
}

/* ══════════════════════════════════════════════════════
   CTA
══════════════════════════════════════════════════════ */
.section-cta {
  padding: 100px 0;
  background: var(--bg);
}
.cta-inner {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--secondary) 100%);
  border-radius: var(--radius-xl);
  padding: 72px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.cta-bg-anim {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.cta-bg-anim span {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
}
.cta-bg-anim span:nth-child(1) { width: 320px; height: 320px; top: -80px; left: -60px; animation: roam1 12s ease-in-out infinite; }
.cta-bg-anim span:nth-child(2) { width: 240px; height: 240px; bottom: -60px; right: -40px; animation: roam2 9s ease-in-out infinite; }
.cta-bg-anim span:nth-child(3) { width: 160px; height: 160px; top: 50%; right: 20%; animation: roam1 14s ease-in-out infinite reverse; }
@keyframes roam1 {
  0%, 100% { transform: translate(0,0) scale(1); }
  50%       { transform: translate(30px,-20px) scale(1.1); }
}
@keyframes roam2 {
  0%, 100% { transform: translate(0,0) scale(1); }
  50%       { transform: translate(-25px,15px) scale(1.08); }
}
.cta-logo {
  width: 72px;
  height: 72px;
  border-radius: 22px;
  object-fit: cover;
  margin: 0 auto 24px;
  box-shadow: 0 16px 40px rgba(0,0,0,.25);
  position: relative;
  z-index: 2;
}
.cta-inner h2 {
  font-size: clamp(28px, 4vw, 50px);
  font-weight: 900;
  color: white;
  letter-spacing: -1.5px;
  margin-bottom: 16px;
  position: relative;
  z-index: 2;
}
.cta-inner p {
  font-size: 17px;
  color: rgba(255,255,255,.78);
  line-height: 1.7;
  margin-bottom: 36px;
  position: relative;
  z-index: 2;
}

/* ══════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════ */
.site-footer {
  background: white;
  border-top: 1px solid var(--border);
  padding: 32px 0;
}
.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 13px;
}
.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-links a {
  transition: color .2s;
  font-weight: 600;
}
.footer-links a:hover { color: var(--primary); }

/* ══════════════════════════════════════════════════════
   TOAST
══════════════════════════════════════════════════════ */
.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  opacity: 0;
  pointer-events: none;
  background: var(--primary-dark);
  color: #fff;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 14px;
  box-shadow: 0 18px 40px rgba(15,46,34,.25);
  z-index: 200;
  transition: .25s ease;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ══════════════════════════════════════════════════════
   SCROLL-TO-TOP BUTTON
══════════════════════════════════════════════════════ */
.scroll-top-btn {
  position: fixed;
  bottom: 28px;
  right: 24px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(15,46,34,.30);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease, background .2s;
  z-index: 150;
}
.scroll-top-btn.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.scroll-top-btn:hover { background: var(--secondary); }

/* ══════════════════════════════════════════════════════
   INNER PAGES (privacy, terms, support, delete-data)
══════════════════════════════════════════════════════ */
.page-hero {
  padding: 70px 0 40px;
  text-align: center;
}
.page-hero h1 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 900;
  letter-spacing: -1.5px;
  color: var(--primary-dark);
  margin: 16px 0 12px;
}
.page-hero p {
  max-width: 720px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.72;
}
.content-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  margin: 24px auto 80px;
  max-width: 860px;
}
.content-card h2 { color: var(--primary); font-size: 21px; margin: 28px 0 10px; font-weight: 800; }
.content-card h2:first-child { margin-top: 0; }
.content-card p, .content-card li { color: var(--muted); line-height: 1.8; font-size: 15px; }
.content-card ul { padding-inline-start: 22px; }

/* Invite box */
.invite-box {
  max-width: 580px;
  margin: 34px auto 80px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 40px;
  padding: 40px;
  box-shadow: var(--shadow-md);
  text-align: center;
}
.invite-logo {
  width: 88px; height: 88px; border-radius: 26px;
  object-fit: cover; margin: 0 auto 18px;
  box-shadow: var(--shadow-md);
}
.invite-code {
  margin: 22px 0;
  padding: 18px;
  border-radius: 20px;
  background: var(--soft);
  color: var(--primary);
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 1px;
  border: 1.5px dashed rgba(27,67,50,.3);
}
.hint { color: var(--muted); line-height: 1.7; font-size: 15px; }

/* ══════════════════════════════════════════════════════
   HEADER SCROLL EFFECT
══════════════════════════════════════════════════════ */

/* ══════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .hero { min-height: auto; padding: 90px 0 60px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-phone { order: -1; }
  .step-row { grid-template-columns: 1fr; gap: 32px; }
  .step-row-reverse .step-content { order: 0; }
  .step-row-reverse .step-phone   { order: 0; }
  .step-phone { justify-content: center; }
  .download-wrapper { grid-template-columns: 1fr; gap: 48px; }
  .download-right { order: -1; }
  .nav-links { display: none; }
  .nav-actions .btn-sm { display: none; }
}

@media (max-width: 600px) {
  .container { width: calc(100% - 32px); }
  .hero { padding: 80px 0 56px; }
  .hero h1 { letter-spacing: -1.8px; }
  .hero-actions .btn { width: 100%; }
  .features-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .cta-inner { padding: 48px 24px; border-radius: var(--radius-lg); }
  .content-card { padding: 24px; border-radius: var(--radius-md); }
  .invite-box { padding: 28px 20px; border-radius: var(--radius-lg); }
  .phone { width: min(300px, 90vw); }
  .phone-sm { width: min(240px, 78vw); }
  .section { padding: 70px 0; }
  .footer-row { flex-direction: column; text-align: center; }
  .badges-row { max-width: 100%; }
}

@media (max-width: 400px) {
  .stats-grid { grid-template-columns: 1fr; }
}
