/* ═══════════════════════════════════════════════════════
 *  developers-integrations.css — أُستخرِج آليًا من pages/developers/integrations.php
 *  المقطع 1 من 1 · سطور 11–11 في الأصل.
 *  ⚠️ الترتيب بين المقاطع مقصود: بينها كتل <style> مشروطة
 *     باقية في الصفحة، والتتالي يعتمد على تسلسلها.
 * ═══════════════════════════════════════════════════════ */
.dvIntg{--pb:#2563EB;--pb2:#1e3fae;--blue-l:#60A5FA;--blue-ll:#93C5FD;--blue-lll:#DBEAFE;--nv:#0D1B3E;--ink:#1f2937;--mut:#6b7480;--faint:#6b7280;--line:#e8ebf1;--soft:#f6f8fc;--soft2:#eef4ff;color-scheme:light}
.dvIntg{color:var(--ink);line-height:1.9;font-family:'Segoe UI','Segoe UI Arabic',Tahoma,Arial,sans-serif;background:#fff;overflow-x:clip;direction:rtl}
.dvIntg .w{max-width:1140px;margin:0 auto;padding:0 24px}
.dvIntg section{padding:70px 0}
.dvIntg h1{font-size:clamp(2rem,4.4vw,3rem);font-weight:900;color:var(--nv);letter-spacing:-.02em;line-height:1.26;margin:0 0 18px}
.dvIntg h2{font-size:clamp(1.5rem,3vw,2.15rem);font-weight:800;color:var(--nv);letter-spacing:-.4px;line-height:1.4;margin:0 0 14px}
.dvIntg h3{color:var(--nv);font-weight:800}
.dvIntg .g{background:linear-gradient(120deg,var(--pb),#6a86ff);-webkit-background-clip:text;background-clip:text;color:transparent}
.dvIntg .eyebrow{display:inline-flex;align-items:center;gap:8px;background:var(--soft2);color:var(--pb);font-weight:800;font-size:.78rem;padding:7px 15px;border-radius:999px;border:1px solid #dbe6ff;margin-bottom:16px}
.dvIntg .eyebrow svg{width:15px;height:15px}
.dvIntg .lead{font-size:1.06rem;color:var(--mut);line-height:2;max-width:640px}
.dvIntg .rv{opacity:0;transform:translateY(24px);transition:opacity .7s ease,transform .8s cubic-bezier(.2,.8,.2,1)}
.dvIntg .rv.in{opacity:1;transform:none}

/* CTA */
.dvIntg .cta{display:inline-flex;align-items:center;gap:9px;background:var(--pb);color:#fff;font-weight:800;font-size:.96rem;padding:14px 30px;border-radius:13px;text-decoration:none;box-shadow:0 10px 26px rgba(37,99,235,.28);transition:.2s}
.dvIntg .cta:hover{transform:translateY(-2px);box-shadow:0 14px 32px rgba(37,99,235,.34)}
.dvIntg .cta svg{width:16px;height:16px}
.dvIntg .cta2{display:inline-flex;align-items:center;gap:8px;color:var(--nv);font-weight:800;font-size:.93rem;padding:14px 22px;text-decoration:none;border-radius:13px;border:1px solid var(--line);transition:.2s;background:#fff}
.dvIntg .cta2:hover{border-color:#c9d6f2;background:var(--soft)}
.dvIntg .cta2 svg{width:16px;height:16px}

/* CODE BLOCK (light theme) */
.dvIntg .code{border:1px solid #e4e9f2;border-radius:14px;overflow:hidden;background:#fbfcfe;box-shadow:0 8px 26px rgba(13,27,62,.06);margin:0}
.dvIntg .code-bar{display:flex;align-items:center;gap:10px;padding:9px 14px;background:#f1f5fc;border-bottom:1px solid #e4e9f2}
.dvIntg .code-bar .fn{font:600 .76rem/1 'SFMono-Regular',ui-monospace,Consolas,monospace;color:var(--mut);direction:ltr}
.dvIntg .code-bar .cp{margin-inline-start:auto;display:inline-flex;align-items:center;gap:6px;cursor:pointer;border:1px solid #d7e0f0;background:#fff;color:var(--pb);font-weight:700;font-size:.72rem;padding:5px 10px;border-radius:8px;transition:.15s}
.dvIntg .code-bar .cp:hover{background:var(--soft2)}
.dvIntg .code-bar .cp svg{width:13px;height:13px}
.dvIntg pre{margin:0;padding:16px 18px;overflow:auto;direction:ltr;text-align:left}
.dvIntg pre code{font-family:'SFMono-Regular',ui-monospace,Consolas,'Roboto Mono',monospace;font-size:.83rem;line-height:1.8;color:#334155;white-space:pre;background:none;padding:0}
.dvIntg .tk-k{color:#7c3aed}.dvIntg .tk-s{color:#0f766e}.dvIntg .tk-n{color:#b45309}
.dvIntg .tk-c{color:#64748B;font-style:italic}.dvIntg .tk-p{color:#2563EB}
.dvIntg .tk-f{color:#1e40af}.dvIntg .tk-o{color:#64748b}
.dvIntg .mth{display:inline-block;font:800 .7rem/1 'SFMono-Regular',ui-monospace,Consolas,monospace;padding:4px 8px;border-radius:6px;letter-spacing:.02em;direction:ltr}
.dvIntg .mth.get{background:#e6f0ff;color:#1d4ed8}
.dvIntg .mth.post{background:#e6f7ee;color:#10B981}
.dvIntg code.ic{font-family:'SFMono-Regular',Consolas,monospace;background:var(--soft2);color:#1e40af;padding:2px 7px;border-radius:6px;font-size:.85em;direction:ltr}
.dvIntg .note{border-inline-start:4px solid var(--pb);background:var(--soft2);border-radius:0 12px 12px 0;padding:14px 16px;color:#33415a;font-size:.92rem;line-height:1.85;margin:0}
.dvIntg .note b{color:var(--nv)}

/* ═══════════ الهيرو ═══════════ */
.dvIntg .hero{position:relative;padding:72px 0 78px;background:linear-gradient(180deg,#fff 0%,#F3F7FF 64%,#fff);overflow:hidden}
.dvIntg .hero .aur{position:absolute;border-radius:50%;filter:blur(92px);opacity:.5;pointer-events:none;animation:dviFloat 7s ease-in-out infinite}
.dvIntg .hero .a1{width:500px;height:500px;background:radial-gradient(circle,#bfd7ff,transparent 65%);top:-180px;right:-110px}
.dvIntg .hero .a2{width:400px;height:400px;background:radial-gradient(circle,#d9e6ff,transparent 65%);bottom:-150px;left:-100px;animation-delay:2.5s}
.dvIntg .hero .w{position:relative;display:grid;grid-template-columns:1.04fr .96fr;gap:48px;align-items:center}
.dvIntg .hero .lead{max-width:540px;margin-bottom:26px}
.dvIntg .hero .btns{display:flex;gap:13px;flex-wrap:wrap;align-items:center}
.dvIntg .trustline{display:flex;gap:20px;margin-top:28px;flex-wrap:wrap}
.dvIntg .trustline span{display:inline-flex;align-items:center;gap:8px;font-size:.8rem;font-weight:700;color:var(--mut)}
.dvIntg .trustline svg{width:16px;height:16px;color:var(--pb)}
@keyframes dviFloat{50%{transform:translateY(-11px)}}

/* hub-and-spoke */
.dvIntg .hub{position:relative;display:flex;justify-content:center;align-items:center;min-height:440px}
.dvIntg .hub svg{width:100%;max-width:470px;height:auto;overflow:visible}
.dvIntg .hub .spoke{stroke:#c8d6f4;stroke-width:2;fill:none}
.dvIntg .hub .pulse{stroke:var(--pb);stroke-width:2.4;fill:none;stroke-linecap:round;stroke-dasharray:20 220;stroke-dashoffset:240;animation:dviPulse 3.4s linear infinite}
.dvIntg .hub .pulse.d1{animation-delay:.2s}.dvIntg .hub .pulse.d2{animation-delay:.7s}
.dvIntg .hub .pulse.d3{animation-delay:1.2s}.dvIntg .hub .pulse.d4{animation-delay:1.7s}
.dvIntg .hub .pulse.d5{animation-delay:2.2s}.dvIntg .hub .pulse.d6{animation-delay:2.7s}
@keyframes dviPulse{to{stroke-dashoffset:0}}
.dvIntg .hub .nodering{fill:#fff;stroke:var(--line);stroke-width:1.6}
.dvIntg .hub .node-g{color:var(--pb)}
.dvIntg .hub .node-g svg{width:auto}
.dvIntg .hub .nlabel{font:800 11px 'Segoe UI','Segoe UI Arabic',Tahoma,sans-serif;fill:var(--nv)}
.dvIntg .hub .core{fill:url(#dviCoreG)}
.dvIntg .hub .coretxt{font:900 18px 'Segoe UI','Segoe UI Arabic',Tahoma,sans-serif;fill:#fff}
.dvIntg .hub .coresub{font:700 9px 'SFMono-Regular',Consolas,monospace;fill:#dbe6ff;direction:ltr}

/* ═══════════ الكتالوج ═══════════ */
.dvIntg .cat .whead{text-align:center;max-width:720px;margin:0 auto 8px}
.dvIntg .catgrp{margin-top:44px}
.dvIntg .catgrp:first-of-type{margin-top:30px}
.dvIntg .grphd{display:flex;align-items:center;gap:12px;margin-bottom:20px}
.dvIntg .grphd .gi{width:40px;height:40px;border-radius:12px;background:var(--soft2);display:flex;align-items:center;justify-content:center;flex:0 0 auto}
.dvIntg .grphd .gi svg{width:21px;height:21px;color:var(--pb)}
.dvIntg .grphd h3{font-size:1.12rem;font-weight:800;margin:0}
.dvIntg .grphd .gline{flex:1;height:1px;background:var(--line)}
.dvIntg .grphd .gc{font-size:.72rem;font-weight:800;color:var(--faint)}
.dvIntg .igrid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.dvIntg .intg{background:#fff;border:1px solid var(--line);border-radius:16px;padding:20px 20px 18px;transition:.28s;display:flex;flex-direction:column}
.dvIntg .intg:hover{transform:translateY(-4px);box-shadow:0 20px 44px rgba(13,27,62,.09);border-color:#dbe6ff}
.dvIntg .intg .itop{display:flex;align-items:center;gap:11px;margin-bottom:13px}
.dvIntg .intg .glyph{width:44px;height:44px;border-radius:12px;background:var(--soft);border:1px solid var(--line);display:flex;align-items:center;justify-content:center;flex:0 0 auto;transition:.28s}
.dvIntg .intg:hover .glyph{background:var(--soft2);border-color:#dbe6ff}
.dvIntg .intg .glyph svg{width:24px;height:24px;color:var(--pb)}
.dvIntg .intg .pill{margin-inline-start:auto;font-size:.64rem;font-weight:800;padding:4px 10px;border-radius:999px;white-space:nowrap;letter-spacing:.01em}
.dvIntg .intg .pill.live{background:#ecfdf3;color:#10B981;border:1px solid #bbf0cd}
.dvIntg .intg .pill.via{background:var(--soft2);color:var(--pb);border:1px solid #dbe6ff;direction:ltr}
.dvIntg .intg .pill.soon{background:#fff7ed;color:#b45309;border:1px solid #fde3c2}
.dvIntg .intg h4{font-size:1.02rem;font-weight:800;color:var(--nv);margin:0 0 6px}
.dvIntg .intg .what{font-size:.86rem;color:var(--mut);margin:0 0 12px;line-height:1.85;flex:1}
.dvIntg .intg .how{border-top:1px dashed var(--line);padding-top:11px;font-size:.78rem;color:#5b6472;line-height:1.75;margin:0}
.dvIntg .intg .how b{color:var(--nv);font-weight:800}
.dvIntg .intg .how a{color:var(--pb);font-weight:800;text-decoration:none}
.dvIntg .intg .how a:hover{text-decoration:underline}

/* ═══════════ ابنِ تكاملك ═══════════ */
.dvIntg .build{background:var(--soft)}
.dvIntg .build .bwrap{display:grid;grid-template-columns:1fr 1.12fr;gap:44px;align-items:center}
.dvIntg .build .btext .lead{font-size:1rem;max-width:none}
.dvIntg .build .bsteps{margin:22px 0 0;display:flex;flex-direction:column;gap:14px}
.dvIntg .build .bstep{display:flex;gap:13px;align-items:flex-start}
.dvIntg .build .bstep .n{width:28px;height:28px;flex:0 0 auto;border-radius:9px;background:var(--pb);color:#fff;font-weight:800;font-size:.82rem;display:flex;align-items:center;justify-content:center}
.dvIntg .build .bstep b{color:var(--nv);font-weight:800;font-size:.95rem}
.dvIntg .build .bstep p{margin:2px 0 0;font-size:.86rem;color:var(--mut);line-height:1.8}
.dvIntg .build .bstep code.ic{font-size:.78rem}
.dvIntg .codestack{display:flex;flex-direction:column;gap:14px}

/* ═══════════ نمط شائع ═══════════ */
.dvIntg .recipe .whead{text-align:center;max-width:660px;margin:0 auto 40px}
.dvIntg .flow{background:#fff;border:1px solid var(--line);border-radius:20px;padding:30px 26px;box-shadow:0 16px 40px rgba(13,27,62,.06);max-width:920px;margin:0 auto}
.dvIntg .flowhd{display:flex;align-items:center;justify-content:center;gap:9px;font-size:.74rem;font-weight:800;color:var(--faint);margin-bottom:22px}
.dvIntg .flowhd svg{width:15px;height:15px;color:var(--pb)}
.dvIntg .flowrow{display:grid;grid-template-columns:1fr auto 1fr auto 1fr;align-items:stretch;gap:0}
.dvIntg .fnode{border:1px solid var(--line);border-radius:15px;padding:18px 16px;text-align:center;background:#fff;transition:.28s}
.dvIntg .fnode:hover{border-color:#dbe6ff;box-shadow:0 12px 30px rgba(13,27,62,.08)}
.dvIntg .fnode .fk{font-size:.62rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase;margin-bottom:10px}
.dvIntg .fnode.trig .fk{color:#10B981}
.dvIntg .fnode.act .fk{color:var(--pb)}
.dvIntg .fnode .fic{width:46px;height:46px;border-radius:13px;display:flex;align-items:center;justify-content:center;margin:0 auto 11px}
.dvIntg .fnode.trig .fic{background:#ecfdf3}
.dvIntg .fnode.act .fic{background:var(--soft2)}
.dvIntg .fnode.trig .fic svg{width:23px;height:23px;color:#10B981}
.dvIntg .fnode.act .fic svg{width:23px;height:23px;color:var(--pb)}
.dvIntg .fnode b{display:block;font-size:.92rem;color:var(--nv);font-weight:800;margin-bottom:4px}
.dvIntg .fnode span{font-size:.76rem;color:var(--mut);line-height:1.7}
.dvIntg .fnode code.ic{font-size:.68rem;margin-top:7px;display:inline-block}
.dvIntg .farr{display:flex;align-items:center;justify-content:center;padding:0 8px;color:#c8d6f4}
.dvIntg .farr svg{width:26px;height:26px}
.dvIntg .flownote{margin-top:22px;text-align:center;font-size:.84rem;color:var(--mut)}
.dvIntg .flownote code.ic{font-size:.8rem}

/* ═══════════ FAQ ═══════════ */
.dvIntg .faqsec .whead{text-align:center;max-width:640px;margin:0 auto 36px}
.dvIntg .faq{max-width:800px;margin:0 auto}
.dvIntg .faq details{border:1px solid var(--line);border-radius:15px;background:#fff;margin-bottom:12px;overflow:hidden;transition:.3s}
.dvIntg .faq details[open]{border-color:#dbe6ff;box-shadow:0 12px 30px rgba(13,27,62,.06)}
.dvIntg .faq summary{list-style:none;cursor:pointer;padding:18px 22px;font-weight:800;font-size:.98rem;color:var(--nv);display:flex;justify-content:space-between;align-items:center;gap:14px}
.dvIntg .faq summary::-webkit-details-marker{display:none}
.dvIntg .faq summary .qx{width:27px;height:27px;flex:0 0 auto;border-radius:9px;background:var(--soft);color:var(--pb);display:flex;align-items:center;justify-content:center;transition:.3s}
.dvIntg .faq summary .qx svg{width:14px;height:14px}
.dvIntg .faq details[open] summary .qx{transform:rotate(45deg);background:var(--pb);color:#fff}
.dvIntg .faq .ans{padding:0 22px 20px;color:var(--mut);font-size:.9rem;line-height:2;margin:0}
.dvIntg .faq .ans code.ic{font-size:.82rem}

/* ═══════════ CTA النهائي ═══════════ */
.dvIntg .fin{padding-top:16px}
.dvIntg .fin .band{position:relative;background:linear-gradient(135deg,#2563EB,#1e3fae);border-radius:26px;padding:60px 40px;text-align:center;color:#fff;overflow:hidden}
.dvIntg .fin .band .bblob{position:absolute;width:440px;height:440px;border-radius:50%;background:radial-gradient(circle,rgba(147,197,253,.30),transparent 65%);top:-220px;right:-120px;animation:dviFloat 8s ease-in-out infinite}
.dvIntg .fin .band h2{color:#fff;margin:0 0 12px;position:relative}
.dvIntg .fin .band p{color:#dbe6ff;font-size:1.04rem;margin:0 auto 28px;max-width:560px;position:relative;line-height:2}
.dvIntg .fin .band .btns{display:flex;gap:13px;justify-content:center;flex-wrap:wrap;position:relative}
.dvIntg .fin .band .cta{background:#fff;color:var(--pb);box-shadow:0 12px 30px rgba(0,0,0,.18)}
.dvIntg .fin .band .cta:hover{background:#eef4ff}
.dvIntg .fin .band .cta3{display:inline-flex;align-items:center;gap:8px;color:#fff;font-weight:800;font-size:.93rem;padding:14px 24px;border-radius:13px;border:1px solid rgba(255,255,255,.4);text-decoration:none;transition:.2s}
.dvIntg .fin .band .cta3:hover{background:rgba(255,255,255,.12)}
.dvIntg .fin .band .cta3 svg{width:16px;height:16px}

@media(max-width:960px){
  .dvIntg .hero .w{grid-template-columns:1fr;gap:38px}
  .dvIntg .hub{min-height:380px;order:2}
  .dvIntg .igrid{grid-template-columns:1fr 1fr}
  .dvIntg .build .bwrap{grid-template-columns:1fr;gap:32px}
}
@media(max-width:640px){
  .dvIntg .igrid{grid-template-columns:1fr}
  .dvIntg .flowrow{grid-template-columns:1fr;gap:14px}
  .dvIntg .farr{transform:rotate(90deg);padding:2px 0}
}
