:root {
  --bg: #0b0d14;
  --bg-2: #10131d;
  --surface: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.09);
  --text: #f4f5fb;
  --muted: #9aa3b5;
  --primary: #6c5ce7;
  --primary-2: #8b7bff;
  --green: #22c55e;
  --green-2: #4ade80;
  --wa: #25d366;
  --radius: 18px;
  --shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.7);
  --maxw: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Cairo", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.7;
}

/* ====== خلفية 3D ====== */
#hero3d {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: .28;
  filter: blur(2px) saturate(1.15);
}

/* ====== التحميل ====== */
#loader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  transition: opacity .6s ease, visibility .6s ease;
}
#loader.hidden { opacity: 0; visibility: hidden; }
.loader-box {
  font-size: 42px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: pulse 1.2s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.1); opacity: .7; } }

/* ====== حاويات ====== */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.ico { width: 20px; height: 20px; vertical-align: -4px; }
.ico-left { margin-left: 8px; }

/* ====== شريط التنقل ====== */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: background .35s ease, padding .35s ease, backdrop-filter .35s ease;
}
#navbar.scrolled {
  background: rgba(11, 13, 20, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark {
  font-size: 24px;
  font-weight: 900;
  color: #fff;
  padding: 4px 14px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 10px 24px -8px rgba(108, 92, 231, 0.8);
}
.brand-logo {
  height: 44px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}
.hero-logo {
  height: 70px;
  width: auto;
  max-width: 420px;
  vertical-align: baseline;
  object-fit: contain;
}
.brand-tag { color: var(--muted); font-size: 13px; }
.nav-links { display: flex; gap: 26px; list-style: none; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 600; transition: color .25s; position: relative; }
.nav-links a:hover { color: #fff; }
.nav-links a::after {
  content: ""; position: absolute; bottom: -6px; right: 0; width: 0; height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--primary-2));
  transition: width .3s ease;
}
.nav-links a:hover::after { width: 100%; }

/* ====== أزرار ====== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: 14px;
  font-family: inherit;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.btn:hover { transform: translateY(-3px); }
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 14px 34px -12px rgba(108, 92, 231, 0.9);
}
.btn-primary:hover { box-shadow: 0 20px 44px -12px rgba(108, 92, 231, 1); }
.btn-ghost { color: #fff; background: rgba(255,255,255,.06); border: 1px solid var(--border); }
.btn-outline { color: var(--text); background: transparent; border: 1px solid var(--border); }
.btn-whatsapp { color: #fff; background: linear-gradient(135deg, var(--wa), #1da851); box-shadow: 0 14px 34px -12px rgba(37, 211, 102, .8); }
.btn-lg { padding: 17px 34px; font-size: 17px; border-radius: 16px; }

/* ====== البطل ====== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(108,92,231,.35), transparent 60%);
  filter: blur(40px);
  z-index: 0;
  animation: floatGlow 8s ease-in-out infinite;
}
@keyframes floatGlow { 0%,100%{transform:translate(0,0)} 50%{transform:translate(-40px,30px)} }
.hero-inner { position: relative; z-index: 2; max-width: 640px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 40px;
  border: 1px solid rgba(37, 211, 102, .4);
  background: rgba(37, 211, 102, .1);
  color: var(--green-2);
  font-weight: 700;
  font-size: 14px;
}
.pulse-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); animation: pulseDot 1.6s infinite; }
@keyframes pulseDot { 0%,100%{box-shadow:0 0 0 0 rgba(37,211,102,.6)} 50%{box-shadow:0 0 0 7px rgba(37,211,102,0)} }
.hero-title { font-size: clamp(42px, 7vw, 76px); font-weight: 900; line-height: 1.32; margin: 26px 0 22px; }
.grad { background: linear-gradient(135deg, var(--primary-2), #b9aeff, var(--primary-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { color: var(--muted); font-size: 19px; max-width: 560px; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-note { margin-top: 22px; color: var(--muted); font-size: 14px; }

/* بطاقة عائمة */
.hero-card-wrap { position: absolute; z-index: 3; left: 4%; top: 50%; transform: translateY(-50%); perspective: 1200px; }
.hero-card {
  width: 340px;
  padding: 20px;
  border-radius: 22px;
  background: rgba(22, 26, 38, .75);
  border: 1px solid var(--border);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
  transform-style: preserve-3d;
  transition: transform .15s ease;
  animation: cardFloat 6s ease-in-out infinite;
}
@keyframes cardFloat { 0%,100%{transform:translateY(0) rotateX(6deg) rotateY(-10deg)} 50%{transform:translateY(-16px) rotateX(6deg) rotateY(-10deg)} }
.hc-head { display: flex; align-items: center; gap: 6px; margin-bottom: 16px; }
.hc-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--muted); opacity: .5; }
.hc-title { margin-right: auto; font-size: 12px; color: var(--muted); }
.hc-line { height: 10px; border-radius: 6px; background: rgba(255,255,255,.08); margin: 8px 0 14px; }
.hc-row { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); padding: 6px 0; }
.hc-row span:last-child { color: #fff; font-weight: 600; }
.hc-divider { height: 1px; background: var(--border); margin: 12px 0; }
.hc-total { display: flex; justify-content: space-between; font-size: 17px; font-weight: 800; }
.hc-chips { display: flex; gap: 8px; margin-top: 16px; }
.chip { padding: 5px 12px; border-radius: 20px; font-size: 12px; font-weight: 700; }
.chip-green { background: rgba(37,211,102,.15); color: var(--green-2); }
.chip-purple { background: rgba(108,92,231,.18); color: var(--primary-2); }

/* ====== شريط إحصائيات ====== */
.stats-strip { position: relative; z-index: 2; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-2); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 40px 24px; }
.stat { text-align: center; }
.stat-num { font-size: 40px; font-weight: 900; background: linear-gradient(135deg, var(--primary-2), var(--green-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-label { color: var(--muted); font-size: 14px; margin-top: 4px; }

/* ====== أقسام ====== */
.section { position: relative; z-index: 2; padding: 110px 0; }
.section-alt { background: var(--bg-2); }
.section-head { text-align: center; max-width: 700px; margin: 0 auto 64px; }
.kicker { display: inline-block; color: var(--primary-2); font-weight: 800; letter-spacing: 1px; font-size: 14px; margin-bottom: 12px; }
.section-title { font-size: clamp(30px, 4.5vw, 48px); font-weight: 900; line-height: 1.3; margin-bottom: 16px; }
.section-sub { color: var(--muted); font-size: 17px; }

/* ====== المميزات ====== */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card {
  padding: 30px 26px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform .3s ease, border-color .3s ease, background .3s ease;
  transform-style: preserve-3d;
}
.feature-card:hover { border-color: rgba(139,123,255,.5); background: rgba(108,92,231,.08); }
.feature-icon { font-size: 34px; margin-bottom: 16px; }
.feature-card h3 { font-size: 19px; font-weight: 800; margin-bottom: 8px; }
.feature-card p { color: var(--muted); font-size: 14.5px; }

/* ====== خطوات ====== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step { position: relative; text-align: center; padding: 34px 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.step-num {
  position: absolute;
  top: -16px;
  right: 50%;
  transform: translateX(50%);
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 8px 20px -6px rgba(108,92,231,.8);
}
.step-icon { font-size: 38px; margin-bottom: 14px; }
.step h3 { font-size: 18px; font-weight: 800; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 14px; }

.how-cta {
  margin-top: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  padding: 34px;
  border-radius: var(--radius);
  border: 1px solid rgba(37,211,102,.35);
  background: linear-gradient(135deg, rgba(37,211,102,.1), rgba(108,92,231,.1));
}
.how-cta h3 { font-size: 22px; font-weight: 900; margin-bottom: 6px; }
.how-cta p { color: var(--muted); font-size: 15px; }
.register-form { display: flex; gap: 12px; flex-wrap: wrap; }
.register-form input {
  padding: 13px 18px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.06);
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  min-width: 200px;
}
.register-form input::placeholder { color: var(--muted); }

/* ====== الأسعار ====== */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.price-card { position: relative; padding: 40px 30px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); display: flex; flex-direction: column; gap: 18px; }
.price-card.featured {
  border: 2px solid var(--primary);
  background: linear-gradient(160deg, rgba(108,92,231,.16), rgba(255,255,255,.04));
  box-shadow: 0 30px 70px -30px rgba(108,92,231,.7);
  transform: scale(1.04);
}
.badge-popular {
  position: absolute;
  top: -14px;
  right: 50%;
  transform: translateX(50%);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  white-space: nowrap;
}
.price-card h3 { font-size: 20px; font-weight: 800; }
.price { display: flex; align-items: baseline; gap: 8px; }
.price .amount { font-size: 46px; font-weight: 900; background: linear-gradient(135deg, var(--primary-2), #fff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.price .unit { color: var(--muted); }
.price-card ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.price-card li { position: relative; padding-right: 26px; color: var(--muted); font-size: 15px; }
.price-card li::before { content: "✓"; position: absolute; right: 0; color: var(--green); font-weight: 900; }
.pricing-note { text-align: center; color: var(--muted); font-size: 13px; margin-top: 28px; }

/* ====== الأسئلة ====== */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.faq-item { border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); overflow: hidden; }
.faq-q {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: none;
  border: none;
  color: var(--text);
  font-family: inherit;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  text-align: right;
}
.faq-chev {
  transition: transform .3s ease;
  color: var(--primary-2);
  display: inline-flex;
  width: 22px; height: 22px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(108,92,231,.15);
  font-size: 0;
}
.faq-chev svg { width: 14px; height: 14px; }
.faq-item.open .faq-chev { transform: rotate(180deg); background: rgba(108,92,231,.3); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.faq-a p { padding: 0 24px 20px; color: var(--muted); font-size: 15px; }

/* ====== الختام والفوتر ====== */
.final-cta { text-align: center; }
.final-inner { padding: 70px 24px; border-radius: 28px; border: 1px solid var(--border); background: linear-gradient(160deg, rgba(108,92,231,.2), rgba(37,211,102,.08)); }
.final-inner h2 { font-size: clamp(30px, 5vw, 50px); font-weight: 900; margin-bottom: 14px; }
.final-inner p { color: var(--muted); font-size: 18px; margin-bottom: 34px; }
footer { position: relative; z-index: 2; border-top: 1px solid var(--border); background: var(--bg-2); padding: 50px 0 20px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-sub { color: var(--muted); font-size: 14px; margin-top: 6px; }
.footer-links { display: flex; gap: 22px; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: 14px; }
.footer-links a:hover { color: #fff; }
.footer-wa { padding: 11px 20px; font-size: 14px; }
.footer-socials { display: flex; gap: 12px; }
.social-link {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--muted);
  transition: transform .2s ease, color .2s ease, border-color .2s ease;
}
.social-link:hover { color: #fff; border-color: var(--accent); transform: translateY(-3px); }
.social-link svg { width: 22px; height: 22px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--border); color: var(--muted); font-size: 13px; }

/* زر واتساب عائم */
.wa-float {
  position: fixed;
  bottom: 26px;
  left: 26px;
  z-index: 200;
  width: 58px; height: 58px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--wa), #1da851);
  color: #fff;
  box-shadow: 0 14px 34px -8px rgba(37,211,102,.8);
  transition: transform .25s ease;
  animation: waBounce 2.4s infinite;
}
.wa-float:hover { transform: scale(1.1); }
.wa-float svg { width: 30px; height: 30px; }
@keyframes waBounce { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }

/* أيقونة لوحة التحكم المخفية */
.admin-gear {
  position: fixed;
  bottom: 12px;
  right: 12px;
  z-index: 200;
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px;
  color: rgba(255,255,255,.22);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.07);
  transition: color .25s, background .25s;
  text-decoration: none;
}
.admin-gear svg { width: 17px; height: 17px; }
.admin-gear:hover { color: rgba(255,255,255,.8); background: rgba(255,255,255,.12); }

/* مودال التحميل */
.dl-modal {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(8, 10, 16, 0.78);
  backdrop-filter: blur(8px);
}
.dl-modal[hidden] { display: none; }
.dl-modal-box {
  position: relative;
  width: 100%;
  max-width: 420px;
  padding: 36px 30px 28px;
  border-radius: 22px;
  border: 1px solid var(--border);
  background: var(--bg-2);
  box-shadow: var(--shadow);
  text-align: center;
}
.dl-modal-close {
  position: absolute;
  top: 14px;
  left: 16px;
  width: 32px; height: 32px;
  border: none;
  border-radius: 10px;
  background: rgba(255,255,255,.06);
  color: var(--muted);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.dl-modal-close:hover { background: rgba(255,255,255,.12); color: #fff; }
.dl-modal-icon { font-size: 40px; margin-bottom: 10px; }
.dl-modal-box h3 { font-size: 24px; font-weight: 900; margin-bottom: 8px; }
.dl-modal-sub { color: var(--muted); font-size: 14px; margin-bottom: 22px; }
.dl-modal-box form { display: flex; flex-direction: column; gap: 12px; }
.dl-modal-box input {
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.06);
  color: #fff;
  font-family: inherit;
  font-size: 14px;
}
.dl-modal-box input::placeholder { color: var(--muted); }
.dl-error { color: var(--danger, #f87171); font-size: 13px; margin: 0; text-align: right; }
.dl-error[hidden] { display: none; }
.dl-submit { width: 100%; }
.dl-note { margin-top: 16px; color: var(--muted); font-size: 12px; }

/* ====== ظهور عند السكرول ====== */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1); }
.reveal.visible { opacity: 1; transform: none; }
.reveal[data-tilt] { will-change: transform; }

/* ====== لقطات البرنامج ====== */
.shots-wrap { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 22px; align-items: stretch; }
.shot-mock {
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(16, 19, 29, .85);
  overflow: hidden;
  box-shadow: var(--shadow);
  transform-style: preserve-3d;
  transition: transform .2s ease, border-color .3s;
}
.shot-mock:hover { border-color: rgba(139,123,255,.5); }
.mock-head { display: flex; align-items: center; gap: 7px; padding: 13px 16px; border-bottom: 1px solid var(--border); background: rgba(255,255,255,.03); }
.mock-dot { width: 10px; height: 10px; border-radius: 50%; }
.mock-dot.r { background: #ff5f57; }
.mock-dot.y { background: #febc2e; }
.mock-dot.g { background: #28c840; }
.mock-title { margin-right: auto; color: var(--muted); font-size: 13px; font-weight: 700; }
.mock-body { padding: 16px; }
.mock-cols { display: grid; grid-template-columns: 1.1fr 1fr; gap: 12px; }
.mock-products { display: flex; flex-direction: column; gap: 8px; }
.mock-chip { display: flex; justify-content: space-between; padding: 9px 12px; border-radius: 10px; background: rgba(255,255,255,.06); border: 1px solid var(--border); font-size: 12px; color: var(--muted); }
.mock-chip b { color: #fff; }
.mock-chip.on { background: rgba(108,92,231,.22); border-color: rgba(139,123,255,.6); }
.mock-cart { display: flex; flex-direction: column; gap: 8px; background: rgba(255,255,255,.04); border: 1px solid var(--border); border-radius: 12px; padding: 12px; }
.cart-item { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); }
.cart-item b { color: #fff; }
.cart-total { display: flex; justify-content: space-between; font-size: 14px; font-weight: 800; border-top: 1px solid var(--border); padding-top: 9px; margin-top: 3px; }
.cart-btn { text-align: center; padding: 9px; border-radius: 10px; background: linear-gradient(135deg, var(--primary), var(--primary-2)); color: #fff; font-weight: 800; font-size: 13px; }
.stat-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.stat-card { text-align: center; padding: 12px 6px; border-radius: 12px; background: rgba(255,255,255,.05); border: 1px solid var(--border); }
.stat-card .sc-ico { font-size: 18px; }
.stat-card b { display: block; font-size: 16px; margin: 4px 0 2px; }
.stat-card small { color: var(--muted); font-size: 10px; }
.mock-chart { display: flex; align-items: flex-end; gap: 7px; height: 92px; padding: 10px; border-radius: 12px; background: rgba(255,255,255,.03); border: 1px solid var(--border); }
.mock-chart i { flex: 1; border-radius: 5px 5px 0 0; background: linear-gradient(180deg, var(--primary-2), rgba(139,123,255,.35)); min-height: 8px; }
.mock-table { display: flex; flex-direction: column; gap: 6px; }
.mt-row { display: grid; grid-template-columns: 1.4fr .6fr 1fr; gap: 6px; padding: 8px 10px; border-radius: 8px; background: rgba(255,255,255,.04); font-size: 12px; color: var(--muted); }
.mt-row b { color: var(--green-2); text-align: left; }
.mt-row span:last-of-type { text-align: left; }
.mt-head { background: rgba(108,92,231,.18); color: var(--primary-2); font-weight: 800; }

/* ====== آراء العملاء ====== */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testi-card { padding: 30px 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); transition: transform .3s, border-color .3s; }
.testi-card:hover { border-color: rgba(139,123,255,.5); transform: translateY(-6px); }
.testi-stars { color: #fbbf24; letter-spacing: 3px; font-size: 15px; margin-bottom: 14px; }
.testi-card p { color: var(--muted); font-size: 15px; line-height: 1.9; margin-bottom: 20px; }
.testi-user { display: flex; align-items: center; gap: 12px; }
.testi-avatar { width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; border-radius: 50%; font-weight: 900; font-size: 17px; background: linear-gradient(135deg, var(--primary), var(--primary-2)); color: #fff; }
.testi-user b { font-size: 15px; }
.testi-user small { display: block; color: var(--muted); font-size: 12px; }

/* ====== مقارنة ====== */
.compare-table { max-width: 860px; margin: 0 auto; border: 1px solid var(--border); border-radius: 18px; overflow: hidden; }
.cmp-row { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; align-items: center; }
.cmp-row > span { padding: 15px 18px; font-size: 14px; border-bottom: 1px solid var(--border); }
.cmp-row:last-child > span { border-bottom: none; }
.cmp-feat { color: var(--text); font-weight: 700; background: rgba(255,255,255,.02); }
.cmp-col { text-align: center; color: var(--muted); }
.cmp-col.no { color: #f87171; font-weight: 800; }
.cmp-col.maybe { color: #fbbf24; font-weight: 700; }
.cmp-col.yes { color: var(--green-2); font-weight: 800; }
.cmp-head { background: rgba(255,255,255,.04); }
.cmp-head .cmp-feat { color: var(--muted); }
.cmp-col.cmp-be3 { background: rgba(108,92,231,.2); color: var(--primary-2); font-weight: 900; }
.cmp-col.cmp-be3 b { margin-right: 4px; color: var(--green-2); }

/* ====== استجابة ====== */
@media (max-width: 1024px) {
  .hero-card-wrap { display: none; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .shots-wrap { grid-template-columns: 1fr 1fr; }
  .mock-pos { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-download { padding: 10px 16px; font-size: 13px; }
  .features-grid, .pricing-grid, .testi-grid, .shots-wrap { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .price-card.featured { transform: none; }
  .how-cta { padding: 24px; }
  .register-form input { min-width: 100%; }
  .cmp-row { grid-template-columns: 1.2fr 1fr 1fr 1fr; }
  .cmp-row > span { padding: 12px 8px; font-size: 12px; }
  .mock-cols { grid-template-columns: 1fr; }
}

/* =========================================================
   SaaS Ultra Modern Visual Upgrade (Be3.space)
========================================================= */

/* Typography & Glows */
.typewriter-wrap {
  display: inline-block;
  position: relative;
  min-width: 300px;
  text-align: right;
}

.grad-anim {
  background: linear-gradient(135deg, #c084fc 0%, #818cf8 35%, #38bdf8 70%, #ec4899 100%);
  background-size: 250% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shineGrad 4s linear infinite;
  display: inline-block;
  font-weight: 900;
  border-left: 3px solid #38bdf8;
  padding-left: 8px;
  animation: blinkCursor 0.7s infinite alternate, shineGrad 4s linear infinite;
}

@keyframes blinkCursor {
  0% { border-color: transparent; }
  100% { border-color: #38bdf8; }
}

@keyframes shineGrad {
  to { background-position: 250% center; }
}


/* ===== 100% Ultra Smooth Seamless Infinite Marquee ===== */
.marquee-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 14px 0;
  background: rgba(15, 23, 42, 0.85);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  margin: 20px 0 35px;
  direction: ltr !important; /* Forces uniform leftward continuous movement */
  user-select: none;
}

.marquee-track {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  width: max-content !important;
  animation: marqueeContinuous 30s linear infinite !important;
}

.marquee-container:hover .marquee-track {
  animation-play-state: paused !important;
}

.marquee-group {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 16px !important;
  padding-right: 16px !important;
  flex-shrink: 0 !important;
}

.marquee-item {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 8px 18px !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 999px !important;
  font-size: 0.92rem !important;
  font-weight: 700 !important;
  color: #f8fafc !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
  transition: all 0.25s ease !important;
  direction: rtl !important;
}

.marquee-item:hover {
  background: rgba(99, 102, 241, 0.25) !important;
  border-color: #818cf8 !important;
  transform: translateY(-2px) scale(1.04) !important;
  color: #fff !important;
}

@keyframes marqueeContinuous {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

  100% { transform: translateX(calc(50% + 10px)); }
}

/* ===== Interactive Live POS Simulator Terminal ===== */
.pos-terminal {
  background: rgba(15, 23, 42, 0.85) !important;
  border: 1px solid rgba(129, 140, 248, 0.3) !important;
  border-radius: 24px !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 35px rgba(99, 102, 241, 0.25) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  padding: 24px !important;
  color: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.pos-terminal::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 300%;
  height: 100%;
  background: linear-gradient(75deg, transparent 20%, rgba(255, 255, 255, 0.04) 30%, transparent 40%);
  animation: gleamAnim 7s infinite;
  pointer-events: none;
}

@keyframes gleamAnim {
  0% { transform: translateX(-100%); }
  35%, 100% { transform: translateX(100%); }
}

.pos-nav-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  background: rgba(0, 0, 0, 0.4);
  padding: 6px;
  border-radius: 12px;
}

.pos-tab {
  flex: 1;
  padding: 8px 12px;
  text-align: center;
  border: none;
  background: transparent;
  color: #94a3b8;
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pos-tab.active {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #fff;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.laser-beam {
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #38bdf8, #ec4899, transparent);
  position: relative;
  animation: laserScan 2s ease-in-out infinite alternate;
  box-shadow: 0 0 10px #38bdf8;
  margin: 10px 0;
}

@keyframes laserScan {
  0% { transform: translateY(0); opacity: 0.3; }
  100% { transform: translateY(12px); opacity: 1; }
}

.pos-btn-action {
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.pos-btn-action:hover {
  background: rgba(99, 102, 241, 0.25);
  border-color: #6366f1;
  transform: translateY(-2px);
}

/* ===== Bento Grid Upgrades ===== */
.bento-card {
  background: rgba(15, 23, 42, 0.6) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 20px !important;
  padding: 30px !important;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
  position: relative;
  overflow: hidden;
}

.bento-card:hover {
  transform: translateY(-6px) !important;
  border-color: rgba(99, 102, 241, 0.4) !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(99, 102, 241, 0.15) !important;
}

.bento-chart-box {
  background: rgba(0, 0, 0, 0.25);
  border-radius: 12px;
  padding: 15px;
  margin-top: 15px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* ===== Pricing Glowing Highlight ===== */
.pricing-card.popular {
  position: relative;
  background: linear-gradient(180deg, rgba(30, 27, 75, 0.8), rgba(15, 23, 42, 0.9)) !important;
  border: 2px solid transparent !important;
  background-clip: padding-box !important;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6), 0 0 35px rgba(168, 85, 247, 0.3) !important;
  transform: scale(1.03);
}

.pricing-card.popular::after {
  content: '';
  position: absolute;
  top: -2px; bottom: -2px;
  left: -2px; right: -2px;
  background: linear-gradient(135deg, #a855f7, #6366f1, #38bdf8);
  border-radius: 22px;
  z-index: -1;
  animation: borderGlow 4s linear infinite;
}

@keyframes borderGlow {
  0%, 100% { filter: hue-rotate(0deg); }
  50% { filter: hue-rotate(60deg); }
}

.badge-discount {
  display: inline-block;
  padding: 4px 12px;
  background: linear-gradient(135deg, #ec4899, #f43f5e);
  color: #fff;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  margin-right: 8px;
  box-shadow: 0 4px 12px rgba(236, 72, 153, 0.4);
}

/* ===== 4-Step Interactive Timeline ===== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  position: relative;
  margin-top: 40px;
}

.step-card {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 26px 20px;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
}

.step-card:hover {
  transform: translateY(-5px);
  border-color: rgba(99, 102, 241, 0.4);
  background: rgba(30, 27, 75, 0.4);
}

.step-num-glow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366f1, #a855f7);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 900;
  margin: 0 auto 16px;
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.5);
}

/* ===== Floating Smart WhatsApp Button ===== */
.floating-wa-btn {
  position: fixed;
  bottom: 25px;
  left: 25px;
  z-index: 9999;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 999px;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4), 0 0 15px rgba(37, 211, 102, 0.2);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.floating-wa-btn:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 15px 35px rgba(37, 211, 102, 0.5), 0 0 25px rgba(37, 211, 102, 0.3);
  color: #fff;
}

.wa-pulse-dot {
  width: 10px;
  height: 10px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 8px #fff;
  animation: pulseAnim 1.4s infinite;
}

@keyframes pulseAnim {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}






/* =========================================================
   2026 ULTRA-MODERN HORIZONTAL CARD SLIDER & MOBILE SYSTEM
========================================================= */

/* Desktop Controls */
.slider-nav-row {
  display: none;
}

.card-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
  width: fit-content;
}

@media (max-width: 820px) {
  /* Hide dock if present */
  .mobile-app-dock {
    display: none !important;
  }

  body {
    padding-bottom: 0 !important;
  }

  /* Slider Controls Row (Navigation + Counter) */
  .slider-nav-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0 4px 12px !important;
    margin-bottom: 4px !important;
  }

  .slider-counter {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #94a3b8 !important;
  }

  .counter-badge {
    background: linear-gradient(135deg, #6366f1, #38bdf8) !important;
    color: #ffffff !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    padding: 2px 8px !important;
    border-radius: 999px !important;
    box-shadow: 0 2px 8px rgba(56, 189, 248, 0.4) !important;
  }

  .slider-arrows {
    display: flex !important;
    gap: 8px !important;
  }

  .slider-btn {
    width: 38px !important;
    height: 38px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 12px !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
    cursor: pointer !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
  }

  .slider-btn:active {
    transform: scale(0.9) !important;
    background: rgba(56, 189, 248, 0.25) !important;
    border-color: #38bdf8 !important;
  }

  .slider-btn svg {
    width: 18px !important;
    height: 18px !important;
  }

  /* Filter Pills */
  .mobile-feat-filter {
    display: flex !important;
    gap: 8px !important;
    overflow-x: auto !important;
    padding: 4px 2px 12px !important;
    margin-bottom: 8px !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
  }
  .mobile-feat-filter::-webkit-scrollbar { display: none; }

  .feat-pill {
    white-space: nowrap !important;
    padding: 8px 16px !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: #cbd5e1 !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
    font-family: inherit !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
  }

  .feat-pill.active {
    background: linear-gradient(135deg, #6366f1, #38bdf8) !important;
    color: #ffffff !important;
    border-color: transparent !important;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.45) !important;
  }

  /* CARD SLIDER CONTAINER (Horizontal Smooth Snap Scroll) */
  .card-slider-container {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    gap: 16px !important;
    padding: 10px 16px 25px !important;
    margin-left: -16px !important;
    margin-right: -16px !important;
    scrollbar-width: none !important;
    scroll-behavior: smooth !important;
  }

  .card-slider-container::-webkit-scrollbar {
    display: none !important;
  }

  /* SLIDER CARDS (Features, Steps, Pricing, Testimonials) */
  .feature-card, 
  .step, 
  .price-card, 
  .testi-card {
    flex: 0 0 82vw !important;
    max-width: 320px !important;
    scroll-snap-align: center !important;
    scroll-snap-stop: always !important;
    margin: 0 !important;
    padding: 26px 20px 22px !important;
    border-radius: 24px !important;
    background: linear-gradient(160deg, rgba(30, 41, 65, 0.85), rgba(15, 23, 42, 0.95)) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.5), 0 0 25px rgba(99, 102, 241, 0.12) !important;
    transition: transform 0.25s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.25s ease !important;
    user-select: none !important;
    touch-action: pan-x pan-y !important;
  }

  .feature-card.filtered-out {
    display: none !important;
  }

  .feature-card:active,
  .step:active,
  .price-card:active,
  .testi-card:active {
    transform: scale(0.98) !important;
  }

  /* Steps Mobile Polish */
  .step {
    text-align: right !important;
  }

  .step-num {
    top: 14px !important;
    left: 14px !important;
    right: unset !important;
  }

  /* Pricing Mobile Polish */
  .price-card.featured {
    border-color: #818cf8 !important;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6), 0 0 35px rgba(129, 140, 248, 0.3) !important;
  }

  /* Footer Mobile Cleanliness */
  footer {
    padding-top: 50px !important;
    padding-bottom: 40px !important;
  }

  .footer-inner {
    flex-direction: column !important;
    gap: 24px !important;
    text-align: center !important;
    align-items: center !important;
  }

  .footer-links {
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 16px !important;
  }

  .footer-bottom {
    flex-direction: column !important;
    gap: 8px !important;
    text-align: center !important;
  }
}




/* =========================================================
   CENTERED DEDICATED VIDEO SHOWCASE SECTION
========================================================= */
.video-showcase-section {
  padding: 60px 0 70px;
  background: radial-gradient(circle at 50% 30%, rgba(99, 102, 241, 0.15), transparent 70%),
              linear-gradient(180deg, rgba(15, 23, 42, 0.9) 0%, rgba(10, 15, 30, 0.95) 100%);
  position: relative;
  overflow: hidden;
}

.video-showcase-card {
  max-width: 880px;
  margin: 0 auto;
  position: relative;
}

.video-window-frame {
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8), 0 0 50px rgba(99, 102, 241, 0.35);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-window-frame:hover {
  box-shadow: 0 35px 95px rgba(0, 0, 0, 0.9), 0 0 65px rgba(56, 189, 248, 0.45);
}

.video-window-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.window-dots {
  display: flex;
  gap: 8px;
}

.window-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dot-red { background: #ef4444; }
.dot-yellow { background: #eab308; }
.dot-green { background: #22c55e; }

.video-badge-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 800;
  color: #e2e8f0;
}

.play-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 10px #22c55e;
  animation: pulseDot 1.5s infinite;
}

.sound-toggle-btn {
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: #38bdf8;
  font-size: 12.5px;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.sound-toggle-btn:hover, .sound-toggle-btn:active {
  background: rgba(56, 189, 248, 0.3);
  color: #ffffff;
  transform: scale(1.05);
}

.video-container {
  position: relative;
  width: 100%;
  background: #000;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.hero-video-element {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.video-play-overlay.paused {
  opacity: 1;
  pointer-events: auto;
}

.play-circle-glow {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366f1, #38bdf8);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 40px rgba(99, 102, 241, 0.9);
  color: #fff;
  transition: transform 0.2s ease;
}

.play-circle-glow svg {
  width: 34px;
  height: 34px;
  margin-right: -4px;
}

.video-card-footer {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 12px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  margin-top: 18px;
}

.vcf-item {
  font-size: 13px;
  font-weight: 800;
  color: #cbd5e1;
}

/* Ensure #hero3d canvas is hidden */
#hero3d {
  display: none !important;
}

/* Fix Hero section layout */
.hero {
  position: relative;
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  padding-top: 100px;
  padding-bottom: 60px;
  overflow: hidden;
}

@media (max-width: 820px) {
  .video-showcase-section {
    padding: 40px 0 50px;
  }
  .video-window-frame {
    border-radius: 18px;
  }
  .video-badge-title {
    font-size: 12px;
  }
  .sound-toggle-btn {
    font-size: 11px;
    padding: 4px 10px;
  }
  .video-card-footer {
    justify-content: center;
    gap: 8px 16px;
  }
  .vcf-item {
    font-size: 11.5px;
  }
}
