/* ==========================================================================
   SHOBBEIK LANDING — DESIGN SYSTEM v1.0
   ========================================================================== */

/* ── 1. Custom Properties ─────────────────────────────────────────────────── */
:root {
  --c-primary:        #7C3AED;
  --c-primary-dark:   #5B21B6;
  --c-primary-light:  #A78BFA;
  --c-accent:         #F59E0B;
  --c-accent-dark:    #D97706;
  --c-accent-light:   #FCD34D;
  --c-success:        #10B981;
  --c-cyan:           #06B6D4;

  --c-dark:           #080714;
  --c-dark-2:         #0F0C27;
  --c-dark-3:         #1A1640;
  --c-dark-card:      rgba(255,255,255,0.04);
  --c-dark-border:    rgba(255,255,255,0.07);

  --c-light:          #FFFFFF;
  --c-light-2:        #F8F7FF;
  --c-light-border:   rgba(124,58,237,0.1);

  --c-text-dark:      #F0EEFF;
  --c-text-dark-2:    rgba(240,238,255,0.6);
  --c-text-on-light:  #1E1B4B;
  --c-text-muted:     #64748B;

  --g-hero:      radial-gradient(ellipse 80% 70% at 75% 40%, rgba(124,58,237,0.18) 0%, transparent 60%),
                 radial-gradient(ellipse 60% 50% at 20% 80%, rgba(245,158,11,0.07) 0%, transparent 55%),
                 linear-gradient(180deg, #080714 0%, #0F0C27 100%);
  --g-primary:   linear-gradient(135deg, #7C3AED 0%, #5B21B6 100%);
  --g-accent:    linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  --g-card-dark: linear-gradient(135deg, rgba(255,255,255,0.07) 0%, rgba(255,255,255,0.02) 100%);
  --g-download:  linear-gradient(135deg, #4F46E5 0%, #7C3AED 50%, #9333EA 100%);
  --g-text:      linear-gradient(135deg, #A78BFA 0%, #F0ABFC 50%, #FCD34D 100%);

  --s-card:       0 2px 12px rgba(0,0,0,0.05), 0 1px 4px rgba(0,0,0,0.04);
  --s-card-hover: 0 16px 48px rgba(0,0,0,0.12), 0 4px 16px rgba(0,0,0,0.06);
  --s-primary:    0 8px 32px rgba(124,58,237,0.35);
  --s-primary-sm: 0 4px 16px rgba(124,58,237,0.25);

  --section-py:   clamp(80px, 10vw, 140px);
  --r-sm: 8px; --r-md: 16px; --r-lg: 24px; --r-xl: 32px; --r-full: 9999px;
  --font-ar: 'Cairo', sans-serif;
  --font-en: 'Plus Jakarta Sans', sans-serif;
  --t-fast: 0.15s ease; --t-base: 0.25s ease; --t-slow: 0.4s cubic-bezier(0.34,1.56,0.64,1);
}

/* ── 2. Reset ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

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

a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
img, svg { display: block; max-width: 100%; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
#app-root { min-height: 100vh; }

/* ── 3. Font Classes ─────────────────────────────────────────────────────── */
.font-ar { font-family: var(--font-ar); }
.font-en { font-family: var(--font-en); }

/* ── 4. Layout ───────────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 64px);
}

/* ── 5. Typography Utilities ─────────────────────────────────────────────── */
.gradient-text {
  background: var(--g-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-dark  { color: var(--c-text-on-light); }
.text-muted { color: var(--c-text-muted); }

/* ── 6. Badges ───────────────────────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 16px; border-radius: var(--r-full);
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.02em;
}
.badge-glow {
  background: rgba(124,58,237,0.15); border: 1px solid rgba(124,58,237,0.3);
  color: var(--c-primary-light); box-shadow: 0 0 24px rgba(124,58,237,0.15);
}
.badge-glow-amber {
  background: rgba(245,158,11,0.15); border: 1px solid rgba(245,158,11,0.35);
  color: var(--c-accent-light); box-shadow: 0 0 24px rgba(245,158,11,0.15);
}
.badge-light  { background: rgba(124,58,237,0.12); border: 1px solid rgba(167,139,250,0.3); color: var(--c-primary-light); }
.badge-purple { background: rgba(124,58,237,0.12); border: 1px solid rgba(167,139,250,0.3); color: var(--c-primary-light); }
.badge-amber  { background: rgba(245,158,11,0.1);  border: 1px solid rgba(245,158,11,0.25); color: #92400E; }

/* ── 7. Section Header ───────────────────────────────────────────────────── */
.section-header { text-align: center; margin-bottom: clamp(48px, 6vw, 80px); position: relative; z-index: 1; }
.section-header .badge { margin-bottom: 14px; }
.section-title {
  font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; line-height: 1.15;
  margin-bottom: 14px; letter-spacing: -0.01em;
}
.section-subtitle {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem); line-height: 1.75;
  max-width: 540px; margin: 0 auto;
}

/* ── 8. Buttons ──────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 28px; border-radius: var(--r-full);
  font-weight: 600; font-size: 0.95rem; font-family: inherit;
  transition: all var(--t-base); cursor: pointer;
}
.btn-primary {
  background: var(--g-primary); color: #fff; box-shadow: var(--s-primary-sm);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--s-primary); }
.btn-sm { padding: 8px 20px; font-size: 0.875rem; }

.btn-store {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 12px 22px; border-radius: var(--r-md); font-family: inherit;
  transition: all var(--t-base); border: 1px solid rgba(255,255,255,0.14);
  min-width: 158px;
}
.btn-store:hover { transform: translateY(-3px); box-shadow: 0 14px 36px rgba(0,0,0,0.28); border-color: rgba(255,255,255,0.26); }
.btn-store-apple  { background: rgba(255,255,255,0.09); color: #fff; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.btn-store-apple:hover  { background: rgba(255,255,255,0.15); }
.btn-store-google { background: rgba(255,255,255,0.09); color: #fff; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.btn-store-google:hover { background: rgba(255,255,255,0.15); }
.btn-store-lg { padding: 14px 26px; min-width: 176px; font-size: 1rem; }

.store-icon { width: 28px; height: 28px; flex-shrink: 0; }
.store-label { display: flex; flex-direction: column; line-height: 1.2; }
.store-label small { font-size: 0.68rem; font-weight: 400; opacity: 0.7; }
.store-label strong { font-size: 0.95rem; }

.btn-lang {
  padding: 7px 18px; border-radius: var(--r-full);
  background: rgba(124,58,237,0.12); border: 1px solid rgba(167,139,250,0.35);
  color: var(--c-primary-light); font-size: 0.85rem; font-weight: 700;
  font-family: inherit; transition: all var(--t-base);
}
.btn-lang:hover { background: rgba(124,58,237,0.22); transform: scale(1.04); }

/* ── 9. Keyframe Animations ──────────────────────────────────────────────── */
@keyframes blobFloat {
  0%,100% { transform: translate(0,0) scale(1) rotate(0deg); }
  33%      { transform: translate(40px,-30px) scale(1.06) rotate(3deg); }
  66%      { transform: translate(-25px,25px) scale(0.96) rotate(-2deg); }
}
@keyframes float {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}
@keyframes pulse-glow {
  0%,100% { box-shadow: 0 0 0 0 rgba(16,185,129,0.5); }
  50%      { box-shadow: 0 0 0 8px rgba(16,185,129,0); }
}
@keyframes scrollWheel {
  0%   { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(9px); }
}
@keyframes dotBounce {
  0%,80%,100% { transform: scale(0.6); opacity: 0.5; }
  40%         { transform: scale(1); opacity: 1; }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes shimmerMove {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}

/* ── 10. Splash Loader ────────────────────────────────────────────────────── */
.splash-loader {
  position: fixed; inset: 0; background: var(--c-dark);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; z-index: 9999;
}
.splash-logo {
  height: 72px; width: auto;
  animation: float 2.2s ease-in-out infinite;
}
.splash-name { font-size: 1.8rem; font-weight: 800; color: var(--c-text-dark); }
.splash-dots { display: flex; gap: 6px; margin-top: 6px; }
.splash-dots span {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--c-primary-light); animation: dotBounce 1.4s infinite;
}
.splash-dots span:nth-child(2) { animation-delay: 0.2s; }
.splash-dots span:nth-child(3) { animation-delay: 0.4s; }

/* ── 11. Navbar ──────────────────────────────────────────────────────────── */
.navbar {
  position: fixed; top: 0; inset-inline: 0; z-index: 1000;
  padding: 20px 0;
  transition: padding 0.3s ease, background 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  padding: 12px 0;
  background: rgba(8,7,20,0.88);
  -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
  border-bottom-color: var(--c-dark-border);
}
.navbar-inner { display: flex; align-items: center; gap: 36px; }

.navbar-logo   { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-mark {
  height: 36px; width: auto; display: block;
  color: var(--c-text-dark);
  flex-shrink: 0;
}
.logo-text { font-size: 1.45rem; font-weight: 800; color: var(--c-text-dark); letter-spacing: -0.01em; }

.navbar-links { display: flex; align-items: center; gap: 4px; flex: 1; justify-content: center; }
.nav-link {
  padding: 8px 14px; border-radius: var(--r-full);
  color: var(--c-text-dark-2); font-size: 0.9rem; font-weight: 500;
  transition: all var(--t-base);
}
.nav-link:hover { color: var(--c-text-dark); background: rgba(255,255,255,0.07); }

.navbar-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; margin-inline-start: auto; }

.navbar-hamburger {
  display: none; flex-direction: column; gap: 5px; padding: 8px;
  border-radius: var(--r-sm); background: rgba(255,255,255,0.07);
  transition: background var(--t-base);
}
.navbar-hamburger span {
  display: block; width: 22px; height: 2px; background: var(--c-text-dark);
  border-radius: 2px; transition: all var(--t-base);
}
.navbar-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.navbar-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.navbar-mobile { display: none; }

/* ── 12. Hero ────────────────────────────────────────────────────────────── */
.hero {
  position: relative; min-height: 100vh; display: flex;
  align-items: center; padding-top: 90px; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; background: var(--g-hero); z-index: 0; transition: background 0.4s ease; }
.blob {
  position: absolute; border-radius: 50%;
  filter: blur(90px); will-change: transform; pointer-events: none;
}
.blob-1 {
  width: 620px; height: 620px; background: rgba(124,58,237,0.18);
  top: -120px; inset-inline-end: -80px;
  animation: blobFloat 14s ease-in-out infinite;
}
.blob-2 {
  width: 420px; height: 420px; background: rgba(245,158,11,0.09);
  bottom: -60px; inset-inline-start: 8%;
  animation: blobFloat 18s ease-in-out infinite reverse;
}
.blob-3 {
  width: 320px; height: 320px; background: rgba(6,182,212,0.07);
  top: 40%; inset-inline-start: -80px;
  animation: blobFloat 11s ease-in-out infinite 2s;
}
.hero-grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(124,58,237,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124,58,237,0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}
.hero-inner {
  position: relative; z-index: 1;
  display: flex; align-items: center; gap: clamp(40px,6vw,80px);
  padding-block: clamp(60px,8vw,100px);
}
.hero-content  { flex: 1; min-width: 0; max-width: 600px; }
.hero-title {
  font-size: clamp(2.5rem,5.5vw,4.5rem); font-weight: 900; line-height: 1.1;
  color: var(--c-text-dark); margin: 18px 0 22px; letter-spacing: -0.025em;
  display: flex; flex-direction: column; gap: 2px;
}
.hero-title-line { display: block; }
.hero-subtitle {
  font-size: clamp(1rem,1.5vw,1.15rem); color: var(--c-text-dark-2);
  line-height: 1.8; margin-bottom: 40px; max-width: 510px;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }

/* Phone Mockup */
.hero-visual { flex-shrink: 0; position: relative; animation: float 6s ease-in-out infinite; }
.phone-glow {
  position: absolute; inset: -50px;
  background: radial-gradient(ellipse, rgba(124,58,237,0.28) 0%, transparent 70%);
  border-radius: 50%; z-index: 0; pointer-events: none;
}
.phone-device {
  position: relative; width: 272px; height: 560px;
  background: #0D0B22; border-radius: 44px;
  border: 8px solid rgba(255,255,255,0.11);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.04), 0 60px 120px rgba(0,0,0,0.65), inset 0 0 50px rgba(124,58,237,0.06);
  overflow: hidden; z-index: 1;
}
.phone-notch {
  position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
  width: 90px; height: 20px; background: #0D0B22; border-radius: var(--r-full);
  z-index: 2; border: 1px solid rgba(255,255,255,0.07);
}
.phone-screen {
  position: absolute; inset: 0; padding: 50px 14px 14px;
  display: flex; flex-direction: column; gap: 9px;
  background: linear-gradient(180deg, #0F0C27 0%, #1A1640 100%);
  overflow: hidden;
}
.app-statusbar {
  display: flex; justify-content: space-between;
  color: rgba(255,255,255,0.45); font-size: 10px; padding: 0 4px;
}
.app-signal { letter-spacing: 2px; }
.app-header-bar { display: flex; align-items: center; justify-content: space-between; padding: 2px 4px 0; }
.app-location-wrap { display: flex; align-items: center; gap: 4px; }
.app-loc-icon { font-size: 11px; }
.app-location-label { color: rgba(255,255,255,0.45); font-size: 9px; }
.app-greeting-text  { color: #fff; font-size: 11px; font-weight: 700; }
.app-avatar-circle  {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--g-primary); display: flex; align-items: center;
  justify-content: center; color: #fff; font-size: 9px; font-weight: 700;
}
.app-search-bar {
  display: flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.07); border-radius: 10px;
  padding: 8px 10px; color: rgba(255,255,255,0.35); font-size: 10px;
  border: 1px solid rgba(255,255,255,0.05);
}
.app-search-icon { font-size: 11px; }
.app-categories { display: flex; gap: 6px; }
.app-cat-chip {
  padding: 5px 10px; border-radius: var(--r-full);
  background: rgba(255,255,255,0.07); color: rgba(255,255,255,0.45);
  font-size: 9px; white-space: nowrap; border: 1px solid rgba(255,255,255,0.05);
}
.app-cat-chip.active {
  background: rgba(124,58,237,0.3); color: var(--c-primary-light);
  border-color: rgba(124,58,237,0.45);
}
.app-store-card {
  display: flex; align-items: center; gap: 9px;
  background: rgba(255,255,255,0.05); border-radius: 12px;
  padding: 8px; border: 1px solid rgba(255,255,255,0.06);
}
.app-store-thumb { width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0; }
.app-thumb-1 { background: linear-gradient(135deg, #7C3AED, #A855F7); }
.app-thumb-2 { background: linear-gradient(135deg, #0EA5E9, #0284C7); }
.app-store-title { color: rgba(255,255,255,0.9); font-size: 10px; font-weight: 600; margin-bottom: 3px; }
.app-store-meta  { color: rgba(255,255,255,0.4); font-size: 9px; }
.app-order-tracker {
  display: flex; align-items: center; gap: 7px;
  background: rgba(16,185,129,0.12); border: 1px solid rgba(16,185,129,0.25);
  border-radius: 10px; padding: 8px 10px; margin-top: auto;
}
.tracker-pulse {
  width: 8px; height: 8px; border-radius: 50%; background: var(--c-success);
  flex-shrink: 0; animation: pulse-glow 1.6s infinite;
}
.tracker-scooter { font-size: 14px; }
.tracker-text    { color: rgba(16,185,129,0.9); font-size: 9px; font-weight: 600; }

.phone-float-badge {
  position: absolute; top: 80px; inset-inline-start: -44px;
  background: rgba(255,255,255,0.97); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-radius: 14px; padding: 8px 14px;
  display: flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 700; color: var(--c-text-on-light);
  box-shadow: 0 8px 28px rgba(0,0,0,0.22); white-space: nowrap;
  z-index: 2; animation: float 5s ease-in-out infinite 1.2s;
}
[dir="ltr"] .phone-float-badge { inset-inline-start: auto; inset-inline-end: -44px; }

.hero-scroll-indicator {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; z-index: 2;
}
.scroll-mouse {
  width: 24px; height: 38px; border: 2px solid rgba(255,255,255,0.22);
  border-radius: 12px; display: flex; justify-content: center;
}
.scroll-wheel {
  width: 4px; height: 8px; background: rgba(255,255,255,0.45);
  border-radius: 2px; margin-top: 6px;
  animation: scrollWheel 1.6s ease-in-out infinite;
}

/* ── 13. Stats ────────────────────────────────────────────────────────────── */
.stats-section {
  padding: clamp(50px,6vw,80px) 0; background: var(--c-light);
  border-top: 1px solid var(--c-light-border);
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat-card {
  text-align: center; padding: 32px 20px; border-radius: var(--r-lg);
  background: #fff; border: 1px solid var(--c-light-border);
  box-shadow: var(--s-card); transition: all var(--t-base);
}
.stat-card:hover { transform: translateY(-5px); box-shadow: var(--s-card-hover); border-color: rgba(124,58,237,0.2); }
.stat-icon    { font-size: 2rem; margin-bottom: 12px; display: block; }
.stat-number  { display: flex; align-items: baseline; justify-content: center; gap: 2px; margin-bottom: 8px; }
.stat-value {
  font-size: clamp(2rem,3.5vw,2.75rem); font-weight: 900; line-height: 1;
  background: var(--g-primary); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
}
.stat-plus  { font-size: 1.5rem; font-weight: 800; color: var(--c-primary); }
.stat-label { font-size: 0.9rem; color: var(--c-text-muted); font-weight: 500; }

/* ── 14. Features (dark bg) ──────────────────────────────────────────────── */
.features-section {
  padding: var(--section-py) 0; background: var(--c-dark-2); position: relative; overflow: hidden;
}
.features-section::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 70% 60% at 80% 20%, rgba(124,58,237,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 20% 80%, rgba(245,158,11,0.06) 0%, transparent 50%);
}
.features-section .section-title    { color: var(--c-text-dark); }
.features-section .section-subtitle { color: var(--c-text-dark-2); }

.features-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: repeat(3,1fr); gap: 22px;
}
.feature-card {
  padding: 32px; border-radius: var(--r-xl);
  background: var(--g-card-dark); border: 1px solid var(--c-dark-border);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: all var(--t-base);
}
.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(124,58,237,0.3);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3), 0 0 0 1px rgba(124,58,237,0.15);
}
.feature-icon-wrap {
  width: 56px; height: 56px; border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; color: #fff; flex-shrink: 0;
}
.feature-icon-wrap svg { width: 26px; height: 26px; }
.feature-icon-bolt    { background: linear-gradient(135deg, #7C3AED, #A855F7); }
.feature-icon-map     { background: linear-gradient(135deg, #0EA5E9, #0284C7); }
.feature-icon-store   { background: linear-gradient(135deg, #10B981, #059669); }
.feature-icon-ai      { background: linear-gradient(135deg, #F59E0B, #D97706); }
.feature-icon-shield  { background: linear-gradient(135deg, #EF4444, #DC2626); }
.feature-icon-support { background: linear-gradient(135deg, #8B5CF6, #6D28D9); }
.feature-title { font-size: 1.05rem; font-weight: 700; color: var(--c-text-dark); margin-bottom: 10px; line-height: 1.4; }
.feature-desc  { font-size: 0.875rem; color: var(--c-text-dark-2); line-height: 1.75; }

/* ── 15. How It Works ────────────────────────────────────────────────────── */
.how-section { padding: var(--section-py) 0; background: var(--c-light-2); }
.how-tabs {
  display: flex; gap: 12px; justify-content: center;
  margin-bottom: 56px; flex-wrap: wrap;
}
.how-tab-btn {
  display: flex; align-items: center; gap: 10px; padding: 12px 26px;
  border-radius: var(--r-full); font-size: 0.9rem; font-weight: 600;
  font-family: inherit; color: var(--c-text-muted);
  background: #fff; border: 1px solid var(--c-light-border);
  transition: all var(--t-base); cursor: pointer; box-shadow: var(--s-card);
}
.how-tab-btn:hover { color: var(--c-primary); border-color: rgba(124,58,237,0.3); }
.how-tab-btn.active {
  background: var(--g-primary); color: #fff;
  border-color: transparent; box-shadow: var(--s-primary-sm);
}
.how-tab-num { font-size: 0.72rem; font-weight: 800; opacity: 0.55; }
.how-tab-btn.active .how-tab-num { opacity: 0.75; }

.how-steps { max-width: 620px; margin: 0 auto; }
.how-step  { display: flex; gap: 22px; }
.how-step-left { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; }
.how-step-circle {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--g-primary); display: flex; align-items: center;
  justify-content: center; box-shadow: var(--s-primary-sm); flex-shrink: 0;
}
.how-step-num  { color: #fff; font-size: 0.8rem; font-weight: 800; }
.how-step-line {
  width: 2px; flex: 1; min-height: 32px;
  background: linear-gradient(to bottom, rgba(124,58,237,0.4), rgba(124,58,237,0.05));
  margin: 8px 0; border-radius: 2px;
}
.how-step-body  { padding-bottom: 40px; padding-top: 14px; }
.how-step-title { font-size: 1.05rem; font-weight: 700; color: var(--c-text-on-light); margin-bottom: 8px; }
.how-step-desc  { font-size: 0.9rem; color: var(--c-text-muted); line-height: 1.75; }

/* ── 16. Download (gradient bg) ──────────────────────────────────────────── */
.download-section { padding: var(--section-py) 0; position: relative; overflow: hidden; }
.download-bg { position: absolute; inset: 0; background: var(--g-download); }
.dl-blob { position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none; }
.dl-blob-1 { width: 500px; height: 500px; background: rgba(255,255,255,0.07); top: -150px; inset-inline-start: -100px; }
.dl-blob-2 { width: 400px; height: 400px; background: rgba(0,0,0,0.15); bottom: -100px; inset-inline-end: -50px; }

.download-inner  { position: relative; z-index: 1; display: flex; align-items: center; gap: clamp(40px,6vw,80px); }
.download-content { flex: 1; min-width: 0; }
.download-title {
  font-size: clamp(2rem,4vw,3.25rem); font-weight: 900; color: #fff;
  line-height: 1.15; margin: 16px 0 18px; letter-spacing: -0.02em;
}
.download-subtitle {
  font-size: clamp(0.95rem,1.5vw,1.1rem); color: rgba(255,255,255,0.75);
  line-height: 1.78; margin-bottom: 36px; max-width: 460px;
}
.download-btns { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 22px; }
.download-note { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,0.6); font-size: 0.85rem; }
.download-note svg { color: #4ADE80; flex-shrink: 0; }

.download-visual { flex-shrink: 0; }
.dl-phone-wrap   { animation: float 6s ease-in-out infinite 0.5s; }
.dl-phone-device {
  width: 220px; height: 440px; border-radius: 36px;
  border: 6px solid rgba(255,255,255,0.2); overflow: hidden;
  background: rgba(255,255,255,0.07); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 40px 80px rgba(0,0,0,0.3);
}
.dl-phone-notch { width: 70px; height: 16px; background: rgba(0,0,0,0.3); border-radius: var(--r-full); margin: 12px auto 0; }
.dl-phone-screen { padding: 14px 20px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.dl-app-icon     { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.dl-hex {
  font-size: 2.4rem; line-height: 1;
  background: linear-gradient(135deg, #fff, rgba(255,255,255,0.7));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.dl-app-name     { font-size: 1.15rem; font-weight: 800; color: #fff; }
.dl-stars        { color: #FBBF24; font-size: 1rem; letter-spacing: 2px; }
.dl-rating-text  { color: rgba(255,255,255,0.6); font-size: 0.72rem; }
.dl-divider      { width: 100%; height: 1px; background: rgba(255,255,255,0.15); margin: 2px 0; }
.dl-feature-row  {
  display: flex; align-items: center; gap: 8px; width: 100%;
  text-align: start; color: rgba(255,255,255,0.85); font-size: 0.78rem; font-weight: 500;
}
.dl-check {
  width: 18px; height: 18px; border-radius: 50%; background: rgba(74,222,128,0.18);
  color: #4ADE80; display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700; flex-shrink: 0;
}
.dl-install-btn {
  margin-top: 6px; width: 100%; padding: 10px; border-radius: 10px;
  background: rgba(255,255,255,0.14); color: #fff; font-size: 0.78rem; font-weight: 700;
  text-align: center; border: 1px solid rgba(255,255,255,0.2);
}

/* ── 17. Testimonials ────────────────────────────────────────────────────── */
.testimonials-section { padding: var(--section-py) 0; background: #fff; }
.testimonials-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; }
.testimonial-card {
  padding: 32px; border-radius: var(--r-xl);
  background: var(--c-light-2); border: 1px solid var(--c-light-border);
  transition: all var(--t-base);
}
.testimonial-card:hover {
  transform: translateY(-6px); background: #fff;
  box-shadow: var(--s-card-hover); border-color: rgba(124,58,237,0.2);
}
.testimonial-stars          { display: flex; gap: 3px; margin-bottom: 16px; }
.testimonial-stars span     { color: #FBBF24; font-size: 1.05rem; }
.testimonial-text           { font-size: 0.92rem; color: var(--c-text-on-light); line-height: 1.78; margin-bottom: 24px; }
.testimonial-author         { display: flex; align-items: center; gap: 14px; padding-top: 18px; border-top: 1px solid var(--c-light-border); }
.testimonial-avatar {
  width: 44px; height: 44px; border-radius: 50%; background: var(--g-primary);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 0.85rem; font-weight: 700; flex-shrink: 0;
}
.testimonial-name { font-size: 0.9rem; font-weight: 700; color: var(--c-text-on-light); }
.testimonial-role { font-size: 0.78rem; color: var(--c-text-muted); margin-top: 2px; }

/* ── 18. Footer ──────────────────────────────────────────────────────────── */
.footer { background: var(--c-dark); padding-top: clamp(60px,8vw,100px); }
.footer-inner {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px;
  padding-bottom: 56px; border-bottom: 1px solid var(--c-dark-border);
}
.footer-brand { max-width: 300px; }
.footer-logo  { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-tagline { font-size: 1rem; font-weight: 700; color: var(--c-text-dark); margin-bottom: 10px; }
.footer-desc    { font-size: 0.875rem; color: var(--c-text-dark-2); line-height: 1.75; margin-bottom: 24px; }
.footer-socials { display: flex; gap: 10px; }
.social-btn {
  width: 38px; height: 38px; border-radius: var(--r-sm);
  background: rgba(255,255,255,0.06); border: 1px solid var(--c-dark-border);
  display: flex; align-items: center; justify-content: center;
  color: var(--c-text-dark-2); transition: all var(--t-base);
}
.social-btn:hover { background: rgba(124,58,237,0.2); border-color: rgba(124,58,237,0.3); color: var(--c-primary-light); transform: translateY(-2px); }
.footer-col-title { font-size: 0.78rem; font-weight: 700; color: var(--c-text-dark); margin-bottom: 20px; letter-spacing: 0.06em; text-transform: uppercase; }
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a { font-size: 0.875rem; color: var(--c-text-dark-2); transition: color var(--t-fast); }
.footer-links a:hover { color: var(--c-primary-light); }
.footer-contact-link { display: flex; align-items: center; gap: 8px; }
.footer-bottom { padding: 22px 0; }
.footer-bottom p { color: var(--c-text-dark-2); font-size: 0.8rem; text-align: center; }

/* ── 19. Scroll-triggered Animations ─────────────────────────────────────── */
[data-animate] {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
[data-animate][data-delay="1"] { transition-delay: 0.1s; }
[data-animate][data-delay="2"] { transition-delay: 0.2s; }
[data-animate][data-delay="3"] { transition-delay: 0.3s; }
[data-animate][data-delay="4"] { transition-delay: 0.4s; }
[data-animate][data-delay="5"] { transition-delay: 0.5s; }
[data-animate][data-delay="6"] { transition-delay: 0.6s; }
[data-animate].animate-in { opacity: 1; transform: translateY(0); }

/* ── 20. Blazor Error UI ─────────────────────────────────────────────────── */
#blazor-error-ui {
  display: none; position: fixed; bottom: 20px; inset-inline: 20px;
  background: #EF4444; color: #fff; padding: 12px 20px; border-radius: var(--r-md);
  font-size: 0.875rem; z-index: 9999; align-items: center;
  justify-content: space-between; box-shadow: 0 8px 24px rgba(239,68,68,0.3);
}
.reload  { color: #fff; font-weight: 600; text-decoration: underline; }
.dismiss { cursor: pointer; padding: 0 4px; font-size: 1.1rem; }

/* ── 21. Responsive ──────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner  { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .hero-inner         { flex-direction: column; text-align: center; align-items: flex-start; }
  .hero-content       { max-width: 100%; }
  .hero-ctas          { justify-content: flex-start; }
  [dir="rtl"] .hero-inner  { align-items: flex-end; }
  [dir="rtl"] .hero-ctas   { justify-content: flex-end; }
  .hero-visual        { display: none; }
  .stats-grid         { grid-template-columns: repeat(2, 1fr); }
  .how-steps          { max-width: 100%; }
  .download-inner     { flex-direction: column; text-align: center; align-items: flex-start; }
  .download-btns      { justify-content: flex-start; }
  .download-visual    { display: none; }
  .testimonials-grid  { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .footer-inner       { grid-template-columns: 1fr 1fr; }
  .footer-brand       { grid-column: 1 / -1; max-width: 100%; }
}

@media (max-width: 640px) {
  .navbar-links     { display: none; }
  .navbar-hamburger { display: flex; }

  .navbar-mobile {
    display: flex; flex-direction: column; gap: 4px;
    position: absolute; top: 100%; inset-inline: 0;
    background: rgba(8,7,20,0.97); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
    padding: 0 20px; max-height: 0; overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    border-bottom: 1px solid var(--c-dark-border);
  }
  .navbar-mobile.open { max-height: 420px; padding: 16px 20px 24px; }
  .navbar-mobile .nav-link {
    color: var(--c-text-dark-2); padding: 12px 4px;
    border-bottom: 1px solid var(--c-dark-border);
  }
  .mobile-actions { display: flex; align-items: center; gap: 12px; padding-top: 16px; flex-wrap: wrap; }
  .btn-lang-full  { flex: 1; text-align: center; }

  .features-grid  { grid-template-columns: 1fr; }
  .stats-grid     { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .footer-inner   { grid-template-columns: 1fr; }
  .how-tab-btn    { padding: 10px 18px; font-size: 0.85rem; }
}

/* ==========================================================================
   LEGAL PAGES
   ========================================================================== */
.legal-page { min-height: 100vh; display: flex; flex-direction: column; }

.legal-hero {
  background: var(--c-dark); padding: clamp(80px,10vw,120px) 0 clamp(40px,5vw,60px);
  text-align: center;
}
.legal-hero .badge { margin: 0 auto 18px; }
.legal-hero h1 {
  font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800;
  color: var(--c-text-dark); margin-bottom: 10px;
}
.legal-hero-meta { color: var(--c-text-dark-2); font-size: 0.88rem; }

[data-theme="light"] .legal-hero { background: #F4F2FF; }
[data-theme="light"] .legal-hero h1 { color: #1E1B4B; }
[data-theme="light"] .legal-hero-meta { color: rgba(30,27,75,0.6); }

/* Legal body — dark mode is the default (matches site default theme) */
.legal-body {
  flex: 1; background: var(--c-dark-2);
  padding: clamp(48px,6vw,80px) 0 clamp(64px,8vw,100px);
}
.legal-container { max-width: 800px; margin: 0 auto; padding: 0 clamp(20px,5vw,40px); }

.legal-intro {
  background: rgba(124,58,237,0.12); border: 1px solid rgba(124,58,237,0.25);
  border-radius: var(--r-lg); padding: 22px 26px; margin-bottom: 48px;
}
.legal-intro p { font-size: 0.95rem; color: var(--c-text-dark); line-height: 1.8; margin: 0; }

.legal-toc {
  background: var(--c-dark-3); border: 1px solid var(--c-dark-border);
  border-radius: var(--r-lg); padding: 22px 26px; margin-bottom: 48px;
}
.legal-toc h3 { font-size: 0.82rem; font-weight: 700; color: var(--c-text-dark-2); text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 14px; }
.legal-toc ol { display: flex; flex-direction: column; gap: 8px; }
.legal-toc li { font-size: 0.88rem; color: var(--c-text-dark); font-weight: 500; cursor: default; }

.legal-section { margin-bottom: 44px; }
.legal-section-num {
  font-size: 0.75rem; font-weight: 700; color: var(--c-text-dark-2);
  text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 8px;
}
.legal-section h2 {
  font-size: 1.2rem; font-weight: 700; color: var(--c-text-dark);
  margin-bottom: 14px; padding-bottom: 12px;
  border-bottom: 1px solid var(--c-dark-border);
}
.legal-section p {
  font-size: 0.92rem; line-height: 1.9; color: var(--c-text-dark-2); margin-bottom: 10px;
}
.legal-section p:last-child { margin-bottom: 0; }
.legal-section ul { display: flex; flex-direction: column; gap: 8px; margin: 10px 0 14px; padding-inline-start: 20px; }
.legal-section li { font-size: 0.92rem; line-height: 1.75; color: var(--c-text-dark-2); list-style: disc; }
.legal-section strong { color: var(--c-text-dark); font-weight: 600; }
.legal-section a { color: var(--c-primary-light); text-decoration: underline; }

.legal-highlight {
  background: rgba(124,58,237,0.14); border-inline-start: 3px solid rgba(167,139,250,0.6);
  border-radius: 0 var(--r-sm) var(--r-sm) 0; padding: 14px 18px; margin: 16px 0;
}
[dir="rtl"] .legal-highlight { border-radius: var(--r-sm) 0 0 var(--r-sm); }
.legal-highlight p { color: var(--c-text-dark); font-weight: 500; margin: 0; }

.legal-contact-box {
  background: var(--c-dark-3); border: 1px solid var(--c-dark-border);
  border-radius: var(--r-lg); padding: 24px 28px;
}
.legal-contact-box h3 { font-size: 1rem; font-weight: 700; color: var(--c-text-dark); margin-bottom: 12px; }
.legal-contact-box p { font-size: 0.9rem; color: var(--c-text-dark-2); margin-bottom: 6px; }

/* Light mode overrides for legal body */
[data-theme="light"] .legal-body { background: var(--c-light); }
[data-theme="light"] .legal-intro { background: rgba(124,58,237,0.06); border-color: rgba(124,58,237,0.14); }
[data-theme="light"] .legal-intro p { color: var(--c-text-on-light); }
[data-theme="light"] .legal-toc { background: var(--c-light-2); border-color: var(--c-light-border); }
[data-theme="light"] .legal-toc h3 { color: var(--c-text-muted); }
[data-theme="light"] .legal-toc li { color: var(--c-text-on-light); }
[data-theme="light"] .legal-section-num { color: var(--c-text-muted); }
[data-theme="light"] .legal-section h2 { color: var(--c-text-on-light); border-bottom-color: var(--c-light-border); }
[data-theme="light"] .legal-section p { color: var(--c-text-muted); }
[data-theme="light"] .legal-section li { color: var(--c-text-muted); }
[data-theme="light"] .legal-section strong { color: var(--c-text-on-light); }
[data-theme="light"] .legal-section a { color: var(--c-primary); }
[data-theme="light"] .legal-highlight { background: rgba(124,58,237,0.06); border-inline-start-color: var(--c-primary); }
[data-theme="light"] .legal-highlight p { color: var(--c-text-on-light); }
[data-theme="light"] .legal-contact-box { background: var(--c-light-2); border-color: var(--c-light-border); }
[data-theme="light"] .legal-contact-box h3 { color: var(--c-text-on-light); }
[data-theme="light"] .legal-contact-box p { color: var(--c-text-muted); }

/* ==========================================================================
   THEME TOGGLE BUTTON (both modes)
   ========================================================================== */
.btn-theme {
  width: 36px; height: 36px; border-radius: var(--r-full);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  background: rgba(124,58,237,0.12); border: 1px solid rgba(167,139,250,0.35);
  color: var(--c-primary-light); transition: all var(--t-base);
}
.btn-theme svg { width: 18px; height: 18px; display: block; }
.btn-theme:hover { background: rgba(124,58,237,0.22); transform: scale(1.08); }

/* ==========================================================================
   LIGHT THEME  (data-theme="light" on <html>)
   Footer is intentionally excluded — stays dark in both modes.
   ========================================================================== */

/* ── Buttons & Badges ────────────────────────────────────────────────────── */
[data-theme="light"] .btn-lang {
  background: rgba(124,58,237,0.08); border-color: rgba(124,58,237,0.22); color: var(--c-primary);
}
[data-theme="light"] .btn-lang:hover { background: rgba(124,58,237,0.15); }
[data-theme="light"] .btn-theme {
  background: rgba(124,58,237,0.08); border-color: rgba(124,58,237,0.2); color: var(--c-primary);
}
[data-theme="light"] .btn-theme:hover { background: rgba(124,58,237,0.15); }
[data-theme="light"] .badge-light  { background: rgba(124,58,237,0.07); border-color: rgba(124,58,237,0.15); color: var(--c-primary); }
[data-theme="light"] .badge-purple { background: rgba(124,58,237,0.07); border-color: rgba(124,58,237,0.18); color: var(--c-primary-dark); }

/* ── Hero ────────────────────────────────────────────────────────────────── */
[data-theme="light"] .hero-bg {
  background:
    radial-gradient(ellipse 80% 70% at 75% 40%, rgba(124,58,237,0.13) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(245,158,11,0.07) 0%, transparent 55%),
    linear-gradient(180deg, #F4F2FF 0%, #EBE8FF 100%);
}
[data-theme="light"] .blob-1 { background: rgba(124,58,237,0.11); }
[data-theme="light"] .blob-2 { background: rgba(245,158,11,0.08); }
[data-theme="light"] .blob-3 { background: rgba(6,182,212,0.07); }

[data-theme="light"] .hero-title   { color: #1E1B4B; }
[data-theme="light"] .hero-subtitle { color: rgba(30,27,75,0.65); }

[data-theme="light"] .badge-glow {
  background: rgba(124,58,237,0.1); border-color: rgba(124,58,237,0.25);
  color: var(--c-primary-dark); box-shadow: 0 0 16px rgba(124,58,237,0.1);
}

[data-theme="light"] .btn-store { border-color: rgba(30,27,75,0.14); }
[data-theme="light"] .btn-store-apple,
[data-theme="light"] .btn-store-google { background: rgba(30,27,75,0.07); color: #1E1B4B; }
[data-theme="light"] .btn-store:hover  { background: rgba(30,27,75,0.12); border-color: rgba(30,27,75,0.22); box-shadow: 0 14px 36px rgba(124,58,237,0.14); }
[data-theme="light"] .store-label small { color: rgba(30,27,75,0.5); }

[data-theme="light"] .scroll-mouse { border-color: rgba(30,27,75,0.2); }
[data-theme="light"] .scroll-wheel  { background: rgba(30,27,75,0.3); }

/* ── Navbar ──────────────────────────────────────────────────────────────── */
[data-theme="light"] .navbar.scrolled {
  background: rgba(244,242,255,0.92);
  border-bottom-color: rgba(124,58,237,0.1);
}
[data-theme="light"] .navbar .logo-mark { color: #1E1B4B; }
[data-theme="light"] .navbar .logo-text { color: #1E1B4B; }
[data-theme="light"] .nav-link  { color: rgba(30,27,75,0.65); }
[data-theme="light"] .nav-link:hover { color: #1E1B4B; background: rgba(124,58,237,0.07); }
[data-theme="light"] .navbar-hamburger { background: rgba(124,58,237,0.08); }
[data-theme="light"] .navbar-hamburger span { background: #1E1B4B; }

@media (max-width: 640px) {
  [data-theme="light"] .navbar-mobile {
    background: rgba(244,242,255,0.97);
    -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
    border-bottom-color: rgba(124,58,237,0.1);
  }
  [data-theme="light"] .navbar-mobile .nav-link {
    color: rgba(30,27,75,0.65);
    border-bottom-color: rgba(124,58,237,0.1);
  }
}

/* ── Features (for when section is re-enabled) ───────────────────────────── */
[data-theme="light"] .features-section { background: #EBE8FF; }
[data-theme="light"] .features-section::before {
  background:
    radial-gradient(ellipse 70% 60% at 80% 20%, rgba(124,58,237,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 20% 80%, rgba(245,158,11,0.05) 0%, transparent 50%);
}
[data-theme="light"] .features-section .section-title    { color: #1E1B4B; }
[data-theme="light"] .features-section .section-subtitle { color: rgba(30,27,75,0.65); }
[data-theme="light"] .feature-card {
  background: rgba(255,255,255,0.72); border-color: rgba(124,58,237,0.12);
}
[data-theme="light"] .feature-card:hover {
  background: rgba(255,255,255,0.96);
  box-shadow: 0 20px 60px rgba(124,58,237,0.12), 0 0 0 1px rgba(124,58,237,0.15);
}
[data-theme="light"] .feature-title { color: #1E1B4B; }
[data-theme="light"] .feature-desc  { color: rgba(30,27,75,0.65); }

/* ── How It Works (for when section is re-enabled) ───────────────────────── */
[data-theme="light"] .how-it-works-section { background: #F4F2FF; }
[data-theme="light"] .how-it-works-section .section-title    { color: #1E1B4B; }
[data-theme="light"] .how-it-works-section .section-subtitle { color: rgba(30,27,75,0.65); }
[data-theme="light"] .how-tab-btn {
  color: rgba(30,27,75,0.6); border-color: rgba(124,58,237,0.15); background: transparent;
}
[data-theme="light"] .how-tab-btn:hover { background: rgba(124,58,237,0.07); color: #1E1B4B; }
[data-theme="light"] .how-step-num   { color: rgba(30,27,75,0.15); }
[data-theme="light"] .how-step-title { color: #1E1B4B; }
[data-theme="light"] .how-step-desc  { color: rgba(30,27,75,0.65); }
