/* ============================================================
   EXIMIA — نظام تصميم إمبراطوري
   كل سطر هنا كُتب بهدف: الفخامة، الدقة، والإقناع
   ============================================================ */

:root {
  /* ثيم أبيض وذهبي — نفس أسماء المتغيرات للحفاظ على البنية */
  --navy-950: #fdfbf5;   /* خلفية الصفحة — أبيض دافئ */
  --navy-900: #faf6ec;   /* خلفية ثانوية */
  --navy-800: #f5efdf;   /* خلفية الكروت */
  --navy-700: #efe6cd;
  --navy-600: #e7dab6;
  --gold-500: #c9971e;   /* ذهبي غني واضح على الأبيض */
  --gold-400: #a5741a;
  --gold-300: #a5741a;
  --copper: #9a5a20;
  --silver: #a89c82;
  --ink: #2b2416;        /* نص أساسي — بني غامق */
  --ink-dim: #6f6450;    /* نص ثانوي — رمادي دافئ */
  --success: #1e9e57;
  --danger: #d64541;
  --radius: 18px;
  --shadow-gold: 0 0 40px rgba(201, 151, 30, 0.18);
  --grad-gold: linear-gradient(135deg, #e8b64c 0%, #c9971e 45%, #a5741a 100%);
  --grad-navy: linear-gradient(160deg, #ffffff 0%, #f6efdd 100%);
  --font-main: 'Cairo', 'Tajawal', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-main);
  background: var(--navy-950);
  color: var(--ink);
  overflow-x: hidden;
  line-height: 1.7;
}

::selection { background: var(--gold-500); color: var(--navy-950); }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--navy-900); }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--gold-500), var(--copper)); border-radius: 8px; }

/* ============ Preloader — النسخة الملكية ============ */
#preloader {
  position: fixed; inset: 0; z-index: 10000;
  background:
    radial-gradient(900px 600px at 50% 35%, rgba(245,235,210,0.85), transparent 70%),
    linear-gradient(165deg, #fbf7ee 0%, #f6f0e0 100%);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.7s ease, visibility 0.7s, transform 0.7s ease;
}
#preloader.hidden { opacity: 0; visibility: hidden; transform: scale(1.06); }
.preloader-vignette {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(120,95,40,.16) 100%);
}
.preloader-inner { text-align: center; position: relative; z-index: 2; }
.preloader-emblem { position: relative; width: 190px; height: 190px; margin: 0 auto 1.2rem; }
.preloader-logo {
  position: absolute; inset: 32px;
  width: calc(100% - 64px); height: calc(100% - 64px); object-fit: contain;
  filter: drop-shadow(0 0 26px rgba(184,134,11,0.45));
  animation: emblemFloat 3s ease-in-out infinite;
}
@keyframes emblemFloat {
  0%,100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-7px) scale(1.03); }
}
.preloader-ring-spin {
  position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: var(--gold-500); border-left-color: rgba(184,134,11,0.25);
  animation: preRingSpin 1.4s cubic-bezier(0.6, 0.15, 0.4, 0.85) infinite;
}
.preloader-ring-spin.ring-reverse {
  inset: 12px;
  border-top-color: var(--silver); border-left-color: rgba(138,125,99,0.25);
  animation: preRingSpin 2s cubic-bezier(0.6, 0.15, 0.4, 0.85) infinite reverse;
}
@keyframes preRingSpin { to { transform: rotate(360deg); } }
.preloader-brand { display: flex; justify-content: center; gap: 0.35rem; margin-bottom: 0.9rem; direction: ltr; }
.preloader-brand span {
  font-size: 1.9rem; font-weight: 900; letter-spacing: 2px;
  background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: 0; transform: translateY(16px);
  animation: letterIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.preloader-brand span:nth-child(1) { animation-delay: 0.15s; }
.preloader-brand span:nth-child(2) { animation-delay: 0.25s; }
.preloader-brand span:nth-child(3) { animation-delay: 0.35s; }
.preloader-brand span:nth-child(4) { animation-delay: 0.45s; }
.preloader-brand span:nth-child(5) { animation-delay: 0.55s; }
.preloader-brand span:nth-child(6) { animation-delay: 0.65s; }
@keyframes letterIn { to { opacity: 1; transform: none; } }
.preloader-percent {
  font-size: 0.95rem; font-weight: 800; color: var(--gold-300);
  margin-bottom: 0.6rem; letter-spacing: 1px; font-variant-numeric: tabular-nums;
}
.preloader-bar {
  width: 240px; height: 5px; margin: 0 auto;
  background: rgba(111,100,80,0.12); border-radius: 5px; overflow: hidden;
  box-shadow: inset 0 1px 3px rgba(120,95,40,.12);
}
.preloader-bar span {
  display: block; height: 100%; width: 0;
  background: var(--grad-gold); border-radius: 5px;
  transition: width 0.25s ease;
  box-shadow: 0 0 12px rgba(184,134,11,0.6);
}

/* ============ Skeleton Screen — التحميل الرمادي ============ */
#skeleton-screen {
  position: fixed; inset: 0; z-index: 9000;
  background: var(--navy-950);
  padding: 0 1.4rem;
  opacity: 0; visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s;
}
#skeleton-screen.active { opacity: 1; visibility: visible; }
#skeleton-screen.leaving { opacity: 0; visibility: hidden; }
.sk {
  background: linear-gradient(90deg, rgba(111,100,80,0.10) 25%, rgba(138,125,99,0.22) 50%, rgba(111,100,80,0.10) 75%);
  background-size: 200% 100%;
  animation: skShimmer 1.3s ease-in-out infinite;
  border-radius: 10px;
}
@keyframes skShimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.sk-nav {
  max-width: 1280px; margin: 0 auto; padding: 0.9rem 0;
  display: flex; align-items: center; gap: 0.8rem;
}
.sk-circle { width: 44px; height: 44px; border-radius: 50%; }
.sk-line { height: 14px; }
.sk-pill { width: 90px; height: 38px; border-radius: 50px; }
.sk-hero {
  max-width: 1280px; margin: 8vh auto 0;
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 3rem; align-items: center;
}
.sk-hero-text { display: flex; flex-direction: column; gap: 1rem; }
.sk-title { height: 44px; width: 85%; border-radius: 12px; }
.sk-btn-row { display: flex; gap: 1rem; margin-top: 0.6rem; }
.sk-btn { width: 160px; height: 52px; border-radius: 14px; }
.sk-logo-box { width: 100%; max-width: 380px; aspect-ratio: 1; border-radius: 30px; justify-self: center; }
@media (max-width: 1024px) {
  .sk-hero { grid-template-columns: 1fr; }
  .sk-logo-box { max-width: 240px; }
}

/* ============ خلفيات ============ */
#particles-canvas { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
#aurora-bg {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(600px 400px at 85% 10%, rgba(184,134,11,0.07), transparent 60%),
    radial-gradient(700px 500px at 10% 80%, rgba(201,151,30,0.10), transparent 60%),
    radial-gradient(500px 350px at 50% 45%, rgba(180,90,42,0.05), transparent 60%);
}

/* ============ Navbar ============ */
#main-nav {
  position: fixed; top: 0; right: 0; left: 0; z-index: 900;
  backdrop-filter: blur(18px);
  background: rgba(253, 251, 245, 0.8);
  border-bottom: 1px solid rgba(184,134,11,0.12);
  transition: background 0.4s;
}
#main-nav.scrolled { background: rgba(6, 11, 22, 0.92); box-shadow: 0 8px 30px rgba(120,95,40,.12); }
.nav-container {
  max-width: 1280px; margin: 0 auto; padding: 0.7rem 1.4rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.nav-brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.nav-logo { width: 44px; filter: drop-shadow(0 0 8px rgba(184,134,11,0.4)); }
.nav-brand-name {
  font-weight: 900; font-size: 1.35rem; letter-spacing: 3px;
  background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.nav-links { display: flex; list-style: none; gap: 1.6rem; }
.nav-links a {
  color: var(--ink-dim); text-decoration: none; font-weight: 600; font-size: 0.95rem;
  position: relative; transition: color 0.3s;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -6px; right: 0; width: 0; height: 2px;
  background: var(--grad-gold); transition: width 0.3s;
}
.nav-links a:hover { color: var(--gold-300); }
.nav-links a:hover::after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: 0.8rem; }
.cart-btn {
  position: relative; background: var(--grad-gold); border: none; cursor: pointer;
  width: 46px; height: 46px; border-radius: 14px; font-size: 1.15rem; color: var(--navy-950);
  transition: transform 0.25s, box-shadow 0.25s;
}
.cart-btn:hover { transform: translateY(-2px) scale(1.05); box-shadow: var(--shadow-gold); }
.cart-count {
  position: absolute; top: -7px; left: -7px;
  background: var(--danger); color: #fff; font-size: 0.72rem; font-weight: 800;
  min-width: 21px; height: 21px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--navy-950);
}
.mobile-menu-btn {
  display: none; background: transparent; border: 1px solid rgba(184,134,11,0.3);
  color: var(--gold-400); width: 44px; height: 44px; border-radius: 12px; cursor: pointer; font-size: 1.1rem;
}

/* ============ Hero ============ */
#hero-section {
  min-height: 100vh; position: relative; z-index: 1;
  display: flex; flex-direction: column; justify-content: center;
  padding: 120px 1.4rem 60px;
}
.hero-content {
  max-width: 1280px; margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 3rem; align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(184,134,11,0.1); border: 1px solid rgba(184,134,11,0.35);
  color: var(--gold-300); padding: 0.45rem 1.1rem; border-radius: 50px;
  font-size: 0.85rem; font-weight: 700; margin-bottom: 1.4rem;
  animation: badgeGlow 3s ease-in-out infinite;
}
@keyframes badgeGlow {
  0%,100% { box-shadow: 0 0 0 rgba(184,134,11,0); }
  50% { box-shadow: 0 0 25px rgba(184,134,11,0.35); }
}
.hero-title { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 900; line-height: 1.25; margin-bottom: 1.2rem; }
.title-line { display: block; }
.gradient-text {
  background: var(--grad-gold);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 2px 18px rgba(184,134,11,0.3));
}
.hero-subtitle { color: var(--ink-dim); font-size: 1.12rem; max-width: 560px; margin-bottom: 1.4rem; }
.hero-subtitle strong { color: var(--gold-300); }

/* شارة الفصال */
.negotiable-badge {
  display: inline-flex; align-items: center; gap: 0.55rem;
  background: linear-gradient(135deg, rgba(46,204,113,0.13), rgba(46,204,113,0.05));
  border: 1px dashed rgba(46,204,113,0.55); color: #5fe8a0;
  padding: 0.55rem 1.2rem; border-radius: 50px;
  font-size: 0.9rem; font-weight: 800; margin-bottom: 1.6rem;
}
.gold-text { color: var(--gold-300); }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.6rem; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  padding: 0.85rem 1.8rem; border-radius: 14px; font-family: var(--font-main);
  font-weight: 800; font-size: 1rem; text-decoration: none; cursor: pointer;
  border: none; transition: transform 0.25s, box-shadow 0.25s, background 0.25s;
}
.btn:active { transform: scale(0.97); }
.btn-gold { background: var(--grad-gold); color: var(--navy-950); }
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 12px 35px rgba(184,134,11,0.4); }
.btn-outline {
  background: transparent; color: var(--gold-300);
  border: 1.5px solid rgba(184,134,11,0.5);
}
.btn-outline:hover { background: rgba(184,134,11,0.1); transform: translateY(-3px); }
.btn-ghost { background: transparent; color: var(--ink-dim); border: 1px solid rgba(111,100,80,0.25); }
.btn-ghost:hover { color: var(--danger); border-color: var(--danger); }
.btn-block { width: 100%; }

.hero-stats { display: flex; align-items: stretch; gap: 1.4rem; flex-wrap: nowrap; }
.stat-item {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: 0.25rem; min-width: 0; flex: 0 1 auto;
}
.stat-value { display: inline-flex; align-items: baseline; direction: ltr; white-space: nowrap; }
.stat-number, .stat-plus {
  font-size: 2rem; font-weight: 900; line-height: 1;
  background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent;
  font-variant-numeric: tabular-nums;
}
.stat-plus { font-size: 1.35rem; margin-left: 2px; }
.stat-label { color: var(--ink-dim); font-size: 0.82rem; font-weight: 600; white-space: nowrap; }
.stat-divider { width: 1px; align-self: center; height: 46px; flex: none; background: linear-gradient(transparent, rgba(184,134,11,0.5), transparent); }
@media (max-width: 480px) {
  .hero-stats { gap: 0.9rem; }
  .stat-number, .stat-plus { font-size: 1.55rem; }
  .stat-plus { font-size: 1.1rem; }
  .stat-label { font-size: 0.68rem; white-space: normal; max-width: 92px; }
  .stat-divider { height: 38px; }
}

/* ============ الصقر ثلاثي الأبعاد (WebGL) — بدون أي صندوق ظاهر ============ */
.hero-logo-3d {
  position: relative; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  background: none; border: none; box-shadow: none; outline: none;
}
#falcon-canvas {
  width: 100%; max-width: 560px; aspect-ratio: 1;
  display: block; cursor: grab;
  background: transparent !important;
  border: none; outline: none; box-shadow: none; border-radius: 0;
  filter: drop-shadow(0 0 42px rgba(184,134,11,.35)) drop-shadow(0 0 90px rgba(184,134,11,.15));
  /* تلاشي الحواف تماماً — لا تظهر حدود المربع نهائياً */
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 58%, transparent 72%);
  mask-image: radial-gradient(circle at 50% 50%, #000 58%, transparent 72%);
}
#falcon-canvas:active { cursor: grabbing; }
.falcon-3d-hint {
  color: var(--ink-dim); font-size: 0.82rem; margin-top: -14px;
  display: flex; align-items: center; gap: 0.45rem;
  animation: hintFade 3s ease-in-out infinite;
}
.falcon-3d-hint i { color: var(--gold-400); }
@keyframes hintFade { 0%,100% { opacity: 0.45; } 50% { opacity: 1; } }

.hero-scroll-hint {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  color: var(--gold-400); font-size: 1.2rem; animation: bounceHint 2s infinite;
}
@keyframes bounceHint { 0%,100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 10px); } }

/* ============ الأقسام العامة ============ */
.section { position: relative; z-index: 1; padding: 90px 1.4rem; }
.container { max-width: 1280px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 3.2rem; }
.section-tag {
  display: inline-block; background: rgba(184,134,11,0.1);
  border: 1px solid rgba(184,134,11,0.3); color: var(--gold-300);
  padding: 0.35rem 1.2rem; border-radius: 50px; font-size: 0.83rem; font-weight: 800;
  margin-bottom: 1rem; letter-spacing: 0.5px;
}
.section-title { font-size: clamp(1.7rem, 3.6vw, 2.6rem); font-weight: 900; margin-bottom: 0.8rem; }
.section-desc { color: var(--ink-dim); font-size: 1.05rem; max-width: 640px; margin: 0 auto; }

/* ============ لماذا نحن ============ */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.4rem; }
.why-card {
  background: var(--grad-navy); border: 1px solid rgba(184,134,11,0.14);
  border-radius: var(--radius); padding: 2rem 1.6rem;
  transition: transform 0.35s, border-color 0.35s, box-shadow 0.35s;
}
.why-card:hover { transform: translateY(-8px); border-color: rgba(184,134,11,0.5); box-shadow: var(--shadow-gold); }
.why-icon {
  width: 58px; height: 58px; border-radius: 16px; display: flex; align-items: center; justify-content: center;
  background: var(--grad-gold); color: var(--navy-950); font-size: 1.5rem; margin-bottom: 1.2rem;
}
.why-card h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: 0.6rem; }
.why-card p { color: var(--ink-dim); font-size: 0.93rem; }

/* ============ البنية التأسيسية ============ */
.foundation-card {
  background: linear-gradient(160deg, rgba(24,41,78,0.7), rgba(253,251,245,0.93));
  border: 1.5px solid rgba(184,134,11,0.4);
  border-radius: 26px; overflow: hidden;
  box-shadow: 0 25px 70px rgba(120,95,40,.14), var(--shadow-gold);
  position: relative;
}
.foundation-card::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(400px 200px at 90% 0%, rgba(184,134,11,0.1), transparent);
}
.foundation-badge {
  background: var(--grad-gold); color: var(--navy-950);
  font-weight: 900; padding: 0.7rem 1.4rem; font-size: 0.95rem;
  display: flex; align-items: center; gap: 0.5rem;
}
.foundation-body { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 2rem; padding: 2.2rem; }
.foundation-features { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; align-content: start; }
.f-item { display: flex; align-items: center; gap: 0.7rem; color: var(--ink); font-weight: 600; font-size: 0.95rem; }
.f-item i { color: var(--gold-400); font-size: 1.05rem; width: 24px; text-align: center; }
.foundation-price-box {
  background: rgba(255,255,255,0.75); border: 1px solid rgba(184,134,11,0.25);
  border-radius: 20px; padding: 1.8rem; text-align: center;
  display: flex; flex-direction: column; justify-content: center; gap: 0.8rem;
}
.price-label { color: var(--ink-dim); font-size: 0.9rem; font-weight: 700; }
.price-value { display: flex; align-items: baseline; justify-content: center; gap: 0.5rem; }
.price-number {
  font-size: 3rem; font-weight: 900;
  background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.price-currency { color: var(--ink-dim); font-weight: 700; }
.price-note { color: var(--ink-dim); font-size: 0.8rem; }
.price-note i { color: var(--gold-400); }

/* ============ الباقات ============ */
.bundles-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 1.6rem; }
.bundle-card {
  background: var(--grad-navy); border: 1px solid rgba(111,100,80,0.15);
  border-radius: 24px; overflow: hidden; position: relative;
  transition: transform 0.35s, border-color 0.35s, box-shadow 0.35s;
  display: flex; flex-direction: column;
}
.bundle-card:hover { transform: translateY(-10px); border-color: rgba(184,134,11,0.55); box-shadow: 0 25px 60px rgba(120,95,40,.16), var(--shadow-gold); }
.bundle-card.featured { border: 1.5px solid rgba(184,134,11,0.6); box-shadow: var(--shadow-gold); }
.bundle-ribbon {
  position: absolute; top: 18px; left: -38px; transform: rotate(-45deg);
  background: var(--grad-gold); color: var(--navy-950);
  font-size: 0.72rem; font-weight: 900; padding: 0.35rem 3rem; z-index: 2;
  box-shadow: 0 4px 15px rgba(120,95,40,.12);
}
.bundle-head { padding: 1.8rem 1.6rem 1rem; }
.bundle-icon {
  width: 56px; height: 56px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 1rem;
  background: rgba(184,134,11,0.12); color: var(--gold-400);
  border: 1px solid rgba(184,134,11,0.3);
}
.bundle-name { font-size: 1.3rem; font-weight: 900; margin-bottom: 0.35rem; }
.bundle-tagline { color: var(--ink-dim); font-size: 0.88rem; }
.bundle-features { padding: 0.6rem 1.6rem; flex: 1; }
.bundle-features li {
  list-style: none; display: flex; align-items: flex-start; gap: 0.6rem;
  padding: 0.42rem 0; color: var(--silver); font-size: 0.9rem; font-weight: 500;
  border-bottom: 1px dashed rgba(111,100,80,0.1);
}
.bundle-features li:last-child { border-bottom: none; }
.bundle-features li i { color: var(--gold-400); margin-top: 5px; font-size: 0.75rem; }
.bundle-features li.bundle-base-line {
  color: var(--gold-300); font-weight: 800;
  background: rgba(184,134,11,0.07); border-radius: 10px;
  padding: 0.55rem 0.7rem; margin-bottom: 0.3rem; border-bottom: none;
}
.bundle-features li.bundle-base-line i { color: var(--gold-400); font-size: 0.9rem; }
.bundle-more-btn {
  background: transparent; border: none; color: var(--gold-400);
  font-family: var(--font-main); font-weight: 700; font-size: 0.84rem;
  cursor: pointer; padding: 0.5rem 0; width: 100%; text-align: right;
  transition: color 0.2s;
}
.bundle-more-btn:hover { color: var(--gold-300); }
.bundle-features .hidden-item { display: none; }
.bundle-features.expanded .hidden-item { display: flex; }
.bundle-foot { padding: 1.2rem 1.6rem 1.7rem; }
.bundle-pricing { display: flex; align-items: baseline; gap: 0.7rem; margin-bottom: 0.35rem; }
.bundle-price {
  font-size: 1.9rem; font-weight: 900;
  background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.bundle-old-price { color: var(--ink-dim); text-decoration: line-through; font-size: 1rem; }
.bundle-save {
  display: inline-block; background: rgba(46,204,113,0.12); color: var(--success);
  font-size: 0.78rem; font-weight: 800; padding: 0.2rem 0.7rem; border-radius: 50px;
  border: 1px solid rgba(46,204,113,0.3); margin-bottom: 1rem;
}
.bundle-currency { color: var(--ink-dim); font-size: 0.9rem; font-weight: 700; }

/* ============ المميزات الفردية ============ */
.features-tabs {
  display: flex; gap: 0.7rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2.4rem;
}
.tab-btn {
  background: rgba(24,41,78,0.5); border: 1px solid rgba(111,100,80,0.2);
  color: var(--ink-dim); padding: 0.6rem 1.3rem; border-radius: 50px;
  font-family: var(--font-main); font-weight: 700; font-size: 0.88rem; cursor: pointer;
  display: inline-flex; align-items: center; gap: 0.45rem;
  transition: all 0.3s;
}
.tab-btn:hover { border-color: rgba(184,134,11,0.5); color: var(--gold-300); }
.tab-btn.active { background: var(--grad-gold); color: var(--navy-950); border-color: transparent; box-shadow: 0 6px 20px rgba(184,134,11,0.3); }

.features-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 1.2rem; }
.feature-card {
  background: var(--grad-navy); border: 1px solid rgba(111,100,80,0.13);
  border-radius: 18px; padding: 1.4rem;
  display: flex; flex-direction: column; gap: 0.7rem;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s, opacity 0.3s;
}
.feature-card:hover { transform: translateY(-6px); border-color: rgba(184,134,11,0.45); box-shadow: 0 18px 45px rgba(120,95,40,.14); }
.feature-card.in-cart { border-color: rgba(46,204,113,0.6); background: linear-gradient(160deg, rgba(46,204,113,0.07), rgba(253,251,245,0.96)); }
.feature-top { display: flex; align-items: center; gap: 0.8rem; }
.feature-icon {
  width: 46px; height: 46px; min-width: 46px; border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(184,134,11,0.1); color: var(--gold-400); font-size: 1.15rem;
  border: 1px solid rgba(184,134,11,0.25);
}
.feature-name { font-weight: 800; font-size: 1rem; line-height: 1.4; }
.feature-desc { color: var(--ink-dim); font-size: 0.85rem; flex: 1; }
.feature-bottom { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; margin-top: 0.3rem; }
.feature-pricing { display: flex; align-items: baseline; gap: 0.45rem; }
.feature-price { font-weight: 900; font-size: 1.25rem; color: var(--gold-300); }
.feature-old { color: var(--ink-dim); text-decoration: line-through; font-size: 0.82rem; }
.feature-cur { color: var(--ink-dim); font-size: 0.78rem; }
.feature-add-btn {
  background: rgba(184,134,11,0.12); border: 1px solid rgba(184,134,11,0.4);
  color: var(--gold-300); width: 40px; height: 40px; border-radius: 12px;
  cursor: pointer; font-size: 0.95rem; transition: all 0.25s;
}
.feature-add-btn:hover { background: var(--grad-gold); color: var(--navy-950); transform: scale(1.08); }
.feature-add-btn.added { background: var(--success); border-color: var(--success); color: #fff; }

/* ============ الطلب المخصص ============ */
.custom-order-card {
  max-width: 720px; margin: 0 auto; text-align: center;
  background: var(--grad-navy); border: 1.5px solid rgba(184,134,11,0.3);
  border-radius: 26px; padding: 2.6rem 2rem;
  box-shadow: 0 20px 60px rgba(120,95,40,.12);
}
.custom-order-icon {
  width: 70px; height: 70px; margin: 0 auto 1.4rem; border-radius: 20px;
  background: var(--grad-gold); color: var(--navy-950); font-size: 1.8rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-gold);
}
#custom-request-text {
  width: 100%; background: rgba(43,36,22,0.45); border: 1px solid rgba(111,100,80,0.25);
  border-radius: 16px; padding: 1.1rem; color: var(--ink); font-family: var(--font-main);
  font-size: 0.98rem; resize: vertical; margin-bottom: 1.2rem; transition: border-color 0.3s;
}
#custom-request-text:focus { outline: none; border-color: var(--gold-500); box-shadow: 0 0 0 3px rgba(184,134,11,0.15); }
.custom-note { color: var(--ink-dim); font-size: 0.85rem; margin-top: 1rem; }
.custom-note i { color: var(--gold-400); }

/* ============ ضمانات ============ */
.trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1.4rem; }
.trust-item {
  text-align: center; padding: 1.8rem 1.2rem;
  background: rgba(245,239,223,0.55); border: 1px solid rgba(111,100,80,0.12);
  border-radius: var(--radius); transition: transform 0.3s, border-color 0.3s;
}
.trust-item:hover { transform: translateY(-6px); border-color: rgba(184,134,11,0.4); }
.trust-item i { font-size: 1.9rem; color: var(--gold-400); margin-bottom: 0.9rem; }
.trust-item h4 { font-weight: 800; margin-bottom: 0.4rem; }
.trust-item p { color: var(--ink-dim); font-size: 0.86rem; }

/* ============ Footer ============ */
#main-footer {
  position: relative; z-index: 1;
  background: linear-gradient(180deg, transparent, rgba(253,251,245,0.92));
  border-top: 1px solid rgba(184,134,11,0.15);
  padding: 60px 1.4rem 30px; text-align: center;
}
.footer-logo { width: 90px; filter: drop-shadow(0 0 20px rgba(184,134,11,0.35)); margin-bottom: 0.7rem; }
.footer-brand h3 {
  font-size: 1.6rem; font-weight: 900; letter-spacing: 4px;
  background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.footer-brand p { color: var(--ink-dim); margin: 0.4rem 0 1.6rem; }
.telegram-link {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: linear-gradient(135deg, #2aabee, #229ed9); color: #fff;
  padding: 0.85rem 1.8rem; border-radius: 14px; text-decoration: none; font-weight: 800;
  transition: transform 0.25s, box-shadow 0.25s;
}
.telegram-link:hover { transform: translateY(-3px); box-shadow: 0 12px 35px rgba(42,171,238,0.4); }
.footer-copy { color: var(--ink-dim); font-size: 0.82rem; margin-top: 2rem; }

/* ============ سلة الطلبات ============ */
#cart-overlay {
  position: fixed; inset: 0; z-index: 950; background: rgba(43,36,22,0.4);
  backdrop-filter: blur(4px); opacity: 0; visibility: hidden; transition: 0.35s;
}
#cart-overlay.open { opacity: 1; visibility: visible; }
#cart-sidebar {
  position: fixed; top: 0; bottom: 0; left: 0; z-index: 960; width: min(430px, 92vw);
  background: linear-gradient(160deg, var(--navy-800), var(--navy-950));
  border-right: 1px solid rgba(184,134,11,0.25);
  transform: translateX(-105%); transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex; flex-direction: column;
  box-shadow: 25px 0 80px rgba(120,95,40,.18);
}
#cart-sidebar.open { transform: translateX(0); }
.cart-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.3rem 1.5rem; border-bottom: 1px solid rgba(184,134,11,0.18);
}
.cart-header h3 { font-weight: 900; font-size: 1.15rem; }
.cart-header h3 i { color: var(--gold-400); margin-left: 0.4rem; }
#cart-close-btn {
  background: transparent; border: 1px solid rgba(111,100,80,0.25); color: var(--ink-dim);
  width: 38px; height: 38px; border-radius: 10px; cursor: pointer; transition: all 0.25s;
}
#cart-close-btn:hover { color: var(--danger); border-color: var(--danger); }
.cart-items { flex: 1; overflow-y: auto; padding: 1.2rem 1.5rem; }
.cart-empty { text-align: center; color: var(--ink-dim); padding: 3rem 1rem; }
.cart-empty i { font-size: 2.6rem; color: rgba(184,134,11,0.4); margin-bottom: 1rem; display: block; }
.cart-item {
  display: flex; align-items: center; justify-content: space-between; gap: 0.8rem;
  background: rgba(255,255,255,0.7); border: 1px solid rgba(111,100,80,0.12);
  border-radius: 14px; padding: 0.9rem 1rem; margin-bottom: 0.8rem;
  animation: cartItemIn 0.35s ease;
}
@keyframes cartItemIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { font-weight: 700; font-size: 0.9rem; }
.cart-item-price { color: var(--gold-300); font-weight: 800; font-size: 0.85rem; }
.cart-item-custom-text { color: var(--ink-dim); font-size: 0.78rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart-item-remove {
  background: transparent; border: none; color: var(--ink-dim); cursor: pointer;
  font-size: 0.95rem; padding: 0.4rem; transition: color 0.2s;
}
.cart-item-remove:hover { color: var(--danger); }
.cart-footer { padding: 1.2rem 1.5rem 1.5rem; border-top: 1px solid rgba(184,134,11,0.18); display: grid; gap: 0.7rem; }
.cart-negotiable {
  text-align: center; color: #5fe8a0; font-size: 0.83rem; font-weight: 700;
  background: rgba(46,204,113,0.08); border: 1px dashed rgba(46,204,113,0.4);
  border-radius: 10px; padding: 0.45rem;
}
.cart-total-row { display: flex; justify-content: space-between; font-weight: 800; font-size: 1.05rem; }
.cart-total-value {
  background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent;
  font-size: 1.3rem; font-weight: 900;
}

/* ============ Modal ============ */
.modal {
  position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center;
  background: rgba(43,36,22,0.45); backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden; transition: 0.35s; padding: 1rem;
}
.modal.open { opacity: 1; visibility: visible; }
.modal-content {
  background: linear-gradient(160deg, var(--navy-800), var(--navy-950));
  border: 1.5px solid rgba(184,134,11,0.35); border-radius: 24px;
  width: min(520px, 100%); max-height: 90vh; overflow-y: auto;
  padding: 2.4rem 2rem; position: relative; text-align: center;
  transform: scale(0.92) translateY(20px); transition: transform 0.35s;
  box-shadow: 0 40px 100px rgba(120,95,40,.18), var(--shadow-gold);
}
.modal.open .modal-content { transform: none; }
.modal-close {
  position: absolute; top: 16px; left: 16px;
  background: transparent; border: 1px solid rgba(111,100,80,0.25); color: var(--ink-dim);
  width: 36px; height: 36px; border-radius: 10px; cursor: pointer; transition: 0.25s;
}
.modal-close:hover { color: var(--danger); border-color: var(--danger); }
.modal-icon {
  width: 68px; height: 68px; margin: 0 auto 1.2rem; border-radius: 20px;
  background: linear-gradient(135deg, #2aabee, #229ed9); color: #fff; font-size: 2rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 35px rgba(42,171,238,0.35);
}
.modal-logo {
  width: 86px; margin: 0 auto 1rem; display: block;
  filter: drop-shadow(0 0 20px rgba(184,134,11,0.4));
}
.modal-content h3 { font-size: 1.4rem; font-weight: 900; margin-bottom: 0.5rem; }
.modal-desc { color: var(--ink-dim); font-size: 0.92rem; margin-bottom: 1.4rem; }
.modal-content input, .modal-content textarea {
  width: 100%; background: rgba(43,36,22,0.45); border: 1px solid rgba(111,100,80,0.25);
  border-radius: 14px; padding: 0.9rem 1.1rem; color: var(--ink);
  font-family: var(--font-main); font-size: 0.95rem; margin-bottom: 0.9rem;
  transition: border-color 0.3s;
}
.modal-content input:focus, .modal-content textarea:focus {
  outline: none; border-color: var(--gold-500); box-shadow: 0 0 0 3px rgba(184,134,11,0.15);
}
.order-preview-wrap { display: none; margin-top: 1.2rem; text-align: right; }
.order-preview-wrap.visible { display: block; animation: cartItemIn 0.4s ease; }
.preview-hint { color: var(--success); font-weight: 700; font-size: 0.88rem; margin-bottom: 0.7rem; }
#order-preview {
  background: rgba(255,255,255,0.9); border: 1px solid rgba(46,204,113,0.3);
  border-radius: 14px; padding: 1rem; color: var(--silver); font-size: 0.78rem;
  white-space: pre-wrap; font-family: var(--font-main); max-height: 220px; overflow-y: auto;
  direction: rtl;
}

/* ============ Toast ============ */
#toast {
  position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%) translateY(80px);
  z-index: 1100; background: var(--grad-gold); color: var(--navy-950);
  padding: 0.85rem 1.7rem; border-radius: 50px; font-weight: 800; font-size: 0.92rem;
  box-shadow: 0 15px 45px rgba(184,134,11,0.4);
  opacity: 0; visibility: hidden; transition: 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  max-width: 90vw; text-align: center;
}
#toast.show { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
#toast.error { background: linear-gradient(135deg, #ff6b6b, #e74c3c); color: #fff; }

/* ============ Reveal Animation ============ */
.reveal { opacity: 0; transform: translateY(38px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal.visible { opacity: 1; transform: none; }

/* أنيميشن دخول الهيرو (تعمل بعد اختفاء الـ skeleton) */
.anim-item { opacity: 0; transform: translateY(30px); }
body.site-ready .anim-item {
  animation: heroItemIn 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
body.site-ready .anim-item:nth-of-type(1) { animation-delay: 0.05s; }
@keyframes heroItemIn { to { opacity: 1; transform: none; } }

/* ============ Responsive ============ */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; text-align: center; }
  .hero-text { display: flex; flex-direction: column; align-items: center; }
  .hero-logo-3d { margin-top: 0.5rem; }
  #falcon-canvas { max-width: 360px; }
  .foundation-body { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-links {
    position: fixed; top: 64px; right: 0; left: 0;
    background: rgba(253,251,245,0.97); backdrop-filter: blur(20px);
    flex-direction: column; align-items: center; gap: 0; padding: 0;
    max-height: 0; overflow: hidden; transition: max-height 0.4s ease;
    border-bottom: 1px solid rgba(184,134,11,0.15);
  }
  .nav-links.open { max-height: 320px; padding: 0.6rem 0; }
  .nav-links li { width: 100%; text-align: center; }
  .nav-links a { display: block; padding: 0.8rem; }
  .mobile-menu-btn { display: block; }
  .foundation-features { grid-template-columns: 1fr; }
  .hero-stats { justify-content: center; }
  .section { padding: 64px 1rem; }
}

/* ============================================================
   AI Chat Widget — مساعد EXIMIA الذكي
   ============================================================ */
#ai-chat-fab {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--grad-gold);
  color: #1a1205;
  border: none;
  font-size: 1.45rem;
  cursor: pointer;
  z-index: 950;
  box-shadow: 0 10px 34px rgba(184, 134, 11, 0.4);
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  align-items: center;
  justify-content: center;
}
#ai-chat-fab:hover { transform: scale(1.1) rotate(6deg); }
#ai-chat-fab.open { transform: scale(0.92); }
.fab-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(184, 134, 11, 0.6);
  animation: fabPulse 2.2s ease-out infinite;
  pointer-events: none;
}
@keyframes fabPulse {
  0% { transform: scale(1); opacity: 0.9; }
  100% { transform: scale(1.65); opacity: 0; }
}

#ai-chat-window {
  position: fixed;
  bottom: 100px;
  left: 24px;
  width: min(392px, calc(100vw - 32px));
  height: min(560px, calc(100vh - 130px));
  background: rgba(253, 251, 245, 0.97);
  border: 1px solid rgba(184, 134, 11, 0.22);
  border-radius: 22px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(18px);
  z-index: 949;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: translateY(24px) scale(0.96);
  pointer-events: none;
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
#ai-chat-window.open {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 18px;
  background: linear-gradient(135deg, rgba(184,134,11,0.14), rgba(184,134,11,0.04));
  border-bottom: 1px solid rgba(184, 134, 11, 0.15);
}
.chat-header-info { display: flex; align-items: center; gap: 12px; }
.chat-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--grad-gold);
  color: #1a1205;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.chat-header h4 { font-size: 0.96rem; font-weight: 800; color: var(--text, #4a4232); }
.chat-status {
  font-size: 0.72rem;
  color: #5fe098;
  display: flex;
  align-items: center;
  gap: 6px;
}
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2ecc71;
  animation: statusBlink 1.8s ease infinite;
}
@keyframes statusBlink { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }
#ai-chat-close {
  background: transparent;
  border: none;
  color: var(--muted, #857a64);
  font-size: 1.15rem;
  cursor: pointer;
  padding: 6px 8px;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}
#ai-chat-close:hover { color: #f28b7d; background: rgba(231,76,60,0.1); }

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.chat-msg { display: flex; }
.chat-msg.user { justify-content: flex-start; }
.chat-msg.bot { justify-content: flex-end; }
.chat-msg .msg-bubble {
  max-width: 84%;
  padding: 12px 15px;
  border-radius: 15px;
  font-size: 0.87rem;
  line-height: 1.9;
  white-space: pre-wrap;
  word-break: break-word;
  animation: chatMsgIn 0.3s ease;
}
@keyframes chatMsgIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
.chat-msg.user .msg-bubble {
  background: var(--grad-gold);
  color: #1a1205;
  font-weight: 600;
  border-bottom-right-radius: 4px;
}
.chat-msg.bot .msg-bubble {
  background: rgba(250, 246, 236, 0.9);
  border: 1px solid rgba(184, 134, 11, 0.12);
  color: #5d5340;
  border-bottom-left-radius: 4px;
}
.chat-msg.typing .msg-bubble { color: var(--muted, #857a64); }
.typing-dots span {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin: 0 2px;
  border-radius: 50%;
  background: var(--gold-500, #c9971e);
  animation: typingDot 1.2s infinite;
}
.typing-dots span:nth-child(2) { animation-delay: 0.18s; }
.typing-dots span:nth-child(3) { animation-delay: 0.36s; }
@keyframes typingDot {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-5px); opacity: 1; }
}

.chat-suggestions {
  display: flex;
  gap: 8px;
  padding: 4px 14px 12px;
  flex-wrap: wrap;
}
.chat-suggestions .chip {
  padding: 8px 13px;
  background: rgba(184, 134, 11, 0.08);
  border: 1px solid rgba(184, 134, 11, 0.2);
  border-radius: 999px;
  color: var(--gold-300, #a5741a);
  font-family: inherit;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}
.chat-suggestions .chip:hover {
  background: rgba(184, 134, 11, 0.18);
  transform: translateY(-2px);
}

#ai-chat-window .chat-input-row {
  display: flex;
  gap: 9px;
  padding: 13px 14px;
  border-top: 1px solid rgba(184, 134, 11, 0.12);
  background: rgba(6, 11, 22, 0.6);
}
#chat-input {
  flex: 1;
  padding: 12px 15px;
  background: rgba(250, 246, 236, 0.85);
  border: 1px solid rgba(184, 134, 11, 0.15);
  border-radius: 12px;
  color: #4a4232;
  font-family: inherit;
  font-size: 0.88rem;
  outline: none;
  transition: border-color 0.2s;
}
#chat-input:focus { border-color: var(--gold-500, #c9971e); }
#chat-send-btn {
  width: 46px;
  flex-shrink: 0;
  background: var(--grad-gold);
  color: #1a1205;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.2s;
}
#chat-send-btn:hover { transform: scale(1.08); }
#chat-send-btn:disabled { opacity: 0.5; cursor: wait; }

@media (max-width: 520px) {
  #ai-chat-fab { bottom: 18px; left: 16px; width: 56px; height: 56px; font-size: 1.3rem; }
  #ai-chat-window { bottom: 86px; left: 16px; border-radius: 18px; }
}

/* ===== شريط الخصم v4 — سطر واحد بحجم مريح ===== */
.discount-bar{
  position:fixed;top:0;left:0;right:0;z-index:1200;
  height:42px;
  background:linear-gradient(90deg, #fdf8ec, #f7f0de 50%, #fdf8ec);
  border-bottom:1px solid rgba(184,134,11,.5);
  overflow:hidden;
}
.discount-bar::before{
  content:'';position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(100deg, transparent 30%, rgba(255,215,106,.12) 50%, transparent 70%);
  background-size:220% 100%;
  animation:discountShimmer 3.6s linear infinite;
}
@keyframes discountShimmer{0%{background-position:180% 0}100%{background-position:-80% 0}}
.discount-bar-inner{
  display:flex;align-items:center;justify-content:center;gap:.7rem;
  height:42px;padding:0 .9rem;white-space:nowrap;position:relative;
}
.discount-flame{
  color:#a5741a;font-size:1rem;flex:none;line-height:1;
  animation:flamePulse 1.4s ease-in-out infinite;
}
@keyframes flamePulse{0%,100%{transform:scale(1)}50%{transform:scale(1.2)}}
.discount-bar-text{
  font-weight:800;font-size:.95rem;line-height:1;
  background:var(--grad-gold);-webkit-background-clip:text;background-clip:text;color:transparent;
  overflow:hidden;text-overflow:ellipsis;
}
.discount-bar-countdown{display:inline-flex;gap:.3rem;direction:ltr;align-items:center;}
.discount-bar-countdown .cd-unit{
  color:#a5741a;font-weight:900;font-size:.9rem;line-height:1;
  font-variant-numeric:tabular-nums;
  display:inline-flex;align-items:baseline;gap:2px;
  background:none;border:none;padding:0;min-width:0;
}
.discount-bar-countdown .cd-unit small{font-size:.6rem;color:#857a64;font-weight:600;display:inline;}
.discount-bar-countdown .cd-unit + .cd-unit::before{content:':';color:#b0a58c;margin-left:2px;}
/* إزاحة المحتوى لأسفل — الشريط لا يغطي أي شيء */
body.has-discount-bar #main-nav{top:42px;}
body.has-discount-bar #hero-section,
body.has-discount-bar .section-hero{padding-top:170px;}
@media(max-width:600px){
  body.has-discount-bar #main-nav{top:42px;}
  body.has-discount-bar #hero-section,
  body.has-discount-bar .section-hero{padding-top:170px;}
  .discount-bar-text{font-size:.78rem}
  .discount-bar-countdown .cd-unit{font-size:.78rem}
}

/* ===== شارة خصم الباقة ===== */
.bundle-discount-ribbon{position:absolute;top:14px;left:-8px;background:linear-gradient(135deg,#c0392b,#e67e22);color:#fff;font-weight:900;font-size:.8rem;padding:.35rem .9rem .35rem 1.1rem;border-radius:0 30px 30px 0;box-shadow:0 4px 14px rgba(192,57,43,.5);z-index:3;display:flex;align-items:center;gap:.4rem;animation:ribbonGlow 2s ease-in-out infinite;}
@keyframes ribbonGlow{0%,100%{box-shadow:0 4px 14px rgba(192,57,43,.5)}50%{box-shadow:0 4px 24px rgba(230,126,34,.8)}}
.bundle-discount-ribbon::after{content:'';position:absolute;bottom:-8px;left:0;border:4px solid transparent;border-top-color:#7d241a;border-right-color:#7d241a;}
.bundle-old-price{text-decoration:line-through;color:#857a64;font-size:1rem;font-weight:600;margin-left:.5rem;}
.bundle-countdown{display:flex;justify-content:center;gap:.4rem;direction:ltr;margin-top:.6rem;}
.bundle-countdown .cd-unit{background:rgba(184,134,11,.10);border:1px solid rgba(184,134,11,.35);border-radius:10px;padding:.25rem .55rem;color:var(--gold,#c9971e);font-weight:900;font-size:.9rem;min-width:48px;text-align:center;font-variant-numeric:tabular-nums;}
.bundle-countdown .cd-unit small{display:block;font-size:.55rem;color:#6f6450;font-weight:600;}
.bundle-countdown-label{text-align:center;font-size:.72rem;color:#a5741a;margin-top:.5rem;font-weight:700;letter-spacing:.5px;}

/* ===== قسم تتبع الطلب ===== */
.track-card{max-width:760px;margin:0 auto;background:linear-gradient(160deg,rgba(255,255,255,.92),rgba(250,246,236,.96));border:1px solid rgba(184,134,11,.25);border-radius:24px;padding:2rem;box-shadow:0 20px 60px rgba(120,95,40,.12);}
.track-input-row{display:flex;gap:.8rem;flex-wrap:wrap;}
.track-input-row input{flex:1;min-width:220px;background:rgba(43,36,22,.05);border:1px solid rgba(184,134,11,.3);border-radius:14px;padding:.9rem 1.2rem;color:var(--ink);font-family:inherit;font-size:1rem;outline:none;transition:border-color .3s;}
.track-input-row input:focus{border-color:var(--gold,#c9971e);}
.track-results{margin-top:1.5rem;}
.track-order{background:rgba(43,36,22,.04);border:1px solid rgba(184,134,11,.18);border-radius:18px;padding:1.4rem;margin-bottom:1rem;}
.track-order-head{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:.6rem;margin-bottom:1.2rem;}
.track-code{font-weight:900;color:var(--gold,#c9971e);font-size:1.05rem;letter-spacing:1px;}
.track-status-pill{background:rgba(184,134,11,.15);border:1px solid rgba(184,134,11,.35);color:#a5741a;border-radius:30px;padding:.25rem .9rem;font-size:.8rem;font-weight:700;}
.track-timeline{display:flex;justify-content:space-between;position:relative;margin:1.5rem 0 .5rem;}
.track-timeline::before{content:'';position:absolute;top:19px;right:8%;left:8%;height:3px;background:rgba(43,36,22,.1);border-radius:3px;}
.track-timeline .tl-progress{position:absolute;top:19px;right:8%;height:3px;background:linear-gradient(90deg,#c9971e,#c9971e);border-radius:3px;transition:width 1s ease;box-shadow:0 0 12px rgba(184,134,11,.6);}
.tl-step{position:relative;z-index:2;display:flex;flex-direction:column;align-items:center;gap:.5rem;width:20%;}
.tl-dot{width:40px;height:40px;border-radius:50%;background:#efe6cd;border:2px solid rgba(43,36,22,.15);display:flex;align-items:center;justify-content:center;color:#a89c82;font-size:.95rem;transition:all .5s;}
.tl-step.done .tl-dot{background:linear-gradient(135deg,#c9971e,#a5741a);border-color:#c9971e;color:#fdfbf5;box-shadow:0 0 16px rgba(184,134,11,.55);}
.tl-step.current .tl-dot{animation:tlPulse 1.5s ease-in-out infinite;}
@keyframes tlPulse{0%,100%{box-shadow:0 0 10px rgba(184,134,11,.5)}50%{box-shadow:0 0 26px rgba(184,134,11,.95)}}
.tl-label{font-size:.7rem;color:#6f6450;font-weight:700;text-align:center;}
.tl-step.done .tl-label,.tl-step.current .tl-label{color:#a5741a;}
.track-empty{text-align:center;color:#857a64;padding:1rem;font-size:.95rem;}
.track-empty i{display:block;font-size:2rem;margin-bottom:.6rem;color:rgba(184,134,11,.5);}
@media(max-width:600px){.tl-dot{width:32px;height:32px;font-size:.8rem}.tl-label{font-size:.58rem}}

/* رد فريق EXIMIA في الشات */
.chat-msg.admin-reply .msg-bubble{background:linear-gradient(135deg,rgba(184,134,11,.18),rgba(184,134,11,.10));border:1px solid rgba(184,134,11,.45);}
#ai-chat-fab.has-new::after{content:'';position:absolute;top:6px;left:6px;width:14px;height:14px;border-radius:50%;background:#e74c3c;border:2px solid #fdfbf5;animation:flamePulse 1s infinite;}

/* ===== شارة الفترة التجريبية ===== */
.trial-badge{
  display:inline-flex;align-items:center;gap:.55rem;
  background:linear-gradient(135deg,rgba(184,134,11,.14),rgba(184,134,11,.04));
  border:1px dashed rgba(184,134,11,.55);color:#a5741a;
  padding:.55rem 1.2rem;border-radius:50px;
  font-size:.9rem;font-weight:800;margin-bottom:1.6rem;margin-right:.6rem;
}
.trial-badge strong{color:var(--ink);}

/* ===== أقسام المجالات (تعليمي / تسوق) ===== */
.domain-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:1.4rem;}
.domain-card{
  background:linear-gradient(160deg,rgba(255,255,255,.9),rgba(250,246,236,.95));
  border:1px solid rgba(184,134,11,.18);border-radius:20px;
  padding:1.8rem 1.5rem;text-align:center;
  transition:transform .35s,border-color .35s,box-shadow .35s;
}
.domain-card:hover{transform:translateY(-8px);border-color:rgba(184,134,11,.55);box-shadow:0 20px 50px rgba(120,95,40,.14);}
.domain-icon{
  width:62px;height:62px;margin:0 auto 1.1rem;border-radius:18px;
  display:flex;align-items:center;justify-content:center;font-size:1.5rem;
  background:linear-gradient(135deg,rgba(184,134,11,.2),rgba(184,134,11,.08));
  border:1px solid rgba(184,134,11,.35);color:#a5741a;
}
.domain-icon.shop{background:linear-gradient(135deg,rgba(46,204,113,.18),rgba(46,204,113,.05));border-color:rgba(46,204,113,.4);color:#5fe8a0;}
.domain-card h3{font-size:1.05rem;font-weight:800;margin-bottom:.5rem;color:var(--ink);}
.domain-card p{color:var(--ink-dim);font-size:.87rem;line-height:1.7;}
.domain-cta{text-align:center;margin-top:2.2rem;}

/* ===== قسم اعرض فكرتك ===== */
.idea-card{
  position:relative;max-width:860px;margin:0 auto;text-align:center;
  background:linear-gradient(160deg,rgba(255,255,255,.95),rgba(250,246,236,.97));
  border:1px solid rgba(184,134,11,.3);border-radius:28px;
  padding:3rem 2rem;overflow:hidden;
  box-shadow:0 30px 80px rgba(120,95,40,.16);
}
.idea-glow{
  position:absolute;top:-120px;left:50%;transform:translateX(-50%);
  width:420px;height:260px;border-radius:50%;pointer-events:none;
  background:radial-gradient(ellipse,rgba(184,134,11,.22),transparent 70%);
}
.idea-card .section-title{margin:.8rem 0;}
.idea-perks{display:flex;justify-content:center;gap:1rem;flex-wrap:wrap;margin:1.4rem 0 1.6rem;}
.idea-perks span{
  display:inline-flex;align-items:center;gap:.45rem;
  background:rgba(184,134,11,.1);border:1px solid rgba(184,134,11,.3);
  color:#a5741a;padding:.4rem 1rem;border-radius:50px;font-size:.82rem;font-weight:700;
}
#idea-text{
  width:100%;background:rgba(43,36,22,.05);border:1px solid rgba(184,134,11,.3);
  border-radius:16px;padding:1rem 1.2rem;color:var(--ink);font-family:inherit;font-size:.95rem;
  outline:none;resize:vertical;transition:border-color .3s;margin-bottom:1.2rem;
}
#idea-text:focus{border-color:var(--gold-400,#c9971e);}
.idea-actions{display:flex;justify-content:center;gap:1rem;flex-wrap:wrap;}

/* ===== شعارات التواصل ثلاثية الأبعاد ===== */
.social-3d-row{display:flex;justify-content:center;gap:2.2rem;flex-wrap:wrap;margin:2.2rem 0 1rem;}
.social-3d-item{
  display:flex;flex-direction:column;align-items:center;gap:.3rem;
  text-decoration:none;color:var(--ink-dim);font-size:.85rem;font-weight:700;
  transition:transform .3s,color .3s;
}
.social-3d-item:hover{transform:translateY(-6px);color:#a5741a;}
.social-canvas{width:110px;height:110px;display:block;background:transparent;cursor:pointer;}
@media(max-width:520px){.social-canvas{width:88px;height:88px;}.social-3d-row{gap:1.2rem;}}

/* ===== عنوان وفترة تجريبية في الفوتر ===== */
.footer-address,.footer-trial{
  color:var(--ink-dim);font-size:.9rem;margin-top:1rem;
  display:flex;align-items:center;justify-content:center;gap:.5rem;
}
.footer-address i{color:#e74c3c;}
.footer-trial i{color:#a5741a;}
.footer-trial{color:#a5741a;font-weight:700;}

/* ===== بوابة الإشراف السرية ===== */
.secret-admin-box{text-align:center;}
.secret-admin-icon{
  width:70px;height:70px;margin:0 auto 1rem;border-radius:50%;
  display:flex;align-items:center;justify-content:center;font-size:1.8rem;
  background:linear-gradient(135deg,rgba(184,134,11,.25),rgba(184,134,11,.08));
  border:1px solid rgba(184,134,11,.5);color:#a5741a;
  animation:badgeGlow 2.5s ease-in-out infinite;
}
#secret-admin-pass{
  width:100%;background:rgba(43,36,22,.06);border:1px solid rgba(184,134,11,.35);
  border-radius:14px;padding:.9rem 1.2rem;color:var(--ink);font-family:inherit;font-size:1.05rem;
  outline:none;text-align:center;letter-spacing:3px;margin-bottom:.6rem;transition:border-color .3s;
}
#secret-admin-pass:focus{border-color:var(--gold-400,#c9971e);}
.secret-admin-error{color:#e74c3c;font-size:.85rem;font-weight:700;min-height:1.2em;margin-bottom:.6rem;}

/* ===== بوابة الترحيب ===== */
#gateway-overlay{position:fixed;inset:0;z-index:9000;display:flex;align-items:center;justify-content:center;padding:1rem;}
#gateway-overlay[hidden]{display:none;}
.gateway-backdrop{position:absolute;inset:0;background:rgba(43,36,22,.45);backdrop-filter:blur(14px);}
.gateway-panel{
  position:relative;max-width:640px;width:100%;text-align:center;
  background:linear-gradient(160deg,#f7f1e2,#fdf8ec);
  border:1px solid rgba(184,134,11,.35);border-radius:26px;
  padding:2.2rem 1.6rem 1.8rem;
  box-shadow:0 30px 80px rgba(120,95,40,.18), 0 0 60px rgba(184,134,11,.08) inset;
  animation:gatewayIn .55s cubic-bezier(.2,.9,.3,1.2);
}
@keyframes gatewayIn{from{opacity:0;transform:translateY(30px) scale(.94)}to{opacity:1;transform:none}}
.gateway-close{
  position:absolute;top:14px;left:14px;width:36px;height:36px;border-radius:50%;
  background:rgba(43,36,22,.06);border:1px solid rgba(43,36,22,.12);color:#6f6450;
  cursor:pointer;font-size:.95rem;transition:.2s;
}
.gateway-close:hover{background:rgba(43,36,22,.12);color:var(--ink);}
.gateway-logo{width:76px;height:auto;margin:0 auto .5rem;filter:drop-shadow(0 0 18px rgba(184,134,11,.4));}
.gateway-title{font-size:1.6rem;font-weight:900;color:var(--ink);margin:.2rem 0 .3rem;}
.gateway-title span{background:var(--grad-gold);-webkit-background-clip:text;background-clip:text;color:transparent;}
.gateway-sub{color:#7a6f5a;font-size:.95rem;margin-bottom:1.4rem;}
.gateway-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:.9rem;}
.gateway-card{
  background:rgba(255,255,255,.035);border:1px solid rgba(43,36,22,.1);border-radius:18px;
  padding:1.2rem .8rem;cursor:pointer;text-align:center;color:#4a4232;
  display:flex;flex-direction:column;align-items:center;gap:.5rem;
  transition:transform .25s,border-color .25s,box-shadow .25s;
}
.gateway-card:hover{transform:translateY(-6px);border-color:rgba(184,134,11,.6);box-shadow:0 14px 34px rgba(120,95,40,.12),0 0 24px rgba(184,134,11,.10);}
.gateway-card b{font-size:1rem;}
.gateway-card small{color:#6f6450;font-size:.74rem;line-height:1.5;}
.gateway-icon{
  width:56px;height:56px;border-radius:16px;display:inline-flex;align-items:center;justify-content:center;
  font-size:1.5rem;
}
.gw-shop{background:rgba(46,204,113,.12);color:#2ecc71;border:1px solid rgba(46,204,113,.35);}
.gw-edu{background:rgba(184,134,11,.10);color:#a5741a;border:1px solid rgba(184,134,11,.4);}
.gw-idea{background:rgba(155,89,255,.12);color:#b98cff;border:1px solid rgba(155,89,255,.35);}
.gateway-skip{
  margin-top:1.3rem;background:none;border:none;color:#857a64;cursor:pointer;
  font-size:.88rem;font-weight:700;transition:color .2s;
}
.gateway-skip:hover{color:#a5741a;}
@media(max-width:560px){
  .gateway-grid{grid-template-columns:1fr;}
  .gateway-card{flex-direction:row;text-align:right;padding:.9rem;}
  .gateway-card b{font-size:.95rem;}
  .gateway-icon{width:46px;height:46px;font-size:1.2rem;flex:none;}
  .gateway-card small{display:block;}
  .gateway-card > b, .gateway-card > small{flex:1;}
  .gateway-panel{padding:1.6rem 1.1rem 1.3rem;max-height:92vh;overflow-y:auto;}
}

/* ===== قسم المتجر: ديمو المنتج ===== */
.store-showcase{display:flex;justify-content:center;margin-bottom:2.2rem;}
.store-demo-wrap{text-align:center;max-width:420px;}
.product-demo-card{
  position:relative;background:linear-gradient(160deg,#f5eedb,#faf5e9);
  border:1px solid rgba(184,134,11,.3);border-radius:20px;overflow:hidden;
  box-shadow:0 20px 50px rgba(120,95,40,.14);text-align:right;
  transition:transform .3s;
}
.product-demo-card:hover{transform:translateY(-6px) rotate(-.5deg);}
.product-demo-ribbon{
  position:absolute;top:14px;left:-34px;transform:rotate(-45deg);z-index:2;
  background:linear-gradient(90deg,#e74c3c,#ff6b57);color:#fff;font-weight:900;font-size:.78rem;
  padding:.3rem 2.6rem;box-shadow:0 4px 12px rgba(231,76,60,.4);
}
.product-demo-img{
  height:150px;display:flex;align-items:center;justify-content:center;font-size:3.4rem;color:#a5741a;
  background:radial-gradient(circle at 50% 60%,rgba(184,134,11,.14),transparent 70%);
}
.product-demo-body{padding:1rem 1.2rem 1.3rem;}
.product-demo-body h4{color:var(--ink);font-size:1.05rem;font-weight:800;margin-bottom:.5rem;}
.product-demo-countdown{
  display:inline-flex;align-items:center;gap:.4rem;font-size:.78rem;color:#ff9d8a;font-weight:700;
  background:rgba(231,76,60,.1);border:1px solid rgba(231,76,60,.3);border-radius:10px;
  padding:.25rem .6rem;margin-bottom:.6rem;
}
.product-demo-countdown b{font-variant-numeric:tabular-nums;direction:ltr;}
.product-demo-price{display:flex;align-items:baseline;gap:.6rem;margin-bottom:.4rem;}
.product-demo-price .old-price{color:#8a7f6a;text-decoration:line-through;font-size:.88rem;}
.product-demo-price .new-price{color:#a5741a;font-weight:900;font-size:1.3rem;}
.product-demo-specs{color:#6f6450;font-size:.8rem;margin-bottom:.8rem;}
.btn-sm{padding:.5rem 1.1rem;font-size:.85rem;}
.store-demo-caption{color:#6f6450;font-size:.85rem;margin-top:.9rem;line-height:1.7;}

/* ===== نموذج اطلب متجرك ===== */
.store-request-card{
  position:relative;margin-top:2.4rem;
  background:linear-gradient(160deg,#f5eedb,#faf5e9);
  border:1px solid rgba(46,204,113,.3);border-radius:24px;
  padding:2rem 1.6rem;overflow:hidden;
}
.store-request-card h3{color:var(--ink);font-size:1.35rem;font-weight:900;margin-bottom:.4rem;text-align:center;}
.store-request-card h3 i{color:#2ecc71;margin-left:.4rem;}
.store-request-card .section-desc{text-align:center;margin-bottom:1.4rem;}
.store-form{display:flex;flex-direction:column;gap:.8rem;max-width:560px;margin:0 auto;position:relative;}
.store-form input[type=text],.store-form input[type=tel],.store-form textarea{
  width:100%;background:rgba(43,36,22,.05);border:1px solid rgba(43,36,22,.12);
  border-radius:14px;padding:.8rem 1rem;color:var(--ink);font-family:inherit;font-size:.92rem;
  transition:border-color .2s;
}
.store-form input:focus,.store-form textarea:focus{border-color:#2ecc71;outline:none;}
.store-form-row{display:flex;gap:.6rem;flex-wrap:wrap;}
.store-choice{
  flex:1;min-width:140px;cursor:pointer;position:relative;
}
.store-choice input{position:absolute;opacity:0;pointer-events:none;}
.store-choice span{
  display:flex;align-items:center;justify-content:center;gap:.45rem;
  background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.12);border-radius:12px;
  padding:.6rem .5rem;color:#6f6450;font-size:.82rem;font-weight:700;transition:.2s;text-align:center;
}
.store-choice input:checked + span{background:rgba(46,204,113,.14);border-color:#2ecc71;color:#7bf0ad;}
.store-choice-wide{flex:none;width:100%;}
.store-form-msg{text-align:center;font-weight:800;font-size:.9rem;color:#2ecc71;}
.store-form-msg.err{color:#e74c3c;}

/* ============================================================
   v7 — صفحات الأقسام المستقلة + ثيم أبيض/ذهبي + شعار بارز
   ============================================================ */

/* ===== رابط التنقل النشط ===== */
.nav-links a.nav-active{color:var(--gold-500);position:relative;}
.nav-links a.nav-active::after{
  content:'';position:absolute;bottom:-6px;right:0;left:0;height:2.5px;
  background:var(--grad-gold);border-radius:3px;
}

/* ===== كروت اختيار الأقسام في الرئيسية ===== */
#choose-section{position:relative;z-index:2;}
.choose-grid{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:1.6rem;max-width:1000px;margin:0 auto;
}
.choose-card{
  display:flex;flex-direction:column;align-items:center;text-align:center;gap:1rem;
  background:linear-gradient(160deg,#ffffff,#faf5e9);
  border:1.5px solid rgba(184,134,11,.25);border-radius:26px;
  padding:2.6rem 1.8rem 2.2rem;text-decoration:none;color:var(--ink);
  transition:transform .35s cubic-bezier(.22,1,.36,1),border-color .35s,box-shadow .35s;
  position:relative;overflow:hidden;
}
.choose-card::before{
  content:'';position:absolute;inset:0;pointer-events:none;opacity:0;
  background:radial-gradient(400px 200px at 50% 0%,rgba(201,151,30,.10),transparent 70%);
  transition:opacity .35s;
}
.choose-card:hover{transform:translateY(-10px);border-color:rgba(184,134,11,.6);box-shadow:0 24px 60px rgba(120,95,40,.18);}
.choose-card:hover::before{opacity:1;}
.choose-icon{
  width:76px;height:76px;border-radius:22px;font-size:1.9rem;
  display:flex;align-items:center;justify-content:center;
}
.choose-card h3{font-size:1.25rem;font-weight:900;color:var(--ink);}
.choose-card p{color:var(--ink-dim);font-size:.9rem;line-height:1.75;}
.choose-cta{
  margin-top:.4rem;display:inline-flex;align-items:center;gap:.5rem;
  color:var(--gold-500);font-weight:800;font-size:.92rem;
  transition:gap .3s;
}
.choose-card:hover .choose-cta{gap:.9rem;}

/* ===== Hero صفحات الأقسام ===== */
.section-hero{
  position:relative;z-index:2;padding:150px 0 60px;text-align:center;
}
.back-home{
  display:inline-flex;align-items:center;gap:.5rem;margin-bottom:1.6rem;
  color:var(--ink-dim);text-decoration:none;font-weight:700;font-size:.9rem;
  background:#ffffff;border:1px solid rgba(184,134,11,.25);
  padding:.5rem 1.1rem;border-radius:40px;transition:all .3s;
}
.back-home:hover{color:var(--gold-500);border-color:rgba(184,134,11,.55);transform:translateX(-4px);}
.section-hero-inner{max-width:760px;margin:0 auto;}
.section-hero-icon{
  width:92px;height:92px;border-radius:26px;font-size:2.3rem;
  display:inline-flex;align-items:center;justify-content:center;margin-bottom:1.4rem;
  box-shadow:0 14px 40px rgba(120,95,40,.14);
}
.section-hero-title{font-size:clamp(2rem,5.5vw,3.2rem);font-weight:900;color:var(--ink);margin-bottom:1rem;line-height:1.3;}
.section-hero-sub{color:var(--ink-dim);font-size:1.06rem;line-height:1.9;margin-bottom:1.8rem;}
.section-hero .hero-cta{display:flex;justify-content:center;gap:1rem;flex-wrap:wrap;}

/* ===== الشعار البارز — طالع من الشاشة ===== */
.hero-logo-3d{perspective:900px;}
#falcon-canvas{
  transform:scale(1.14) translateZ(0);
  filter:
    drop-shadow(0 30px 50px rgba(120,95,40,.35))
    drop-shadow(0 0 42px rgba(201,151,30,.4))
    drop-shadow(0 0 100px rgba(201,151,30,.18));
  animation:falconPop 5s ease-in-out infinite;
}
@keyframes falconPop{
  0%,100%{transform:scale(1.14) translateY(0);}
  50%{transform:scale(1.19) translateY(-10px);}
}
.hero-logo-3d::after{
  content:'';position:absolute;bottom:6%;left:50%;transform:translateX(-50%);
  width:52%;height:26px;border-radius:50%;
  background:radial-gradient(ellipse at center,rgba(120,95,40,.30),transparent 70%);
  filter:blur(6px);z-index:-1;
  animation:falconShadow 5s ease-in-out infinite;
}
@keyframes falconShadow{
  0%,100%{transform:translateX(-50%) scaleX(1);opacity:.9;}
  50%{transform:translateX(-50%) scaleX(.82);opacity:.55;}
}

/* ===== كرت عرض المنتج (صفحة المتاجر) ===== */
.product-demo-wrap{display:flex;flex-direction:column;align-items:center;gap:1.6rem;}
.pd-img{
  position:relative;height:200px;border-radius:22px 22px 0 0;
  display:flex;align-items:center;justify-content:center;font-size:4rem;color:var(--gold-500);
  background:
    radial-gradient(300px 160px at 50% 30%,rgba(201,151,30,.14),transparent 70%),
    linear-gradient(160deg,#faf5e9,#f0e8d2);
}
.pd-badge{
  position:absolute;top:14px;right:14px;
  background:var(--grad-gold);color:#1a1205;font-weight:900;font-size:.75rem;
  padding:.3rem .8rem;border-radius:30px;box-shadow:0 4px 14px rgba(201,151,30,.4);
}
.pd-body{padding:1.4rem 1.5rem 1.6rem;display:flex;flex-direction:column;gap:.6rem;}
.pd-title{color:var(--ink);font-size:1.15rem;font-weight:900;}
.pd-desc{color:var(--ink-dim);font-size:.88rem;line-height:1.7;}
.pd-meta{display:flex;align-items:baseline;gap:.7rem;margin:.2rem 0 .4rem;}
.pd-price{color:var(--gold-500);font-weight:900;font-size:1.5rem;}
.pd-price small{font-size:.85rem;font-weight:700;}
.pd-old-price{color:#8a7f6a;text-decoration:line-through;font-size:.92rem;}
.pd-note{color:var(--ink-dim);font-size:.78rem;display:flex;align-items:center;gap:.45rem;}
.pd-note i{color:var(--success);}
.pd-caption{
  display:inline-flex;align-items:center;gap:.6rem;max-width:520px;text-align:center;
  color:var(--ink-dim);font-size:.9rem;font-weight:600;
  background:#fff;border:1px dashed rgba(184,134,11,.4);border-radius:16px;padding:.85rem 1.3rem;
}
.pd-caption i{color:var(--gold-500);}
article.product-demo-card{
  width:100%;max-width:360px;background:#ffffff;border:1.5px solid rgba(184,134,11,.28);
  border-radius:22px;overflow:hidden;box-shadow:0 18px 50px rgba(120,95,40,.14);
  transition:transform .35s,box-shadow .35s;
}
article.product-demo-card:hover{transform:translateY(-8px);box-shadow:0 28px 70px rgba(120,95,40,.2);}

/* ===== مزايا صفحة الفكرة ===== */
.idea-actions{display:flex;justify-content:center;gap:1rem;flex-wrap:wrap;margin-top:1.2rem;}
.idea-perks{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:1rem;
  max-width:860px;margin:2.2rem auto 0;
}
.perk-item{
  display:flex;align-items:center;gap:.7rem;justify-content:center;
  background:#fff;border:1px solid rgba(184,134,11,.25);border-radius:16px;
  padding:1rem;color:var(--ink);font-weight:700;font-size:.88rem;
}
.perk-item i{color:var(--gold-500);font-size:1.1rem;}

@media(max-width:640px){
  .section-hero{padding:135px 0 44px;}
  .section-hero-icon{width:72px;height:72px;font-size:1.8rem;}
  #falcon-canvas{transform:scale(1.06);}
  @keyframes falconPop{
    0%,100%{transform:scale(1.06) translateY(0);}
    50%{transform:scale(1.1) translateY(-7px);}
  }
}

/* ============================================================
   v8: شعار بارز جديد + حسابات + تتبع فخم + عينات + خلفيات + مسافات
   ============================================================ */

/* ===== الشعار الجديد: صورة 3D فاخرة طالعة من الشاشة ===== */
.logo-pop-stage{
  position:relative;width:100%;max-width:520px;aspect-ratio:1;
  display:flex;align-items:center;justify-content:center;
  perspective:1000px;
}
.logo-pop-img{
  width:88%;height:auto;position:relative;z-index:3;
  transform-style:preserve-3d;will-change:transform;
  filter:
    drop-shadow(0 35px 55px rgba(120,95,40,.38))
    drop-shadow(0 0 55px rgba(232,182,76,.45))
    drop-shadow(0 0 120px rgba(201,151,30,.2));
  animation:logoFloat 5.5s ease-in-out infinite;
  user-select:none;-webkit-user-drag:none;
  border-radius:28px;
}
@keyframes logoFloat{
  0%,100%{margin-top:0;}
  50%{margin-top:-16px;}
}
.logo-pop-rays{
  position:absolute;inset:6%;z-index:1;border-radius:50%;
  background:
    conic-gradient(from 0deg,transparent 0deg,rgba(232,182,76,.16) 12deg,transparent 26deg,
      transparent 90deg,rgba(232,182,76,.13) 104deg,transparent 118deg,
      transparent 180deg,rgba(232,182,76,.16) 194deg,transparent 208deg,
      transparent 270deg,rgba(232,182,76,.13) 284deg,transparent 298deg);
  animation:raysSpin 22s linear infinite;
  filter:blur(2px);
}
@keyframes raysSpin{to{transform:rotate(360deg);}}
.logo-pop-ring{
  position:absolute;border-radius:50%;z-index:2;pointer-events:none;
  border:1.5px solid rgba(201,151,30,.35);
}
.logo-pop-ring.ring-a{inset:10%;animation:ringPulse 4s ease-in-out infinite;}
.logo-pop-ring.ring-b{inset:2%;border-style:dashed;border-color:rgba(201,151,30,.18);animation:raysSpin 40s linear infinite reverse;}
@keyframes ringPulse{0%,100%{transform:scale(1);opacity:.6;}50%{transform:scale(1.05);opacity:.25;}}
.logo-pop-sparkles span{
  position:absolute;width:6px;height:6px;border-radius:50%;z-index:4;
  background:radial-gradient(circle,#ffe9b0,#e8b64c 60%,transparent);
  box-shadow:0 0 10px rgba(232,182,76,.9);
  animation:sparkleFloat 4s ease-in-out infinite;
}
.logo-pop-sparkles span:nth-child(1){top:12%;right:16%;animation-delay:0s;}
.logo-pop-sparkles span:nth-child(2){top:26%;left:10%;animation-delay:.7s;width:4px;height:4px;}
.logo-pop-sparkles span:nth-child(3){bottom:22%;right:8%;animation-delay:1.4s;width:5px;height:5px;}
.logo-pop-sparkles span:nth-child(4){bottom:12%;left:20%;animation-delay:2.1s;}
.logo-pop-sparkles span:nth-child(5){top:6%;left:42%;animation-delay:2.8s;width:4px;height:4px;}
.logo-pop-sparkles span:nth-child(6){bottom:40%;right:2%;animation-delay:3.4s;width:3px;height:3px;}
@keyframes sparkleFloat{
  0%,100%{opacity:0;transform:translateY(0) scale(.6);}
  50%{opacity:1;transform:translateY(-14px) scale(1.1);}
}
/* ظل أرضي تحت الشعار الجديد */
.hero-logo-3d::after{bottom:2%;}

/* ===== خلفية الهيرو الفاخرة ===== */
#hero-section{
  background:
    linear-gradient(180deg,rgba(253,251,245,.82) 0%,rgba(253,251,245,.66) 55%,var(--navy-950) 100%),
    url('/static/ads/xio-hero-bg.jpg') center/cover no-repeat;
}
.section-hero{
  background:
    linear-gradient(180deg,rgba(253,251,245,.88) 0%,rgba(253,251,245,.78) 60%,var(--navy-950) 100%),
    url('/static/ads/xio-hero-bg.jpg') center/cover no-repeat;
}

/* خلفيات خفيفة مميزة لكل قسم */
#choose-section{
  background:
    radial-gradient(700px 320px at 15% 0%,rgba(232,182,76,.10),transparent 65%),
    radial-gradient(700px 320px at 85% 100%,rgba(201,151,30,.08),transparent 65%);
}
#trust-section,#store-features-showcase,#idea-steps-section{
  background:linear-gradient(180deg,transparent,rgba(240,232,210,.5) 50%,transparent);
}

/* ===== زرار الحساب في النافبار ===== */
.account-btn{
  position:relative;display:inline-flex;align-items:center;gap:.4rem;
  background:rgba(184,134,11,.08);border:1px solid rgba(184,134,11,.35);
  color:var(--gold-300);border-radius:50px;padding:.5rem .85rem;
  font-family:inherit;font-weight:800;font-size:.88rem;cursor:pointer;
  transition:all .3s;
}
.account-btn:hover{background:rgba(184,134,11,.16);transform:translateY(-2px);}
.account-btn.logged{background:var(--grad-gold);color:#1a1205;border-color:transparent;box-shadow:0 6px 18px rgba(184,134,11,.3);}
.account-btn-name{max-width:90px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
@media (max-width:640px){.account-btn-name{display:none;}}

/* ===== نافذة الحساب: تابات + عرض ===== */
.account-modal-box{max-width:440px;}
.auth-tabs{
  display:flex;gap:.5rem;margin-bottom:1.2rem;
  background:rgba(184,134,11,.07);border-radius:14px;padding:.35rem;
}
.auth-tab{
  flex:1;border:none;background:transparent;color:var(--ink-dim);
  font-family:inherit;font-weight:800;font-size:.92rem;padding:.65rem .5rem;
  border-radius:11px;cursor:pointer;transition:all .3s;
  display:flex;align-items:center;justify-content:center;gap:.45rem;
}
.auth-tab.active{background:var(--grad-gold);color:#1a1205;box-shadow:0 4px 14px rgba(184,134,11,.3);}
.account-avatar{
  position:relative;width:86px;height:86px;margin:0 auto 1rem;border-radius:50%;
  background:var(--grad-gold);display:flex;align-items:center;justify-content:center;
  font-size:2.2rem;color:#1a1205;box-shadow:0 12px 30px rgba(184,134,11,.35);
}
.account-avatar .fa-user-crown{display:none;}
.account-avatar::before{content:'\f007';font-family:'Font Awesome 6 Free';font-weight:900;}
.account-crown{
  position:absolute;top:-12px;left:50%;transform:translateX(-50%) rotate(-8deg);
  font-size:1.15rem;color:var(--gold-400);
  filter:drop-shadow(0 3px 6px rgba(120,95,40,.4));
}

/* ===== صفحة التتبع الفخمة ===== */
.track-account-hint{
  margin:0.9rem 0 0;color:var(--ink-dim);font-size:.92rem;
  display:flex;align-items:center;gap:.5rem;flex-wrap:wrap;
}
.track-account-hint i{color:var(--gold-400);}
.track-login-link{
  border:none;background:none;color:var(--gold-300);font-family:inherit;
  font-weight:800;font-size:.92rem;cursor:pointer;text-decoration:underline;
}
.track-stages-info{margin-top:3rem;}
.track-stages-title{
  text-align:center;font-size:1.35rem;font-weight:900;margin-bottom:1.8rem;color:var(--ink);
}
.track-stages-title i{color:var(--gold-400);margin-left:.5rem;}
.stages-grid{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:1.1rem;
}
.stage-card{
  position:relative;background:var(--grad-navy);border:1px solid rgba(111,100,80,.14);
  border-radius:18px;padding:1.6rem 1.2rem 1.3rem;text-align:center;
  transition:transform .3s,border-color .3s,box-shadow .3s;
}
.stage-card:hover{transform:translateY(-6px);border-color:rgba(184,134,11,.45);box-shadow:0 18px 45px rgba(120,95,40,.14);}
.stage-num{
  position:absolute;top:-14px;right:50%;transform:translateX(50%);
  width:30px;height:30px;border-radius:50%;background:var(--grad-gold);color:#1a1205;
  font-weight:900;font-size:.9rem;display:flex;align-items:center;justify-content:center;
  box-shadow:0 5px 14px rgba(184,134,11,.35);
}
.stage-card i{font-size:1.7rem;color:var(--gold-400);margin-bottom:.7rem;display:block;}
.stage-card h4{font-weight:900;font-size:1rem;margin-bottom:.45rem;color:var(--ink);}
.stage-card p{color:var(--ink-dim);font-size:.83rem;line-height:1.7;}
.stage-final{border-color:rgba(184,134,11,.5);background:linear-gradient(160deg,rgba(232,182,76,.12),rgba(253,251,245,.96));}

/* ===== عينات المواقع (صور من جوا) ===== */
.site-samples-grid{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:1.5rem;
  margin-bottom:1.4rem;
}
.site-sample-card{
  background:var(--grad-navy);border:1px solid rgba(111,100,80,.15);
  border-radius:20px;overflow:hidden;margin:0;
  transition:transform .35s,box-shadow .35s,border-color .35s;
}
.site-sample-card:hover{transform:translateY(-8px);border-color:rgba(184,134,11,.5);box-shadow:0 24px 60px rgba(120,95,40,.18);}
.ss-img-wrap{position:relative;overflow:hidden;}
.ss-img-wrap img{width:100%;height:auto;display:block;transition:transform .5s;}
.site-sample-card:hover .ss-img-wrap img{transform:scale(1.04);}
.ss-badge{
  position:absolute;top:12px;right:12px;
  background:rgba(253,251,245,.92);border:1px solid rgba(184,134,11,.4);
  color:var(--gold-300);font-weight:800;font-size:.78rem;
  padding:.35rem .8rem;border-radius:50px;backdrop-filter:blur(4px);
  display:flex;align-items:center;gap:.4rem;
}
.site-sample-card figcaption{padding:1.2rem 1.3rem 1.4rem;}
.site-sample-card h3{font-weight:900;font-size:1.1rem;margin-bottom:.4rem;color:var(--ink);}
.site-sample-card p{color:var(--ink-dim);font-size:.88rem;line-height:1.8;}

/* ===== إصلاح المسافات ===== */
/* السلة تحت شريط الخصم */
body.has-discount-bar #cart-sidebar{top:42px;}
body.has-discount-bar #cart-overlay{top:42px;}
/* تنفس أسفل صف السعر في كروت المميزات */
.feature-bottom{margin-top:auto;padding-top:.55rem;border-top:1px dashed rgba(111,100,80,.15);}
.feature-pricing{flex-wrap:wrap;row-gap:.15rem;}
/* مسافة تحت تابات المميزات */
.features-tabs{margin-bottom:1.6rem;row-gap:.6rem;}
/* مودال الحساب: مسافات مدخلات مريحة */
.account-modal-box input{margin-bottom:.75rem;}
.account-modal-box .btn{margin-top:.25rem;}

@media (max-width:640px){
  .logo-pop-stage{max-width:340px;}
  body.has-discount-bar #cart-sidebar{top:42px;}
  .stages-grid{grid-template-columns:1fr 1fr;}
  .stage-final{grid-column:1/-1;}
}
.gw-track{background:rgba(52,152,219,.12);color:#2f7cb8;border:1px solid rgba(52,152,219,.35);}

/* ===== شعار 3D حقيقي (WebGL) ===== */
.logo3d-canvas {
  width: 100%; aspect-ratio: 1/1; display: block;
  position: relative; z-index: 3;
  filter: drop-shadow(0 18px 40px rgba(201,151,30,0.35));
}
.logo-pop-stage .logo-pop-img { position: relative; z-index: 3; }

/* ============ v9: تأكيد الطلب داخل الشيك آوت ============ */
.ci-logged{display:flex;align-items:center;gap:.7rem;background:rgba(224,170,62,.08);border:1px solid rgba(224,170,62,.3);border-radius:12px;padding:.8rem 1rem;margin-bottom:1rem}
.ci-logged i{color:var(--gold-400,#e0aa3e);font-size:1.4rem}
.ci-logged b{display:block;color:#fff}
.ci-logged small{color:#9aa3b2;direction:ltr;display:block}
.ci-need-account{text-align:center;background:rgba(255,255,255,.04);border:1px dashed rgba(224,170,62,.4);border-radius:14px;padding:1.4rem 1rem;margin-bottom:1rem}
.ci-need-account i{font-size:2rem;color:var(--gold-400,#e0aa3e);margin-bottom:.5rem;display:block}
.ci-need-account p{color:#c9d1de;margin:.3rem 0 .9rem}
.checkout-success{text-align:center;padding:.6rem 0}
.cs-check{width:74px;height:74px;border-radius:50%;background:linear-gradient(135deg,#1f8a4c,#4caf7d);display:flex;align-items:center;justify-content:center;margin:0 auto 1rem;font-size:2rem;color:#fff;box-shadow:0 0 30px rgba(76,175,125,.4);animation:csPop .5s ease}
@keyframes csPop{0%{transform:scale(0)}70%{transform:scale(1.15)}100%{transform:scale(1)}}
.checkout-success h3{color:#fff;margin-bottom:.4rem}
.checkout-success .cs-sub{color:#9aa3b2;font-size:.92rem;margin-bottom:1rem}
.cs-code-box{display:flex;align-items:center;justify-content:center;gap:.6rem;background:rgba(224,170,62,.1);border:1px solid rgba(224,170,62,.35);border-radius:12px;padding:.9rem;margin-bottom:.9rem}
.cs-code-box code{font-size:1.3rem;font-weight:800;color:var(--gold-400,#e0aa3e);letter-spacing:2px;direction:ltr}
.cs-code-box button{background:none;border:1px solid rgba(224,170,62,.4);color:var(--gold-400,#e0aa3e);border-radius:8px;padding:.35rem .6rem;cursor:pointer}
.cs-tg-note{font-size:.86rem;color:#9aa3b2;background:rgba(255,255,255,.04);border-radius:10px;padding:.7rem;margin-bottom:1rem;line-height:1.7}
.cs-actions{display:flex;gap:.6rem;flex-wrap:wrap;justify-content:center}

/* ============ v9: عجلة الحظ ============ */
.wheel-fab{position:fixed;bottom:96px;left:20px;z-index:900;width:62px;height:62px;border-radius:50%;border:none;cursor:pointer;background:radial-gradient(circle at 30% 30%,#f5d27a,#e0aa3e 55%,#8a651f);color:#1a1408;font-size:1.5rem;box-shadow:0 6px 24px rgba(224,170,62,.45);display:flex;align-items:center;justify-content:center;animation:wheelFloat 3s ease-in-out infinite}
@keyframes wheelFloat{0%,100%{transform:translateY(0) rotate(0)}50%{transform:translateY(-6px) rotate(12deg)}}
.wheel-fab-tag{position:absolute;top:-8px;right:-6px;background:#e53950;color:#fff;font-size:.62rem;font-weight:800;padding:.15rem .45rem;border-radius:20px;font-family:inherit}
.wheel-modal-box{max-width:440px;text-align:center}
.wheel-stage{position:relative;width:340px;max-width:100%;margin:1rem auto}
.wheel-stage canvas{width:100%;height:auto;display:block;filter:drop-shadow(0 8px 26px rgba(224,170,62,.25))}
.wheel-pointer{position:absolute;top:-8px;left:50%;transform:translateX(-50%);width:0;height:0;border-left:14px solid transparent;border-right:14px solid transparent;border-top:24px solid #e53950;z-index:5;filter:drop-shadow(0 2px 4px rgba(0,0,0,.5))}
.wheel-result{min-height:2.2rem;margin-top:.8rem;font-weight:800;color:var(--gold-400,#e0aa3e);font-size:1.05rem;line-height:1.6}
.wheel-result.win{animation:csPop .5s ease}

/* ============ v9: محادثة الدعم المباشر ============ */
.support-modal-box{max-width:460px;display:flex;flex-direction:column;max-height:82vh}
.support-head{display:flex;align-items:center;gap:.7rem;padding-bottom:.7rem;border-bottom:1px solid rgba(255,255,255,.08);margin-bottom:.6rem}
.support-head i{color:var(--gold-400,#e0aa3e);font-size:1.4rem}
.support-head b{display:block;color:#fff}
.support-head small{color:#4caf7d;font-size:.78rem}
.support-messages{flex:1;overflow-y:auto;min-height:220px;max-height:44vh;padding:.4rem .2rem;display:flex;flex-direction:column;gap:.5rem}
.support-welcome{text-align:center;color:#9aa3b2;font-size:.88rem;padding:1.4rem .6rem;line-height:1.8}
.support-msg{max-width:82%;padding:.55rem .8rem;border-radius:14px;font-size:.9rem;line-height:1.6;word-break:break-word}
.support-msg.from-me{align-self:flex-end;background:linear-gradient(135deg,#8a651f,#e0aa3e);color:#1a1408;border-bottom-left-radius:4px}
.support-msg.from-admin{align-self:flex-start;background:rgba(255,255,255,.07);color:#e8edf5;border:1px solid rgba(224,170,62,.25);border-bottom-right-radius:4px}
.support-msg .sm-tag{display:block;font-size:.66rem;opacity:.75;margin-bottom:.15rem;font-weight:700}
.support-input-row{display:flex;gap:.5rem;margin-top:.7rem}
.support-input-row input{flex:1;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.12);border-radius:12px;padding:.7rem .9rem;color:#fff;font-family:inherit}
.support-input-row button{background:linear-gradient(135deg,#8a651f,#e0aa3e);border:none;border-radius:12px;width:46px;color:#1a1408;font-size:1rem;cursor:pointer}

/* ============ v9: ربط تليجرام في الحساب ============ */
.account-tg-panel{margin-top:.8rem;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.1);border-radius:12px;padding:.9rem;text-align:right}
.tg-linked{color:#4caf7d;font-weight:700;display:flex;align-items:center;gap:.5rem}
.tg-err{color:#e57383;font-size:.88rem}
.tg-link-steps{font-size:.88rem;color:#c9d1de;line-height:2}
.tg-link-steps a{color:#3aa9e0;font-weight:700}
.tg-code{background:rgba(224,170,62,.12);border:1px dashed rgba(224,170,62,.45);color:var(--gold-400,#e0aa3e);padding:.15rem .55rem;border-radius:8px;font-weight:800;letter-spacing:1.5px;direction:ltr;display:inline-block}

/* ============ v9: لمعة اللوجو ============ */
.logo-pop-shine{position:absolute;inset:0;border-radius:inherit;background:linear-gradient(115deg,transparent 30%,rgba(255,244,214,.35) 48%,rgba(255,255,255,.15) 52%,transparent 68%);background-size:250% 100%;animation:logoShine 4.5s ease-in-out infinite;pointer-events:none;mix-blend-mode:screen}
@keyframes logoShine{0%,20%{background-position:130% 0}55%,100%{background-position:-60% 0}}

/* ============ v10: كارت الباقة المخصصة في الشات ============ */
.cb-card{max-width:100%!important;background:linear-gradient(160deg,rgba(224,170,62,.12),rgba(255,255,255,.05))!important;border:1px solid rgba(224,170,62,.4)!important}
.cb-head{font-weight:800;color:var(--gold-400,#e0aa3e);margin-bottom:.5rem;font-size:1rem}
.cb-items{list-style:none;padding:0;margin:0 0 .6rem}
.cb-items li{display:flex;justify-content:space-between;gap:.8rem;padding:.3rem 0;border-bottom:1px dashed rgba(255,255,255,.1);font-size:.88rem}
.cb-items li b{color:var(--gold-400,#e0aa3e);white-space:nowrap}
.cb-total{font-size:.95rem;margin-bottom:.7rem}
.cb-total b{color:var(--gold-400,#e0aa3e)}
.cb-add-btn{width:100%;background:linear-gradient(135deg,#8a651f,#e0aa3e);border:none;border-radius:10px;padding:.65rem;color:#1a1408;font-weight:800;font-family:inherit;cursor:pointer;font-size:.92rem}
.cb-add-btn:active{transform:scale(.97)}
.cb-note{display:block;margin-top:.5rem;color:#9aa3b2;font-size:.75rem;text-align:center}

/* ============ v10: تحسين وتخفيف الموبايل ============ */
@media (max-width:768px){
  /* تخفيف الظلال والبلور الثقيلة */
  #falcon-canvas{max-width:300px;filter:drop-shadow(0 0 24px rgba(184,134,11,.3))}
  .hero-logo-3d{margin-top:.5rem}
  /* إيقاف الأنيميشنات الثقيلة المستمرة */
  .logo-pop-rays,.logo-pop-ring{display:none}
  /* أزرار عائمة أصغر ومسافات مريحة */
  .wheel-fab{width:54px;height:54px;bottom:86px;left:14px;font-size:1.25rem}
  /* مودالات مريحة على الشاشة الصغيرة */
  .wheel-modal-box{max-width:94vw;padding:1rem}
  .wheel-stage{width:min(300px,82vw)}
  .support-modal-box{max-width:94vw;max-height:88vh}
  .support-messages{max-height:48vh}
  /* جداول ونصوص أوضح */
  .cs-code-box code{font-size:1.1rem}
  .cb-items li{font-size:.84rem}
  /* لمس أسهل */
  .cb-add-btn,.support-input-row button,#wheel-spin-btn{min-height:46px}
}
@media (prefers-reduced-motion: reduce){
  .logo-pop-shine,.wheel-fab{animation:none}
}

/* ===== v11: إصلاح المسافات المتلاصقة (حسب سكرينشوتات العميل) ===== */
.features-grid{gap:1.6rem !important;row-gap:1.8rem !important;margin-top:.4rem;}
.feature-card{padding:1.6rem 1.5rem !important;gap:.85rem !important;position:relative;}
.features-tabs{gap:.85rem !important;row-gap:.85rem !important;margin-top:2.6rem !important;margin-bottom:2.2rem !important;}
.tab-btn{padding:.65rem 1.4rem !important;}
.foundation-card,.base-package-card{margin-bottom:2.8rem;}
.bundles-grid{gap:1.8rem !important;row-gap:2rem !important;}
.feature-bottom{padding-top:.7rem !important;margin-top:auto !important;}
.feature-top{gap:.9rem !important;}
.feature-desc{line-height:1.75;}
@media (max-width:640px){
  .features-grid{grid-template-columns:1fr !important;gap:1.15rem !important;row-gap:1.15rem !important;}
  .features-tabs{gap:.6rem !important;row-gap:.6rem !important;margin-top:2rem !important;margin-bottom:1.6rem !important;}
  .tab-btn{padding:.55rem 1.05rem !important;font-size:.83rem !important;}
  .feature-card{padding:1.3rem 1.15rem !important;}
  .bundles-grid{gap:1.3rem !important;row-gap:1.3rem !important;}
  .section{padding:56px .95rem !important;}
  .section-header{margin-bottom:2.2rem !important;}
}

/* v11: شارة خصم على كروت المميزات */
.feature-disc-badge{
  position:absolute;top:-10px;left:14px;background:linear-gradient(135deg,#e74c3c,#c0392b);
  color:#fff;font-weight:900;font-size:.75rem;padding:.2rem .65rem;border-radius:50px;
  box-shadow:0 4px 14px rgba(231,76,60,.4);z-index:2;
}

/* ===== v11: قسم طلباتي ===== */
.my-orders-box{max-width:640px;max-height:86vh;overflow-y:auto;}
.my-orders-head{display:flex;align-items:center;gap:.9rem;margin-bottom:1.2rem;text-align:right;}
.my-orders-icon{width:52px;height:52px;min-width:52px;border-radius:15px;display:flex;align-items:center;justify-content:center;background:var(--grad-gold);color:var(--navy-950);font-size:1.4rem;box-shadow:0 8px 22px rgba(184,134,11,.3);}
.my-orders-head h3{margin:0;font-size:1.25rem;}
.my-orders-list{display:flex;flex-direction:column;gap:1.1rem;}
.orders-done-badge{background:rgba(46,204,113,.18);color:#27ae60;font-size:.72rem;font-weight:900;padding:.15rem .55rem;border-radius:50px;margin-inline-start:.4rem;border:1px solid rgba(46,204,113,.4);}
.track-order.order-done{border-color:rgba(46,204,113,.5);box-shadow:0 8px 26px rgba(46,204,113,.12);}
.order-done-banner{background:linear-gradient(135deg,rgba(46,204,113,.14),rgba(46,204,113,.05));color:#27ae60;font-weight:900;font-size:.92rem;padding:.65rem .9rem;border-radius:12px;margin-bottom:.8rem;border:1px solid rgba(46,204,113,.35);display:flex;align-items:center;gap:.5rem;}
.track-status-pill.pill-done{background:rgba(46,204,113,.16);color:#27ae60;border-color:rgba(46,204,113,.45);}
@media (max-width:640px){.my-orders-box{max-width:94vw;padding:1.1rem;}}

/* ===== v13: تتبع الطلب المطوّر (موعد التسليم + ملفات + خط زمني) ===== */
.track-eta{background:linear-gradient(135deg,rgba(224,170,62,.12),rgba(224,170,62,.04));border:1px solid rgba(224,170,62,.35);border-radius:10px;padding:.55rem .8rem;font-size:.88rem;color:#8a6d2f;margin:.5rem 0}
.track-eta b{color:#b8860b}
.track-files{margin-top:.8rem;background:rgba(76,175,125,.06);border:1px solid rgba(76,175,125,.3);border-radius:12px;padding:.7rem .8rem}
.track-files-title{font-weight:700;font-size:.88rem;color:#2e7d54;margin-bottom:.5rem}
.track-file{display:flex;align-items:center;gap:.6rem;background:#fff;border:1px solid rgba(76,175,125,.25);border-radius:9px;padding:.55rem .75rem;margin-bottom:.35rem;text-decoration:none;color:#1d5c3d;font-size:.87rem;transition:transform .15s,box-shadow .15s}
.track-file:hover{transform:translateY(-1px);box-shadow:0 4px 12px rgba(76,175,125,.18)}
.track-file i{color:#2e7d54;font-size:1.05rem}
.track-file span{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.track-file small{color:#7ba38e;font-size:.72rem;white-space:nowrap}
.track-file-note{font-size:.78rem;color:#5c8a70;padding:.1rem .5rem .4rem}
.track-events{margin-top:.7rem;border:1px dashed rgba(111,100,80,.35);border-radius:10px;padding:.4rem .7rem;background:rgba(255,255,255,.5)}
.track-events summary{cursor:pointer;font-size:.85rem;color:#6f6450;font-weight:700;padding:.25rem 0}
.track-events-list{display:flex;flex-direction:column;gap:.45rem;padding:.5rem 0 .3rem}
.track-event{display:flex;align-items:flex-start;gap:.55rem;font-size:.84rem;color:#4a4336;position:relative;padding-inline-start:.2rem}
.te-icon{flex-shrink:0}
.te-text{flex:1;line-height:1.5}
.te-date{color:#a89a80;font-size:.7rem;white-space:nowrap;direction:ltr}

/* ===== v16: زر عجلة الحظ في الهيدر (جنب أيقونة الحساب) ===== */
.wheel-nav-btn{
  position:relative;display:inline-flex;align-items:center;justify-content:center;
  width:40px;height:40px;border-radius:50%;cursor:pointer;
  background:radial-gradient(circle at 30% 30%,#f5d27a,#e0aa3e 60%,#8a651f);
  border:1px solid rgba(224,170,62,.6);color:#1a1408;font-size:1.05rem;
  box-shadow:0 3px 12px rgba(224,170,62,.35);transition:transform .2s;
}
.wheel-nav-btn:hover{transform:scale(1.1) rotate(20deg)}
.wheel-nav-btn i{animation:wheelNavSpin 6s linear infinite}
@keyframes wheelNavSpin{from{transform:rotate(0)}to{transform:rotate(360deg)}}
.wheel-nav-tag{
  position:absolute;top:-7px;right:-8px;background:#e53950;color:#fff;
  font-size:.55rem;font-weight:800;padding:.1rem .35rem;border-radius:16px;font-family:inherit;
}
@media (max-width:700px){.wheel-nav-btn{width:36px;height:36px;font-size:.95rem}}
@media (prefers-reduced-motion:reduce){.wheel-nav-btn i{animation:none}}
