/* ─── Variables ─────────────────────────────────────────────── */
:root {
  --teal:   #0F766E;
  --teal-l: #14B8A6;
  --navy:   #0A1628;
  --gold:   #F59E0B;
  --gold-d: #D97706;
  --green:  #16A34A;
  --red:    #DC2626;
  --s9:     #0F172A;
  --s8:     #1E293B;
  --s7:     #334155;
  --s6:     #475569;
  --s5:     #64748B;
  --s4:     #94A3B8;
  --s3:     #CBD5E1;
  --s2:     #E2E8F0;
  --s1:     #F1F5F9;
  --s0:     #F8FAFC;
  --white:  #FFFFFF;

  --bg:          var(--s0);
  --surface:     var(--white);
  --surface2:    var(--s1);
  --text-1:      var(--s9);
  --text-2:      var(--s6);
  --text-3:      var(--s4);
  --border:      var(--s2);
  --shadow-card: 0 4px 24px rgba(15,118,110,.09);
  --shadow-nav:  0 2px 20px rgba(15,118,110,.1);

  --grad-primary: linear-gradient(135deg, #0F766E, #14B8A6);
  --grad-hero:    linear-gradient(135deg, #0F766E 0%, #0a2540 55%, #0A1628 100%);
  --grad-gold:    linear-gradient(135deg, #F59E0B, #D97706);

  --radius-card: 20px;
  --radius-btn:  14px;
  --radius-pill: 99px;

  --font: 'Noto Sans Arabic', 'Inter', sans-serif;
  --transition: .25s cubic-bezier(.4,0,.2,1);
}

/* Dark mode */
.dark {
  --bg:       #0a0f1e;
  --surface:  #111827;
  --surface2: #1a2235;
  --text-1:   #F1F5F9;
  --text-2:   #94A3B8;
  --text-3:   #475569;
  --border:   #1E293B;
  --shadow-card: 0 4px 24px rgba(0,0,0,.3);
  --shadow-nav:  0 2px 20px rgba(0,0,0,.4);
}

/* ─── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text-1);
  transition: background var(--transition), color var(--transition);
  overflow-x: hidden;
  direction: rtl;
}
body[data-lang="en"], body[data-lang="fr"] { direction: ltr; }

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; font-family: var(--font); }

/* ─── Container ─────────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── Gradient text ─────────────────────────────────────────── */
.gradient-text {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── NAVBAR ────────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition), box-shadow var(--transition);
}
.dark .navbar {
  background: rgba(10,15,30,.85);
}
.navbar.scrolled { box-shadow: var(--shadow-nav); }
.nav-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 64px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--teal);
  flex-shrink: 0;
}
.logo-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--grad-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
}
.logo-text { color: var(--text-1); }
.nav-links {
  display: flex;
  gap: 6px;
  margin-right: auto;
}
body[data-lang="en"] .nav-links,
body[data-lang="fr"] .nav-links { margin-right: 0; margin-left: auto; }
.nav-links a {
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: .9rem;
  font-weight: 500;
  color: var(--text-2);
  transition: all var(--transition);
}
.nav-links a:hover { background: var(--surface2); color: var(--teal); }
.nav-actions { display: flex; align-items: center; gap: 10px; }

/* Lang switcher */
.lang-switcher {
  display: flex;
  background: var(--surface2);
  border-radius: var(--radius-pill);
  padding: 3px;
  gap: 2px;
}
.lang-btn {
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: .78rem;
  font-weight: 600;
  color: var(--text-3);
  background: none;
  transition: all var(--transition);
}
.lang-btn.active {
  background: var(--grad-primary);
  color: white;
}

/* Theme toggle */
.theme-toggle {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--surface2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all var(--transition);
}
.theme-toggle:hover { background: var(--border); }
.light .icon-moon { display: none; }
.dark .icon-sun { display: none; }

/* Nav CTA */
.nav-cta {
  padding: 8px 18px;
  border-radius: var(--radius-btn);
  background: var(--grad-primary);
  color: white;
  font-size: .85rem;
  font-weight: 600;
  transition: opacity var(--transition), transform var(--transition);
  white-space: nowrap;
}
.nav-cta:hover { opacity: .9; transform: translateY(-1px); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 4px;
}
.hamburger span {
  width: 22px; height: 2px;
  background: var(--text-1);
  border-radius: 2px;
  transition: all var(--transition);
}
.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 12px 24px 16px;
  border-top: 1px solid var(--border);
  gap: 4px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 10px 14px;
  border-radius: 10px;
  font-size: .95rem;
  font-weight: 500;
  color: var(--text-2);
  transition: all var(--transition);
}
.mobile-menu a:hover { background: var(--surface2); color: var(--teal); }

/* ─── Animations ─────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}
@keyframes floatY2 {
  0%, 100% { transform: translateY(-6px); }
  50%       { transform: translateY(6px); }
}
@keyframes floatY3 {
  0%, 100% { transform: translateY(4px); }
  50%       { transform: translateY(-8px); }
}
@keyframes pulse-orb {
  0%, 100% { transform: scale(1); opacity: .5; }
  50%       { transform: scale(1.08); opacity: .7; }
}
@keyframes loadbar {
  0%   { width: 20%; }
  50%  { width: 80%; }
  100% { width: 20%; }
}
@keyframes scrollDot {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50%       { transform: translateY(8px); opacity: .4; }
}

.animate-fade-up     { opacity: 0; animation: fadeUp .7s ease forwards; }
.delay-1             { animation-delay: .15s; }
.delay-2             { animation-delay: .3s; }
.delay-3             { animation-delay: .45s; }
.delay-4             { animation-delay: .6s; }
.animate-float       { animation: floatY 4s ease-in-out infinite; }
.animate-float-2     { animation: floatY2 3.5s ease-in-out infinite; }
.animate-float-3     { animation: floatY3 4.5s ease-in-out infinite; }

.animate-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── HERO ───────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  padding: 100px 0 60px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero-bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: pulse-orb 6s ease-in-out infinite;
  pointer-events: none;
}
.orb1 {
  width: 500px; height: 500px;
  background: rgba(15,118,110,.12);
  top: -100px; right: -100px;
}
.orb2 {
  width: 400px; height: 400px;
  background: rgba(20,184,166,.08);
  bottom: 50px; left: -80px;
  animation-delay: 2s;
}
.orb3 {
  width: 300px; height: 300px;
  background: rgba(245,158,11,.06);
  top: 40%; right: 40%;
  animation-delay: 4s;
}
.hero .container {
  display: flex;
  align-items: center;
  gap: 64px;
  position: relative;
  z-index: 1;
}
.hero-content { flex: 1; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(15,118,110,.1);
  border: 1px solid rgba(15,118,110,.2);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: .85rem;
  font-weight: 600;
  color: var(--teal);
  margin-bottom: 20px;
}
.badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--teal);
  animation: pulse-orb 2s ease-in-out infinite;
}
.hero-title {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--text-1);
}
.hero-desc {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-2);
  max-width: 520px;
  margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-btn);
  background: var(--grad-primary);
  color: white;
  font-size: 1rem;
  font-weight: 700;
  transition: all var(--transition);
  box-shadow: 0 6px 24px rgba(15,118,110,.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(15,118,110,.4); }
.btn-primary.btn-large { padding: 16px 32px; font-size: 1.05rem; }
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: var(--radius-btn);
  background: var(--surface);
  border: 1.5px solid var(--border);
  color: var(--text-1);
  font-size: 1rem;
  font-weight: 600;
  transition: all var(--transition);
}
.btn-ghost:hover { border-color: var(--teal); color: var(--teal); background: rgba(15,118,110,.04); }
.hero-stats {
  display: flex;
  align-items: center;
  gap: 28px;
}
.hero-stat { text-align: center; }
.stat-num { display: block; font-size: 1.5rem; font-weight: 800; color: var(--teal); }
.stat-lbl { font-size: .8rem; color: var(--text-3); }
.stat-divider { width: 1px; height: 36px; background: var(--border); }

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px; height: 38px;
  border: 2px solid var(--s3);
  border-radius: var(--radius-pill);
  display: flex;
  justify-content: center;
  padding-top: 6px;
}
.scroll-dot {
  width: 5px; height: 5px;
  background: var(--teal);
  border-radius: 50%;
  animation: scrollDot 1.6s ease-in-out infinite;
}

/* ─── Phone theme variables (used in inline-style CSS vars) ─── */
.phone-screen, .screen-phone {
  --pb:   #F8FAFC;
  --ps:   #FFFFFF;
  --ps2:  #F1F5F9;
  --pt1:  #0F172A;
  --pt2:  #475569;
  --pbr:  #F1F5F9;
  --pbr2: #E2E8F0;
}
.dark .phone-screen, .dark .screen-phone {
  --pb:   #0D1B2E;
  --ps:   #1A2742;
  --ps2:  #152035;
  --pt1:  #E8F0FE;
  --pt2:  #94A3B8;
  --pbr:  #1E2D45;
  --pbr2: #243350;
}

/* ─── Hero phone dark overrides ──────────────────────────────── */
.dark .phone-screen         { background: var(--pb); }
.dark .mock-statusbar       { color: var(--pt1); }
.dark .mock-greeting        { color: var(--pt1); }
.dark .mock-date            { color: var(--pt2); }
.dark .mock-icon-btn        { background: rgba(20,184,166,.12); }
.dark .mock-section-title   { color: var(--pt1); }
.dark .mock-card            { background: var(--ps); box-shadow: 0 2px 12px rgba(0,0,0,.35); }
.dark .mock-tx              { border-bottom-color: var(--pbr); }
.dark .mock-tx-name         { color: var(--pt1); }
.dark .mock-tx-date         { color: var(--pt2); }
.dark .mock-bottom-nav      { background: var(--ps); box-shadow: 0 -4px 20px rgba(0,0,0,.3); }
.dark .mock-nav-lbl         { color: var(--pt2); }
.dark .mock-nav-item.active .mock-nav-lbl { color: var(--teal-l); }
.dark .float-card           { background: var(--surface); border-color: var(--border); color: var(--text-1); }

/* ─── Phone mockup ───────────────────────────────────────────── */
.hero-phone {
  position: relative;
  flex-shrink: 0;
}
.phone-shell {
  width: 280px;
  height: 590px;
  border-radius: 44px;
  background: var(--white);
  box-shadow: 0 0 0 9px #1e293b, 0 0 0 11px #475569, 0 40px 80px rgba(0,0,0,.4);
  overflow: hidden;
  position: relative;
}
.phone-notch {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 80px; height: 24px;
  background: #1e293b;
  border-radius: 0 0 16px 16px;
  z-index: 10;
}
.phone-screen {
  width: 100%; height: 100%;
  background: var(--s0);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  direction: rtl;
}
.mock-statusbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px 4px;
  font-size: 9px;
  font-weight: 700;
  color: var(--s9);
}
.mock-topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px 6px;
}
.mock-avatar {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--grad-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}
.mock-greeting { font-size: 11px; font-weight: 700; color: var(--s9); }
.mock-date { font-size: 9px; color: var(--s4); }
.mock-icon-btn {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: rgba(15,118,110,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}
.mock-hero-card {
  margin: 6px 10px 0;
  background: var(--grad-hero);
  border-radius: 14px;
  padding: 12px 14px;
  color: white;
}
.mock-balance-lbl { font-size: 9px; opacity: .8; margin-bottom: 2px; }
.mock-balance { font-size: 20px; font-weight: 800; margin-bottom: 10px; }
.mock-chips-row { display: flex; gap: 6px; }
.mock-chip {
  flex: 1;
  background: rgba(255,255,255,.12);
  border-radius: 8px;
  padding: 5px 7px;
}
.mock-chip-lbl { font-size: 8px; opacity: .8; margin-bottom: 2px; }
.mock-chip-val { font-size: 10px; font-weight: 700; }
.mock-chip.green .mock-chip-val { color: #4ade80; }
.mock-chip.red   .mock-chip-val { color: #f87171; }
.mock-chip.gold  .mock-chip-val { color: #fcd34d; }
.mock-section-title {
  font-size: 10px;
  font-weight: 700;
  color: var(--s9);
  padding: 8px 12px 4px;
}
.mock-card {
  margin: 0 10px;
  background: white;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(15,118,110,.08);
  padding: 6px 10px;
}
.mock-tx {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px solid var(--s1);
}
.mock-tx-icon {
  width: 28px; height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
}
.mock-tx-info { flex: 1; }
.mock-tx-name { font-size: 10px; font-weight: 600; color: var(--s9); }
.mock-tx-date { font-size: 8px; color: var(--s4); }
.mock-tx-amt { font-size: 11px; font-weight: 700; }
.mock-tx-amt.green { color: var(--green); }
.mock-tx-amt.red   { color: var(--red); }
.mock-bottom-nav {
  margin: auto 10px 8px;
  background: white;
  border-radius: 20px;
  padding: 6px 10px;
  box-shadow: 0 -4px 20px rgba(15,118,110,.12);
  display: flex;
  align-items: center;
  justify-content: space-around;
}
.mock-nav-item { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.mock-nav-icon { font-size: 14px; }
.mock-nav-lbl { font-size: 7.5px; color: var(--s4); }
.mock-nav-item.active .mock-nav-lbl { color: var(--teal); }
.mock-fab {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--grad-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 300;
  box-shadow: 0 4px 12px rgba(15,118,110,.35);
}

/* Floating cards */
.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 7px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 8px 14px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-1);
  box-shadow: 0 8px 32px rgba(15,118,110,.15);
  white-space: nowrap;
  z-index: 5;
}
.float-card-1 { top: 60px; left: -80px; }
.float-card-2 { bottom: 120px; left: -90px; }
.float-card-3 { top: 220px; right: -80px; }

/* ─── TRUST BAR ──────────────────────────────────────────────── */
.trust-bar {
  padding: 20px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface2);
}
.trust-bar .container {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.trust-lbl {
  font-size: .85rem;
  font-weight: 600;
  color: var(--text-3);
  white-space: nowrap;
}
.trust-flags {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.trust-flags span {
  font-size: .88rem;
  color: var(--text-2);
  display: flex;
  align-items: center;
  gap: 5px;
}

/* ─── Section header ─────────────────────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: 52px;
}
.section-badge {
  display: inline-block;
  padding: 5px 16px;
  background: rgba(15,118,110,.1);
  color: var(--teal);
  border-radius: var(--radius-pill);
  font-size: .8rem;
  font-weight: 700;
  margin-bottom: 14px;
}
.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  line-height: 1.25;
  color: var(--text-1);
  margin-bottom: 14px;
}
.section-desc {
  font-size: 1rem;
  color: var(--text-2);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ─── FEATURES ───────────────────────────────────────────────── */
.features {
  padding: 100px 0;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feat-large {
  grid-column: span 2;
}
.feature-card {
  background: var(--surface);
  border-radius: var(--radius-card);
  padding: 28px;
  border: 1px solid var(--border);
  transition: all var(--transition);
  box-shadow: var(--shadow-card);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(15,118,110,.14);
  border-color: rgba(15,118,110,.2);
}
.feat-icon-wrap {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}
.feat-icon-wrap.teal  { background: rgba(15,118,110,.12); color: var(--teal); }
.feat-icon-wrap.gold  { background: rgba(245,158,11,.12); color: var(--gold); }
.feat-icon-wrap.green { background: rgba(22,163,74,.12); color: var(--green); }
.feat-icon-wrap.navy  { background: rgba(10,22,40,.1); color: var(--s8); }
.dark .feat-icon-wrap.navy { background: rgba(255,255,255,.08); color: var(--s3); }
.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 10px;
}
.feature-card p {
  font-size: .92rem;
  color: var(--text-2);
  line-height: 1.7;
}
.feat-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.feat-tags span {
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: rgba(15,118,110,.08);
  color: var(--teal);
  font-size: .78rem;
  font-weight: 600;
}

/* ─── SCREENS SECTION ────────────────────────────────────────── */
.screens-section { padding: 100px 0; background: var(--surface2); }
.screens-track-wrap {
  position: relative;
  overflow-x: hidden;
  overflow-y: visible;
  padding: 24px 0 32px;
}
.screens-track {
  display: flex;
  gap: 24px;
  transition: transform .5s cubic-bezier(.4,0,.2,1);
}
.screen-card { flex-shrink: 0; text-align: center; }
.screen-phone {
  width: 200px;
  height: 420px;
  border-radius: 32px;
  background: white;
  box-shadow: 0 0 0 7px #1e293b, 0 0 0 9px #475569, 0 24px 60px rgba(0,0,0,.3);
  overflow: hidden;
  position: relative;
  margin: 0 auto 14px;
}
.dark .screen-phone {
  background: #1e293b;
  box-shadow: 0 0 0 7px #0f172a, 0 0 0 9px #1e293b, 0 24px 60px rgba(0,0,0,.5);
}
.sp-notch {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 60px; height: 18px;
  background: #1e293b;
  border-radius: 0 0 12px 12px;
  z-index: 10;
}
.screen-label {
  font-size: .88rem;
  font-weight: 600;
  color: var(--text-2);
}
.track-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 22px;
  color: var(--text-1);
  box-shadow: 0 4px 16px rgba(0,0,0,.1);
  z-index: 10;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
.track-btn:hover { background: var(--teal); color: white; border-color: var(--teal); }
.track-prev { right: 0; }
.track-next { left: 0; }
body[data-lang="en"] .track-prev,
body[data-lang="fr"] .track-prev { right: auto; left: 0; }
body[data-lang="en"] .track-next,
body[data-lang="fr"] .track-next { left: auto; right: 0; }
.screens-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}
.screens-dots span {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border);
  transition: all var(--transition);
  cursor: pointer;
}
.screens-dots span.active {
  width: 24px;
  border-radius: 4px;
  background: var(--grad-primary);
}

/* ─── HOW IT WORKS ───────────────────────────────────────────── */
.how-works { padding: 100px 0; }
.steps-row {
  display: flex;
  align-items: center;
  gap: 20px;
}
.step-card {
  flex: 1;
  background: var(--surface);
  border-radius: var(--radius-card);
  padding: 32px 24px;
  border: 1px solid var(--border);
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: all var(--transition);
}
.step-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(15,118,110,.12); }
.step-num {
  font-size: .75rem;
  font-weight: 700;
  color: var(--teal);
  background: rgba(15,118,110,.1);
  width: 28px; height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}
.step-icon { font-size: 2.5rem; margin-bottom: 14px; }
.step-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 8px;
}
.step-card p {
  font-size: .88rem;
  color: var(--text-2);
  line-height: 1.7;
}
.step-arrow {
  font-size: 1.6rem;
  color: var(--s3);
  flex-shrink: 0;
}
body[data-lang="ar"] .step-arrow { transform: rotate(180deg); }

/* RTL icon flips */
body[data-lang="ar"] .btn-ghost svg  { transform: scaleX(-1); }
body[data-lang="ar"] .track-btn      { transform: translateY(-50%) scaleX(-1); }

/* ─── TESTIMONIALS ───────────────────────────────────────────── */
.testimonials { padding: 100px 0; background: var(--surface2); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.testi-card {
  background: var(--surface);
  border-radius: var(--radius-card);
  padding: 28px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  transition: all var(--transition);
}
.testi-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(15,118,110,.12); }
.testi-stars {
  color: var(--gold);
  font-size: 1.1rem;
  margin-bottom: 14px;
  letter-spacing: 2px;
}
.testi-card p {
  font-size: .92rem;
  color: var(--text-2);
  line-height: 1.8;
  margin-bottom: 20px;
}
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}
.testi-name { font-size: .9rem; font-weight: 700; color: var(--text-1); }
.testi-role { font-size: .78rem; color: var(--text-3); }

/* ─── PRICING ────────────────────────────────────────────────── */
.pricing { padding: 100px 0; }
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 760px;
  margin: 0 auto;
}
.price-card {
  background: var(--surface);
  border-radius: var(--radius-card);
  padding: 36px 32px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  position: relative;
}
.price-card-pro {
  border: 2px solid var(--gold);
  box-shadow: 0 8px 40px rgba(245,158,11,.15);
}
.pro-popular {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad-gold);
  color: white;
  padding: 5px 18px;
  border-radius: var(--radius-pill);
  font-size: .78rem;
  font-weight: 700;
  white-space: nowrap;
}
.price-badge-free {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: var(--surface2);
  color: var(--text-2);
  font-size: .82rem;
  font-weight: 600;
  margin-bottom: 16px;
}
.price-badge-pro {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: var(--grad-gold);
  color: white;
  font-size: .82rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.price-amount {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--text-1);
  margin-bottom: 24px;
}
.price-amount span { font-size: 1rem; font-weight: 500; color: var(--text-3); }
.price-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}
.price-features li { font-size: .9rem; color: var(--text-2); display: flex; gap: 8px; }
.price-btn-free {
  width: 100%;
  padding: 13px;
  border-radius: var(--radius-btn);
  background: var(--surface2);
  color: var(--text-1);
  font-size: .95rem;
  font-weight: 700;
  transition: all var(--transition);
  border: 1px solid var(--border);
}
.price-btn-free:hover { background: var(--border); }
.price-btn-pro {
  width: 100%;
  padding: 13px;
  border-radius: var(--radius-btn);
  background: var(--grad-gold);
  color: white;
  font-size: .95rem;
  font-weight: 700;
  transition: all var(--transition);
  box-shadow: 0 6px 20px rgba(245,158,11,.3);
}
.price-btn-pro:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(245,158,11,.4); }

/* ─── CTA BANNER ─────────────────────────────────────────────── */
.cta-banner {
  padding: 100px 0;
  background: var(--grad-hero);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}
.cta-orb1 {
  width: 400px; height: 400px;
  background: rgba(20,184,166,.15);
  top: -100px; right: -50px;
}
.cta-orb2 {
  width: 300px; height: 300px;
  background: rgba(245,158,11,.08);
  bottom: -80px; left: -30px;
}
.cta-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: white;
  margin-bottom: 16px;
}
.cta-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,.75);
  max-width: 500px;
  margin: 0 auto 36px;
  line-height: 1.7;
}
.cta-actions { display: flex; justify-content: center; gap: 14px; }

/* ─── FOOTER ─────────────────────────────────────────────────── */
.footer {
  background: var(--s9);
  color: var(--s3);
  padding: 60px 0 0;
}
.dark .footer { background: #060b14; }
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  font-weight: 800;
  color: white;
  margin-bottom: 12px;
}
.footer-tagline {
  font-size: .9rem;
  color: rgba(255,255,255,.5);
  margin-bottom: 20px;
  line-height: 1.6;
}
.footer-social { display: flex; gap: 10px; }
.social-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  color: rgba(255,255,255,.6);
  transition: all var(--transition);
}
.social-btn:hover { background: var(--teal); color: white; }
.footer-links-group h4 {
  font-size: .85rem;
  font-weight: 700;
  color: white;
  margin-bottom: 16px;
}
.footer-links-group a {
  display: block;
  font-size: .85rem;
  color: rgba(255,255,255,.5);
  margin-bottom: 10px;
  transition: color var(--transition);
}
.footer-links-group a:hover { color: var(--teal-l); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  font-size: .82rem;
  color: rgba(255,255,255,.35);
}
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a {
  color: rgba(255,255,255,.35);
  transition: color var(--transition);
}
.footer-bottom-links a:hover { color: var(--teal-l); }

/* ─── INNER PAGE LAYOUT ──────────────────────────────────────── */
.inner-hero {
  padding: 120px 0 60px;
  background: var(--surface2);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.inner-hero h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--text-1);
  margin-bottom: 12px;
}
.inner-hero p {
  font-size: 1rem;
  color: var(--text-2);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.7;
}
.inner-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 24px 100px;
}
.inner-content h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-1);
  margin: 36px 0 12px;
}
.inner-content h2:first-child { margin-top: 0; }
.inner-content p {
  font-size: .95rem;
  color: var(--text-2);
  line-height: 1.8;
  margin-bottom: 12px;
}
.inner-content ul {
  padding-inline-start: 20px;
  margin-bottom: 12px;
}
.inner-content li {
  font-size: .95rem;
  color: var(--text-2);
  line-height: 1.8;
  margin-bottom: 6px;
}
.inner-content .highlight-box {
  background: rgba(15,118,110,.08);
  border: 1px solid rgba(15,118,110,.2);
  border-radius: 14px;
  padding: 20px 24px;
  margin: 24px 0;
}
.inner-content .highlight-box p { color: var(--teal); font-weight: 600; margin: 0; }

/* Support page */
.support-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 40px 0;
}
.support-card {
  background: var(--surface);
  border-radius: var(--radius-card);
  padding: 28px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  text-align: center;
  transition: all var(--transition);
}
.support-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(15,118,110,.12); border-color: rgba(15,118,110,.2); }
.support-card-icon { font-size: 2.4rem; margin-bottom: 12px; }
.support-card h3 { font-size: 1rem; font-weight: 700; color: var(--text-1); margin-bottom: 8px; }
.support-card p  { font-size: .88rem; color: var(--text-2); margin-bottom: 16px; line-height: 1.6; }
.support-card a  {
  display: inline-block;
  padding: 9px 20px;
  border-radius: var(--radius-btn);
  background: var(--grad-primary);
  color: white;
  font-size: .85rem;
  font-weight: 600;
  transition: all var(--transition);
}
.support-card a:hover { opacity: .85; transform: translateY(-1px); }
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}
.faq-q {
  font-size: .95rem;
  font-weight: 700;
  color: var(--text-1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  gap: 12px;
}
.faq-q::after {
  content: '﹢';
  font-size: 1.2rem;
  color: var(--teal);
  flex-shrink: 0;
  transition: transform var(--transition);
}
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a {
  font-size: .9rem;
  color: var(--text-2);
  line-height: 1.8;
  margin-top: 10px;
  display: none;
}
.faq-item.open .faq-a { display: block; }

/* ─── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: 1fr 1fr; }
  .feat-large { grid-column: span 2; }
  .hero .container { gap: 40px; }
  .hero-phone { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-cta   { display: none; }
  .lang-switcher { display: none; }
  .hamburger { display: flex; }
  .hero { padding: 90px 0 50px; }
  .hero-title { font-size: 2rem; }
  .hero-stats { gap: 16px; }
  .features-grid { grid-template-columns: 1fr; }
  .feat-large { grid-column: span 1; }
  .steps-row { flex-direction: column; }
  .step-arrow { transform: rotate(90deg) !important; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; }
  .footer-top { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .support-grid { grid-template-columns: 1fr; }
  .float-card-1,
  .float-card-2,
  .float-card-3 { display: none; }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-actions { flex-direction: column; }
  .btn-primary, .btn-ghost { justify-content: center; }
  .screens-track { gap: 16px; }
}
