/* ============================================
   Backpack V2 — Light Editorial Design System
   App Download & Wallet Setup Guide
   ============================================ */

/* ===== Design Tokens ===== */
:root {
  /* Backgrounds — Light */
  --bg-base: #FAFAFA;
  --bg-card: #FFFFFF;
  --bg-section: #F4F4F5;
  --bg-section-alt: #FFFFFF;
  --bg-hover: #F9FAFB;
  --bg-code: #F4F4F5;

  /* Text */
  --text-primary: #0E0F14;
  --text-secondary: #4B5563;
  --text-muted: #6B7280;
  --text-faint: #9CA3AF;
  --text-inverse: #FFFFFF;

  /* Brand */
  --brand: #E33E3F;
  --brand-hover: #DC2626;
  --brand-light: #FEF2F2;
  --brand-border: #FECACA;

  /* Accents */
  --accent-sky: #0EA5E9;
  --accent-sky-light: #E0F2FE;
  --accent-emerald: #10B981;
  --accent-emerald-light: #ECFDF5;
  --accent-violet: #8B5CF6;
  --accent-violet-light: #F5F3FF;
  --accent-amber: #F59E0B;
  --accent-amber-light: #FFFBEB;

  /* Borders */
  --border-light: #F3F4F6;
  --border-default: #E5E7EB;
  --border-strong: #D1D5DB;
  --border-focus: #9CA3AF;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0,0,0,0.04);
  --shadow-md: 0 2px 8px -2px rgba(0,0,0,0.06), 0 4px 16px -4px rgba(0,0,0,0.04);
  --shadow-lg: 0 4px 24px -4px rgba(0,0,0,0.08), 0 8px 32px -8px rgba(0,0,0,0.06);
  --shadow-brand: 0 4px 16px -4px rgba(227,62,63,0.25);

  /* Radius */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-full: 9999px;

  /* Spacing */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 20px;
  --sp-6: 24px;
  --sp-8: 32px;
  --sp-10: 40px;
  --sp-12: 48px;
  --sp-16: 64px;
  --sp-20: 80px;
  --sp-24: 96px;

  /* Layout */
  --container-max: 1200px;
  --header-height: 64px;

  /* Typography */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Transitions */
  --t-fast: 0.15s cubic-bezier(0.4,0,0.2,1);
  --t-normal: 0.3s cubic-bezier(0.4,0,0.2,1);
  --t-slow: 0.5s cubic-bezier(0.4,0,0.2,1);
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  font-family: var(--font-sans);
  background: var(--bg-base);
  color: var(--text-primary);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img, svg { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input { font-family: inherit; }

/* ===== Container ===== */
.container { max-width: var(--container-max); margin: 0 auto; padding: 0 var(--sp-6); }

/* ===== Skip Link ===== */
.skip-link {
  position: absolute; top: -100px; left: 0;
  background: var(--brand); color: var(--text-inverse);
  padding: var(--sp-2) var(--sp-4); border-radius: 0 0 var(--r-sm) 0;
  z-index: 1000; font-size: 0.875rem; font-weight: 600;
}
.skip-link:focus { top: 0; }

/* ===== Header ===== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--header-height);
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  z-index: 100; transition: box-shadow var(--t-normal);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); border-bottom-color: var(--border-default); }
.header-inner {
  height: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-6);
}
.header-logo {
  display: flex; align-items: center; gap: var(--sp-2);
  color: var(--text-primary); font-weight: 700; font-size: 1.25rem;
  letter-spacing: -0.02em;
}
.header-logo svg { width: 120px; height: 24px; color: var(--text-primary); }
.header-nav { display: flex; gap: var(--sp-6); align-items: center; }
.header-nav a {
  font-size: 0.875rem; font-weight: 500; color: var(--text-secondary);
  transition: color var(--t-fast); position: relative;
}
.header-nav a:hover { color: var(--text-primary); }
.header-nav a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 2px; background: var(--brand); transform: scaleX(0);
  transition: transform var(--t-fast); border-radius: 1px;
}
.header-nav a:hover::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: var(--sp-3); }

/* Language Switcher */
.header-lang {
  display: flex; align-items: center; gap: var(--sp-1);
  padding: var(--sp-2) var(--sp-3); border-radius: var(--r-sm);
  border: 1px solid var(--border-default); background: var(--bg-card);
  font-size: 0.8125rem; font-weight: 500; color: var(--text-secondary);
  transition: all var(--t-fast);
}
.header-lang:hover { border-color: var(--border-strong); color: var(--text-primary); }
.lang-dropdown {
  position: absolute; top: calc(100% + 8px); right: 0;
  background: var(--bg-card); border: 1px solid var(--border-default);
  border-radius: var(--r-md); box-shadow: var(--shadow-lg);
  padding: var(--sp-2); min-width: 200px; max-height: 400px; overflow-y: auto;
  display: none; z-index: 200;
}
.lang-dropdown.open { display: block; }
.lang-dropdown a {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--sp-2) var(--sp-3); border-radius: var(--r-sm);
  font-size: 0.875rem; color: var(--text-secondary); transition: all var(--t-fast);
}
.lang-dropdown a:hover { background: var(--bg-hover); color: var(--text-primary); }
.lang-dropdown a.active { background: var(--brand-light); color: var(--brand); font-weight: 600; }
.lang-code { font-size: 0.75rem; color: var(--text-faint); font-family: var(--font-mono); }

/* Header Toggle (Mobile) */
.header-toggle { display: none; padding: var(--sp-2); color: var(--text-primary); }
.header-toggle svg { width: 24px; height: 24px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2);
  font-family: var(--font-sans); font-weight: 600; font-size: 0.9375rem;
  padding: var(--sp-3) var(--sp-5); border-radius: var(--r-md);
  transition: all var(--t-fast); white-space: nowrap; cursor: pointer;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--brand); color: var(--text-inverse);
  box-shadow: var(--shadow-brand);
}
.btn-primary:hover { background: var(--brand-hover); transform: translateY(-1px); box-shadow: 0 6px 20px -4px rgba(227,62,63,0.35); }
.btn-primary:active { transform: translateY(0); }
.btn-secondary {
  background: var(--bg-card); color: var(--text-primary);
  border-color: var(--border-default);
}
.btn-secondary:hover { border-color: var(--border-strong); background: var(--bg-hover); }
.btn-dark {
  background: var(--text-primary); color: var(--text-inverse);
}
.btn-dark:hover { background: #1a1b22; transform: translateY(-1px); }
.btn-lg { padding: var(--sp-4) var(--sp-8); font-size: 1rem; }
.btn-sm { padding: var(--sp-2) var(--sp-4); font-size: 0.8125rem; }
.btn-block { width: 100%; }

/* ===== Mobile Menu ===== */
.mobile-menu {
  position: fixed; top: 0; right: -100%; width: 100%; max-width: 360px;
  height: 100vh; background: var(--bg-card); z-index: 300;
  padding: var(--sp-6); display: flex; flex-direction: column; gap: var(--sp-6);
  transition: right var(--t-normal); box-shadow: var(--shadow-lg);
}
.mobile-menu.open { right: 0; }
.mobile-menu-close {
  align-self: flex-end; padding: var(--sp-2); color: var(--text-secondary);
}
.mobile-menu-close svg { width: 24px; height: 24px; }
.mobile-menu-links { display: flex; flex-direction: column; gap: var(--sp-4); }
.mobile-menu-links a { font-size: 1.125rem; font-weight: 500; color: var(--text-primary); }
.mobile-menu-cta { padding-bottom: var(--sp-4); border-bottom: 1px solid var(--border-light); }
.mobile-menu-lang {
  display: flex; flex-wrap: wrap; gap: var(--sp-2); overflow-y: auto; flex: 1;
}
.mobile-menu-lang a {
  padding: var(--sp-1) var(--sp-3); border-radius: var(--r-full);
  font-size: 0.8125rem; color: var(--text-secondary); border: 1px solid var(--border-default);
  transition: all var(--t-fast);
}
.mobile-menu-lang a:hover, .mobile-menu-lang a.active { background: var(--brand-light); color: var(--brand); border-color: var(--brand-border); }
.menu-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.3); z-index: 250;
  opacity: 0; pointer-events: none; transition: opacity var(--t-normal);
}
.menu-overlay.open { opacity: 1; pointer-events: auto; }

/* ===== Hero ===== */
.hero {
  padding-top: calc(var(--header-height) + var(--sp-16));
  padding-bottom: var(--sp-16);
  background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-base) 100%);
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -200px; right: -200px;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(227,62,63,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-12);
  align-items: center; position: relative;
}
.hero-eyebrow { margin-bottom: var(--sp-4); }
.badge {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  padding: var(--sp-1) var(--sp-3); border-radius: var(--r-full);
  font-size: 0.8125rem; font-weight: 600;
}
.badge-brand { background: var(--brand-light); color: var(--brand); }
.badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.5; } }

.hero-title {
  font-size: clamp(2.25rem, 5vw, 3.5rem); font-weight: 800;
  line-height: 1.1; letter-spacing: -0.03em; color: var(--text-primary);
  margin-bottom: var(--sp-4);
}
.text-brand-gradient {
  background: linear-gradient(135deg, var(--brand) 0%, #FF6B6B 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-subtitle {
  font-size: 1.125rem; line-height: 1.7; color: var(--text-secondary);
  margin-bottom: var(--sp-6); max-width: 520px;
}
.hero-direct-answer {
  background: var(--bg-card); border: 1px solid var(--border-default);
  border-left: 3px solid var(--brand); border-radius: var(--r-md);
  padding: var(--sp-4); margin-bottom: var(--sp-6); font-size: 0.9375rem;
  color: var(--text-secondary); line-height: 1.6;
  box-shadow: var(--shadow-sm);
}
.hero-direct-answer strong { color: var(--text-primary); }
.hero-cta-group { display: flex; gap: var(--sp-3); flex-wrap: wrap; margin-bottom: var(--sp-6); }
.hero-trust { display: flex; flex-wrap: wrap; gap: var(--sp-4); }
.hero-trust-item {
  display: flex; align-items: center; gap: var(--sp-1);
  font-size: 0.8125rem; color: var(--text-muted); font-weight: 500;
}
.hero-trust-item svg { width: 16px; height: 16px; color: var(--accent-emerald); }

/* Hero Visual — Phone Mockup */
.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-data-tag {
  position: absolute; background: var(--bg-card); border: 1px solid var(--border-default);
  border-radius: var(--r-md); padding: var(--sp-2) var(--sp-3); font-size: 0.8125rem;
  font-weight: 600; color: var(--text-primary); box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: var(--sp-2); z-index: 2;
}
.hero-data-tag .dot { width: 8px; height: 8px; border-radius: 50%; }
.hero-data-tag-1 { top: 15%; left: -5%; animation: floatTag 4s ease-in-out infinite; }
.hero-data-tag-2 { bottom: 20%; right: -5%; animation: floatTag 4s ease-in-out infinite 2s; }
@keyframes floatTag { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* Phone Mockup (CSS) */
.phone-mockup {
  width: 280px; height: 560px; background: var(--text-primary);
  border-radius: 40px; padding: 8px; position: relative;
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--border-default);
}
.phone-notch {
  position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  width: 100px; height: 24px; background: var(--text-primary);
  border-radius: 0 0 16px 16px; z-index: 3;
}
.phone-frame { width: 100%; height: 100%; background: var(--bg-card); border-radius: 32px; overflow: hidden; }
.phone-screen { padding: 36px 16px 16px; display: flex; flex-direction: column; gap: var(--sp-3); height: 100%; }
.phone-header { display: flex; justify-content: space-between; align-items: center; }
.phone-logo { display: flex; align-items: center; gap: var(--sp-1); }
.phone-logo-icon { width: 24px; height: 24px; background: var(--brand); border-radius: 6px; }
.phone-logo-text { font-size: 0.875rem; font-weight: 700; color: var(--text-primary); }
.phone-avatar { width: 28px; height: 28px; background: var(--bg-section); border-radius: 50%; }
.phone-balance { background: var(--bg-section); border-radius: var(--r-lg); padding: var(--sp-3); }
.phone-balance-label { font-size: 0.6875rem; color: var(--text-muted); margin-bottom: 2px; }
.phone-balance-value { font-size: 1.5rem; font-weight: 800; color: var(--text-primary); font-family: var(--font-mono); }
.phone-balance-change { font-size: 0.75rem; color: var(--accent-emerald); font-weight: 600; }
.phone-actions { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-2); }
.phone-action { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.phone-action-icon { width: 36px; height: 36px; border-radius: 10px; }
.phone-action-label { font-size: 0.625rem; color: var(--text-muted); font-weight: 500; }
.phone-list-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: var(--sp-2); border-radius: var(--r-sm); background: var(--bg-section);
}
.phone-list-left { display: flex; align-items: center; gap: var(--sp-2); }
.phone-list-icon { width: 28px; height: 28px; border-radius: 50%; }
.phone-list-name { font-size: 0.8125rem; font-weight: 600; color: var(--text-primary); }
.phone-list-value { font-size: 0.8125rem; font-weight: 600; font-family: var(--font-mono); }

/* ===== Sections ===== */
.section { padding: var(--sp-20) 0; }
.section-tight { padding: var(--sp-12) 0; }
.section-alt { background: var(--bg-section); }
.section-header { text-align: center; max-width: 640px; margin: 0 auto var(--sp-12); }
.section-eyebrow {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  font-size: 0.8125rem; font-weight: 600; color: var(--brand);
  text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: var(--sp-3);
}
.section-index {
  font-family: var(--font-mono); font-size: 0.75rem;
  background: var(--brand-light); padding: 2px 8px; border-radius: var(--r-sm);
}
.section-header h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 800;
  letter-spacing: -0.02em; color: var(--text-primary); margin-bottom: var(--sp-3);
}
.section-header p { font-size: 1.0625rem; color: var(--text-secondary); line-height: 1.6; }

/* ===== Download Options ===== */
.download-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-6); }
.download-card {
  background: var(--bg-card); border: 1px solid var(--border-default);
  border-radius: var(--r-xl); padding: var(--sp-8); text-align: center;
  transition: all var(--t-normal); position: relative; overflow: hidden;
}
.download-card:hover { border-color: var(--brand-border); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.download-card-icon {
  width: 56px; height: 56px; border-radius: var(--r-lg);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto var(--sp-4); color: var(--text-inverse);
}
.download-card-icon svg { width: 28px; height: 28px; }
.download-card-icon.ios { background: var(--text-primary); }
.download-card-icon.android { background: #3DDC84; }
.download-card-icon.chrome { background: #4285F4; }
.download-card h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: var(--sp-2); }
.download-card .platform-meta { font-size: 0.875rem; color: var(--text-muted); margin-bottom: var(--sp-4); }
.download-card .sys-req {
  font-size: 0.75rem; color: var(--text-faint); padding: var(--sp-2) var(--sp-3);
  background: var(--bg-section); border-radius: var(--r-sm); margin-bottom: var(--sp-4);
  font-family: var(--font-mono);
}
.download-card .btn { width: 100%; }
.download-qr {
  width: 100px; height: 100px; margin: var(--sp-4) auto 0;
  padding: var(--sp-2); background: var(--bg-card); border: 1px solid var(--border-default);
  border-radius: var(--r-md);
}
.download-qr svg, .download-qr img { width: 100%; height: 100%; }

/* ===== Setup Guide (HowTo) ===== */
.steps-list { max-width: 760px; margin: 0 auto; position: relative; }
.steps-list::before {
  content: ''; position: absolute; left: 27px; top: 40px; bottom: 40px;
  width: 2px; background: linear-gradient(180deg, var(--brand) 0%, var(--border-default) 100%);
}
.step-item {
  display: grid; grid-template-columns: 56px 1fr; gap: var(--sp-6);
  padding: var(--sp-6) 0; position: relative;
}
.step-num {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--bg-card); border: 2px solid var(--brand);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; font-weight: 800; color: var(--brand);
  font-family: var(--font-mono); position: relative; z-index: 1;
  box-shadow: var(--shadow-sm);
}
.step-item.completed .step-num { background: var(--brand); color: var(--text-inverse); }
.step-content h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: var(--sp-2); color: var(--text-primary); }
.step-content p { color: var(--text-secondary); line-height: 1.7; margin-bottom: var(--sp-3); }
.step-note {
  display: flex; align-items: flex-start; gap: var(--sp-2);
  padding: var(--sp-3); background: var(--accent-amber-light);
  border-radius: var(--r-md); font-size: 0.875rem; color: #92400E;
}
.step-note svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--accent-amber); margin-top: 1px; }
.step-code {
  display: inline-block; padding: 2px var(--sp-2); background: var(--bg-code);
  border-radius: var(--r-sm); font-family: var(--font-mono); font-size: 0.8125rem;
  color: var(--text-primary); border: 1px solid var(--border-default);
}

/* ===== Wallet Features ===== */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-6); }
.feature-card {
  background: var(--bg-card); border: 1px solid var(--border-default);
  border-radius: var(--r-lg); padding: var(--sp-6); transition: all var(--t-normal);
  position: relative;
}
.feature-card:hover { border-color: var(--border-strong); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.feature-card.feature-hero { grid-column: span 2; }
.feature-card.feature-wide { grid-column: span 3; }
.feature-tag {
  font-size: 0.6875rem; font-weight: 700; color: var(--text-faint);
  font-family: var(--font-mono); letter-spacing: 0.05em; margin-bottom: var(--sp-3);
}
.feature-icon {
  width: 44px; height: 44px; border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--sp-4); color: var(--brand);
  background: var(--brand-light);
}
.feature-icon svg { width: 24px; height: 24px; }
.feature-card[data-accent="sky"] .feature-icon { background: var(--accent-sky-light); color: var(--accent-sky); }
.feature-card[data-accent="emerald"] .feature-icon { background: var(--accent-emerald-light); color: var(--accent-emerald); }
.feature-card[data-accent="violet"] .feature-icon { background: var(--accent-violet-light); color: var(--accent-violet); }
.feature-card[data-accent="amber"] .feature-icon { background: var(--accent-amber-light); color: var(--accent-amber); }
.feature-card h3 { font-size: 1.125rem; font-weight: 700; margin-bottom: var(--sp-2); }
.feature-card p { font-size: 0.9375rem; color: var(--text-secondary); line-height: 1.6; }

/* ===== Security Highlights ===== */
.security-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-4); }
.security-item {
  background: var(--bg-card); border: 1px solid var(--border-default);
  border-radius: var(--r-lg); padding: var(--sp-5); text-align: center;
  transition: all var(--t-normal);
}
.security-item:hover { border-color: var(--accent-emerald); box-shadow: var(--shadow-sm); }
.security-icon {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--accent-emerald-light); color: var(--accent-emerald);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto var(--sp-3);
}
.security-icon svg { width: 24px; height: 24px; }
.security-item h4 { font-size: 0.9375rem; font-weight: 700; margin-bottom: var(--sp-1); }
.security-item p { font-size: 0.8125rem; color: var(--text-muted); }

/* Trust Strip */
.trust-strip {
  background: var(--bg-card); border: 1px solid var(--border-default);
  border-radius: var(--r-full); padding: var(--sp-3) var(--sp-6);
  overflow: hidden; position: relative;
}
.trust-strip-track { display: flex; gap: var(--sp-8); animation: marquee 30s linear infinite; white-space: nowrap; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.trust-strip-item {
  display: flex; align-items: center; gap: var(--sp-2);
  font-size: 0.875rem; color: var(--text-muted); font-weight: 500;
}
.trust-strip-item svg { width: 18px; height: 18px; color: var(--accent-emerald); }

/* ===== FAQ ===== */
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); max-width: 900px; margin: 0 auto; }
.faq-item {
  background: var(--bg-card); border: 1px solid var(--border-default);
  border-radius: var(--r-lg); overflow: hidden; transition: all var(--t-fast);
}
.faq-item:hover { border-color: var(--border-strong); }
.faq-item.open { border-color: var(--brand-border); box-shadow: var(--shadow-sm); }
.faq-question {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--sp-4) var(--sp-5); font-weight: 600; font-size: 0.9375rem;
  color: var(--text-primary); cursor: pointer; width: 100%; text-align: left;
  background: none; border: none; font-family: inherit;
}
.faq-question svg { width: 20px; height: 20px; color: var(--text-muted); transition: transform var(--t-fast); flex-shrink: 0; }
.faq-item.open .faq-question svg { transform: rotate(180deg); color: var(--brand); }
.faq-answer {
  max-height: 0; overflow: hidden; transition: max-height var(--t-normal);
}
.faq-item.open .faq-answer { max-height: 300px; }
.faq-answer-inner { padding: 0 var(--sp-5) var(--sp-4); font-size: 0.9375rem; color: var(--text-secondary); line-height: 1.7; }

/* ===== Final CTA ===== */
.final-cta {
  background: var(--text-primary); color: var(--text-inverse);
  border-radius: var(--r-xl); padding: var(--sp-16) var(--sp-12);
  text-align: center; position: relative; overflow: hidden;
}
.final-cta::before {
  content: ''; position: absolute; top: -100px; left: 50%; transform: translateX(-50%);
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(227,62,63,0.15) 0%, transparent 70%);
}
.final-cta-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 800;
  letter-spacing: -0.02em; margin-bottom: var(--sp-3); position: relative;
}
.final-cta-desc { font-size: 1.125rem; color: #9CA3AF; margin-bottom: var(--sp-8); position: relative; }
.final-cta-group { display: flex; gap: var(--sp-3); justify-content: center; flex-wrap: wrap; position: relative; }

/* ===== Footer ===== */
.site-footer {
  background: var(--bg-card); border-top: 1px solid var(--border-default);
  padding: var(--sp-12) 0 var(--sp-8);
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--sp-8); margin-bottom: var(--sp-8); }
.footer-brand { max-width: 320px; }
.footer-brand p { font-size: 0.875rem; color: var(--text-muted); margin-top: var(--sp-3); line-height: 1.6; }
.footer-col h5 { font-size: 0.8125rem; font-weight: 700; color: var(--text-primary); margin-bottom: var(--sp-3); text-transform: uppercase; letter-spacing: 0.05em; }
.footer-col a { display: block; font-size: 0.875rem; color: var(--text-muted); padding: var(--sp-1) 0; transition: color var(--t-fast); }
.footer-col a:hover { color: var(--text-primary); }
.footer-bottom {
  padding-top: var(--sp-6); border-top: 1px solid var(--border-light);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: var(--sp-4);
}
.footer-disclaimer { font-size: 0.75rem; color: var(--text-faint); max-width: 600px; line-height: 1.5; }
.footer-lang-links { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.footer-lang-links a {
  font-size: 0.75rem; color: var(--text-faint); padding: 2px var(--sp-2);
  border-radius: var(--r-sm); transition: all var(--t-fast);
}
.footer-lang-links a:hover { color: var(--text-secondary); background: var(--bg-section); }

/* ===== Reveal Animation ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ===== Section Divider ===== */
.section-divider { text-align: center; padding: var(--sp-8) 0; position: relative; }
.section-divider::before, .section-divider::after {
  content: ''; position: absolute; top: 50%; width: calc(50% - 200px);
  height: 1px; background: var(--border-default);
}
.section-divider::before { left: 0; }
.section-divider::after { right: 0; }
.section-divider-label { font-size: 0.8125rem; color: var(--text-muted); font-weight: 500; }

/* ===== Stats Bar ===== */
.stats-bar {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-4);
  background: var(--bg-card); border: 1px solid var(--border-default);
  border-radius: var(--r-xl); padding: var(--sp-6);
  box-shadow: var(--shadow-sm);
}
.stat-item { text-align: center; position: relative; }
.stat-item:not(:last-child)::after {
  content: ''; position: absolute; right: calc(var(--sp-4) * -1); top: 20%; bottom: 20%;
  width: 1px; background: var(--border-default);
}
.stat-value { font-size: 1.75rem; font-weight: 800; color: var(--text-primary); font-family: var(--font-mono); }
.stat-label { font-size: 0.8125rem; color: var(--text-muted); margin-top: 2px; }
.stat-trend { font-size: 0.6875rem; color: var(--accent-emerald); font-weight: 600; margin-top: var(--sp-1); display: flex; align-items: center; justify-content: center; gap: 2px; }
.stat-trend svg { width: 12px; height: 12px; }
.stat-spark { display: flex; align-items: flex-end; gap: 2px; height: 24px; margin-top: var(--sp-2); justify-content: center; }
.stat-spark-bar { width: 4px; background: var(--brand); border-radius: 1px; opacity: 0.6; }

/* ===== Responsive ===== */
@media (max-width: 968px) {
  .hero-grid { grid-template-columns: 1fr; gap: var(--sp-10); }
  .hero-visual { order: -1; }
  .download-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-card.feature-hero, .feature-card.feature-wide { grid-column: span 2; }
  .security-grid { grid-template-columns: repeat(2, 1fr); }
  .faq-grid { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); gap: var(--sp-6); }
  .stat-item:nth-child(2)::after { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .header-nav { display: none; }
  .header-toggle { display: block; }
}
@media (max-width: 640px) {
  .container { padding: 0 var(--sp-4); }
  .section { padding: var(--sp-12) 0; }
  .features-grid { grid-template-columns: 1fr; }
  .feature-card.feature-hero, .feature-card.feature-wide { grid-column: span 1; }
  .security-grid { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: 1fr; }
  .stat-item::after { display: none !important; }
  .stat-item { padding: var(--sp-3) 0; border-bottom: 1px solid var(--border-light); }
  .stat-item:last-child { border-bottom: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .hero-cta-group { flex-direction: column; }
  .hero-cta-group .btn { width: 100%; }
  .final-cta-group { flex-direction: column; }
  .final-cta-group .btn { width: 100%; }
  .phone-mockup { width: 240px; height: 480px; }
  .steps-list::before { left: 23px; }
  .step-item { grid-template-columns: 48px 1fr; gap: var(--sp-4); }
  .step-num { width: 48px; height: 48px; font-size: 1rem; }
}

/* ===== RTL Support ===== */
[dir="rtl"] { text-align: right; }
[dir="rtl"] .header-nav a::after { left: 0; right: auto; }
[dir="rtl"] .hero-direct-answer { border-left: none; border-right: 3px solid var(--brand); }
[dir="rtl"] .lang-dropdown { right: auto; left: 0; }
[dir="rtl"] .mobile-menu { right: auto; left: -100%; }
[dir="rtl"] .mobile-menu.open { left: 0; }
[dir="rtl"] .footer-bottom { flex-direction: row-reverse; }

.trust-disclosure{margin-top:16px;padding:12px 14px;border:1px solid rgba(239,68,68,.22);background:rgba(255,255,255,.9);color:#4b5563;border-radius:10px;font-size:13px;line-height:1.55;max-width:760px}.hero .trust-disclosure,.final-cta .trust-disclosure{margin-left:auto;margin-right:auto;text-align:center}
