/* الصفحة الرئيسية (تصميم 2026-10-28): هوية «المدار» — المحفظة في الوسط وعملاتك تدور حولها، والكرة الذهبية من الشعار.
   بعدها: أرقام عامة، مزايا مدار في شبكة بطاقات، الخدمات، الأمان، البداية بثلاث خطوات، الأسئلة. */

.home { position: relative; }

/* ===== الواجهة ===== */
.h-hero { display: grid; grid-template-columns: 1.02fr .98fr; gap: 28px; align-items: center; min-height: min(760px, calc(100vh - 20px)); padding: 46px 0 10px; }
.h-copy h1 { font-size: clamp(40px, 5.2vw, 72px); line-height: 1.04; margin: 18px 0 18px; letter-spacing: -1.2px; }
[dir="rtl"] .h-copy h1 { line-height: 1.22; letter-spacing: 0; }
.h-copy .lead { font-size: 18px; max-width: 560px; }
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold-btn); box-shadow: 0 0 8px rgba(255, 200, 87, .6); }
.cta-row .btn svg { width: 18px; height: 18px; }
.h-micro { margin: 16px 0 0; color: #8f939c; font-size: 13.5px; letter-spacing: .2px; }

/* المسرح: 600×600 ثابت، ويصغر بالمقياس على الشاشات الأصغر */
.h-art { --st: .9; position: relative; height: calc(600px * var(--st)); }
.h-art::before { content: ""; position: absolute; left: 50%; top: 50%; width: calc(560px * var(--st)); height: calc(560px * var(--st)); transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle at 50% 46%, rgba(255, 200, 87, .16), rgba(255, 200, 87, 0) 62%); pointer-events: none; }
.stage2 { position: absolute; left: 50%; top: 50%; width: 600px; height: 600px; transform: translate(-50%, -50%) scale(var(--st)); }
.ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.ring ellipse, .ring path { fill: none; stroke-linecap: round; }
.ring-back { z-index: 1; } .ring-back ellipse { stroke-width: 2.4; }
.ring-front { z-index: 3; } .ring-front path { stroke-width: 3.2; filter: drop-shadow(0 0 6px rgba(255, 200, 87, .35)); }
.sun-ball { position: absolute; z-index: 1; left: 517px; top: 162px; width: 27px; height: 27px; border-radius: 50%;
  background: radial-gradient(circle at 38% 32%, #fff8dc, #ffc54d 45%, #ee8a00); box-shadow: 0 0 24px 8px rgba(255, 191, 77, .45); animation: glow 5s ease-in-out infinite; }
@keyframes glow { 50% { box-shadow: 0 0 34px 12px rgba(255, 191, 77, .6); } }
.phone { position: absolute; z-index: 2; left: 50%; top: 50%; width: 290px; transform: translate(-50%, -50%); padding: 10px; border-radius: 46px;
  background: linear-gradient(160deg, #2b2c31, #0d0d10 38%, #1d1e23); box-shadow: 0 50px 110px rgba(0, 0, 0, .75), inset 0 0 0 1px rgba(255, 255, 255, .13), 0 0 0 1px rgba(255, 200, 87, .1); }
.phone img { display: block; width: 100%; height: auto; border-radius: 36px; }
.cl { position: absolute; z-index: 4; width: 56px; height: 56px; border-radius: 50%; box-shadow: 0 10px 26px rgba(0, 0, 0, .55); animation: bob 7s ease-in-out infinite; animation-delay: var(--f, 0s); }
@keyframes bob { 50% { transform: translateY(-10px); } }

/* ===== الأرقام العامة ===== */
.h-stats { display: grid; grid-template-columns: repeat(4, 1fr); margin: 10px 0 30px; border: 1px solid var(--line); border-radius: 20px; overflow: hidden;
  background: linear-gradient(90deg, rgba(255, 200, 87, .06), rgba(255, 255, 255, .01) 60%), var(--panel-solid); }
.h-stats > div { padding: 22px 24px; border-inline-start: 1px solid var(--line); }
.h-stats > div:first-child { border-inline-start: 0; }
.h-stats b { display: block; font-size: 34px; line-height: 1.1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.h-stats span { display: block; margin-top: 4px; color: var(--muted); font-size: 14px; }

/* ===== مزايا مدار: شبكة بطاقات ===== */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.bx { position: relative; grid-column: span 2; display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: 22px; overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, 0) 45%), var(--panel-solid); border: 1px solid var(--line);
  transition: border-color .2s, transform .2s; }
.bx:hover { border-color: rgba(255, 200, 87, .35); transform: translateY(-2px); }
.bx h3 { margin: 0; font-size: 19px; line-height: 1.3; }
.bx p { margin: 0; color: var(--muted); font-size: 14.5px; }
.bx-vis { display: flex; align-items: center; gap: 8px; min-height: 64px; }
.b-route { grid-column: span 4; flex-direction: row; align-items: center; gap: 24px; background: radial-gradient(420px 220px at 85% 50%, rgba(255, 200, 87, .10), transparent 70%), linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, 0) 45%), var(--panel-solid); }
.b-gather, .b-native { grid-column: span 3; }
.b-route .bx-txt { flex: 1; display: grid; gap: 10px; }
.b-route h3 { font-size: 24px; }
.route-vis { flex: 0 0 280px; flex-direction: column; align-items: stretch; gap: 8px; }
.rt { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 13px; border: 1px solid rgba(215, 220, 230, .1); background: rgba(255, 255, 255, .02); font-size: 13px; color: #9b9ea6; }
.rt b { margin-left: auto; color: #c9ccd2; font-family: ui-monospace, Consolas, monospace; font-weight: 600; }
.rt.best { border-color: rgba(255, 200, 87, .55); background: rgba(255, 200, 87, .07); color: #e9ebef; box-shadow: 0 10px 30px rgba(0, 0, 0, .35); }
.rt.best b { color: #ffd98a; }
.rt em { font-style: normal; font-size: 11px; font-weight: 800; color: #1a1205; background: var(--gold-btn); border-radius: 999px; padding: 2px 9px; }
.gas-vis svg { width: 42px; height: 42px; fill: rgba(255, 200, 87, .14); stroke: #ffd98a; stroke-width: 1.6; }
.gas-vis span { font: 700 15px/1 ui-monospace, Consolas, monospace; color: #34d399; padding: 6px 10px; border-radius: 999px; background: rgba(52, 211, 153, .1); border: 1px solid rgba(52, 211, 153, .3); }
.gather-vis span { padding: 5px 10px; border-radius: 999px; border: 1px dashed rgba(215, 220, 230, .25); color: #9b9ea6; font-size: 12px; }
.gather-vis b { margin-left: auto; font-size: 22px; color: #ffd98a; }
.native-vis img { width: 44px; height: 44px; border-radius: 50%; box-shadow: 0 6px 16px rgba(0, 0, 0, .5); }
.native-vis img + img { margin-inline-start: -10px; }
.trade-vis svg { width: 100%; height: 64px; }
.trade-vis .ar { fill: rgba(255, 200, 87, .12); }
.trade-vis .ln { fill: none; stroke: #ffc857; stroke-width: 2; vector-effect: non-scaling-stroke; }

/* ===== الخدمات ===== */
.sv3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.sv { display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: 22px; background: var(--panel-solid); border: 1px solid var(--line); transition: border-color .2s, transform .2s; }
.sv:hover { border-color: rgba(255, 200, 87, .4); transform: translateY(-2px); }
.sv-i { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: rgba(255, 200, 87, .1); box-shadow: inset 0 0 0 1px rgba(255, 200, 87, .25); }
.sv-i svg, .sec-i svg { width: 22px; height: 22px; fill: none; stroke: #ffd98a; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sv h3 { margin: 4px 0 0; font-size: 19px; }
.sv p { margin: 0; color: var(--muted); font-size: 14.5px; flex: 1; }
.sv .go { color: #ffd98a; font-weight: 600; font-size: 14px; }

/* ===== الأمان ===== */
.sec-panel { padding: 30px; border-radius: 26px; border: 1px solid rgba(255, 200, 87, .2);
  background: radial-gradient(600px 260px at 0% 0%, rgba(255, 200, 87, .08), transparent 70%), var(--panel-solid); }
.sec-head h2 { margin-bottom: 22px; }
.sec-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.sec-i { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: rgba(255, 200, 87, .1); box-shadow: inset 0 0 0 1px rgba(255, 200, 87, .22); }
.sec-it h3 { margin: 12px 0 6px; font-size: 16.5px; }
.sec-it p { margin: 0; color: var(--muted); font-size: 14px; }

/* ===== البداية ===== */
.steps3 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: s; }
.steps3 li { position: relative; padding: 22px; border-radius: 22px; background: var(--panel-solid); border: 1px solid var(--line); }
.steps3 .n { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--gold-btn); color: #1a1205; font-weight: 800; }
.steps3 h3 { margin: 14px 0 6px; font-size: 18px; }
.steps3 p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* ===== الدعوة الأخيرة ===== */
.cta-band { padding-top: 0; }
.cta-band .card { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; background: linear-gradient(90deg, rgba(255, 200, 87, .08), rgba(255, 200, 87, 0) 70%), var(--panel); border-color: rgba(255, 200, 87, .3); }
.cta-band h2 { margin: 0 0 4px; font-size: clamp(24px, 3vw, 32px); }
.cta-band p { margin: 0; color: var(--muted); }

/* ===== أحجام الشاشات ===== */
@media (max-width: 1280px) { .h-art { --st: .8; } }
@media (max-width: 1100px) {
  .h-hero { grid-template-columns: 1fr; min-height: 0; padding-top: 30px; }
  .h-art { --st: .76; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bx, .b-route, .b-gather { grid-column: span 1; }
  .b-route, .b-native { grid-column: span 2; }
  .sec-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .h-stats { grid-template-columns: 1fr 1fr; }
  .h-stats > div:nth-child(3) { border-inline-start: 0; }
  .h-stats > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .sv3, .steps3 { grid-template-columns: 1fr; }
  .b-route { flex-direction: column; align-items: stretch; }
  .route-vis { flex-basis: auto; }
}
@media (max-width: 600px) {
  .h-art { --st: .58; }
  .bento, .sec-grid { grid-template-columns: 1fr; }
  .b-route, .b-native { grid-column: span 1; }
  .sec-panel { padding: 22px; }
  .cta-band .card { flex-direction: column; align-items: stretch; text-align: center; }
}
@media (max-width: 380px) { .h-art { --st: .52; } }
@media (prefers-reduced-motion: reduce) { .cl, .sun-ball { animation: none; } .bx, .sv { transition: none; } }
