/* الشكل الفاخر لصفحة الهبوط + الحركات. كل القواعد تحت html:not([data-lstyle="classic"]) حتى يقدر المسؤول يرجع للشكل الكلاسيكي من الإعدادات. */
/* الشكل الفاخر لصفحة الهبوط: هادئ، بطاقات بحدود ذهبية رفيعة، أقسام فاتحة للتصاميم، وبطاقة ذهبية للخاتمة.
   يعتمد على متغيرات الألوان نفسها، فيشتغل في الوضعين الفاتح والداكن ومع أي «لون متجر». */

/* ---------- الواجهة ---------- */
html:not([data-lstyle="classic"]) .landing .hero { padding: 4.2rem 0 4.6rem; }
html:not([data-lstyle="classic"]) .landing .hero-kicker {
  display: inline-block; margin-bottom: .9rem; font: 700 .74rem/1 var(--font); letter-spacing: .38em;
  color: var(--gold); direction: ltr; animation: rise .9s var(--ease) both;
}
html:not([data-lstyle="classic"]) .landing .hero-title { font-size: clamp(2.6rem, 12vw, 4.6rem); line-height: 1.2; }
html:not([data-lstyle="classic"]) .landing .hero-title .h1-pre { font-size: .62em; font-weight: 700; opacity: .92; }
html:not([data-lstyle="classic"]) .landing .hero-sub {
  margin-top: .5rem; color: var(--gold); font-size: clamp(1.3rem, 5.4vw, 1.75rem); font-weight: 700; line-height: 1.5;
}
html:not([data-lstyle="classic"]) .landing .typed { color: var(--text-2); font-size: 1rem; font-weight: 400; max-width: 30em; margin-inline: auto; }
html:not([data-lstyle="classic"]) .landing .caret { background: var(--text-2); }
html:not([data-lstyle="classic"]) .landing .hero-cta { grid-template-columns: 1fr; max-width: 460px; gap: .6rem; }
html:not([data-lstyle="classic"]) .landing .hero-cta .btn.gold { border-radius: 14px; min-height: 56px; font-size: 1.05rem; gap: .55rem; }
html:not([data-lstyle="classic"]) .landing .hero-cta .btn.gold svg, html:not([data-lstyle="classic"]) .landing .cta-btns .btn svg { width: 20px; height: 20px; }
html:not([data-lstyle="classic"]) .landing .hero-cta .btn.line { border: 0; min-height: 40px; font-size: .92rem; text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--hair); }
html:not([data-lstyle="classic"]) .landing .hero-cta .btn.line:hover { background: none; text-decoration-color: currentColor; }
html:not([data-lstyle="classic"]) .hero-badges {
  list-style: none; margin: 1.3rem auto 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .55rem 1.3rem;
  font-size: .88rem; font-weight: 600; color: var(--text-2); animation: rise .9s .35s var(--ease) both;
}
html:not([data-lstyle="classic"]) .hero-badges li { display: inline-flex; align-items: center; gap: .4rem; }
html:not([data-lstyle="classic"]) .hero-badges [data-ic] { display: inline-grid; color: var(--gold); }
html:not([data-lstyle="classic"]) .hero-badges svg { width: 17px; height: 17px; }
html:not([data-lstyle="classic"]) .landing .trial { border-radius: 16px; background: transparent; box-shadow: none; }

/* ---------- العناوين ---------- */
html:not([data-lstyle="classic"]) .landing .lp-section { padding: 4.6rem 0; }
html:not([data-lstyle="classic"]) .landing .sec-title { font-size: clamp(1.6rem, 6vw, 2.15rem); font-weight: 700; }
html:not([data-lstyle="classic"]) .landing .sec-title::after { width: 46px; height: 2px; background: var(--gold); }
html:not([data-lstyle="classic"]) .landing .sec-sub { max-width: 34em; margin-inline: auto; }

/* ---------- لماذا: بطاقات بحدود رفيعة وأيقونات خطية ---------- */
html:not([data-lstyle="classic"]) .landing .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
@media (min-width: 900px) { html:not([data-lstyle="classic"]) .landing .why-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; } }
html:not([data-lstyle="classic"]) .landing .why {
  padding: 1.6rem 1rem 1.4rem; border-radius: 14px; background: var(--card); border: 1px solid var(--hair); box-shadow: none;
}
html:not([data-lstyle="classic"]) .landing .why:hover { transform: translateY(-3px); border-color: var(--gold); background: var(--card); }
html:not([data-lstyle="classic"]) .landing .why-ic, html[data-theme="light"]:not([data-lstyle="classic"]) .landing .why-ic {
  width: auto; height: auto; margin-bottom: .9rem; background: none; box-shadow: none; color: var(--gold);
}
html:not([data-lstyle="classic"]) .landing .why-ic svg { width: 34px; height: 34px; stroke-width: 1.4; }
html:not([data-lstyle="classic"]) .landing .why h3 { font-size: 1rem; font-weight: 700; }
html:not([data-lstyle="classic"]) .landing .why p { font-size: .84rem; line-height: 1.75; }
@media (max-width: 420px) { html:not([data-lstyle="classic"]) .landing .why { padding: 1.3rem .7rem 1.1rem; } html:not([data-lstyle="classic"]) .landing .why p { font-size: .8rem; } }

/* ---------- التصاميم: قسم فاتح دائماً مثل «نماذج من أعمالنا» ---------- */
html:not([data-lstyle="classic"]) .landing .lp-section.paper { background: #ffffff; color: #1d1d1f; }
html:not([data-lstyle="classic"]) .landing .paper .sec-title { color: #1d1d1f; }
html:not([data-lstyle="classic"]) .landing .paper .sec-sub { color: #6b6b70; }
html:not([data-lstyle="classic"]) .landing .paper .cat-chips button { background: #f4f3f0; color: #3a3a3d; box-shadow: none; }
html:not([data-lstyle="classic"]) .landing .paper .cat-chips button[aria-pressed="true"] { background: #1d1d1f; color: #fff; }
html:not([data-lstyle="classic"]) .landing .paper .gal-card { background: transparent; border: 0; padding: 0; gap: .45rem; }
html:not([data-lstyle="classic"]) .landing .paper .gal-card:hover { transform: translateY(-4px); box-shadow: none; }
html:not([data-lstyle="classic"]) .landing .paper .gal-img { border-radius: 16px; box-shadow: 0 14px 34px rgba(0, 0, 0, .12); }
html:not([data-lstyle="classic"]) .landing .paper .gal-meta b { color: #1d1d1f; font-weight: 600; }
html:not([data-lstyle="classic"]) .landing .paper .gal-meta small { color: #8a8a90; }
html:not([data-lstyle="classic"]) .landing .paper .gal-go { display: none; }
html:not([data-lstyle="classic"]) .landing .paper .gal-badge { background: rgba(255, 255, 255, .9); color: #1d1d1f; }
html:not([data-lstyle="classic"]) .landing .paper .gal-more .btn { background: #1d1d1f; color: #fff; border: 0; border-radius: 12px; min-height: 50px; }
html:not([data-lstyle="classic"]) .landing .paper .gal-more .btn:hover { background: #000; }
@media (min-width: 720px) { html:not([data-lstyle="classic"]) .landing .paper .gal-go { display: flex; } }

/* ---------- الباقات والأسئلة: نفس روح البطاقات ---------- */
html:not([data-lstyle="classic"]) .landing .pkg { border-radius: 16px; border: 1px solid var(--hair); box-shadow: none; }
html:not([data-lstyle="classic"]) .landing .faq details { border-radius: 14px; border: 1px solid var(--hair); box-shadow: none; }

/* ---------- الخاتمة: بطاقة ذهبية ---------- */
html:not([data-lstyle="classic"]) .landing .cta-band { background: var(--bg); padding: 3.6rem 0; }
html:not([data-lstyle="classic"]) .landing .cta-band .cta-in {
  max-width: 760px; margin: 0 auto; padding: 2.4rem 1.4rem; border-radius: 20px; color: #1b1305;
  background: linear-gradient(135deg, #e8cd8b 0%, #c9a557 55%, #b08a40 100%); box-shadow: 0 24px 60px rgba(176, 138, 64, .25);
}
html:not([data-lstyle="classic"]) .landing .cta-band .cta-in h2 { color: #1b1305; font-size: clamp(1.5rem, 6vw, 2rem); }
html:not([data-lstyle="classic"]) .landing .cta-band .cta-in p { color: rgba(27, 19, 5, .72); }
html:not([data-lstyle="classic"]) .landing .cta-band .cta-btns { grid-template-columns: 1fr; max-width: 300px; }
html:not([data-lstyle="classic"]) .landing .cta-band .btn.gold { background: #ffffff; color: #1b1305; box-shadow: 0 8px 20px rgba(0, 0, 0, .12); }
html:not([data-lstyle="classic"]) .landing .cta-band .btn.line { color: #1b1305; border-color: rgba(27, 19, 5, .35); gap: .45rem; }
html:not([data-lstyle="classic"]) .landing .cta-band .btn.line:hover { background: rgba(255, 255, 255, .25); }

/* ---------- التذييل: أعمدة ---------- */
html:not([data-lstyle="classic"]) .landing .lp-foot { padding-top: 3rem; }
html:not([data-lstyle="classic"]) .foot-grid { display: grid; gap: 1.8rem 1.2rem; grid-template-columns: 1fr 1fr; }
html:not([data-lstyle="classic"]) .foot-brand { grid-column: 1 / -1; }
html:not([data-lstyle="classic"]) .foot-brand p { margin-top: .6rem; font-size: .9rem; line-height: 1.9; max-width: 28em; }
html:not([data-lstyle="classic"]) .foot-col { display: grid; align-content: start; gap: .55rem; }
html:not([data-lstyle="classic"]) .foot-col h4 { font-size: .95rem; color: var(--text); margin-bottom: .2rem; }
html:not([data-lstyle="classic"]) .foot-col a, html:not([data-lstyle="classic"]) .foot-col span { color: var(--dim); text-decoration: none; font-size: .9rem; display: inline-flex; align-items: center; gap: .4rem; }
html:not([data-lstyle="classic"]) .foot-col a:hover { color: var(--gold); }
html:not([data-lstyle="classic"]) .foot-col [data-ic] { display: inline-grid; color: var(--gold); }
html:not([data-lstyle="classic"]) .foot-col svg { width: 16px; height: 16px; }
@media (min-width: 820px) {
  html:not([data-lstyle="classic"]) .foot-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
  html:not([data-lstyle="classic"]) .foot-brand { grid-column: auto; }
}
html[data-theme="light"]:not([data-lstyle="classic"]) .landing .foot-col h4 { color: #15302a; }
html[data-theme]:not([data-lstyle="classic"]) .landing .paper .gal-more .btn { color: #fff; border: 0; }
html[data-theme]:not([data-lstyle="classic"]) .landing .cta-band .btn.line { color: #1b1305; border-color: rgba(27, 19, 5, .35); }

/* ================= مؤثرات الحركة (مستوحاة من دكّان آبس) ================= */

/* شاشة البداية */
html:not([data-lstyle="classic"]) .preloader { position: fixed; inset: 0; z-index: 1000; display: none; place-items: center; background: var(--bg); transition: opacity .6s var(--ease), visibility .6s; }
html:not([data-lstyle="classic"]) .preloader.on { display: grid; }
html:not([data-lstyle="classic"]) .preloader.out { opacity: 0; visibility: hidden; }
html:not([data-lstyle="classic"]) .preloader { animation: plSafety 0s 4.5s forwards; }
@keyframes plSafety { to { opacity: 0; visibility: hidden; } }
html:not([data-lstyle="classic"]) .pl-in { display: grid; justify-items: center; gap: 1.1rem; }
html:not([data-lstyle="classic"]) .pl-mark { font-family: var(--display); font-size: clamp(3rem, 14vw, 4.6rem); line-height: 1.2; min-height: 1.2em; background: var(--shimmer); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: plMark .9s var(--ease) both, shimmer 2.4s linear infinite; }
@keyframes plMark { from { opacity: 0; transform: translateY(14px) scale(.96); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
html:not([data-lstyle="classic"]) .pl-bar { width: 180px; height: 2px; border-radius: 2px; background: var(--hair); overflow: hidden; }
html:not([data-lstyle="classic"]) .pl-bar i { display: block; width: 0; height: 100%; background: linear-gradient(90deg, transparent, var(--gold)); }
html:not([data-lstyle="classic"]) .pl-pct { font: 500 .78rem/1 ui-monospace, monospace; color: var(--dim); letter-spacing: .1em; direction: ltr; }

/* بقع ضوء تتحرك ببطء خلف الصفحة */
html:not([data-lstyle="classic"]) .aurora { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
html:not([data-lstyle="classic"]) .aurora b { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .45; will-change: transform; }
html:not([data-lstyle="classic"]) .aurora .a1 { width: 560px; height: 560px; top: -200px; right: -140px; background: var(--gold); opacity: .18; animation: au1 22s ease-in-out infinite; }
html:not([data-lstyle="classic"]) .aurora .a2 { width: 520px; height: 520px; top: 45%; left: -220px; background: rgb(var(--brand-rgb)); opacity: .35; animation: au2 26s ease-in-out infinite; }
html:not([data-lstyle="classic"]) .aurora .a3 { width: 420px; height: 420px; bottom: -180px; right: 25%; background: var(--gold-2); opacity: .1; animation: au3 30s ease-in-out infinite; }
@keyframes au1 { 50% { transform: translate(-120px, 90px) scale(1.12); } }
@keyframes au2 { 50% { transform: translate(140px, -80px) scale(.92); } }
@keyframes au3 { 50% { transform: translate(-90px, -110px) scale(1.15); } }
html[data-theme="light"]:not([data-lstyle="classic"]) .aurora .a1 { opacity: .2; }
html[data-theme="light"]:not([data-lstyle="classic"]) .aurora .a2 { opacity: .12; }
html:not([data-lstyle="classic"]) .landing main, html:not([data-lstyle="classic"]) .landing .lp-foot { position: relative; z-index: 1; }
html:not([data-lstyle="classic"]) .landing .hero { background: transparent; }

/* شبكة خطوط خفيفة تتحرك خلف الواجهة */
html:not([data-lstyle="classic"]) .hero-gridbg { position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(var(--hair) 1px, transparent 1px), linear-gradient(90deg, var(--hair) 1px, transparent 1px);
  background-size: 56px 56px; animation: gridmove 18s linear infinite;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000 0%, transparent 75%); mask-image: radial-gradient(70% 60% at 50% 30%, #000 0%, transparent 75%); }
@keyframes gridmove { to { background-position: 56px 56px; } }

/* شارة «نستقبل الطلبات» بنقطة تنبض */
html:not([data-lstyle="classic"]) .hero-pill { display: inline-flex; align-items: center; gap: .55rem; margin-bottom: 1.1rem; padding: .45rem .95rem; border-radius: 999px; border: 1px solid var(--hair); background: color-mix(in srgb, var(--card) 70%, transparent); color: var(--text-2); font-size: .84rem; font-weight: 600; animation: rise .9s var(--ease) both; }
html:not([data-lstyle="classic"]) .hero-pill .dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #3ccf8e; }
html:not([data-lstyle="classic"]) .hero-pill .dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid #3ccf8e; opacity: 0; animation: dotPulse 1.8s ease-out infinite; }
@keyframes dotPulse { 0% { transform: scale(.5); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }

/* شريط متحرك بأنواع المناسبات */
html:not([data-lstyle="classic"]) .marquee { position: relative; z-index: 1; overflow: hidden; padding: 1rem 0; border-block: 1px solid var(--hair); background: color-mix(in srgb, var(--card) 55%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
html:not([data-lstyle="classic"]) .mq-track { display: flex; width: max-content; gap: 2.4rem; animation: marq 32s linear infinite; }
html:not([data-lstyle="classic"]) .mq-track span { display: inline-flex; align-items: center; gap: 2.4rem; white-space: nowrap; color: var(--text-2); font-weight: 600; font-size: .95rem; }
html:not([data-lstyle="classic"]) .mq-track span::after { content: "✦"; color: var(--gold); font-size: .8rem; }
html:not([data-lstyle="classic"]) .marquee:hover .mq-track { animation-play-state: paused; }
@keyframes marq { to { transform: translateX(50%); } }

/* توهج يتبع الماوس */
html:not([data-lstyle="classic"]) .cursor-glow { position: fixed; top: 0; left: 0; z-index: 0; width: 400px; height: 400px; border-radius: 50%; pointer-events: none; opacity: 0;
  background: radial-gradient(circle, color-mix(in srgb, var(--gold) 22%, transparent) 0%, transparent 65%); transition: opacity .4s; will-change: transform; }
html:not([data-lstyle="classic"]) body.has-glow .cursor-glow { opacity: 1; }
html[data-theme="light"]:not([data-lstyle="classic"]) body.has-glow .cursor-glow { opacity: .55; }

/* إضاءة البطاقات تحت الماوس */
html:not([data-lstyle="classic"]) .landing .why, html:not([data-lstyle="classic"]) .landing .pkg, html:not([data-lstyle="classic"]) .landing .faq details { position: relative; isolation: isolate; }
html:not([data-lstyle="classic"]) body.has-glow .landing .why::before, html:not([data-lstyle="classic"]) body.has-glow .why::before, html:not([data-lstyle="classic"]) body.has-glow .pkg::before, html:not([data-lstyle="classic"]) body.has-glow .faq details::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--gold) 16%, transparent), transparent 70%); }
html:not([data-lstyle="classic"]) body.has-glow .why:hover::before, html:not([data-lstyle="classic"]) body.has-glow .pkg:hover::before, html:not([data-lstyle="classic"]) body.has-glow .faq details:hover::before { opacity: 1; }

/* ظهور العناوين كلمة كلمة أنعم */
html:not([data-lstyle="classic"]) .landing .sec-title { transition: opacity .8s var(--ease), transform .8s var(--ease), filter .8s var(--ease); }

@media (prefers-reduced-motion: reduce) {
  html:not([data-lstyle="classic"]) .aurora b, html:not([data-lstyle="classic"]) .hero-gridbg, html:not([data-lstyle="classic"]) .mq-track, html:not([data-lstyle="classic"]) .hero-pill .dot::after { animation: none; }
  html:not([data-lstyle="classic"]) .preloader { display: none !important; }
}

/* ===== أساسي لكل الأشكال (الكلاسيكي والفاخر) ===== */
[data-sec][hidden], .landing [data-sec][hidden] { display: none !important; }
.landing .lp-section.paper { background: var(--bg-2); }
.foot-grid { display: grid; gap: 1.8rem 1.2rem; grid-template-columns: 1fr 1fr; }
.foot-brand { grid-column: 1 / -1; }
.foot-brand p { margin-top: .6rem; font-size: .9rem; line-height: 1.9; max-width: 28em; }
.foot-col { display: grid; align-content: start; gap: .55rem; }
.foot-col h4 { font-size: .95rem; color: var(--text); margin-bottom: .2rem; }
.foot-col a, .foot-col span { color: var(--dim); text-decoration: none; font-size: .9rem; display: inline-flex; align-items: center; gap: .4rem; }
.foot-col a:hover { color: var(--gold); }
.foot-col [data-ic] { display: inline-grid; color: var(--gold); }
.foot-col svg { width: 16px; height: 16px; }
@media (min-width: 820px) { .foot-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } .foot-brand { grid-column: auto; } }
html[data-theme="light"] .landing .foot-col h4 { color: #15302a; }
.landing .btn [data-ic] { display: inline-grid; }
.landing .btn svg { width: 18px; height: 18px; }
/* الشكل الكلاسيكي: بدون مؤثرات وعناصر الشكل الفاخر */
html[data-lstyle="classic"] .preloader, html[data-lstyle="classic"] .aurora, html[data-lstyle="classic"] .cursor-glow,
html[data-lstyle="classic"] .hero-gridbg, html[data-lstyle="classic"] .marquee, html[data-lstyle="classic"] .hero-pill,
html[data-lstyle="classic"] .hero-badges { display: none !important; }
html[data-lstyle="classic"] .hero-cta .btn [data-ic] { display: none; }
.landing a[hidden], .landing .btn[hidden] { display: none !important; }
/* بدون الشبك الشفاف خلف أول الصفحة */
.hero-gridbg { display: none !important; }
