/* ==========================================================================
   pay-enamad.css — TraPay «نماد اعتماد» — Trust & Authority, Exaggerated-Minimal
   Editorial navy system: oversized type, high contrast, big whitespace,
   asymmetric proof. NO price, NO order drawer. Scoped `enm-`. RTL + dark.
   ========================================================================== */

:root {
    --enm-navy: #0a1f44;
    --enm-navy-2: #061634;
    --enm-blue: #1d4ed8;
    --enm-accent: #2563eb;
    --enm-sky: #60a5fa;
    --enm-green: #16a34a;
    --enm-gold: #f59e0b;
    --enm-ink: #0b1220;
    --enm-ink-2: #334155;
    --enm-muted: #64748b;
    --enm-line: #e2e8f0;
    --enm-soft: #f6f8fc;
    --enm-card: #ffffff;
    --enm-maxw: 1200px;
}

.enm-wrap { font-variant-numeric: tabular-nums; color: var(--enm-ink); }
.tnum { font-variant-numeric: tabular-nums; }
[dir="rtl"] .rtl-flip { transform: scaleX(-1); }
.enm-wrap section { scroll-margin-top: 90px; }

/* ================= HERO — split, oversized ================= */
.enm-hero {
    position: relative; overflow: hidden;
    background:
        radial-gradient(120% 120% at 90% -10%, rgba(37,99,235,.35) 0%, transparent 55%),
        linear-gradient(160deg, var(--enm-navy) 0%, var(--enm-navy-2) 100%);
    color: #eaf1fd;
    padding: clamp(40px, 7vw, 92px) 24px clamp(48px, 8vw, 104px);
}
.enm-hero__grid {
    position: absolute; inset: 0; width: 100%; height: 100%;
    color: rgba(255,255,255,.05); pointer-events: none;
}
.enm-hero__inner {
    position: relative; max-width: var(--enm-maxw); margin: 0 auto;
    display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    gap: clamp(28px, 4vw, 64px); align-items: center;
}
.enm-hero__copy { min-width: 0; }

.enm-kicker {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 13px; font-weight: 600; letter-spacing: .14em;
    text-transform: uppercase; color: var(--enm-sky);
}
.enm-kicker::before {
    content: ""; width: 34px; height: 2px; background: var(--enm-sky); display: inline-block;
}

.enm-display {
    margin: 20px 0 0; font-weight: 800;
    font-size: clamp(34px, 6.4vw, 76px); line-height: 1.02;
    letter-spacing: -.035em;
}
.enm-display em {
    font-style: normal;
    background: linear-gradient(100deg, #93c5fd, #e0ecff 60%, #bae6fd);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.enm-lead {
    margin: 26px 0 0; max-width: 44ch;
    font-size: clamp(15.5px, 1.6vw, 19px); line-height: 1.95; color: #bcd0f0;
}
.enm-lead strong { color: #fff; font-weight: 700; }

.enm-hero__cta { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; }
.enm-btn {
    display: inline-flex; align-items: center; gap: 10px;
    font-weight: 700; font-size: 15.5px; border-radius: 12px;
    padding: 15px 24px; text-decoration: none; cursor: pointer;
    transition: transform .15s, box-shadow .2s, background .2s, border-color .2s;
}
.enm-btn svg { width: 19px; height: 19px; }
.enm-btn--primary { background: #fff; color: var(--enm-navy); box-shadow: 0 12px 30px rgba(0,0,0,.28); }
.enm-btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 44px rgba(0,0,0,.36); }
.enm-btn--ghost { background: transparent; color: #eaf1fd; border: 1px solid rgba(255,255,255,.28); }
.enm-btn--ghost:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.5); }
.enm-btn:focus-visible { outline: 3px solid var(--enm-sky); outline-offset: 2px; }

/* --- hero certificate: the ONE emblem, as a framed credential --- */
.enm-cert {
    position: relative; min-width: 0;
    background: #fff; border-radius: 22px;
    padding: 30px 28px 26px;
    box-shadow: 0 40px 90px rgba(0,0,0,.4);
}
.enm-cert::before {
    content: ""; position: absolute; inset: 7px; border-radius: 16px;
    border: 1.5px dashed rgba(10,31,68,.18); pointer-events: none;
}
.enm-cert__emblem {
    position: relative; width: clamp(150px, 20vw, 210px); margin: 0 auto;
    display: block;
}
.enm-cert__emblem img { width: 100%; height: auto; display: block; }
.enm-cert__status {
    margin-top: 22px; display: grid; gap: 10px;
}
.enm-cert__row {
    display: flex; align-items: center; gap: 10px;
    font-size: 14px; font-weight: 600; color: var(--enm-ink);
    padding: 11px 14px; background: var(--enm-soft); border-radius: 11px;
}
.enm-cert__tick {
    flex: none; width: 22px; height: 22px; border-radius: 50%;
    background: var(--enm-green); color: #fff; display: grid; place-items: center;
}
.enm-cert__tick svg { width: 13px; height: 13px; }
.enm-cert__verify {
    margin-top: 16px; display: flex; align-items: center; justify-content: center; gap: 8px;
    width: 100%; padding: 13px; border-radius: 12px; text-decoration: none; cursor: pointer;
    background: var(--enm-navy); color: #fff; font-weight: 700; font-size: 14.5px;
    transition: background .2s;
}
.enm-cert__verify:hover { background: var(--enm-blue); }
.enm-cert__verify svg { width: 17px; height: 17px; }

/* ================= PROOF BAR — asymmetric credential facts ================= */
.enm-proof {
    max-width: var(--enm-maxw); margin: 0 auto;
    padding: clamp(44px, 6vw, 72px) 24px;
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: clamp(16px, 2.5vw, 32px);
}
.enm-fact { border-inline-start: 3px solid var(--enm-blue); padding-inline-start: 18px; }
.enm-fact strong {
    display: block; font-size: clamp(30px, 4.6vw, 52px); font-weight: 800;
    line-height: 1; letter-spacing: -.03em; color: var(--enm-navy);
}
.enm-fact span { display: block; margin-top: 10px; font-size: 14.5px; line-height: 1.6; color: var(--enm-muted); }
.enm-fact--gold { border-color: var(--enm-gold); }
.enm-fact--green { border-color: var(--enm-green); }

/* ================= shared section head ================= */
.enm-head { max-width: var(--enm-maxw); margin: 0 auto; padding: 0 24px; }
.enm-h2 {
    font-weight: 800; color: var(--enm-ink);
    font-size: clamp(26px, 3.6vw, 44px); line-height: 1.15;
    letter-spacing: -.03em; margin: 0; max-width: 20ch;
}
.enm-h2--center { margin-inline: auto; text-align: center; max-width: 24ch; }
.enm-dek {
    color: var(--enm-muted); margin: 16px 0 0; font-size: 16px; line-height: 1.9; max-width: 60ch;
}
.enm-dek--center { margin-inline: auto; text-align: center; }

/* ================= VERIFY PANEL — big official-lookup block ================= */
.enm-verify { background: var(--enm-navy); color: #eaf1fd; padding: clamp(48px, 7vw, 88px) 24px; }
.enm-verify__inner {
    max-width: var(--enm-maxw); margin: 0 auto;
    display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: clamp(32px, 5vw, 72px); align-items: center;
}
.enm-verify .enm-h2 { color: #fff; }
.enm-verify .enm-dek { color: #bcd0f0; }
.enm-verify__steps { margin: 30px 0 0; padding: 0; list-style: none; display: grid; gap: 0; }
.enm-verify__steps li {
    position: relative; display: grid; grid-template-columns: 48px 1fr; gap: 18px;
    padding: 22px 0; border-bottom: 1px solid rgba(255,255,255,.12);
}
.enm-verify__steps li:last-child { border-bottom: 0; }
.enm-verify__steps .enm-step-no {
    font-size: 22px; font-weight: 800; color: var(--enm-sky); line-height: 1.2;
    font-variant-numeric: tabular-nums;
}
.enm-verify__steps h3 { margin: 0 0 4px; font-size: 17px; font-weight: 700; color: #fff; }
.enm-verify__steps p { margin: 0; font-size: 14.5px; line-height: 1.85; color: #a9c0e6; }
.enm-verify__cta { margin-top: 28px; }

/* ================= TRUST PILLARS — editorial numbered rows ================= */
.enm-pillars { max-width: var(--enm-maxw); margin: 0 auto; padding: clamp(56px, 8vw, 104px) 24px clamp(20px, 3vw, 40px); }
.enm-pillars__list { margin-top: clamp(32px, 5vw, 56px); display: grid; gap: 0; }
.enm-pillar {
    display: grid; grid-template-columns: 64px minmax(0, 1fr) minmax(0, 1.2fr);
    gap: clamp(16px, 3vw, 44px); align-items: start;
    padding: clamp(26px, 3.5vw, 40px) 0; border-top: 1px solid var(--enm-line);
}
.enm-pillar:last-child { border-bottom: 1px solid var(--enm-line); }
.enm-pillar__no {
    font-size: 15px; font-weight: 800; color: var(--enm-blue);
    font-variant-numeric: tabular-nums; padding-top: 6px;
}
.enm-pillar h3 {
    margin: 0; font-size: clamp(19px, 2.4vw, 27px); font-weight: 700;
    color: var(--enm-ink); letter-spacing: -.02em; line-height: 1.25;
}
.enm-pillar__body { display: flex; gap: 16px; align-items: flex-start; }
.enm-pillar__icon {
    flex: none; width: 44px; height: 44px; border-radius: 12px;
    display: grid; place-items: center; color: var(--enm-blue);
    background: #eaf1ff;
}
.enm-pillar__icon svg { width: 23px; height: 23px; }
.enm-pillar__body p { margin: 0; font-size: 15.5px; line-height: 1.95; color: var(--enm-ink-2); }

/* ================= SUPPORT BAND ================= */
.enm-support { max-width: var(--enm-maxw); margin: clamp(48px, 7vw, 88px) auto 0; padding: 0 24px; }
.enm-support__inner {
    background: linear-gradient(135deg, var(--enm-navy), var(--enm-blue));
    border-radius: 26px; padding: clamp(32px, 4vw, 52px);
    color: #eaf1fd; display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center;
}
.enm-support__inner h2 { margin: 0; font-size: clamp(21px, 2.8vw, 31px); font-weight: 800; color: #fff; letter-spacing: -.02em; }
.enm-support__inner p { margin: 12px 0 0; font-size: 15.5px; line-height: 1.9; color: #c7d6ef; max-width: 48ch; }
.enm-support__chan { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 10px; }
.enm-chip {
    display: inline-flex; align-items: center; gap: 7px;
    background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22);
    color: #eaf1fd; font-size: 13.5px; font-weight: 600;
    padding: 9px 15px; border-radius: 999px; text-decoration: none; cursor: pointer;
    transition: background .15s, border-color .15s;
}
.enm-chip:hover { background: rgba(255,255,255,.2); border-color: rgba(255,255,255,.45); }
.enm-chip svg { width: 16px; height: 16px; }
.enm-chip--bot { background: #fff; color: var(--enm-navy); border-color: #fff; }
.enm-chip--bot:hover { background: #dbeafe; }
.enm-support__phone {
    display: inline-flex; flex-direction: column; align-items: center; gap: 4px;
    background: #fff; color: var(--enm-navy);
    padding: 20px 28px; border-radius: 18px; text-decoration: none; cursor: pointer;
    box-shadow: 0 14px 34px rgba(0,0,0,.28); transition: transform .15s; white-space: nowrap;
}
.enm-support__phone:hover { transform: translateY(-2px); }
.enm-support__phone small { font-size: 12px; font-weight: 600; color: var(--enm-muted); display: flex; align-items: center; gap: 6px; }
.enm-support__phone small svg { width: 14px; height: 14px; color: var(--enm-green); }
.enm-support__phone b { font-size: clamp(21px, 2.8vw, 28px); font-weight: 800; letter-spacing: .04em; }

/* ================= FAQ ================= */
.enm-faq { max-width: 880px; margin: 0 auto; padding: clamp(56px, 8vw, 96px) 24px clamp(8px, 2vw, 16px); }
.enm-faq details { border-bottom: 1px solid var(--enm-line); }
.enm-faq summary {
    cursor: pointer; list-style: none; padding: 24px 2px;
    font-weight: 700; font-size: clamp(16px, 1.9vw, 19px); color: var(--enm-ink);
    display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.enm-faq summary::-webkit-details-marker { display: none; }
.enm-faq summary:focus-visible { outline: 3px solid var(--enm-sky); outline-offset: 3px; border-radius: 6px; }
.enm-faq__chev {
    flex: none; width: 30px; height: 30px; border-radius: 9px;
    background: var(--enm-soft); color: var(--enm-blue);
    display: grid; place-items: center; font-size: 22px; font-weight: 400; line-height: 1;
    transition: transform .2s, background .2s;
}
.enm-faq details[open] .enm-faq__chev { transform: rotate(45deg); background: var(--enm-blue); color: #fff; }
.enm-faq details p { margin: 0; padding: 0 2px 24px; font-size: 15.5px; line-height: 2.05; color: var(--enm-ink-2); max-width: 70ch; }

/* ================= ARTICLE ================= */
.enm-article { background: var(--enm-soft); margin-top: clamp(48px, 7vw, 88px); padding: clamp(52px, 8vw, 92px) 24px; }
.enm-article__inner { max-width: 760px; margin: 0 auto; }
.enm-article__inner h3 { margin: 34px 0 10px; font-size: clamp(19px, 2.2vw, 24px); font-weight: 700; color: var(--enm-ink); letter-spacing: -.01em; }
.enm-article__inner p { margin: 14px 0 0; font-size: 16.5px; line-height: 2.1; color: var(--enm-ink-2); }
.enm-article__inner ul { margin: 16px 0 0; padding-inline-start: 22px; }
.enm-article__inner li { margin: 10px 0; font-size: 16px; line-height: 1.95; color: var(--enm-ink-2); }
.enm-article__inner a { color: var(--enm-blue); text-decoration: underline; text-underline-offset: 3px; }
.enm-article__inner strong { color: var(--enm-ink); }

/* ================= RELATED ================= */
.enm-related { max-width: var(--enm-maxw); margin: 0 auto; padding: clamp(52px, 7vw, 84px) 24px clamp(8px, 2vw, 16px); }
.enm-related__grid { margin-top: 32px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--enm-line); border: 1px solid var(--enm-line); border-radius: 16px; overflow: hidden; }
.enm-related__grid a {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    background: var(--enm-card); padding: 22px 24px; font-size: 15px; font-weight: 600;
    color: var(--enm-ink); text-decoration: none; transition: background .15s, color .15s;
}
.enm-related__grid a:hover { background: var(--enm-soft); color: var(--enm-blue); }
.enm-related__grid a svg { width: 18px; height: 18px; flex: none; color: var(--enm-muted); transition: color .15s, transform .15s; }
.enm-related__grid a:hover svg { color: var(--enm-blue); transform: translateX(-3px); }

/* ================= FINAL CTA ================= */
.enm-cta-end { max-width: var(--enm-maxw); margin: clamp(52px, 7vw, 88px) auto clamp(56px, 8vw, 96px); padding: 0 24px; }
.enm-cta-end__inner {
    position: relative; overflow: hidden;
    background:
        radial-gradient(120% 140% at 12% 10%, rgba(37,99,235,.4) 0%, transparent 55%),
        linear-gradient(135deg, var(--enm-navy-2), var(--enm-navy));
    border-radius: 28px; padding: clamp(40px, 6vw, 72px) clamp(28px, 4vw, 56px);
    text-align: center; color: #eaf1fd;
}
.enm-cta-end__inner h2 { margin: 0; font-size: clamp(24px, 3.4vw, 40px); font-weight: 800; color: #fff; letter-spacing: -.03em; }
.enm-cta-end__inner p { margin: 16px auto 0; max-width: 52ch; font-size: 16px; line-height: 2; color: #c7d6ef; }
.enm-cta-end__btns { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ================= DARK MODE ================= */
.dark .enm-wrap { color: #e2e8f0; }
.dark .enm-fact strong { color: #93c5fd; }
.dark .enm-fact span, .dark .enm-dek, .dark .enm-pillar__body p, .dark .enm-faq details p, .dark .enm-article__inner p, .dark .enm-article__inner li { color: #94a3b8; }
.dark .enm-h2, .dark .enm-pillar h3, .dark .enm-faq summary, .dark .enm-article__inner h3, .dark .enm-related__grid a { color: #e2e8f0; }
.dark .enm-pillar, .dark .enm-faq details { border-color: rgba(255,255,255,.1); }
.dark .enm-pillar__icon { background: #14233f; color: #93c5fd; }
.dark .enm-article, .dark .enm-faq__chev { background: #0a1424; }
.dark .enm-faq__chev { color: #93c5fd; }
.dark .enm-related__grid { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.08); }
.dark .enm-related__grid a { background: #0f1b31; }
.dark .enm-related__grid a:hover { background: #14233f; }
.dark .enm-cert { background: #0f1b31; }
.dark .enm-cert__row { background: #14233f; color: #e2e8f0; }

/* ================= RESPONSIVE ================= */
@media (max-width: 1024px) {
    .enm-hero__inner { grid-template-columns: 1fr; }
    .enm-cert { max-width: 380px; margin-inline: auto; }
    .enm-verify__inner { grid-template-columns: 1fr; }
    .enm-proof { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
    .enm-related__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
    .enm-support__inner { grid-template-columns: 1fr; text-align: center; }
    .enm-support__inner p { margin-inline: auto; }
    .enm-support__chan { justify-content: center; }
    .enm-support__phone { justify-self: center; width: 100%; }
    .enm-pillar { grid-template-columns: 1fr; gap: 14px; }
    .enm-pillar__no { padding-top: 0; }
    .enm-proof { grid-template-columns: 1fr; gap: 26px; }
    .enm-related__grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    .enm-wrap * { transition: none !important; }
}
