@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary: #0A2540;
  --accent: #635BFF;
  --accent-light: #7B74FF;
  --accent-glow: rgba(99,91,255,0.35);
  --bg: #F6F9FC;
  --surface: #FFFFFF;
  --success: #00B67A;
  --text: #0A2540;
  --text-muted: #5C6B7A;
  --border: #E3E8EF;
  --shadow: 0 4px 24px rgba(10,37,64,0.08);
  --shadow-lg: 0 16px 56px rgba(10,37,64,0.14);
  --radius: 20px;
  --radius-sm: 12px;
  --nav-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── RTL ── */
body.rtl { direction: rtl; text-align: right; }
body.rtl .nav-links { flex-direction: row-reverse; }
body.rtl .hero-cta { flex-direction: row-reverse; }
body.rtl .lang-dropdown { left: 0; right: auto; }
body.rtl .step-connector { transform: scaleX(-1); }
body.rtl .privacy-badge { flex-direction: row-reverse; }
body.rtl .faq-question::after { margin-left: 0; margin-right: 16px; }

/* ══════════════════════════════════════════
   NAVBAR
══════════════════════════════════════════ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(10,37,64,0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  height: var(--nav-h);
  display: flex;
  align-items: center;
  padding: 0 32px;
  gap: 24px;
  transition: box-shadow 0.3s;
}
.navbar.scrolled { box-shadow: 0 4px 32px rgba(0,0,0,0.3); }

.nav-logo {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  letter-spacing: -0.5px;
  flex-shrink: 0;
}
.nav-logo span { color: var(--accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  flex: 1;
  justify-content: center;
}
.nav-links a {
  color: rgba(255,255,255,0.72);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
  white-space: nowrap;
}
.nav-links a:hover { color: #fff; }

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-cta {
  background: var(--accent);
  color: #fff;
  padding: 9px 22px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.nav-cta:hover {
  background: var(--accent-light);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px var(--accent-glow);
}

/* Language Switcher — inside navbar */
.lang-switcher { position: relative; }

#lang-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff;
  padding: 8px 14px;
  border-radius: 50px;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 500;
  transition: background 0.2s;
  white-space: nowrap;
}
#lang-toggle:hover { background: rgba(255,255,255,0.18); }

.lang-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  min-width: 188px;
  max-height: 340px;
  overflow-y: auto;
  display: none;
  flex-direction: column;
  z-index: 999;
}
.lang-dropdown.open { display: flex; }

.lang-option {
  background: none;
  border: none;
  padding: 10px 16px;
  text-align: left;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  color: var(--text);
  transition: background 0.15s;
  white-space: nowrap;
}
.lang-option:hover { background: var(--bg); color: var(--accent); }

/* Mobile hamburger */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
  margin-left: auto;
}

.mobile-nav {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: rgba(10,37,64,0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 20px 24px 28px;
  flex-direction: column;
  gap: 4px;
  z-index: 850;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  padding: 12px 8px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: color 0.2s;
}
.mobile-nav a:hover { color: #fff; }
.mobile-nav .mobile-cta {
  margin-top: 12px;
  background: var(--accent);
  color: #fff;
  text-align: center;
  border-radius: 50px;
  padding: 14px;
  border: none;
  font-weight: 600;
  font-size: 15px;
}

/* ══════════════════════════════════════════
   HERO
══════════════════════════════════════════ */
.hero {
  background: linear-gradient(135deg, #070f1f 0%, #0A2540 45%, #111160 100%);
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
  padding: 80px 48px;
  position: relative;
  overflow: hidden;
}

/* Animated gradient orbs */
.hero::before {
  content: '';
  position: absolute;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99,91,255,0.22) 0%, transparent 70%);
  top: -200px; left: -150px;
  animation: orb1 12s ease-in-out infinite alternate;
}
.hero::after {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,182,122,0.12) 0%, transparent 70%);
  bottom: -100px; right: 200px;
  animation: orb2 15s ease-in-out infinite alternate;
}

@keyframes orb1 { from { transform: translate(0,0) scale(1); } to { transform: translate(60px, 40px) scale(1.1); } }
@keyframes orb2 { from { transform: translate(0,0) scale(1); } to { transform: translate(-40px,-60px) scale(1.15); } }

.hero-inner {
  max-width: 1120px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content { display: flex; flex-direction: column; align-items: flex-start; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(99,91,255,0.18);
  border: 1px solid rgba(99,91,255,0.38);
  color: #b3adff;
  padding: 7px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 28px;
}
.hero-badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.6;transform:scale(0.85)} }

.hero h1 {
  font-size: clamp(42px, 5.5vw, 72px);
  font-weight: 800;
  color: #fff;
  line-height: 1.08;
  letter-spacing: -2.5px;
  margin-bottom: 20px;
}
.hero h1 span { color: var(--accent); }
.hero h1 .accent-line {
  display: block;
  background: linear-gradient(90deg, #635BFF, #a89fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 16px;
  color: rgba(255,255,255,0.52);
  max-width: 500px;
  line-height: 1.85;
  margin-bottom: 36px;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.btn-store {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.96);
  color: var(--primary);
  padding: 13px 22px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  box-shadow: 0 4px 24px rgba(0,0,0,0.25);
}
.btn-store:hover { transform: translateY(-3px); box-shadow: 0 10px 36px rgba(0,0,0,0.32); background: #fff; }
.btn-store svg { width: 20px; height: 20px; flex-shrink: 0; }
.btn-store-text small { font-size: 10px; font-weight: 400; display: block; opacity: 0.6; line-height: 1; }
.btn-store-text strong { font-size: 15px; display: block; line-height: 1.3; }

.btn-store.dark {
  background: rgba(99,91,255,0.9);
  color: #fff;
  box-shadow: 0 4px 24px var(--accent-glow);
}
.btn-store.dark:hover { background: var(--accent); box-shadow: 0 10px 36px var(--accent-glow); }

.trial-banner {
  color: rgba(255,255,255,0.42);
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.trial-banner::before {
  content: '✓';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(0,182,122,0.2);
  color: var(--success);
  font-size: 11px;
  flex-shrink: 0;
}

/* Phone mockup */
.hero-phone {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.phone-wrap {
  position: relative;
  animation: float 4s ease-in-out infinite;
}
@keyframes float { 0%,100%{transform:translateY(0) rotate(-2deg)} 50%{transform:translateY(-16px) rotate(-2deg)} }

.phone-glow {
  position: absolute;
  inset: -40px;
  background: radial-gradient(ellipse, rgba(99,91,255,0.3) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.phone-mockup {
  width: 280px;
  background: linear-gradient(180deg, #141428 0%, #0d1a2e 100%);
  border-radius: 44px;
  border: 2px solid rgba(255,255,255,0.1);
  box-shadow:
    0 60px 100px rgba(0,0,0,0.55),
    0 0 0 1px rgba(255,255,255,0.04) inset,
    0 1px 0 rgba(255,255,255,0.12) inset;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}

.phone-notch {
  width: 110px; height: 26px;
  background: #0a0a1a;
  border-radius: 0 0 18px 18px;
  margin: 0 auto 12px;
}

.phone-screen {
  flex: 1;
  padding: 0 14px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.phone-header {
  text-align: center;
  color: rgba(255,255,255,0.9);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 2px;
}

.phone-balance {
  text-align: center;
  color: var(--success);
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -1px;
}
.phone-balance-label {
  text-align: center;
  color: rgba(255,255,255,0.35);
  font-size: 10px;
  margin-top: -2px;
  margin-bottom: 10px;
}

.phone-tabs {
  display: flex;
  background: rgba(255,255,255,0.05);
  border-radius: 10px;
  padding: 3px;
  margin-bottom: 6px;
  gap: 2px;
}
.phone-tab {
  flex: 1;
  text-align: center;
  font-size: 10px;
  font-weight: 500;
  color: rgba(255,255,255,0.35);
  padding: 5px;
  border-radius: 8px;
}
.phone-tab.active {
  background: rgba(99,91,255,0.35);
  color: #c0bcff;
}

.phone-entry {
  background: rgba(255,255,255,0.055);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 12px;
  padding: 9px 12px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.phone-entry-icon {
  width: 30px; height: 30px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}
.phone-entry-details { flex: 1; min-width: 0; }
.phone-entry-name { color: rgba(255,255,255,0.88); font-size: 11px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.phone-entry-cat { color: rgba(255,255,255,0.35); font-size: 9px; margin-top: 1px; }
.phone-entry-amount { font-size: 12px; font-weight: 700; flex-shrink: 0; }
.phone-entry-amount.income { color: var(--success); }
.phone-entry-amount.expense { color: #ff7b7b; }

.phone-scan-btn {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  border-radius: 12px;
  padding: 11px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  margin: 2px 0;
  box-shadow: 0 4px 16px var(--accent-glow);
}

/* Floating badges */
.phone-badge {
  position: absolute;
  background: var(--surface);
  border-radius: 12px;
  padding: 10px 14px;
  box-shadow: var(--shadow-lg);
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.phone-badge.badge-ai {
  top: 60px; right: -70px;
  animation: badge-float 3s ease-in-out infinite;
}
.phone-badge.badge-save {
  bottom: 80px; left: -80px;
  animation: badge-float 3.5s ease-in-out infinite 0.5s;
}
@keyframes badge-float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }

/* ══════════════════════════════════════════
   STATS BAR
══════════════════════════════════════════ */
.stats-bar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 28px 48px;
}
.stats-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-item {}
.stat-number {
  font-size: 32px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -1px;
  line-height: 1;
  margin-bottom: 4px;
}
.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

/* ══════════════════════════════════════════
   SECTIONS COMMON
══════════════════════════════════════════ */
section { padding: 96px 48px; }
.container { max-width: 1120px; margin: 0 auto; }

.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-label::before {
  content: '';
  display: block;
  width: 24px; height: 2px;
  background: var(--accent);
  border-radius: 2px;
}
.section-head.centered .section-label { justify-content: center; }
.section-head.centered .section-label::before { display: none; }

.section-title {
  font-size: clamp(28px, 3.5vw, 46px);
  font-weight: 800;
  letter-spacing: -1.5px;
  margin-bottom: 16px;
  line-height: 1.15;
}
.section-sub {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.75;
}
.section-head { margin-bottom: 64px; }
.section-head.centered { text-align: center; }
.section-head.centered .section-sub { margin: 0 auto; }

/* ══════════════════════════════════════════
   FEATURES
══════════════════════════════════════════ */
#features { background: var(--surface); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  opacity: 0;
  transition: opacity 0.3s;
}
.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(99,91,255,0.2);
}
.feature-card:hover::before { opacity: 1; }

.feature-icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, rgba(99,91,255,0.14), rgba(99,91,255,0.05));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 18px;
  border: 1px solid rgba(99,91,255,0.12);
}
.feature-name {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}
.feature-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.72;
}

/* ══════════════════════════════════════════
   HOW IT WORKS
══════════════════════════════════════════ */
#howitworks {
  background: linear-gradient(180deg, var(--bg) 0%, #eef2f8 100%);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 52px;
  left: calc(100% / 6);
  right: calc(100% / 6);
  height: 2px;
  background: linear-gradient(90deg, var(--accent) 0%, rgba(99,91,255,0.3) 50%, var(--accent) 100%);
  border-radius: 2px;
}

.step-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 32px;
}

.step-top {
  position: relative;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.step-number {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 6px rgba(99,91,255,0.15), 0 4px 16px var(--accent-glow);
  position: relative;
  z-index: 1;
}

.step-icon-wrap {
  width: 72px; height: 72px;
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: var(--shadow);
}

.step-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}
.step-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ══════════════════════════════════════════
   PRICING
══════════════════════════════════════════ */
#pricing { background: var(--surface); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 820px;
  margin: 0 auto;
}

.plan-card {
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 44px 40px;
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
}
.plan-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }

.plan-card.featured {
  background: linear-gradient(155deg, #0e2f52 0%, #0A2540 100%);
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(99,91,255,0.3), var(--shadow-lg);
}
.plan-card.featured .plan-price,
.plan-card.featured .plan-name,
.plan-card.featured .plan-feature { color: #fff; }
.plan-card.featured .plan-feature-icon { color: var(--success); }
.plan-card.featured .plan-period { color: rgba(255,255,255,0.5); }

.best-value-badge {
  position: absolute;
  top: -16px; left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 20px;
  border-radius: 50px;
  white-space: nowrap;
  box-shadow: 0 4px 12px var(--accent-glow);
}

.plan-trial-tag {
  display: inline-flex;
  align-items: center;
  background: rgba(0, 182, 122, 0.12);
  color: var(--success);
  border: 1px solid rgba(0, 182, 122, 0.3);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 14px;
}
.plan-card.featured .plan-trial-tag {
  background: rgba(255,255,255,0.12);
  color: #a8f0d8;
  border-color: rgba(255,255,255,0.2);
}

.plan-name {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}
.plan-price-row {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 4px;
}
.plan-price {
  font-size: 52px;
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1;
}
.plan-period { font-size: 16px; color: var(--text-muted); }
.plan-scans {
  font-size: 13px;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 28px;
  background: rgba(99,91,255,0.08);
  display: inline-block;
  padding: 4px 12px;
  border-radius: 50px;
  margin-top: 8px;
}
.plan-card.featured .plan-scans {
  color: #b3adff;
  background: rgba(99,91,255,0.2);
}

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 36px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.plan-card:not(.featured) .plan-features { border-top-color: var(--border); }

.plan-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text);
}
.plan-feature-icon { color: var(--success); font-size: 15px; flex-shrink: 0; font-weight: 700; }

.btn-trial {
  display: block;
  width: 100%;
  text-align: center;
  padding: 15px;
  border-radius: var(--radius-sm);
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  border: none;
}
.btn-trial.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: #fff;
  box-shadow: 0 4px 16px var(--accent-glow);
}
.btn-trial.primary:hover { transform: translateY(-2px); box-shadow: 0 10px 28px var(--accent-glow); }
.btn-trial.outline {
  background: transparent;
  border: 2px solid var(--border);
  color: var(--text);
}
.btn-trial.outline:hover { border-color: var(--accent); color: var(--accent); background: rgba(99,91,255,0.04); }

.pricing-note {
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
  margin-top: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.pricing-note::before {
  content: '🔒';
  font-size: 14px;
}

/* ══════════════════════════════════════════
   PRIVACY
══════════════════════════════════════════ */
#privacy {
  background: var(--primary);
  position: relative;
  overflow: hidden;
}
#privacy::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99,91,255,0.15) 0%, transparent 70%);
  top: -200px; right: -100px;
}

#privacy .section-title { color: #fff; }
#privacy .section-sub { color: rgba(255,255,255,0.55); }
#privacy .section-label { color: #9f9bff; }
#privacy .section-label::before { background: #9f9bff; }

.privacy-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.privacy-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
}
.privacy-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(99,91,255,0.35);
  transform: translateY(-4px);
}

.privacy-icon { font-size: 28px; margin-bottom: 16px; }
.privacy-name { color: #fff; font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.privacy-desc { color: rgba(255,255,255,0.48); font-size: 13px; line-height: 1.75; }

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 52px;
  justify-content: center;
}

.privacy-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,182,122,0.1);
  border: 1px solid rgba(0,182,122,0.22);
  color: var(--success);
  border-radius: 50px;
  padding: 9px 22px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

/* ══════════════════════════════════════════
   FAQ
══════════════════════════════════════════ */
#faq { background: var(--bg); }

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.faq-item.open {
  border-color: rgba(99,91,255,0.3);
  box-shadow: 0 4px 20px rgba(99,91,255,0.08);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  user-select: none;
  gap: 16px;
}

.faq-question::after {
  content: '+';
  font-size: 22px;
  color: var(--accent);
  transition: transform 0.3s;
  flex-shrink: 0;
  font-weight: 300;
  line-height: 1;
}
.faq-item.open .faq-question::after { transform: rotate(45deg); }
.faq-item.open .faq-question { color: var(--accent); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.85;
}
.faq-item.open .faq-answer {
  max-height: 240px;
  padding: 0 24px 22px;
}

/* ══════════════════════════════════════════
   CTA SECTION
══════════════════════════════════════════ */
.cta-section {
  background: linear-gradient(135deg, var(--accent) 0%, #4a43d4 100%);
  padding: 80px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.cta-section .container { position: relative; }
.cta-section h2 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  color: #fff;
  letter-spacing: -1.5px;
  margin-bottom: 16px;
}
.cta-section p {
  color: rgba(255,255,255,0.75);
  font-size: 17px;
  margin-bottom: 36px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-white {
  background: #fff;
  color: var(--accent);
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(0,0,0,0.3); }
.btn-ghost {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.3);
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: background 0.2s;
}
.btn-ghost:hover { background: rgba(255,255,255,0.2); }

/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
footer {
  background: #060e1c;
  padding: 56px 48px 40px;
}
.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  margin-bottom: 32px;
}
.footer-brand {}
.footer-logo {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  letter-spacing: -0.5px;
  display: block;
  margin-bottom: 12px;
}
.footer-logo span { color: var(--accent); }
.footer-tagline {
  font-size: 13px;
  color: rgba(255,255,255,0.35);
  max-width: 220px;
  line-height: 1.7;
}
.footer-links-group {
  display: flex;
  gap: 64px;
}
.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy { color: rgba(255,255,255,0.25); font-size: 13px; }
.footer-made {
  color: rgba(255,255,255,0.2);
  font-size: 12px;
}
.footer-made span { color: rgba(99,91,255,0.6); }

/* Scroll offset for sticky navbar */
#features, #howitworks, #pricing, #privacy, #faq {
  scroll-margin-top: var(--nav-h);
}

/* ══════════════════════════════════════════
   SCROLL ANIMATIONS
══════════════════════════════════════════ */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.animate-on-scroll.visible { opacity: 1; transform: none; }
.animate-on-scroll:nth-child(2) { transition-delay: 0.08s; }
.animate-on-scroll:nth-child(3) { transition-delay: 0.16s; }
.animate-on-scroll:nth-child(4) { transition-delay: 0.24s; }
.animate-on-scroll:nth-child(5) { transition-delay: 0.32s; }
.animate-on-scroll:nth-child(6) { transition-delay: 0.40s; }
.animate-on-scroll:nth-child(7) { transition-delay: 0.48s; }
.animate-on-scroll:nth-child(8) { transition-delay: 0.54s; }

/* ══════════════════════════════════════════
   LEGAL PAGES
══════════════════════════════════════════ */
.legal-page {
  max-width: 800px;
  margin: 80px auto;
  padding: 0 24px 80px;
}
.legal-page h1 { font-size: 36px; font-weight: 800; margin-bottom: 8px; letter-spacing: -1px; }
.legal-page .subtitle { color: var(--text-muted); margin-bottom: 12px; font-size: 15px; }
.legal-page .legal-lang-note { background: #fff8e1; color: #7a6000; border-left: 3px solid #f0c000; padding: 10px 14px; border-radius: 6px; font-size: 14px; margin-bottom: 36px; }
.legal-page .legal-lang-note:empty { display: none; margin: 0; }
.legal-page h2 { font-size: 20px; font-weight: 700; margin: 36px 0 12px; }
.legal-page p, .legal-page li { font-size: 15px; color: var(--text-muted); line-height: 1.8; margin-bottom: 12px; }
.legal-page ul { padding-left: 20px; }
.legal-page a { color: var(--accent); }

.legal-nav {
  background: var(--primary);
  padding: 20px 32px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.legal-nav a { color: rgba(255,255,255,0.65); text-decoration: none; font-size: 14px; font-weight: 500; }
.legal-nav a:hover { color: #fff; }
.legal-nav .logo { font-size: 20px; font-weight: 800; color: #fff; margin-right: auto; }
.legal-nav .logo span { color: var(--accent); }

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 1100px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .privacy-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-links-group { gap: 40px; }
}

@media (max-width: 900px) {
  .hero { padding: 60px 32px; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-content { align-items: center; text-align: center; }
  .hero-desc { margin: 0 auto 36px; }
  .hero-cta { justify-content: center; }
  .trial-banner { justify-content: center; }
  .hero-phone { order: -1; }
  .phone-badge { display: none; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: 1fr; gap: 32px; }
  .steps-grid::before { display: none; }
  .step-card { flex-direction: row; align-items: flex-start; gap: 20px; text-align: left; padding: 0; }
  .step-top { flex-direction: column; align-items: center; margin-bottom: 0; gap: 0; flex-shrink: 0; }
  .step-number { flex-shrink: 0; }
  .step-icon-wrap { display: none; }
  .step-content { flex: 1; }
  section { padding: 72px 28px; }
  .stats-bar { padding: 24px 28px; }
}

@media (max-width: 768px) {
  .navbar { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-right .nav-cta { display: none; }
  .mobile-menu-btn { display: flex; }
  .features-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .privacy-grid { grid-template-columns: 1fr; }
  .footer-top { flex-direction: column; gap: 32px; }
  .footer-links-group { flex-direction: column; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .cta-section { padding: 60px 24px; }
  section { padding: 60px 20px; }
  .stats-bar { padding: 20px; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .stat-number { font-size: 26px; }
  .plan-card { padding: 36px 28px; }
}

@media (max-width: 520px) {
  .hero h1 { font-size: 38px; letter-spacing: -1.5px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .btn-store { justify-content: center; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .step-card { flex-direction: column; align-items: center; text-align: center; }
  footer { padding: 40px 20px 28px; }
}

/* ══════════════════════════════════════════
   PHONE REDESIGN (ps-* classes)
══════════════════════════════════════════ */
.phone-redesigned {
  border: 6px solid #1c1c1e;
  background: #1c1c1e;
}
.phone-screen.ps-redesign {
  background: #F2F4F7;
  padding: 8px 14px 0;
  gap: 5px;
}
.ps-island {
  width: 86px; height: 18px;
  background: #080808;
  border-radius: 12px;
  margin: 0 auto 2px;
  flex-shrink: 0;
}
.ps-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
  padding: 0 2px;
}
.ps-time {
  font-size: 10px;
  font-weight: 700;
  color: #111;
  letter-spacing: -0.2px;
}
.ps-icons {
  display: flex;
  align-items: center;
  gap: 3px;
}
.ps-hdr {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
  padding: 2px 0;
}
.ps-greeting {
  font-size: 8px;
  color: #777;
  font-weight: 400;
}
.ps-appname {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 700;
  color: #111;
  margin-top: 2px;
}
.ps-logo-k {
  width: 22px; height: 22px;
  background: #0A2540;
  border-radius: 6px;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ps-selectors { display: flex; gap: 4px; }
.ps-sel {
  background: #fff;
  border: 1px solid #e0e0e8;
  border-radius: 20px;
  padding: 3px 7px;
  font-size: 8px;
  font-weight: 600;
  color: #333;
  display: flex;
  align-items: center;
  gap: 2px;
  white-space: nowrap;
}
.ps-card {
  background: linear-gradient(135deg, #0f1e40 0%, #1a3260 60%, #162e5a 100%);
  border-radius: 14px;
  padding: 12px 14px;
  flex-shrink: 0;
}
.ps-card-lbl { color: rgba(255,255,255,0.5); font-size: 8px; margin-bottom: 3px; }
.ps-card-bal {
  color: #fff;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 10px;
}
.ps-breakdown { display: flex; justify-content: space-between; }
.ps-bi { display: flex; flex-direction: column; gap: 2px; }
.ps-dot { width: 6px; height: 6px; border-radius: 50%; display: inline-block; margin-bottom: 1px; }
.ps-bi-lbl { color: rgba(255,255,255,0.45); font-size: 7px; }
.ps-bi-val { color: #fff; font-size: 8.5px; font-weight: 600; }
.ps-sec-hd { font-size: 10px; font-weight: 700; color: #111; flex-shrink: 0; }
.ps-quick { display: flex; gap: 7px; flex-shrink: 0; }
.ps-qa {
  flex: 1;
  border-radius: 12px;
  padding: 9px 3px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.ps-qa-ic { font-size: 17px; line-height: 1; }
.ps-qa-lbl { font-size: 7px; font-weight: 600; color: rgba(255,255,255,0.93); text-align: center; }
.ps-txs { display: flex; flex-direction: column; gap: 5px; flex-shrink: 0; }
.ps-tx {
  background: #fff;
  border-radius: 10px;
  padding: 7px 9px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.ps-tx-ic {
  width: 28px; height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
}
.ps-tx-mid { flex: 1; min-width: 0; }
.ps-tx-nm { font-size: 9px; font-weight: 600; color: #111; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ps-tx-sub { font-size: 7px; color: #888; margin-top: 1px; }
.ps-tag { color: #635BFF; font-weight: 600; }
.ps-tx-rt { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; flex-shrink: 0; }
.ps-tx-amt { font-size: 9.5px; font-weight: 700; color: #E53935; }
.ps-tx-scan { font-size: 8px; opacity: 0.35; }
.ps-badge {
  background: #635BFF;
  color: #fff;
  font-size: 6px;
  font-weight: 700;
  padding: 1.5px 5px;
  border-radius: 8px;
  white-space: nowrap;
}
.ps-bnav {
  display: flex;
  justify-content: space-around;
  background: #fff;
  border-top: 1px solid #eaecf0;
  margin: 4px -14px 0;
  padding: 7px 8px 10px;
  flex-shrink: 0;
}
.ps-bni { display: flex; flex-direction: column; align-items: center; gap: 2px; flex: 1; }
.ps-bni-ic { font-size: 13px; line-height: 1; }
.ps-bni-lbl { font-size: 6px; color: #AAA; font-weight: 500; white-space: nowrap; }
.ps-bni.active .ps-bni-lbl { color: #635BFF; font-weight: 700; }
