/* ==========================================================================
   صفحة «الأدوات» — بيت الأداتين
   أسود الموقع وبرتقاليه، وكريمي أداة التصميم.
   ========================================================================== */
.mktp {
  --bg: #070707; --bg2: #0F0E0D; --card: #141312; --line: rgba(255, 249, 232, .1);
  --cream: #FFF9E8; --muted: rgba(255, 249, 232, .66); --org: #FF6B18; --org2: #FF8A45;
  direction: rtl; text-align: right; color: var(--cream); background: var(--bg);
  font-family: "IBM Plex Sans Arabic", "Noto Sans Arabic", -apple-system, "Segoe UI", Tahoma, sans-serif;
  font-size: 17px; line-height: 1.75;
  width: 100vw; max-width: 100vw; margin: 0 calc(50% - 50vw); overflow-x: clip; box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}
.mktp *, .mktp *::before, .mktp *::after { box-sizing: border-box; }
.mktp :where(h1, h2, h3, p, ul, ol, li) { margin: 0; padding: 0; }
.mktp :where(h1, h2, h3) { font-family: inherit !important; letter-spacing: normal !important; text-transform: none !important; color: inherit; }
.mktp ul, .mktp ol { list-style: none; }
.mktp a { text-decoration: none !important; }
.mktp :focus-visible { outline: 2px solid var(--org); outline-offset: 3px; }
body.mktp-page .site-main { padding-top: 0 !important; padding-bottom: 0 !important; }
body.mktp-page .content-area, body.mktp-page .uicore-body-content { background: #070707 !important; }
body.mktp-page .uicore-page-title, body.mktp-page .entry-header, body.mktp-page .page-header { display: none !important; }
body.mktp-page .uicore-content > p:not([class]), body.mktp-page .entry-content > p:not([class]) { display: none !important; }

.mktp-wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.mktp-eyebrow { font-size: 14px; font-weight: 800; color: var(--org2); }
.mktp h2 { font-size: clamp(28px, 3.6vw, 44px); font-weight: 900; line-height: 1.25; }
.mktp h2 em, .mktp h1 em { display: block; font-style: normal; color: var(--org); }
.mktp-head { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.mktp-head p { margin-top: 12px; color: var(--muted); font-size: 18px; }

/* الأزرار */
.mktp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 30px;
  border-radius: 999px; background: linear-gradient(135deg, var(--org2), var(--org) 55%, #F2703C);
  color: #000 !important; -webkit-text-fill-color: #000 !important; font-size: 16.5px; font-weight: 900;
  box-shadow: 0 16px 36px rgba(255, 107, 24, .32); transition: transform .2s ease, box-shadow .2s ease;
}
.mktp-btn:hover { transform: translateY(-2px); box-shadow: 0 20px 44px rgba(255, 107, 24, .42); }
.mktp-btn svg { width: 18px !important; height: 18px !important; flex: none; }

/* البطل */
.mktp-hero { position: relative; padding: 90px 0 70px; text-align: center; overflow: hidden; }
.mktp-glow {
  position: absolute; inset: -30% -10% auto; height: 120%; pointer-events: none;
  background: radial-gradient(34% 40% at 50% 34%, rgba(255, 107, 24, .26), transparent 70%),
              radial-gradient(22% 30% at 24% 60%, rgba(255, 176, 110, .12), transparent 70%),
              radial-gradient(22% 30% at 78% 58%, rgba(255, 249, 232, .07), transparent 70%);
  animation: mktpGlow 9s ease-in-out infinite alternate;
}
@keyframes mktpGlow { to { transform: translate3d(0, 18px, 0) scale(1.06); } }
.mktp-hero .mktp-wrap { position: relative; }
.mktp-icons { display: flex; align-items: center; justify-content: center; gap: 18px; margin-bottom: 30px; }
.mktp-ic { line-height: 0; filter: drop-shadow(0 18px 36px rgba(255, 107, 24, .38)); animation: mktpFloat 5s ease-in-out infinite; }
.mktp-ic-d { animation-delay: -2.5s; }
.mktp-ic svg, .mktp-ic img { width: 96px !important; height: 96px !important; max-width: none !important; border-radius: 23px; display: block; }
@keyframes mktpFloat { 50% { transform: translateY(-9px) rotate(-2deg); } }
.mktp-link { display: flex; gap: 8px; }
.mktp-link i { width: 9px; height: 9px; border-radius: 50%; background: var(--org); opacity: .25; animation: mktpDot 1.4s ease-in-out infinite; }
.mktp-link i:nth-child(2) { animation-delay: .2s; }
.mktp-link i:nth-child(3) { animation-delay: .4s; }
@keyframes mktpDot { 40% { opacity: 1; transform: scale(1.3); } }
.mktp-hero h1 { font-size: clamp(34px, 5.4vw, 66px); font-weight: 900; line-height: 1.18; max-width: 900px; margin: 12px auto 0; text-wrap: balance; }
.mktp-lead { max-width: 680px; margin: 22px auto 0; font-size: clamp(16px, 1.6vw, 19px); color: var(--muted); }
.mktp-jump { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 32px; }
.mktp-jump a {
  padding: 11px 22px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, .04);
  color: var(--cream) !important; -webkit-text-fill-color: var(--cream) !important; font-size: 15px; font-weight: 800;
  transition: border-color .2s ease, background .2s ease;
}
.mktp-jump a:hover { border-color: var(--org); background: rgba(255, 107, 24, .1); }

/* صفّا الأداتين */
.mktp-row { padding: 80px 0; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.mktp-row.is-flip { background: var(--bg2); }
.mktp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.mktp-row.is-flip .mktp-copy { order: 2; }
.mktp-copy h2 { margin-top: 8px; }
.mktp-copy h2 em { font-size: .72em; margin-top: 6px; color: var(--cream); opacity: .9; }
.mktp-on { display: inline-flex; align-items: center; gap: 6px; color: #7BE3A0; }
.mktp-on i { width: 8px; height: 8px; border-radius: 50%; background: #3ECF7A; box-shadow: 0 0 0 4px rgba(62, 207, 122, .18); }
.mktp-points { display: grid; gap: 12px; margin-top: 24px; }
.mktp-points li { position: relative; padding-inline-start: 34px; font-size: 17px; color: rgba(255, 249, 232, .86); }
.mktp-points li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: .42em; width: 22px; height: 22px; border-radius: 50%;
  background: rgba(255, 107, 24, .16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF8A45' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l4 4 10-10'/%3E%3C/svg%3E") center/13px no-repeat;
}
.mktp-buy { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 30px; }
.mktp-price { font-size: 15.5px; font-weight: 800; color: var(--org2); }

/* الرسوم */
.mktp-visual { position: relative; min-height: 380px; display: grid; place-items: center; }
.mktp-art { position: relative; width: min(100%, 470px); }
.mktp-art-w { display: grid; gap: 14px; }
.mktp-idea, .mktp-o { border-radius: 22px; padding: 18px 22px; background: var(--card); border: 1px solid var(--line); }
.mktp-idea { border-color: rgba(255, 107, 24, .6); box-shadow: 0 20px 50px rgba(255, 107, 24, .14); }
.mktp-idea small, .mktp-o small { display: block; font-size: 12.5px; font-weight: 800; color: var(--org2); margin-bottom: 4px; }
.mktp-idea b { font-size: 19px; font-weight: 800; }
.mktp-caret { display: inline-block; width: 3px; height: 1.05em; margin-inline-start: 4px; vertical-align: -3px; background: var(--org); animation: mktpBlink 1s steps(1) infinite; }
@keyframes mktpBlink { 50% { opacity: 0; } }
.mktp-out { display: grid; gap: 12px; padding-inline-start: 26px; border-inline-start: 2px dashed rgba(255, 107, 24, .35); }
.mktp-o b { font-size: 16px; font-weight: 700; line-height: 1.6; }
.mktp-o.is-dark { background: var(--cream); color: #0E0D0C; border-color: var(--cream); }
.mktp-o.is-dark small { color: #C2500E; }
.mktp-score { display: inline-grid; place-items: center; width: 38px; height: 38px; margin-inline-end: 8px; border-radius: 50%; border: 3px solid #1F9D55; font-size: 14px; font-weight: 900; color: #1F9D55; vertical-align: middle; }

.mktp-art-d { height: 400px; }
.mktp-s {
  position: absolute; top: 50%; left: 50%; width: 226px; aspect-ratio: 4 / 5; padding: 20px; border-radius: 18px;
  display: flex; flex-direction: column; gap: 8px; overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .5);
  transform: translate(-50%, -50%) translateX(calc((var(--i) - 1) * -112px)) rotate(calc((var(--i) - 1) * -7deg));
  transition: transform .5s cubic-bezier(.2, .8, .2, 1);
}
.mktp-visual:hover .mktp-s { transform: translate(-50%, -50%) translateX(calc((var(--i) - 1) * -128px)) rotate(calc((var(--i) - 1) * -9deg)); }
.mktp-s:nth-child(2) { z-index: 2; }
.mktp-s.is-cream { background: #FFF4E2; color: #0E0D0C; }
.mktp-s.is-dark { background: #0E0D0C; color: #FFF4E2; border: 1px solid rgba(255, 249, 232, .12); }
.mktp-s.is-org { background: #FF6B18; color: #0E0D0C; }
.mktp-s-me { display: flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 800; opacity: .8; }
.mktp-s-me span { width: 24px; height: 24px; border-radius: 50%; overflow: hidden; background: #FF6B18; display: grid; place-items: center; font-size: 11px; color: #000; }
.mktp-s-me img { width: 100%; height: 100%; object-fit: cover; }
.mktp-s small { align-self: flex-start; margin-top: 6px; padding: 2px 10px; border-radius: 999px; font-size: 11px; font-weight: 800; background: rgba(255, 107, 24, .16); color: #C2500E; }
.mktp-s.is-dark small { color: #FF8A45; }
.mktp-s.is-org small { background: rgba(0, 0, 0, .12); color: #000; }
.mktp-s b { font-size: 18px; font-weight: 900; line-height: 1.4; }
.mktp-s-doodle { margin-top: auto; height: 70px; border-radius: 14px; border: 2px dashed currentColor; opacity: .28; }
.mktp-s em { position: absolute; bottom: 12px; left: 16px; font-style: normal; font-size: 11px; font-weight: 800; opacity: .5; direction: ltr; }

/* معًا */
.mktp-flow { padding: 90px 0; border-top: 1px solid var(--line); }
.mktp-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.mktp-steps li { padding: 28px 26px; border-radius: 24px; background: var(--card); border: 1px solid var(--line); }
.mktp-steps b { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--org); color: #000; font-size: 20px; font-weight: 900; }
.mktp-steps h3 { margin-top: 16px !important; font-size: 22px; font-weight: 900; }
.mktp-steps p { margin-top: 6px; color: var(--muted); font-size: 16px; }

/* الباقة */
.mktp-bundle-sec { padding: 10px 0 90px; }
.mktp-bundle {
  display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 26px; padding: 26px 30px; border-radius: 28px;
  background: linear-gradient(135deg, #1C1410, #120E0B); border: 1px solid rgba(255, 107, 24, .45);
  box-shadow: 0 30px 70px rgba(255, 107, 24, .12); color: var(--cream) !important; -webkit-text-fill-color: currentColor;
}
.mktp-bundle-ic { display: flex; line-height: 0; }
.mktp-bundle-ic svg, .mktp-bundle-ic img { width: 64px !important; height: 64px !important; max-width: none !important; border-radius: 16px; display: block; }
.mktp-bundle-ic img { margin-inline-start: -14px; box-shadow: 0 0 0 3px #150F0C; }
.mktp-bundle-txt { display: grid; }
.mktp-bundle-txt small { font-size: 13px; font-weight: 800; color: var(--org2); }
.mktp-bundle-txt b { font-size: clamp(19px, 2vw, 24px); font-weight: 900; }
.mktp-bundle-price { display: grid; text-align: center; }
.mktp-bundle-price em { font-style: normal; font-size: 34px; font-weight: 900; line-height: 1; direction: ltr; }
.mktp-bundle-price small { font-size: 13px; color: var(--muted); }
.mktp-bundle-price s { opacity: .7; }

/* الأسئلة */
.mktp-faq { padding: 80px 0 100px; border-top: 1px solid var(--line); background: var(--bg2); }
.mktp-qs { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.mktp-qs details { border-radius: 18px; background: var(--card); border: 1px solid var(--line); padding: 0 22px; }
.mktp-qs summary { cursor: pointer; list-style: none; padding: 18px 0; font-size: 17px; font-weight: 800; display: flex; justify-content: space-between; gap: 14px; }
.mktp-qs summary::-webkit-details-marker { display: none; }
.mktp-qs summary::after { content: "+"; color: var(--org); font-size: 22px; line-height: 1; transition: transform .2s ease; }
.mktp-qs details[open] summary::after { transform: rotate(45deg); }
.mktp-qs details p { padding: 0 0 18px; color: var(--muted); }

/* الظهور عند الوصول */
.mktp-js .mktp-rv { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); transition-delay: calc(var(--d, 0) * 120ms); }
.mktp-js .mktp-rv.in { opacity: 1; transform: none; }
.mktp-art-w .mktp-o { animation: mktpIn .6s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(.4s + var(--d) * .25s); }
@keyframes mktpIn { from { opacity: 0; transform: translateY(16px); } }

@media (max-width: 900px) {
  .mktp-grid { grid-template-columns: 1fr; gap: 40px; }
  .mktp-row.is-flip .mktp-copy { order: 0; }
  .mktp-steps { grid-template-columns: 1fr; }
  .mktp-bundle { grid-template-columns: auto 1fr; }
  .mktp-bundle-price { text-align: start; }
  .mktp-bundle .mktp-btn { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .mktp-hero { padding: 60px 0 50px; }
  .mktp-row { padding: 60px 0; }
  .mktp-visual { min-height: 320px; }
  .mktp-art-d { height: 330px; }
  .mktp-s { width: 190px; padding: 14px; transform: translate(-50%, -50%) translateX(calc((var(--i) - 1) * -95px)) rotate(calc((var(--i) - 1) * -7deg)); }
  .mktp-s b { font-size: 15px; }
  .mktp-ic svg, .mktp-ic img { width: 76px !important; height: 76px !important; }
}
@media (prefers-reduced-motion: reduce) {
  .mktp-glow, .mktp-ic, .mktp-link i, .mktp-caret, .mktp-art-w .mktp-o { animation: none !important; }
  .mktp-js .mktp-rv { opacity: 1; transform: none; transition: none; }
}
