/* ============================================================
   مُجيب — Premium RTL Landing Page Styles
   Colors: Primary #1B4D3E | Secondary #C5A059 | Tertiary #673831
   ============================================================ */

/* ---------- RESET & BASE ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary:       #1B4D3E;
  --primary-light: #2d7a62;
  --primary-glow:  rgba(27, 77, 62, 0.4);
  --secondary:     #C5A059;
  --secondary-glow:rgba(197, 160, 89, 0.35);
  --tertiary:      #673831;
  --neutral:       #757875;

  --bg:            #080E0B;
  --bg-2:          #0D1810;
  --bg-card:       rgba(255,255,255,0.03);
  --bg-card-hover: rgba(255,255,255,0.06);
  --border:        rgba(255,255,255,0.08);
  --border-hover:  rgba(197,160,89,0.3);

  --text:          #F0F4F2;
  --text-muted:    rgba(240,244,242,0.55);
  --text-faint:    rgba(240,244,242,0.3);

  --font-ar:       'Tajawal', sans-serif;
  --font-en:       'Inter', 'Tajawal', sans-serif;

  --radius-sm:     8px;
  --radius-md:     16px;
  --radius-lg:     24px;
  --radius-xl:     36px;

  --shadow-glow-primary:  0 0 60px rgba(27,77,62,0.3);
  --shadow-glow-secondary:0 0 60px rgba(197,160,89,0.2);

  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }

body {
  font-family: var(--font-ar);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  direction: rtl;
  max-width: 100%;
}

::selection { background: var(--primary); color: #fff; }

/* ---------- ENGLISH (LTR) MODE ---------- */
html[lang="en"] body { direction: ltr; }
html[lang="en"] body,
html[lang="en"] .btn,
html[lang="en"] .marquee-track span,
html[lang="en"] .scenario-btn,
html[lang="en"] input,
html[lang="en"] textarea,
html[lang="en"] select,
html[lang="en"] .loader-logo { font-family: var(--font-en); }

/* Inputs & bubbles follow the active direction in English */
html[lang="en"] .form-group input,
html[lang="en"] .form-group select,
html[lang="en"] .form-group textarea,
html[lang="en"] .wa-input,
html[lang="en"] .wa-msg.user { direction: ltr; }
html[lang="en"] .plan-price { direction: ltr; }

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ---------- CANVAS BACKGROUND ---------- */
#bg-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.6;
}

/* ---------- CUSTOM CURSOR ---------- */
.cursor-dot,
.cursor-ring {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
}
.cursor-dot {
  width: 6px; height: 6px;
  background: var(--secondary);
  top: 0; left: 0;
}
.cursor-ring {
  width: 32px; height: 32px;
  border: 1.5px solid rgba(197,160,89,0.5);
  top: 0; left: 0;
  transition: width 0.3s, height 0.3s, border-color 0.3s;
}
.cursor-ring.hovering {
  width: 48px; height: 48px;
  border-color: var(--secondary);
}
@media (hover: none) { .cursor-dot, .cursor-ring { display: none; } }

/* ---------- SCROLLBAR ---------- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }

/* ---------- LAYOUT ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.section { padding: 120px 0; position: relative; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 12px;
  font-family: var(--font-ar);
  font-weight: 700;
  font-size: 1rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  white-space: nowrap;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.08);
  opacity: 0;
  transition: opacity 0.2s;
}
.btn:hover::before { opacity: 1; }

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 24px var(--primary-glow);
  border: 1px solid rgba(255,255,255,0.1);
}
.btn-primary:hover {
  background: var(--primary-light);
  box-shadow: 0 8px 40px var(--primary-glow);
  transform: translateY(-2px);
}

.btn-ghost {
  background: rgba(255,255,255,0.05);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.09);
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}

.btn-lg { padding: 18px 36px; font-size: 1.05rem; border-radius: 14px; }
.btn-full { width: 100%; justify-content: center; }

/* Magnetic button effect handled in JS */
.magnetic { transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.3s; }

/* ---------- GRADIENT TEXT ---------- */
.gradient-text {
  background: linear-gradient(135deg, var(--secondary) 0%, #e8c47a 50%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---------- SECTION HEADER ---------- */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(197,160,89,0.1);
  border: 1px solid rgba(197,160,89,0.25);
  color: var(--secondary);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: 0.03em;
}
.section-tag::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--secondary);
  flex-shrink: 0;
}

.section-header { text-align: center; margin-bottom: 64px; }

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ---------- REVEAL ANIMATION ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1), transform 0.7s cubic-bezier(0.4,0,0.2,1);
}

/* ---------- NAVBAR ---------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: background 0.4s, padding 0.4s, backdrop-filter 0.4s;
}

.navbar.scrolled {
  background: rgba(8,14,11,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 40px;
}

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

.logo-ar {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--text);
  letter-spacing: -0.02em;
}

.logo-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--secondary);
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  gap: 8px;
  align-items: center;
  flex: 1;
  justify-content: center;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,0.05); }

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

.nav-cta { padding: 10px 22px !important; font-size: 0.9rem !important; }

/* Language toggle */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.04);
  color: var(--text-muted);
  font-family: var(--font-en);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: var(--transition);
}
.lang-toggle svg { flex-shrink: 0; opacity: 0.8; }
.lang-toggle:hover {
  color: var(--text);
  border-color: var(--border-hover);
  background: rgba(197,160,89,0.1);
}
.lang-toggle-mobile {
  width: 100%;
  justify-content: center;
  margin-top: 8px;
  padding: 12px;
  font-size: 0.95rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

.mobile-menu {
  display: none;
  background: rgba(8,14,11,0.97);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  padding: 20px 24px;
}
.mobile-menu.open { display: block; }
.mobile-menu ul { display: flex; flex-direction: column; gap: 8px; }
.mobile-menu a { display: block; padding: 12px; color: var(--text-muted); font-size: 1rem; border-radius: 8px; }
.mobile-menu a:hover { color: var(--text); background: rgba(255,255,255,0.05); }
.mobile-menu .btn { margin-top: 8px; width: 100%; justify-content: center; }

/* ---------- HERO ---------- */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  padding: 140px 80px 100px;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}
.glow-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(27,77,62,0.35) 0%, transparent 70%);
  top: -100px; right: -100px;
}
.glow-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(197,160,89,0.2) 0%, transparent 70%);
  bottom: 0; left: 200px;
}
.glow-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(103,56,49,0.2) 0%, transparent 70%);
  top: 50%; left: -50px;
}

/* Floating orbs */
.orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.orb-1 {
  width: 12px; height: 12px;
  background: var(--secondary);
  box-shadow: 0 0 20px var(--secondary);
  top: 25%; right: 20%;
  animation: floatOrb 6s ease-in-out infinite;
}
.orb-2 {
  width: 8px; height: 8px;
  background: var(--primary-light);
  box-shadow: 0 0 15px var(--primary-light);
  top: 60%; right: 35%;
  animation: floatOrb 8s ease-in-out infinite reverse;
}
.orb-3 {
  width: 5px; height: 5px;
  background: #fff;
  top: 40%; left: 15%;
  animation: floatOrb 5s ease-in-out infinite;
}

@keyframes floatOrb {
  0%, 100% { transform: translateY(0) translateX(0); }
  33% { transform: translateY(-20px) translateX(10px); }
  66% { transform: translateY(10px) translateX(-8px); }
}

.hero-content { position: relative; z-index: 1; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(27,77,62,0.15);
  border: 1px solid rgba(27,77,62,0.4);
  color: #6fcba3;
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 28px;
}

.badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #6fcba3;
  box-shadow: 0 0 8px #6fcba3;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 8px #6fcba3; }
  50% { box-shadow: 0 0 16px #6fcba3, 0 0 32px rgba(111,203,163,0.4); }
}

.hero-title {
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
}
.hero-title .line { display: block; overflow: hidden; }

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 40px;
  max-width: 480px;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-trust { display: flex; flex-direction: column; gap: 10px; }
.hero-trust > span { font-size: 0.8rem; color: var(--text-faint); text-transform: uppercase; letter-spacing: 0.08em; }
.trust-logos { display: flex; gap: 8px; flex-wrap: wrap; }
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Hero Visual — Dashboard Mockup */
.hero-visual {
  position: relative;
  z-index: 1;
}

.hero-mockup {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(27,77,62,0.3);
  border-radius: var(--radius-lg);
  overflow: hidden;
  backdrop-filter: blur(10px);
  box-shadow:
    0 40px 100px rgba(0,0,0,0.5),
    0 0 0 1px rgba(255,255,255,0.04) inset,
    0 0 80px rgba(27,77,62,0.15);
}

.mockup-header {
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid var(--border);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.mockup-dots { display: flex; gap: 6px; }
.mockup-dots span {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--border);
}
.mockup-dots span:nth-child(1) { background: #ff5f57; }
.mockup-dots span:nth-child(2) { background: #febc2e; }
.mockup-dots span:nth-child(3) { background: #28c840; }

.mockup-title { font-size: 0.8rem; color: var(--text-faint); margin-right: auto; font-family: var(--font-en); }

.mockup-body { padding: 20px; display: flex; flex-direction: column; gap: 16px; }

.metric-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.metric-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px;
  display: flex;
  gap: 12px;
  align-items: center;
  transition: border-color 0.3s;
}
.metric-card:hover { border-color: var(--border-hover); }
.metric-icon { width: 36px; height: 36px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; }
.metric-value { font-size: 1.3rem; font-weight: 800; color: var(--text); font-family: var(--font-en); }
.metric-label { font-size: 0.72rem; color: var(--text-faint); }

.activity-bar {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
}
.activity-label { font-size: 0.75rem; color: var(--text-faint); margin-bottom: 12px; }
.bar-chart { display: flex; align-items: flex-end; gap: 6px; height: 60px; }
.bar {
  flex: 1;
  background: rgba(27,77,62,0.3);
  border-radius: 4px 4px 0 0;
  height: var(--h);
  position: relative;
  transition: background 0.3s;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 4px;
  min-height: 20%;
}
.bar.active { background: var(--primary); }
.bar:hover { background: var(--primary-light); }
.bar span { font-size: 0.55rem; color: var(--text-faint); font-family: var(--font-ar); position: absolute; bottom: -16px; white-space: nowrap; }

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-faint);
  font-size: 0.75rem;
  animation: scrollBounce 2s ease-in-out infinite;
}
.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--text-faint), transparent);
}
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ---------- SECTION ALTERNATING RHYTHM ---------- */
.services-section   { background: rgba(255,255,255,0.01); }
.demo-section       { background: transparent; }
.why-section        { background: rgba(27,77,62,0.03); }
.process-section    { background: rgba(255,255,255,0.01); }
.problem-section    { background: rgba(197,160,89,0.02); }
.pricing-section    { background: rgba(27,77,62,0.03); }
.contact-section    { background: rgba(255,255,255,0.01); }

/* ---------- CLIENTS ---------- */
.clients-section {
  padding: 56px 0 64px;
  position: relative;
  z-index: 1;
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.01);
}
.clients-label {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-faint);
  letter-spacing: 0.04em;
  margin-bottom: 32px;
}
.clients-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  align-items: center;
}
.client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 12px;
  border-radius: var(--radius-md);
  color: var(--text-faint);
  border: 1px solid transparent;
  transition: color 0.3s, border-color 0.3s, background 0.3s, transform 0.3s;
}
.client-logo svg { width: 26px; height: 26px; flex-shrink: 0; }
.client-logo span { font-size: 0.98rem; font-weight: 800; white-space: nowrap; }
.client-logo:hover {
  color: var(--secondary);
  border-color: var(--border);
  background: var(--bg-card);
  transform: translateY(-3px);
}

/* ---------- STATS ---------- */
.stats-section {
  padding: 60px 0;
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.01);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat-item {
  text-align: center;
  padding: 32px 20px;
  border-left: 1px solid var(--border);
  position: relative;
}
.stat-item:last-child { border-left: none; }

.stat-number {
  font-size: 3rem;
  font-weight: 900;
  font-family: var(--font-en);
  background: linear-gradient(135deg, var(--text) 0%, var(--text-muted) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ---------- SERVICES ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.4s, transform 0.4s, box-shadow 0.4s;
  cursor: default;
}
.service-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.service-card.featured {
  background: linear-gradient(145deg, rgba(27,77,62,0.12) 0%, rgba(197,160,89,0.06) 100%);
  border-color: rgba(197,160,89,0.2);
}
.service-card.featured:hover { border-color: var(--secondary); }

.service-glow {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(197,160,89,0.6), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}
.service-card:hover .service-glow { opacity: 1; }
.service-card.featured .service-glow { opacity: 0.5; }

.service-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: linear-gradient(135deg, var(--secondary), #a07a30);
  color: #000;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 100px;
}

.service-icon-wrap {
  width: 60px; height: 60px;
  background: rgba(var(--accent-rgb, 27,77,62), 0.15);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--text);
  transition: transform 0.3s;
}
.service-card:hover .service-icon-wrap { transform: scale(1.1) rotate(-3deg); }

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
}

.service-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 20px;
}

.service-features { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.service-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-muted);
}
.feat-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--secondary);
  font-size: 0.9rem;
  font-weight: 600;
  transition: gap 0.2s, color 0.2s;
}
.service-link svg { flex-shrink: 0; transition: transform 0.2s; }
.service-link:hover { color: #e8c47a; gap: 12px; }

/* ---------- DEMO / WHATSAPP ---------- */
.demo-section { overflow: hidden; }

.demo-bg-glow {
  position: absolute;
  width: 800px; height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(27,77,62,0.15) 0%, transparent 60%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  filter: blur(60px);
  pointer-events: none;
}

.demo-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.demo-stats {
  display: flex;
  gap: 32px;
  margin: 32px 0;
}
.demo-stat { text-align: center; }
.demo-stat strong { display: block; font-size: 1.8rem; font-weight: 800; font-family: var(--font-en); color: var(--text); }
.demo-stat span { font-size: 0.8rem; color: var(--text-faint); }

.scenarios-label { font-size: 0.85rem; color: var(--text-faint); margin-bottom: 10px; }
.scenario-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.scenario-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-ar);
  font-size: 0.88rem;
  transition: var(--transition);
}
.scenario-btn svg { flex-shrink: 0; }
.scenario-btn:hover, .scenario-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* Phone */
.phone-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-frame {
  width: 310px;
  height: 632px;
  background: linear-gradient(155deg, #3a3a3d 0%, #1c1c1e 12%, #0a0a0b 50%, #1c1c1e 88%, #3a3a3d 100%);
  border-radius: 58px;
  padding: 14px;
  box-shadow:
    0 60px 120px rgba(0,0,0,0.5),
    0 0 0 1px rgba(255,255,255,0.06) inset,
    0 0 80px rgba(27,77,62,0.2);
  position: relative;
  flex-shrink: 0;
}

/* Side buttons */
.phone-btn {
  position: absolute;
  background: linear-gradient(90deg, #0a0a0b, #2c2c2e 40%, #0a0a0b);
  border-radius: 3px;
  z-index: 1;
}
.phone-btn-mute    { width: 3px; height: 28px; top: 108px; left: -3px; }
.phone-btn-vol-up  { width: 3px; height: 52px; top: 160px; left: -3px; }
.phone-btn-vol-down{ width: 3px; height: 52px; top: 224px; left: -3px; }
.phone-btn-power   { width: 3px; height: 84px; top: 168px; right: -3px; }

.phone-screen {
  width: 100%;
  height: 100%;
  background: #0b1a12;
  border-radius: 46px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 0 0 2px rgba(0,0,0,0.6);
}

.phone-statusbar {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px 0 26px;
  z-index: 30;
  color: #fff;
  direction: ltr;
  pointer-events: none;
}
.statusbar-time {
  font-family: var(--font-en);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.statusbar-icons { display: flex; align-items: center; gap: 5px; }

.dynamic-island {
  position: absolute;
  top: 11px;
  left: 50%;
  transform: translateX(-50%);
  width: 96px;
  height: 28px;
  background: #000;
  border-radius: 20px;
  z-index: 31;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.04);
}

.phone-home-indicator {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 4px;
  border-radius: 4px;
  background: rgba(255,255,255,0.7);
  z-index: 30;
}

.wa-app {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #0b1a12;
  position: relative;
  padding-top: 48px;
}

.wa-header {
  background: #1a2e1f;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.wa-back { font-size: 1.3rem; color: #25d366; padding: 4px; }
.wa-contact { display: flex; align-items: center; gap: 8px; flex: 1; }
.wa-avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
  position: relative;
}
.wa-online {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #25d366;
  border: 2px solid #1a2e1f;
  position: absolute;
  bottom: 0; left: 0;
}
.wa-name { font-size: 0.82rem; font-weight: 700; color: #e9edef; }
.wa-status { font-size: 0.68rem; color: #25d366; }
.wa-actions { color: rgba(255,255,255,0.4); font-size: 1.2rem; }

.wa-messages {
  flex: 1;
  overflow-y: auto;
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.015'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.wa-messages::-webkit-scrollbar { width: 3px; }
.wa-messages::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); }

.wa-date-divider {
  text-align: center;
  font-size: 0.65rem;
  color: rgba(255,255,255,0.35);
  background: rgba(0,0,0,0.2);
  border-radius: 8px;
  padding: 3px 10px;
  align-self: center;
  margin-bottom: 4px;
}

.wa-msg {
  max-width: 82%;
  padding: 7px 10px;
  border-radius: 10px;
  font-size: 0.78rem;
  line-height: 1.5;
  position: relative;
  animation: msgPop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  word-break: break-word;
}
@keyframes msgPop {
  from { opacity: 0; transform: scale(0.85) translateY(8px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.wa-msg-time {
  font-size: 0.6rem;
  opacity: 0.5;
  margin-top: 2px;
  display: block;
  text-align: left;
}

.wa-msg.bot {
  background: #1f2c22;
  color: #e9edef;
  align-self: flex-start;
  border-bottom-right-radius: 2px;
}
.wa-msg.bot::before {
  content: '';
  position: absolute;
  right: -6px; top: 0;
  border: 6px solid transparent;
  border-top-color: #1f2c22;
  border-right: none;
}

.wa-msg.user {
  background: #005c4b;
  color: #e9edef;
  align-self: flex-end;
  border-bottom-left-radius: 2px;
  direction: rtl;
}
.wa-msg.user::before {
  content: '';
  position: absolute;
  left: -6px; top: 0;
  border: 6px solid transparent;
  border-top-color: #005c4b;
  border-left: none;
}

.wa-typing {
  display: flex;
  gap: 3px;
  padding: 10px 14px;
  background: #1f2c22;
  border-radius: 10px;
  align-self: flex-start;
  width: 56px;
  animation: msgPop 0.3s ease;
}
.wa-typing span {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  animation: typingDot 1.2s infinite;
}
.wa-typing span:nth-child(2) { animation-delay: 0.2s; }
.wa-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingDot {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-4px); opacity: 1; }
}

.wa-input-area {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: #1a2e1f;
  border-top: 1px solid rgba(255,255,255,0.05);
  flex-shrink: 0;
}
.wa-emoji { font-size: 1.1rem; flex-shrink: 0; opacity: 0.5; }
.wa-input {
  flex: 1;
  background: rgba(255,255,255,0.07);
  border-radius: 20px;
  padding: 7px 14px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
  cursor: text;
  direction: rtl;
}
.wa-send-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s, background 0.2s;
}
.wa-send-btn:hover { background: #1da851; transform: scale(1.1); }

/* ---------- WHY US ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.why-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: border-color 0.4s, transform 0.4s, background 0.4s;
}
.why-card:hover {
  border-color: rgba(27,77,62,0.4);
  transform: translateY(-4px);
  background: var(--bg-card-hover);
}

.why-icon { font-size: 2rem; margin-bottom: 14px; }
.why-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; }
.why-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.75; }

.why-grid-4 { grid-template-columns: repeat(4, 1fr); }
.why-grid-4 .why-card { display: flex; flex-direction: column; }
.why-icon-wrap {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  box-shadow: 0 4px 20px var(--primary-glow);
}
.why-grid-4 .why-icon { margin-bottom: 0; color: #fff; }

/* ---------- PROBLEM SECTION ---------- */
.problem-layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 56px;
}

.problem-info { text-align: start; }
.problem-info .section-title { text-align: start; }
.problem-sub { text-align: start; margin: 0; max-width: none; }

.problem-highlight {
  background: linear-gradient(160deg, rgba(27,77,62,0.18) 0%, rgba(197,160,89,0.06) 100%);
  border: 1px solid rgba(197,160,89,0.3);
  border-radius: var(--radius-xl);
  padding: 36px 28px;
  text-align: center;
  box-shadow: 0 0 60px rgba(27,77,62,0.15);
}
.highlight-number {
  font-size: 3.6rem;
  font-weight: 900;
  font-family: var(--font-en);
  color: var(--secondary);
  line-height: 1;
  margin-bottom: 12px;
}
.highlight-number span { font-size: 1.4rem; font-weight: 700; }
.problem-highlight p { font-size: 0.95rem; color: var(--text-muted); }

.problem-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.problem-stat {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  text-align: start;
  transition: border-color 0.4s, transform 0.4s;
}
.problem-stat:hover { border-color: var(--border-hover); transform: translateY(-4px); }
.problem-stat-value {
  font-size: 2.4rem;
  font-weight: 900;
  font-family: var(--font-en);
  color: var(--secondary);
  margin-bottom: 8px;
}
.problem-stat p { font-size: 0.92rem; color: var(--text-muted); line-height: 1.7; }

/* ---------- CTA BANNER ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  padding: 72px 0;
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.cta-banner-inner {
  text-align: center;
  max-width: 720px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.cta-banner-inner h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: #fff;
}
.cta-banner-inner p { font-size: 1.05rem; color: rgba(255,255,255,0.85); line-height: 1.8; }
.cta-banner-actions { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }

.btn-cta-solid {
  background: var(--secondary);
  color: #1a1204;
  padding: 16px 32px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 1rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
}
.btn-cta-solid:hover { background: #e8c47a; transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,0,0,0.25); }

.btn-cta-ghost {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  padding: 16px 28px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}
.btn-cta-ghost:hover { background: rgba(255,255,255,0.18); transform: translateY(-2px); }

/* ---------- PROCESS ---------- */
.process-steps {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
}

.process-line {
  position: absolute;
  right: 28px;
  top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, var(--primary) 0%, transparent 100%);
  z-index: 0;
}

.process-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: flex-start;
  padding: 0 0 48px 0;
  position: relative;
  z-index: 1;
}
.process-step:last-child { padding-bottom: 0; }

.step-number {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 800;
  font-family: var(--font-en);
  color: var(--primary-light);
  flex-shrink: 0;
  box-shadow: 0 0 20px rgba(27,77,62,0.3);
}

.step-content {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: border-color 0.3s;
}
.step-content:hover { border-color: rgba(27,77,62,0.4); }

.step-content h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.step-content p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.75; margin-bottom: 12px; }
.step-duration { display: inline-flex; align-items: center; gap: 6px; font-size: 0.78rem; color: var(--secondary); font-weight: 600; }
.step-duration svg { flex-shrink: 0; }


/* ---------- FAQ ---------- */
.faq-section { background: transparent; }
.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.3s, background 0.3s;
}
.faq-item.open { border-color: rgba(197,160,89,0.3); background: var(--bg-card-hover); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  text-align: start;
  color: var(--text);
  font-family: var(--font-ar);
  font-size: 1.05rem;
  font-weight: 700;
  transition: color 0.3s;
}
.faq-q:hover { color: var(--secondary); }
.faq-icon {
  flex-shrink: 0;
  color: var(--secondary);
  display: flex;
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
}
.faq-item.open .faq-icon { transform: rotate(180deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1);
}
.faq-a p {
  padding: 0 24px 22px;
  margin: 0;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.8;
}

/* ---------- CONTACT / FORM ---------- */
.contact-bg-glow {
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(197,160,89,0.08) 0%, transparent 70%);
  top: 50%; right: -100px;
  transform: translateY(-50%);
  pointer-events: none;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-info .section-title { font-size: clamp(1.8rem, 3vw, 2.5rem); text-align: start; margin-bottom: 16px; }
.contact-info > p { color: var(--text-muted); line-height: 1.8; margin-bottom: 32px; font-size: 1rem; }

.contact-perks { display: flex; flex-direction: column; gap: 14px; }
.perk-item { display: flex; align-items: center; gap: 12px; font-size: 0.95rem; color: var(--text-muted); }
.perk-icon {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: rgba(27,77,62,0.2);
  border: 1px solid rgba(27,77,62,0.4);
  color: #6fcba3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

.contact-form-wrap {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px;
}

.contact-form { display: flex; flex-direction: column; gap: 20px; }

.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-group label { font-size: 0.88rem; font-weight: 600; color: var(--text-muted); }

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  color: var(--text);
  font-size: 0.95rem;
  transition: border-color 0.3s, box-shadow 0.3s;
  outline: none;
  width: 100%;
  direction: rtl;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-faint); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(27,77,62,0.15);
}
.form-group select option { background: #0D1810; color: var(--text); }
.form-group textarea { resize: vertical; min-height: 90px; }

.form-note { font-size: 0.75rem; color: var(--text-faint); text-align: center; }

.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.form-success.visible { display: flex; }
.success-icon {
  color: var(--primary-light);
  animation: bounceIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes bounceIn { from { transform: scale(0); } to { transform: scale(1); } }
.form-success h3 { font-size: 1.4rem; font-weight: 800; }
.form-success p { color: var(--text-muted); }

/* ---------- FOOTER ---------- */
.footer {
  border-top: 1px solid var(--border);
  padding: 80px 0 40px;
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand { display: flex; flex-direction: column; gap: 16px; }

.footer-logo {
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-brand p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.75; max-width: 280px; }

.social-links { display: flex; gap: 10px; margin-top: 4px; }
.social-link {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: var(--transition);
}
.social-link:hover {
  background: rgba(27,77,62,0.2);
  border-color: rgba(27,77,62,0.5);
  color: var(--text);
  transform: translateY(-2px);
}

.footer-links h4 { font-size: 0.88rem; font-weight: 700; color: var(--text); margin-bottom: 16px; letter-spacing: 0.02em; }
.footer-links ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 0.88rem; color: var(--text-faint); transition: color 0.2s; }
.footer-links a:hover { color: var(--text); }

.footer-contact h4 { font-size: 0.88rem; font-weight: 700; margin-bottom: 16px; }

.footer-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(37,211,102,0.1);
  border: 1px solid rgba(37,211,102,0.25);
  color: #25d366;
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 14px;
  transition: var(--transition);
}
.footer-wa-btn:hover { background: rgba(37,211,102,0.2); transform: translateY(-2px); }

.footer-email, .footer-location {
  font-size: 0.85rem;
  color: var(--text-faint);
  margin-top: 8px;
}
.footer-location { display: flex; align-items: center; gap: 6px; }
.footer-location svg { flex-shrink: 0; }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: 0.82rem; color: var(--text-faint); }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { font-size: 0.82rem; color: var(--text-faint); transition: color 0.2s; }
.footer-bottom-links a:hover { color: var(--text); }

/* ---------- FLOATING WHATSAPP ---------- */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 30px rgba(37,211,102,0.4), 0 4px 12px rgba(0,0,0,0.35);
  z-index: 900;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.8);
  transition: opacity 0.4s, transform 0.4s, visibility 0.4s, box-shadow 0.3s;
}
.wa-float.visible { opacity: 1; visibility: visible; transform: none; }
.wa-float::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25d366;
  z-index: -1;
  animation: waPulse 2.6s ease-out infinite;
}
@keyframes waPulse {
  0%   { transform: scale(1); opacity: 0.5; }
  70%, 100% { transform: scale(1.9); opacity: 0; }
}
.wa-float:hover {
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 12px 40px rgba(37,211,102,0.55), 0 4px 14px rgba(0,0,0,0.4);
}
.wa-float-tip {
  position: absolute;
  right: 70px;
  background: rgba(13,24,16,0.96);
  color: var(--text);
  border: 1px solid var(--border);
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateX(8px);
  transition: opacity 0.3s, transform 0.3s;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.wa-float:hover .wa-float-tip { opacity: 1; transform: none; }
@media (max-width: 600px) {
  .wa-float { width: 52px; height: 52px; bottom: 18px; right: 18px; }
  .wa-float-tip { display: none; }
}

/* ---------- SCROLL PROGRESS BAR ---------- */
.scroll-progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--primary), var(--secondary), var(--primary));
  background-size: 200% 100%;
  z-index: 9998;
  transition: width 0.1s linear;
  animation: progressGradient 3s linear infinite;
}
@keyframes progressGradient {
  0% { background-position: 0% 0%; }
  100% { background-position: 200% 0%; }
}

/* ---------- NOISE OVERLAY ---------- */
.noise-overlay {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
}

/* ---------- LOGO IMAGES ---------- */
.nav-logo-img {
  height: 62px;
  width: auto;
  display: block;
  /* Keep original brand colors — transparent PNG works on dark bg */
  filter: drop-shadow(0 0 8px rgba(27,77,62,0.5)) brightness(1.15);
  transition: filter 0.3s, transform 0.3s;
}
.nav-logo-img:hover {
  filter: drop-shadow(0 0 12px rgba(197,160,89,0.4)) brightness(1.25);
  transform: scale(1.03);
}

.hero-logo-display { margin-bottom: 28px; }
.hero-logo-img {
  height: 170px;
  width: auto;
  filter: drop-shadow(0 0 30px rgba(27,77,62,0.7)) brightness(1.15);
}

.footer-logo { margin-bottom: 6px; }
.footer-logo-img {
  height: 76px;
  width: auto;
  filter: drop-shadow(0 0 12px rgba(27,77,62,0.4)) brightness(1.05);
  opacity: 0.9;
}

/* ---------- GAP / SECTION FIXES ---------- */
section { margin: 0; }
section + section { margin-top: 0; }

/* ---------- MARQUEE STRIP ---------- */
.marquee-strip {
  overflow: hidden;
  background: rgba(27,77,62,0.08);
  border-top: 1px solid rgba(27,77,62,0.2);
  border-bottom: 1px solid rgba(27,77,62,0.2);
  padding: 14px 0;
  position: relative;
  z-index: 1;
}
.marquee-strip::before,
.marquee-strip::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.marquee-strip::before {
  right: 0;
  background: linear-gradient(to left, var(--bg), transparent);
}
.marquee-strip::after {
  left: 0;
  background: linear-gradient(to right, var(--bg), transparent);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 24px;
  white-space: nowrap;
  animation: marqueeScroll 28s linear infinite;
  width: max-content;
  direction: ltr;
}

.marquee-track span {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  font-family: var(--font-ar);
}
.marquee-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--secondary);
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- HERO FLOATING NOTIFICATIONS ---------- */
.hero-notif {
  position: absolute;
  background: rgba(13,24,16,0.92);
  border: 1px solid rgba(27,77,62,0.4);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 14px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 10;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.04) inset;
  animation: floatNotif 4s ease-in-out infinite;
  min-width: 220px;
  max-width: 280px;
  /* Hang off the right edge of the mockup column, into the inter-column gap */
  top: 80px;
  right: -20px;
  left: auto;
}

.hero-notif-2 {
  top: auto;
  bottom: 120px;
  right: -20px;
  left: auto;
  animation-delay: -2s;
  animation-duration: 5s;
}

@keyframes floatNotif {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-10px) rotate(0deg); }
}

.notif-avatar {
  width: 36px; height: 36px;
  background: rgba(27,77,62,0.3);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.notif-text { display: flex; flex-direction: column; gap: 2px; }
.notif-text strong { font-size: 0.78rem; color: var(--text); }
.notif-text span   { font-size: 0.7rem; color: var(--text-faint); }
.notif-badge {
  margin-right: auto;
  background: var(--primary);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 100px;
  font-family: var(--font-en);
  flex-shrink: 0;
  animation: pulseBadge 1.5s ease-in-out infinite;
}
@keyframes pulseBadge {
  0%, 100% { box-shadow: 0 0 0 0 rgba(27,77,62,0.5); }
  50% { box-shadow: 0 0 0 6px rgba(27,77,62,0); }
}

/* ---------- PRICING ---------- */
.pricing-section { position: relative; overflow: hidden; }

.pricing-bg-glow {
  position: absolute;
  width: 900px; height: 900px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(27,77,62,0.12) 0%, transparent 65%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  filter: blur(80px);
  pointer-events: none;
}

.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 28px;
}

.toggle-label {
  font-size: 0.95rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s;
}
.toggle-label.active { color: var(--text); font-weight: 700; }

.save-badge {
  background: rgba(27,77,62,0.25);
  border: 1px solid rgba(27,77,62,0.5);
  color: #6fcba3;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 100px;
}

.toggle-switch {
  width: 48px; height: 26px;
  border-radius: 100px;
  background: rgba(255,255,255,0.1);
  border: 1px solid var(--border);
  position: relative;
  cursor: pointer;
  transition: background 0.3s;
  flex-shrink: 0;
}
.toggle-switch.active { background: var(--primary); border-color: var(--primary); }
.toggle-thumb {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--text);
  position: absolute;
  top: 3px; right: 4px;
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
}
.toggle-switch.active .toggle-thumb { transform: translateX(-22px); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
  margin-bottom: 40px;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.4s, transform 0.4s, box-shadow 0.4s;
}
.pricing-card:hover {
  border-color: rgba(27,77,62,0.4);
  transform: translateY(-6px);
  box-shadow: 0 24px 64px rgba(0,0,0,0.3);
}

.pricing-card.featured {
  background: linear-gradient(160deg, rgba(27,77,62,0.18) 0%, rgba(197,160,89,0.06) 100%);
  border-color: rgba(197,160,89,0.3);
  transform: scale(1.03);
  box-shadow: 0 0 60px rgba(27,77,62,0.2);
}
.pricing-card.featured:hover {
  transform: scale(1.03) translateY(-6px);
  border-color: var(--secondary);
  box-shadow: 0 24px 80px rgba(27,77,62,0.3);
}

.pricing-popular-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: linear-gradient(135deg, var(--secondary), #e8c47a);
  color: #000;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 5px 14px;
  border-radius: 100px;
  letter-spacing: 0.02em;
}

.pricing-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 10px;
}
.pricing-card.featured .pricing-card-header { padding-top: 28px; }

.plan-icon { font-size: 2rem; flex-shrink: 0; }
.plan-name { font-size: 1.25rem; font-weight: 800; margin-bottom: 2px; }
.plan-tagline { font-size: 0.82rem; color: var(--text-faint); }

.plan-price-wrap { display: flex; flex-direction: column; gap: 8px; }

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  direction: ltr;
  justify-content: flex-end;
}
.currency { font-size: 1.2rem; color: var(--text-muted); font-family: var(--font-en); }
.amount {
  font-size: 3rem;
  font-weight: 900;
  font-family: var(--font-en);
  line-height: 1;
  background: linear-gradient(135deg, var(--text) 0%, var(--text-muted) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.pricing-card.featured .amount {
  background: linear-gradient(135deg, var(--secondary) 0%, #e8c47a 100%);
  -webkit-background-clip: text;
  background-clip: text;
}
.period { font-size: 0.85rem; color: var(--text-faint); align-self: flex-end; margin-bottom: 4px; }

.enterprise-price { justify-content: flex-start; }
.enterprise-price .amount {
  font-size: 1.6rem;
  background: linear-gradient(135deg, var(--text) 0%, var(--text-muted) 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.plan-desc { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }

.plan-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.plan-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-muted);
}
.plan-features li.disabled { opacity: 0.4; }
.check {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: rgba(27,77,62,0.25);
  border: 1px solid rgba(27,77,62,0.5);
  color: #6fcba3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
  flex-shrink: 0;
}
.cross {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  color: var(--text-faint);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  flex-shrink: 0;
}

.pricing-cta { margin-top: auto; }

.pricing-guarantee {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 32px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.pricing-guarantee span { font-size: 1.5rem; flex-shrink: 0; }
.pricing-guarantee strong { color: var(--text); }

.hidden { display: none !important; }


/* ---------- LOADING OVERLAY ---------- */
.page-loader {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 24px;
  transition: opacity 0.5s, visibility 0.5s;
}
.page-loader.hidden { opacity: 0; visibility: hidden; }
.loader-logo { font-size: 2.5rem; font-weight: 900; font-family: var(--font-ar); }
.loader-bar {
  width: 200px; height: 2px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
  overflow: hidden;
}
.loader-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 2px;
  animation: loadFill 1.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
@keyframes loadFill { from { width: 0; } to { width: 100%; } }

/* ============================================================
   RESPONSIVE — Mobile-First
   ============================================================ */

/* ---- Tablet landscape (≤1100px) ---- */
@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr; padding: 130px 48px 80px; text-align: center; gap: 56px; }
  .hero-content { display: flex; flex-direction: column; align-items: center; }
  .hero-logo-display { display: flex; justify-content: center; }
  .hero-sub { text-align: center; margin: 0 auto 40px; }
  .hero-trust { align-items: center; }
  .hero-visual { max-width: 520px; margin: 0 auto; }
  .hero-notif { display: none; }
  .scroll-indicator { display: none; }
}

/* ---- Tablet portrait (≤900px) ---- */
@media (max-width: 900px) {
  /* Nav */
  .nav-links { display: none; }
  .nav-toggle { display: flex; }

  /* Clients — 3 columns */
  .clients-grid { grid-template-columns: repeat(3, 1fr); }

  /* Stats — 2 columns with divider borders */
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-left: none; border-bottom: 1px solid var(--border); }
  .stat-item:nth-child(odd) { border-left: 1px solid var(--border); }
  .stat-item:last-child, .stat-item:nth-last-child(2) { border-bottom: none; }

  /* Services */
  .services-grid { grid-template-columns: 1fr; max-width: 540px; margin: 0 auto; }

  /* Demo */
  .demo-layout { grid-template-columns: 1fr; gap: 48px; }
  .demo-info { order: 2; text-align: center; }
  .phone-wrapper { order: 1; }
  .demo-stats { justify-content: center; }
  .scenario-btns { justify-content: center; }

  /* Why Us */
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid-4 { grid-template-columns: repeat(2, 1fr); }

  /* Problem / CTA banner */
  .problem-layout { grid-template-columns: 1fr; text-align: center; }
  .problem-info, .problem-info .section-title, .problem-sub { text-align: center; }
  .problem-stats { grid-template-columns: 1fr; }
  .cta-banner-inner h2, .cta-banner-inner p { text-align: center; }

  /* Contact */
  .contact-layout { grid-template-columns: 1fr; }
  .contact-info { text-align: center; }
  .contact-info .section-title { text-align: center !important; }
  .contact-perks { align-items: center; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; align-items: center; text-align: center; }
  .footer-brand p, .social-links { text-align: center; }
  .social-links { justify-content: center; }

  /* Process */
  .process-line { display: none; }
  .process-step { grid-template-columns: auto 1fr; }

  /* Pricing */
  .pricing-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto 40px; }
  .pricing-card.featured { transform: none; box-shadow: 0 0 40px rgba(27,77,62,0.2); }
  .pricing-card.featured:hover { transform: translateY(-6px); }
}

/* ---- Mobile (≤600px) ---- */
@media (max-width: 600px) {
  .section { padding: 72px 0; }
  .container { padding: 0 20px; }

  /* Hero */
  .hero { padding: 100px 20px 64px; gap: 40px; }
  .hero-logo-img { height: 120px; }
  .hero-title { font-size: clamp(2rem, 9vw, 2.6rem); }
  .hero-sub { font-size: 1rem; }
  .hero-cta-group { flex-direction: column; width: 100%; }
  .hero-cta-group .btn { width: 100%; justify-content: center; }
  .trust-logos { justify-content: center; }
  .trust-badge { font-size: 0.75rem; padding: 4px 10px; }
  .hero-visual { max-width: 100%; width: 100%; }
  .hero-mockup { border-radius: var(--radius-md); }
  .metric-value { font-size: 1.1rem; }
  .bar-chart { height: 50px; }

  /* Section headers */
  .section-title { font-size: clamp(1.7rem, 7vw, 2.2rem); }
  .section-sub { font-size: 0.95rem; padding: 0 8px; }

  /* Stats */
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-number { font-size: 2.2rem; }
  .stat-item { padding: 24px 12px; }

  /* Marquee */
  .clients-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .client-logo span { font-size: 0.9rem; }
  .marquee-strip { padding: 10px 0; }
  .marquee-track span { font-size: 0.8rem; }

  /* Services */
  .services-grid { max-width: 100%; }
  .service-card { padding: 28px 20px; }

  /* Demo */
  .phone-frame { width: 260px; height: 520px; }
  .demo-stats { gap: 20px; flex-wrap: wrap; justify-content: center; }
  .demo-stat strong { font-size: 1.4rem; }
  .wa-name { font-size: 0.76rem; }

  /* Why */
  .why-grid { grid-template-columns: 1fr; }
  .why-grid-4 { grid-template-columns: 1fr; }
  .why-card { padding: 22px; }

  /* Problem / CTA banner */
  .problem-stats { grid-template-columns: 1fr; }
  .highlight-number { font-size: 2.8rem; }
  .cta-banner { padding: 56px 0; }
  .cta-banner-actions { flex-direction: column; width: 100%; }
  .cta-banner-actions .btn { width: 100%; justify-content: center; }

  /* Pricing */
  .pricing-grid { max-width: 100%; }
  .pricing-card { padding: 28px 20px; }
  .amount { font-size: 2.4rem; }
  .pricing-guarantee { flex-direction: column; padding: 16px 20px; text-align: center; }
  .pricing-toggle { gap: 8px; flex-wrap: wrap; justify-content: center; }

  /* Contact */
  .contact-form-wrap { padding: 24px 20px; border-radius: var(--radius-lg); }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-info .section-title { text-align: center !important; }

  /* Process */
  .step-content { padding: 18px; }
  .process-step { gap: 12px; grid-template-columns: 1fr; }
  .step-number { margin: 0 auto; }

  /* Footer */
  .footer { padding: 64px 0 32px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-brand { grid-column: auto; }
  .footer-links { text-align: center; }
  .footer-links ul { align-items: center; }
  .footer-contact { text-align: center; display: flex; flex-direction: column; align-items: center; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 12px; }
  .footer-bottom-links { justify-content: center; }

  /* Nav */
  .nav-container { padding: 0 20px; }
  .nav-logo-img { height: 48px; }
}

/* ---- Small mobile (≤400px) ---- */
@media (max-width: 400px) {
  .hero { padding: 88px 16px 56px; }
  .hero-logo-img { height: 96px; }
  .hero-title { font-size: 1.9rem; }
  .btn-lg { padding: 14px 22px; font-size: 0.95rem; }
  .phone-frame { width: 232px; height: 464px; }
  .stat-number { font-size: 1.9rem; }
  .metric-card { padding: 10px; }
}
