/* =========================================================
   سوق جيم — تنسيق الصفحة الرئيسية (assets/css/style.css)
   ========================================================= */

:root {
  --primary: #1f6f78;
  --primary-dark: #154e55;
  --accent: #ff7a59;
  --gold: #ffc857;
  --ink: #1d2b2f;
  --muted: #5f6f73;
  --bg: #ffffff;
  --soft: #f4f8f8;
  --line: #e3ecec;
  --dark: #102a2e;
  --wa: #25d366;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(16, 42, 46, .08);
  --shadow-lg: 0 24px 60px rgba(16, 42, 46, .16);
  --header-h: 68px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 10px); }
body {
  margin: 0;
  font-family: "IBM Plex Sans Arabic", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.75;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.35; margin: 0; }
.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 32px); }
.center { text-align: center; margin-top: 34px; }

/* ---------- الأزرار ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 700; cursor: pointer; white-space: nowrap;
  transition: transform .2s, box-shadow .2s, background .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: 8px 16px; font-size: .92rem; }
.btn-lg { padding: 15px 28px; font-size: 1.05rem; }
.btn-primary { background: linear-gradient(135deg, var(--accent), #ff5f7e); color: #fff; box-shadow: 0 10px 24px rgba(255, 106, 90, .35); }
.btn-primary:hover { box-shadow: 0 14px 30px rgba(255, 106, 90, .45); }
.btn-wa { background: #fff; color: #128c4b; border-color: #c9f1da; box-shadow: var(--shadow); }
.btn-outline { border-color: var(--primary); color: var(--primary); background: #fff; }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-light { background: #fff; color: var(--primary-dark); }
.btn-ghost-light { border-color: rgba(255, 255, 255, .6); color: #fff; }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .12); }
/* لمعة تمر على الزر */
.btn-shine { position: relative; overflow: hidden; }
.btn-shine::after {
  content: ""; position: absolute; inset: 0; width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent);
  transform: translateX(-250%) skewX(-20deg);
  animation: shine 3.5s ease-in-out infinite;
}
@keyframes shine { 0%, 60% { transform: translateX(350%) skewX(-20deg); } 100% { transform: translateX(-250%) skewX(-20deg); } }

/* ---------- الهيدر ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  transition: background .3s, box-shadow .3s;
}
.header.scrolled { background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px); box-shadow: 0 4px 20px rgba(0, 0, 0, .06); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 18px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.2rem; }
.brand img { width: 40px; height: 40px; object-fit: contain; border-radius: 10px; }
.brand small { color: var(--muted); font-weight: 500; font-size: .8rem; }
.nav { display: flex; gap: 4px; margin-inline-start: auto; }
.nav a { padding: 8px 12px; border-radius: 999px; font-weight: 500; color: var(--ink); transition: background .2s; }
.nav a:hover { background: rgba(31, 111, 120, .08); }
.nav .nav-market { color: var(--primary); font-weight: 700; }
.menu-toggle { display: none; background: none; border: 0; width: 42px; height: 42px; padding: 10px; cursor: pointer; }
.menu-toggle span { display: block; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: transform .3s, opacity .3s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- الواجهة ---------- */
.hero { position: relative; min-height: 100vh; padding: calc(var(--header-h) + 40px) 0 70px; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -1; background: linear-gradient(160deg, #eefaf8 0%, #fff6f0 55%, #fff 100%); }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; animation: drift 18s ease-in-out infinite alternate; }
.b1 { width: 460px; height: 460px; background: #8fd6cf; top: -120px; right: -100px; }
.b2 { width: 380px; height: 380px; background: #ffc2a8; bottom: -120px; left: -80px; animation-delay: -6s; }
.b3 { width: 280px; height: 280px; background: #ffe39a; top: 40%; left: 40%; animation-delay: -12s; opacity: .35; }
.grid-glow {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(31, 111, 120, .12) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 70%);
}
@keyframes drift { 0% { transform: translate(0, 0) scale(1); } 100% { transform: translate(60px, 40px) scale(1.15); } }

.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.pill {
  display: inline-block; padding: 7px 16px; border-radius: 999px;
  background: rgba(31, 111, 120, .1); color: var(--primary); font-weight: 700; font-size: .92rem;
  animation: fadeUp .7s both;
}
.free-badge {
  display: inline-block; margin: 0 8px; padding: 7px 16px; border-radius: 999px;
  background: linear-gradient(135deg, #ffe08a, #ffc857); color: #6b4700; font-weight: 700; font-size: .92rem;
  animation: fadeUp .7s .1s both, pulse 2.4s 1s infinite;
}
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 200, 87, .6); } 50% { box-shadow: 0 0 0 10px rgba(255, 200, 87, 0); } }
.hero-title { font-size: clamp(2rem, 5vw, 3.6rem); margin: 18px 0 14px; animation: fadeUp .8s .1s both; }
.hero-title > span { display: block; }
.rotator { color: transparent; }
.rotator-word {
  display: inline-block;
  background: linear-gradient(120deg, var(--accent), #ff5f7e 40%, var(--primary));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: wordIn .55s cubic-bezier(.2, .9, .3, 1.2) both;
}
.rotator-word.out { animation: wordOut .35s ease-in both; }
@keyframes wordIn { from { opacity: 0; transform: translateY(40%) rotateX(60deg); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes wordOut { to { opacity: 0; transform: translateY(-40%) rotateX(-60deg); filter: blur(4px); } }
.hero-title-end { font-size: .62em; color: var(--ink); margin-top: 6px; }
.hero-text { font-size: 1.1rem; color: var(--muted); max-width: 560px; margin: 0 0 26px; animation: fadeUp .8s .2s both; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; animation: fadeUp .8s .3s both; }
.hero-market-link { display: inline-block; margin-top: 18px; color: var(--primary); font-weight: 700; border-bottom: 2px dashed rgba(31, 111, 120, .35); animation: fadeUp .8s .4s both; }
.hero-market-link:hover { border-bottom-style: solid; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* بطاقات المنتجات الطائرة */
.hero-visual { position: relative; min-height: 460px; animation: fadeUp 1s .3s both; }
.float-stage { position: relative; height: 460px; }
.float-card {
  position: absolute; width: 190px; background: #fff; border-radius: 20px; padding: 10px;
  box-shadow: var(--shadow-lg); animation: floaty 6s ease-in-out infinite;
  transition: opacity .6s, transform .6s;
}
.float-card img, .float-card .ph { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 14px; background: var(--soft); }
.float-card .ph { display: grid; place-items: center; font-size: 3.4rem; }
.float-card b { display: block; margin-top: 8px; font-size: .92rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.float-card small { color: var(--muted); display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.float-card .fc-price { color: var(--accent); font-weight: 700; }
.float-card .fc-badge { position: absolute; top: 16px; right: 16px; background: var(--accent); color: #fff; font-weight: 700; font-size: .78rem; padding: 2px 9px; border-radius: 999px; }
.float-card.fade { opacity: 0; }
.fc-0 { top: 10px; right: 6%; animation-delay: 0s; transform: rotate(-4deg); }
.fc-1 { top: 70px; left: 4%; animation-delay: -2s; width: 210px; z-index: 2; }
.fc-2 { bottom: 0; right: 24%; animation-delay: -4s; transform: rotate(3deg); }
@keyframes floaty { 0%, 100% { translate: 0 0; } 50% { translate: 0 -18px; } }
.float-chip {
  position: absolute; z-index: 3; background: #fff; border-radius: 999px; padding: 8px 14px;
  box-shadow: var(--shadow); font-weight: 700; font-size: .88rem; white-space: nowrap;
  animation: floaty 5s ease-in-out infinite;
}
.chip-a { bottom: 70px; left: 0; animation-delay: -1s; }
.chip-b { top: 0; left: 30%; animation-delay: -3s; }

/* شرائح الأدمن */
.slider { position: relative; border-radius: 26px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 4.4; background: var(--dark); }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity .9s; }
.slide.active { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 7s ease-out; }
.slide.active img { transform: scale(1); }
.slide-caption {
  position: absolute; inset: auto 0 0; padding: 70px 26px 48px; color: #fff;
  background: linear-gradient(transparent, rgba(0, 0, 0, .75));
}
.slide-caption h3 { font-size: 1.6rem; }
.slide-caption p { margin: 6px 0 14px; opacity: .92; }
.slide.active .slide-caption > * { animation: fadeUp .7s both; }
.slide.active .slide-caption p { animation-delay: .15s; }
.slide.active .slide-caption .btn { animation-delay: .3s; }
.slider-dots { position: absolute; bottom: 16px; inset-inline: 0; display: flex; justify-content: center; gap: 8px; z-index: 2; }
.slider-dots button { width: 9px; height: 9px; border-radius: 99px; border: 0; padding: 0; background: rgba(255, 255, 255, .5); cursor: pointer; transition: width .3s, background .3s; }
.slider-dots button.active { width: 26px; background: #fff; }

/* ---------- الأرقام ---------- */
.stats { margin-top: -40px; position: relative; z-index: 2; }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  background: #fff; border-radius: 24px; box-shadow: var(--shadow-lg); padding: 10px;
}
.stat { text-align: center; padding: 18px 10px; }
.stat + .stat { border-inline-start: 1px solid var(--line); }
.stat b { display: block; font-size: clamp(1.8rem, 4vw, 2.6rem); color: var(--primary); line-height: 1.2; }
.stat span { color: var(--muted); font-weight: 500; }

/* ---------- شريط المتاجر ---------- */
.stores-strip { padding: 56px 0 10px; }
.strip-title { text-align: center; color: var(--muted); font-weight: 700; margin: 0 0 18px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 14px; width: max-content; animation: marquee 40s linear infinite; padding: 6px 0; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(50%); } }
.store-pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px 8px 10px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px; box-shadow: 0 4px 14px rgba(0, 0, 0, .04);
  transition: border-color .2s, transform .2s;
}
.store-pill:hover { border-color: var(--primary); transform: translateY(-2px); }
.store-pill .logo { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; display: grid; place-items: center; color: #fff; font-weight: 700; }
.store-pill b { display: block; line-height: 1.3; }
.store-pill small { color: var(--muted); }

/* ---------- الأقسام ---------- */
.section { padding: 90px 0; }
.section-soft { background: var(--soft); }
.section-dark { background: radial-gradient(ellipse at top right, #1d4b52, var(--dark) 60%); color: #fff; }
.section-head { text-align: center; max-width: 700px; margin: 0 auto 44px; }
.eyebrow { display: inline-block; color: var(--accent); font-weight: 700; margin-bottom: 8px; }
.section-head h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
.section-head p { color: var(--muted); margin: 10px 0 0; font-size: 1.05rem; }
.section-dark .section-head p { color: rgba(255, 255, 255, .75); }
.section-dark .eyebrow { color: var(--gold); }

/* ظهور تدريجي عند التمرير */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s, transform .8s cubic-bezier(.2, .8, .2, 1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- العروض ---------- */
.offers-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.offer {
  position: relative; display: flex; flex-direction: column; gap: 6px; padding: 22px;
  border-radius: var(--radius); color: #fff; overflow: hidden; min-height: 190px;
  background: linear-gradient(135deg, var(--c, var(--primary)), #102a2e);
  box-shadow: var(--shadow); transition: transform .3s, box-shadow .3s;
}
.offer:hover { transform: translateY(-6px) rotate(-.5deg); box-shadow: var(--shadow-lg); }
.offer::before { content: "🔥"; position: absolute; left: -10px; bottom: -20px; font-size: 6rem; opacity: .12; transform: rotate(-15deg); }
.offer-store { display: flex; align-items: center; gap: 8px; font-size: .9rem; opacity: .9; }
.offer-store .logo { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; background: rgba(255, 255, 255, .25); display: grid; place-items: center; font-weight: 700; }
.offer h3 { font-size: 1.25rem; }
.offer p { margin: 0; opacity: .88; font-size: .95rem; }
.offer .until { margin-top: auto; align-self: flex-start; background: rgba(255, 255, 255, .18); padding: 2px 12px; border-radius: 999px; font-size: .85rem; }
.offer .go { position: absolute; top: 18px; left: 18px; font-weight: 700; font-size: .85rem; opacity: 0; transform: translateX(10px); transition: .3s; }
.offer:hover .go { opacity: 1; transform: none; }

/* ---------- المنتجات ---------- */
.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.product {
  background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s;
}
.product:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.product .img { position: relative; aspect-ratio: 1; background: var(--soft); overflow: hidden; }
.product img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.product:hover img { transform: scale(1.08); }
.product .disc { position: absolute; top: 10px; right: 10px; background: var(--accent); color: #fff; font-weight: 700; font-size: .8rem; padding: 2px 10px; border-radius: 999px; }
.product .body { padding: 12px 14px 16px; display: flex; flex-direction: column; gap: 2px; flex: 1; }
.product h3 { font-size: 1rem; }
.product .store { color: var(--muted); font-size: .85rem; }
.product .price { margin-top: auto; padding-top: 6px; font-weight: 700; color: var(--primary); }
.product .price s { color: var(--muted); font-weight: 400; font-size: .85rem; margin-inline-start: 6px; }

/* ---------- آراء زبائن المتاجر ---------- */
.reviews-section .section-head { margin-bottom: 30px; }
.reviews-strip { overflow-x: auto; scrollbar-width: none; padding: 10px 0 20px; }
.reviews-strip::-webkit-scrollbar { display: none; }
.reviews-track { display: flex; gap: 18px; width: max-content; padding-inline: 16px; }
.reviews-track.moving { animation: marquee 60s linear infinite; }
.reviews-strip:hover .reviews-track, .reviews-strip:focus-within .reviews-track { animation-play-state: paused; }
.review {
  width: 320px; margin: 0; padding: 22px 22px 18px; flex: none; display: flex; flex-direction: column; gap: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  position: relative;
}
.review::before { content: "”"; position: absolute; top: 2px; left: 18px; font-size: 4rem; line-height: 1; color: rgba(31, 111, 120, .12); font-family: Georgia, serif; }
.review .stars { color: #f5a623; letter-spacing: 2px; font-size: 1.05rem; }
.review .stars span { color: #e3e6e7; }
.review blockquote { margin: 0; color: var(--ink); flex: 1; }
.review figcaption { display: flex; flex-direction: column; gap: 8px; font-size: .92rem; }
.review figcaption small { color: var(--muted); }
.review-store {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  padding: 4px 12px 4px 4px; border-radius: 999px; background: var(--soft); color: var(--primary); font-size: .85rem;
  transition: background .2s;
}
.review-store:hover { background: rgba(31, 111, 120, .12); }
.review-store .logo { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: .75rem; }

/* ---------- الخطوات ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: s; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 46px; inset-inline: 16%; height: 3px;
  background: repeating-linear-gradient(90deg, var(--line) 0 10px, transparent 10px 18px);
}
.step { position: relative; text-align: center; padding: 0 10px; }
.step .ic {
  position: relative; width: 92px; height: 92px; margin: 0 auto 16px; border-radius: 28px;
  display: grid; place-items: center; font-size: 2.4rem; background: #fff; box-shadow: var(--shadow);
  transition: transform .4s;
}
.step:hover .ic { transform: rotate(-8deg) scale(1.06); }
.step .ic::after {
  counter-increment: s; content: counter(s); position: absolute; top: -8px; left: -8px;
  width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: #fff;
  font-size: .95rem; font-weight: 700; display: grid; place-items: center;
}
.step h3 { font-size: 1.2rem; margin-bottom: 6px; }
.step p { color: var(--muted); margin: 0; }

/* ---------- لماذا ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.why-card {
  padding: 26px; border-radius: var(--radius); background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1); transition: background .3s, transform .3s, border-color .3s;
}
.why-card:hover { background: rgba(255, 255, 255, .1); transform: translateY(-4px); border-color: rgba(255, 200, 87, .5); }
.why-card .ic { font-size: 2rem; display: inline-block; margin-bottom: 8px; }
.why-card h3 { font-size: 1.15rem; margin-bottom: 6px; }
.why-card p { margin: 0; color: rgba(255, 255, 255, .75); }

/* ---------- الباقات ---------- */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 22px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column; padding: 30px 26px; border-radius: 24px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .3s, box-shadow .3s;
}
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.plan.featured { border: 2px solid var(--accent); transform: scale(1.03); }
.plan.featured:hover { transform: scale(1.03) translateY(-6px); }
.plan .tag { position: absolute; top: -14px; right: 50%; transform: translateX(50%); background: var(--accent); color: #fff; padding: 3px 14px; border-radius: 999px; font-size: .85rem; font-weight: 700; white-space: nowrap; }
.plan h3 { font-size: 1.3rem; }
.plan .desc { color: var(--muted); margin: 4px 0 14px; }
.plan .price { font-size: 2.3rem; font-weight: 700; color: var(--primary); line-height: 1.2; }
.plan .price small { font-size: 1rem; color: var(--muted); font-weight: 500; }
.plan .price s { font-size: 1.1rem; color: var(--muted); font-weight: 400; margin-inline-start: 8px; }
.plan .note { color: var(--muted); font-size: .9rem; }
.plan ul { list-style: none; padding: 0; margin: 18px 0 24px; display: grid; gap: 8px; }
.plan li { padding-inline-start: 26px; position: relative; }
.plan li::before { content: "✓"; position: absolute; right: 0; color: #16a34a; font-weight: 700; }
.plan li.no { color: #a0aaad; text-decoration: line-through; }
.plan li.no::before { content: "✕"; color: #c4cbcd; }
.plan .btn { margin-top: auto; }
.free-plan { max-width: 560px; margin: 0 auto; text-align: center; padding: 40px 30px; border-radius: 28px; background: linear-gradient(135deg, #fff8e6, #fff); border: 2px dashed var(--gold); }
.free-plan .big { font-size: 3rem; }
.free-plan h3 { font-size: 1.6rem; margin: 6px 0; }
.free-plan p { color: var(--muted); margin: 0 0 20px; }

/* ---------- الأسئلة ---------- */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border-radius: 14px; border: 1px solid var(--line); transition: box-shadow .3s; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary { padding: 18px 20px; font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--primary); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 20px 18px; color: var(--muted); }

/* ---------- الدعوة الأخيرة ---------- */
.final-cta {
  position: relative; overflow: hidden; padding: 90px 0; color: #fff; text-align: center;
  background: linear-gradient(120deg, var(--primary), #2a8f86, var(--accent), var(--primary));
  background-size: 300% 300%; animation: gradientMove 14s ease infinite;
}
@keyframes gradientMove { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.final-inner h2 { font-size: clamp(1.7rem, 4vw, 2.6rem); }
.final-inner p { font-size: 1.1rem; opacity: .9; margin: 10px auto 28px; max-width: 620px; }
.center-actions { justify-content: center; }

/* ---------- الفوتر ---------- */
.footer { background: var(--dark); color: rgba(255, 255, 255, .8); padding: 50px 0 20px; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 30px; }
.footer .brand small { color: rgba(255, 255, 255, .5); }
.footer-brand p { max-width: 380px; margin: 12px 0 0; }
.footer-links { display: grid; grid-template-columns: repeat(2, auto); gap: 8px 30px; align-content: start; }
.footer-links a:hover { color: #fff; }
.copy { text-align: center; margin: 36px 0 0; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .9rem; }

/* زر واتساب العائم */
.wa-float {
  position: fixed; bottom: 22px; left: 22px; z-index: 40; width: 58px; height: 58px; border-radius: 50%;
  background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px rgba(37, 211, 102, .45);
  animation: waPulse 2.6s infinite;
}
@keyframes waPulse { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .55); } 70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }

/* ---------- الشاشات المتوسطة ---------- */
@media (max-width: 1000px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-text { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-visual { max-width: 520px; margin: 0 auto; width: 100%; min-height: 0; }
  .float-stage { height: 380px; }
  .slider { aspect-ratio: 4 / 3; }
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- الجوال ---------- */
@media (max-width: 1080px) {
  .menu-toggle { display: block; margin-inline-start: auto; }
  .header-cta { display: none; }
  .nav {
    position: fixed; top: var(--header-h); inset-inline: 0; margin: 0; flex-direction: column; gap: 0;
    background: #fff; padding: 10px 16px 18px; box-shadow: 0 16px 30px rgba(0, 0, 0, .08);
    transform: translateY(-120%); transition: transform .35s; z-index: -1;
  }
  .nav.open { transform: none; }
  .nav a { padding: 12px; border-radius: 10px; }
  .header.menu-open { background: #fff; }
}
@media (max-width: 640px) {
  .hero { min-height: 0; padding-top: calc(var(--header-h) + 26px); }
  .hero-actions .btn { flex: 1 1 100%; }
  .float-stage { height: 330px; }
  .float-card { width: 150px; }
  .fc-1 { width: 165px; }
  .fc-0 { right: 2%; }
  .fc-1 { left: 2%; }
  .fc-2 { right: 26%; }
  .chip-b { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-inline-start: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .section { padding: 64px 0; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .product .body { padding: 10px; }
  .review { width: 270px; }
  .why-grid, .steps { grid-template-columns: 1fr; }
  .steps::before { display: none; }
  .plan.featured, .plan.featured:hover { transform: none; }
  .footer-inner { flex-direction: column; }
}

/* احترام من يفضّل تقليل الحركة */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
