/* Exam-payments hub — trapay.net. Scoped .exh-* classes. Dark hero + light body, RTL. */

.exh-hero{position:relative;overflow:hidden;background:linear-gradient(135deg,#0d3e7e 0%,#123a63 55%,#0b2742 100%);color:#fff;border-radius:0 0 32px 32px;padding:64px 20px 72px}
.exh-hero__glow{position:absolute;border-radius:50%;filter:blur(90px);opacity:.5;pointer-events:none}
.exh-hero__glow--a{width:420px;height:420px;background:#1e40af;top:-140px;inset-inline-start:-90px}
.exh-hero__glow--b{width:360px;height:360px;background:#0a8f8f;bottom:-150px;inset-inline-end:-70px}
.exh-hero__grid{position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.05) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.05) 1px,transparent 1px);background-size:44px 44px;mask-image:radial-gradient(circle at 50% 0,#000,transparent 70%)}
.exh-hero__in{position:relative;max-width:1120px;margin:0 auto}
.exh-badge{display:inline-flex;align-items:center;gap:8px;font-size:14px;font-weight:600;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.18);padding:7px 14px;border-radius:999px;backdrop-filter:blur(6px)}
.exh-badge__dot{width:8px;height:8px;border-radius:50%;background:#4ade80;box-shadow:0 0 0 0 rgba(74,222,128,.7);animation:exh-pulse 2s infinite}
@keyframes exh-pulse{0%{box-shadow:0 0 0 0 rgba(74,222,128,.6)}70%{box-shadow:0 0 0 10px rgba(74,222,128,0)}100%{box-shadow:0 0 0 0 rgba(74,222,128,0)}}
.exh-title{font-size:clamp(28px,5vw,46px);font-weight:800;line-height:1.2;margin:20px 0 14px;max-width:20ch}
.exh-title__accent{background:linear-gradient(90deg,#7fb0ff,#8ee6e6);-webkit-background-clip:text;background-clip:text;color:transparent}
.exh-lead{font-size:clamp(15px,2.2vw,18px);line-height:2;color:#cfe0ff;max-width:60ch;margin:0 0 26px}
.exh-hero__cta{display:inline-flex;align-items:center;gap:10px;background:#fff;color:#0d3e7e;font-weight:800;font-size:16px;padding:14px 26px;border-radius:14px;text-decoration:none;transition:transform .15s,box-shadow .15s;box-shadow:0 10px 30px rgba(0,0,0,.25)}
.exh-hero__cta:hover{transform:translateY(-2px);box-shadow:0 16px 40px rgba(0,0,0,.32)}
.exh-hero__stats{display:flex;flex-wrap:wrap;gap:26px;margin-top:34px}
.exh-stat{display:flex;flex-direction:column}
.exh-stat__n{font-size:26px;font-weight:800;font-variant-numeric:tabular-nums}
.exh-stat__l{font-size:13px;color:#a9c3ee}

.exh-wrap{max-width:1120px;margin:0 auto;padding:0 20px}
.exh-h{font-size:clamp(22px,3.6vw,32px);font-weight:800;color:#0f2547;margin:56px 0 8px;text-align:center}
.exh-h__sub{text-align:center;color:#5b6b86;font-size:15px;line-height:1.9;max-width:56ch;margin:0 auto 28px}

/* Why chips */
.exh-why{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:28px 0}
.exh-why__c{background:#fff;border:1px solid #e6ecf5;border-radius:18px;padding:22px 18px;text-align:center;box-shadow:0 6px 18px rgba(13,62,126,.05)}
.exh-why__ico{width:46px;height:46px;margin:0 auto 12px;display:grid;place-items:center;border-radius:12px;background:#eef4ff;color:#0d3e7e}
.exh-why__t{font-weight:700;color:#12294d;margin:0 0 4px;font-size:15px}
.exh-why__d{font-size:13px;color:#5b6b86;line-height:1.7;margin:0}

/* Exam grid */
.exh-group{margin:20px 0 8px;font-weight:800;color:#0f2547;font-size:18px;display:flex;align-items:center;gap:10px}
.exh-group::before{content:"";width:6px;height:20px;border-radius:3px;background:linear-gradient(#1e40af,#0a8f8f)}
.exh-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:14px 0 8px}
.exh-card{position:relative;display:flex;flex-direction:column;gap:12px;background:#fff;border:1px solid #e6ecf5;border-radius:18px;padding:18px;text-decoration:none;transition:transform .15s,box-shadow .15s,border-color .15s}
.exh-card:hover{transform:translateY(-3px);box-shadow:0 14px 32px rgba(13,62,126,.12);border-color:#c9d8f0}
.exh-card__logo{width:52px;height:52px;flex:none}
.exh-card__logo img{width:100%;height:100%;object-fit:contain;display:block}
.exh-card__t{font-weight:700;color:#12294d;font-size:15px;line-height:1.5;margin:0}
.exh-card__meta{margin-top:auto;display:flex;align-items:center;justify-content:space-between;gap:8px}
.exh-card__price{font-size:13px;color:#0d3e7e;font-weight:700;font-variant-numeric:tabular-nums}
.exh-card__go{width:28px;height:28px;border-radius:8px;background:#eef4ff;color:#0d3e7e;display:grid;place-items:center;flex:none;transition:background .15s,color .15s}
.exh-card:hover .exh-card__go{background:#0d3e7e;color:#fff}

@media(max-width:900px){.exh-why{grid-template-columns:repeat(2,1fr)}.exh-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:520px){.exh-grid{grid-template-columns:1fr 1fr}.exh-card{padding:14px}.exh-card__logo{width:44px;height:44px}}

/* dark mode */
.dark .exh-h,.dark .exh-group{color:#e8eefb}
.dark .exh-h__sub,.dark .exh-why__d,.dark .exh-card__t{color:#c3d0e6}
.dark .exh-why__c,.dark .exh-card{background:#111a2e;border-color:#22314f}
.dark .exh-card__t{color:#e8eefb}
.dark .exh-why__ico,.dark .exh-card__go{background:#1a2744;color:#9dc0ff}

[dir="rtl"] .rtl-flip{transform:scaleX(-1)}
.tnum{font-variant-numeric:tabular-nums}

/* 4-step flow */
.exh-flow{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:28px 0}
.exh-step{position:relative;background:#fff;border:1px solid #e6ecf5;border-radius:18px;padding:24px 18px 18px}
.exh-step__n{position:absolute;top:-14px;inset-inline-start:18px;width:34px;height:34px;border-radius:10px;background:linear-gradient(135deg,#1e40af,#0d3e7e);color:#fff;font-weight:800;display:grid;place-items:center;font-variant-numeric:tabular-nums}
.exh-step__t{font-weight:700;color:#12294d;margin:8px 0 4px;font-size:15px}
.exh-step__d{font-size:13px;color:#5b6b86;line-height:1.8;margin:0}

/* price table */
.exh-table-wrap{overflow-x:auto;border:1px solid #e6ecf5;border-radius:16px;margin:20px 0}
.exh-table{width:100%;border-collapse:collapse;min-width:520px;font-size:14px}
.exh-table th,.exh-table td{padding:12px 14px;text-align:start;border-bottom:1px solid #eef2f8}
.exh-table th{background:#f5f8fd;color:#0f2547;font-weight:700}
.exh-table tr:last-child td{border-bottom:0}
.exh-table td:last-child{font-weight:700;color:#0d3e7e;font-variant-numeric:tabular-nums}
.exh-note{font-size:12.5px;color:#7b8aa3;margin:8px 2px 0;line-height:1.7}

/* faq */
.exh-faq{margin:22px 0}
.exh-faq details{background:#fff;border:1px solid #e6ecf5;border-radius:14px;margin-bottom:10px;overflow:hidden}
.exh-faq summary{cursor:pointer;list-style:none;padding:16px 18px;font-weight:700;color:#12294d;display:flex;align-items:center;justify-content:space-between;gap:12px}
.exh-faq summary::-webkit-details-marker{display:none}
.exh-faq summary .exh-chev{transition:transform .2s;flex:none;color:#0d3e7e}
.exh-faq details[open] summary .exh-chev{transform:rotate(180deg)}
.exh-faq__a{padding:0 18px 16px;color:#4a5a76;line-height:2;font-size:14px}

/* article */
.exh-article{max-width:860px;margin:36px auto;color:#33445f;line-height:2.05;font-size:15.5px}
.exh-article h2{font-size:22px;color:#0f2547;margin:32px 0 10px}
.exh-article h3{font-size:18px;color:#123a63;margin:22px 0 8px}
.exh-article p{margin:0 0 14px}
.exh-article ul{margin:0 0 14px;padding-inline-start:22px}
.exh-article li{margin:6px 0}
.exh-article a{color:#0d3e7e;font-weight:600;text-decoration:none;border-bottom:1px solid #b9cdec}

/* related */
.exh-related{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:20px 0}
.exh-related a{background:#f5f8fd;border:1px solid #e6ecf5;border-radius:14px;padding:16px;text-decoration:none;color:#12294d;font-weight:600;font-size:14px;display:flex;align-items:center;justify-content:space-between;gap:10px;transition:background .15s}
.exh-related a:hover{background:#eaf1fc}

/* final CTA */
.exh-final{position:relative;overflow:hidden;background:linear-gradient(135deg,#0d3e7e,#0a8f8f);color:#fff;border-radius:28px;padding:48px 26px;margin:48px 0 20px;text-align:center}
.exh-final h2{font-size:clamp(22px,3.4vw,30px);font-weight:800;margin:0 0 10px}
.exh-final p{color:#dcecff;line-height:1.9;max-width:52ch;margin:0 auto 22px;font-size:15px}
.exh-final__cta{display:inline-flex;align-items:center;gap:10px;background:#fff;color:#0d3e7e;font-weight:800;font-size:16px;padding:14px 28px;border-radius:14px;text-decoration:none;transition:transform .15s}
.exh-final__cta:hover{transform:translateY(-2px)}

@media(max-width:900px){.exh-flow{grid-template-columns:repeat(2,1fr)}.exh-related{grid-template-columns:1fr}}

.dark .exh-step,.dark .exh-faq details{background:#111a2e;border-color:#22314f}
.dark .exh-step__t,.dark .exh-faq summary{color:#e8eefb}
.dark .exh-step__d,.dark .exh-faq__a{color:#c3d0e6}
.dark .exh-table-wrap{border-color:#22314f}
.dark .exh-table th{background:#16223c;color:#e8eefb}
.dark .exh-table td,.dark .exh-table th{border-color:#22314f}
.dark .exh-article{color:#c3d0e6}
.dark .exh-article h2,.dark .exh-article h3{color:#e8eefb}
.dark .exh-related a{background:#111a2e;border-color:#22314f;color:#e8eefb}

/* breadcrumb bar */
.exh-crumbs{max-width:1120px;margin:0 auto;padding:14px 20px 0;font-size:13px;color:#5b6b86;display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.exh-crumbs a{color:#0d3e7e;text-decoration:none;font-weight:600}
.exh-crumbs a:hover{text-decoration:underline}
.exh-crumbs .sep{opacity:.5}
.dark .exh-crumbs{color:#9fb2d0}.dark .exh-crumbs a{color:#9dc0ff}
