/* موقع شركتي — ثيم تركوازي وكحلي */
:root {
    --ink: #081B21;
    --charcoal: #0E2A33;
    --charcoal-2: #143642;
    --gold: #14A193;
    --gold-2: #0F8A7E;
    --gold-deep: #0B6B62;
    --gold-light: #BFEAE4;
    --cream: #F2F7F8;
    --paper: #FFFFFF;
    --line: #DCE6E8;
    --text: #1B2A30;
    --muted: #5F7479;
    --good: #2E7D32;
    --bad: #C62828;
    --warn: #E65100;
    --radius: 18px;
    --shadow: 0 20px 60px -20px rgba(4, 20, 24, .35);
    --gold-grad: linear-gradient(135deg, #7FDCD1 0%, #14A193 45%, #0B6B62 100%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: "Cairo", "Segoe UI", Tahoma, sans-serif;
    color: var(--text);
    background: var(--cream);
    line-height: 1.75;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }

/* ===== الأزرار ===== */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 13px 26px; border-radius: 999px; font-weight: 700; font-size: 16px;
    border: 1px solid transparent; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s;
    font-family: inherit; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold-grad); color: #FFFFFF; box-shadow: 0 10px 30px -8px rgba(20, 161, 147, .6); }
.btn-gold:hover { box-shadow: 0 16px 40px -10px rgba(20, 161, 147, .8); }
.btn-dark { background: var(--charcoal); color: var(--gold-light); }
.btn-ghost { border-color: rgba(20, 161, 147, .55); color: var(--gold); background: transparent; padding: 9px 20px; font-size: 15px; }
.btn-ghost:hover { background: rgba(20, 161, 147, .12); }
.btn-line { border-color: var(--line); background: #fff; color: var(--text); }
.btn-block { width: 100%; }
.btn svg { width: 20px; height: 20px; }

/* ===== الشريط العلوي ===== */
.nav { position: fixed; inset-inline: 0; top: 0; z-index: 50; transition: background .3s, box-shadow .3s, backdrop-filter .3s; }
.nav.scrolled, .nav.solid { background: rgba(8, 27, 33, .82); backdrop-filter: blur(14px); box-shadow: 0 1px 0 rgba(20, 161, 147, .15); }
.nav.solid { position: sticky; }
.nav-row { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 22px; color: var(--gold); }
.logo-mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: var(--gold-grad); color: #FFFFFF; font-size: 18px; }
.nav-links { display: flex; align-items: center; gap: 22px; color: #DDEBEE; font-weight: 600; font-size: 15px; }
.nav-links > a:not(.btn):hover { color: var(--gold); }
.muted-link { color: #8FA7AD !important; }
.menu-toggle { display: none; background: none; border: 0; color: var(--gold); font-size: 26px; cursor: pointer; }
/* القائمة فيها روابط كتير (والعملة واللغة): تحت 1180 بكسل بتتقفل في زرار ☰ (نفس حد الهيدر الجديد تحت) */
@media (max-width: 1180px) {
    .menu-toggle { display: block; }
    .nav-links { position: absolute; top: 72px; inset-inline: 0; flex-direction: column; background: rgba(8, 27, 33, .97); padding: 18px; gap: 14px; display: none; }
    .has-ticker .nav-links { top: 110px; }
    .nav.open .nav-links { display: flex; }
}
@media (min-width: 1201px) and (max-width: 1440px) { .nav-links { gap: 15px; font-size: 14.5px; } }

/* ===== البطل ===== */
.hero {
    position: relative; overflow: hidden; color: #E6F0F1;
    background:
        radial-gradient(900px 500px at 85% -10%, rgba(20, 161, 147, .28), transparent 60%),
        radial-gradient(700px 500px at 0% 110%, rgba(20, 161, 147, .16), transparent 60%),
        linear-gradient(180deg, #081B21 0%, #0E2A33 100%);
    padding: 140px 0 110px;
}
.hero::before {
    content: ""; position: absolute; inset: 0; opacity: .07;
    background-image: linear-gradient(rgba(20, 161, 147, 1) 1px, transparent 1px), linear-gradient(90deg, rgba(20, 161, 147, 1) 1px, transparent 1px);
    background-size: 56px 56px; mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; }
.eyebrow {
    display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px; border-radius: 999px;
    border: 1px solid rgba(20, 161, 147, .4); background: rgba(20, 161, 147, .08); color: var(--gold-light); font-size: 14px; font-weight: 600;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: #4ADE80; box-shadow: 0 0 0 4px rgba(74, 222, 128, .2); }
.hero h1 { font-size: clamp(36px, 5.2vw, 64px); line-height: 1.2; margin: 22px 0 18px; font-weight: 800; letter-spacing: -.5px; }
.gold-text { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 19px; color: #C3D3D6; max-width: 560px; margin: 0 0 32px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 30px; color: #9DB2B7; font-size: 14.5px; }
.hero-trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust svg { width: 18px; height: 18px; color: var(--gold); }

.hero-visual { position: relative; perspective: 1600px; }
.device {
    position: relative; border-radius: 16px; padding: 10px 10px 12px; background: linear-gradient(145deg, #183A44, #071820);
    border: 1px solid rgba(20, 161, 147, .35); box-shadow: 0 40px 120px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .04) inset;
    transform: rotateY(-14deg) rotateX(6deg) rotateZ(1deg); transition: transform .8s cubic-bezier(.2, .7, .2, 1);
}
.hero-visual:hover .device { transform: rotateY(-6deg) rotateX(3deg); }
.device-bar { display: flex; gap: 6px; padding: 2px 6px 9px; }
.device-bar i { width: 10px; height: 10px; border-radius: 50%; background: #3A5259; }
.device-bar i:first-child { background: #14A193; }
.device img { border-radius: 8px; width: 100%; }
.float-card {
    position: absolute; padding: 12px 16px; border-radius: 14px; color: #E6F0F1; font-size: 13.5px;
    background: rgba(14, 42, 51, .78); border: 1px solid rgba(20, 161, 147, .35); backdrop-filter: blur(10px);
    box-shadow: 0 20px 50px -15px rgba(0, 0, 0, .8); animation: floaty 6s ease-in-out infinite;
}
.float-card b { display: block; font-size: 19px; color: var(--gold); }
.float-card.c1 { top: -18px; inset-inline-start: -26px; }
.float-card.c2 { bottom: 40px; inset-inline-end: -30px; animation-delay: -2s; }
.float-card.c3 { bottom: -22px; inset-inline-start: 18%; animation-delay: -4s; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

@media (max-width: 980px) {
    .hero { padding: 120px 0 80px; }
    .hero-grid { grid-template-columns: 1fr; }
    .device { transform: none; }
    .float-card.c1 { inset-inline-start: 6px; }
    .float-card.c2 { inset-inline-end: 6px; }
}

/* ===== شريط الأرقام ===== */
.stats-band { background: var(--charcoal); border-top: 1px solid rgba(20, 161, 147, .2); border-bottom: 1px solid rgba(20, 161, 147, .2); }
.stats-band .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-item { padding: 30px 16px; text-align: center; color: #C3D3D6; border-inline-start: 1px solid rgba(20, 161, 147, .12); }
.stat-item:first-child { border: 0; }
.stat-item b { display: block; font-size: 34px; font-weight: 800; line-height: 1.2; }
@media (max-width: 760px) { .stats-band .wrap { grid-template-columns: repeat(2, 1fr); } .stat-item:nth-child(3) { border: 0; } }

/* ===== الأقسام ===== */
section { padding: 100px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.kicker { color: var(--gold-deep); font-weight: 700; letter-spacing: .5px; font-size: 15px; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 44px); line-height: 1.3; margin: 8px 0 14px; font-weight: 800; }
.section-head p { color: var(--muted); font-size: 18px; margin: 0; }
.dark-section { background: linear-gradient(180deg, #0A2129, #0E2A33); color: #E1EEF0; }
.dark-section .section-head p { color: #9DB2B7; }
.dark-section .kicker { color: var(--gold); }

/* المميزات */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature {
    background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
    transition: transform .3s, box-shadow .3s, border-color .3s;
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(20, 161, 147, .6); }
.feature .ic {
    width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 18px;
    background: linear-gradient(145deg, #EAF6F4, #BFEAE4); color: var(--gold-deep); border: 1px solid #A9DFD7;
}
.feature .ic svg { width: 26px; height: 26px; }
.feature h3 { margin: 0 0 8px; font-size: 20px; }
.feature p { margin: 0; color: var(--muted); font-size: 15.5px; }
@media (max-width: 980px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .features { grid-template-columns: 1fr; } }

/* العرض بالتبويبات */
.tabs { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 34px; }
.tab {
    padding: 10px 22px; border-radius: 999px; border: 1px solid rgba(20, 161, 147, .3); background: transparent;
    color: #C9D8DB; font: inherit; font-weight: 700; cursor: pointer; transition: all .2s;
}
.tab:hover { border-color: var(--gold); color: var(--gold); }
.tab.active { background: var(--gold-grad); color: #FFFFFF; border-color: transparent; }
.showcase { display: grid; grid-template-columns: 1.55fr 1fr; gap: 44px; align-items: center; }
.showcase-img {
    border-radius: 16px; padding: 10px; background: linear-gradient(145deg, #183A44, #071820);
    border: 1px solid rgba(20, 161, 147, .3); box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .9); cursor: zoom-in;
}
.showcase-img img { border-radius: 8px; transition: opacity .35s; }
.showcase-text h3 { font-size: 28px; margin: 0 0 12px; color: var(--gold-light); }
.showcase-text p { color: #9DB2B7; font-size: 17px; }
.checks { list-style: none; padding: 0; margin: 18px 0 0; }
.checks li { position: relative; padding-inline-start: 32px; margin-bottom: 11px; }
.checks li::before {
    content: "✓"; position: absolute; inset-inline-start: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%;
    display: grid; place-items: center; font-size: 13px; font-weight: 800; background: rgba(20, 161, 147, .18); color: var(--gold);
}
.pane { display: none; }
.pane.active { display: grid; animation: fadeUp .5s ease; }
@media (max-width: 900px) { .showcase { grid-template-columns: 1fr; } }

/* معرض الصور */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery figure {
    margin: 0; border-radius: 14px; overflow: hidden; background: #fff; border: 1px solid var(--line);
    cursor: zoom-in; transition: transform .3s, box-shadow .3s;
}
.gallery figure:hover { transform: translateY(-5px) scale(1.01); box-shadow: var(--shadow); }
.gallery figure.wide { grid-column: span 2; grid-row: span 2; }
.gallery img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top right; }
.gallery figure.wide img { aspect-ratio: auto; height: calc(100% - 44px); }
.gallery figcaption { padding: 10px 14px; font-weight: 700; font-size: 14.5px; }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, 1fr); } .gallery figure.wide { grid-row: auto; } .gallery figure.wide img { height: auto; aspect-ratio: 16/10; } }

.lightbox {
    position: fixed; inset: 0; z-index: 100; background: rgba(4, 16, 20, .93); display: none;
    align-items: center; justify-content: center; padding: 30px; backdrop-filter: blur(6px);
}
.lightbox.open { display: flex; animation: fade .25s; }
.lightbox img { max-height: 84vh; border-radius: 10px; box-shadow: 0 30px 90px rgba(0, 0, 0, .7); border: 1px solid rgba(20, 161, 147, .3); }
.lightbox .cap { position: absolute; bottom: 22px; inset-inline: 0; text-align: center; color: var(--gold-light); font-weight: 700; }
.lb-btn {
    position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%;
    border: 1px solid rgba(20, 161, 147, .4); background: rgba(14, 42, 51, .8); color: var(--gold); font-size: 26px; cursor: pointer;
}
.lb-prev { inset-inline-start: 22px; }
.lb-next { inset-inline-end: 22px; }
.lb-close { position: absolute; top: 18px; inset-inline-end: 22px; background: none; border: 0; color: #fff; font-size: 34px; cursor: pointer; }

/* خطوات التجربة */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 28px 28px; }
.step::before {
    counter-increment: step; content: counter(step); position: absolute; top: -22px; inset-inline-start: 26px;
    width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-weight: 800; font-size: 20px;
    background: var(--gold-grad); color: #FFFFFF; box-shadow: 0 10px 24px -8px rgba(20, 161, 147, .7);
}
.step h3 { margin: 6px 0 6px; }
.step p { margin: 0; color: var(--muted); }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; gap: 36px; } }

/* الأسعار */
.pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 24px; align-items: stretch; }
.price-card {
    position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
    border-radius: 22px; padding: 34px 30px; transition: transform .3s, box-shadow .3s;
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.price-card.featured {
    background: linear-gradient(170deg, #143642, #081B21); color: #E3EEF0; border: 1px solid transparent;
    background-clip: padding-box; box-shadow: 0 30px 80px -25px rgba(156, 122, 18, .65); transform: scale(1.03);
}
.price-card.featured::before {
    content: ""; position: absolute; inset: -1px; border-radius: 23px; padding: 1.5px; background: var(--gold-grad);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}
.badge-top {
    position: absolute; top: -15px; inset-inline-start: 50%; transform: translateX(50%); padding: 5px 18px; border-radius: 999px;
    background: var(--gold-grad); color: #FFFFFF; font-weight: 800; font-size: 13.5px; white-space: nowrap;
}
.price-card h3 { margin: 0; font-size: 22px; }
.price-card .tagline { color: var(--muted); font-size: 14.5px; margin: 4px 0 18px; }
.price-card.featured .tagline { color: #9DB2B7; }
.price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price b { font-size: 46px; font-weight: 800; line-height: 1; }
.price-card.featured .price b { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.price .cur { font-weight: 700; color: var(--muted); }
.price .period { color: var(--muted); font-size: 15px; }
.old-price { color: var(--muted); text-decoration: line-through; font-size: 15px; margin-top: 4px; }
.save { display: inline-block; margin-inline-start: 6px; padding: 1px 10px; border-radius: 999px; background: #E8F5E9; color: var(--good); font-size: 12.5px; font-weight: 700; text-decoration: none; }
.price-card .checks { flex: 1; margin: 22px 0 26px; }
.price-card:not(.featured) .checks li::before { background: #D9F1ED; color: var(--gold-deep); }
/* كل مميزات الباقة (قابلة للفتح) */
.price-card .all-feats { margin: -12px 0 22px; border-top: 1px dashed var(--line); padding-top: 12px; }
.price-card .all-feats summary { cursor: pointer; font-weight: 700; color: var(--gold-deep); list-style: none; display: flex; align-items: center; gap: 8px; }
.price-card .all-feats summary::-webkit-details-marker { display: none; }
.price-card .all-feats summary::before { content: '+'; display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #D9F1ED; color: var(--gold-deep); font-weight: 800; }
.price-card .all-feats[open] summary::before { content: '−'; }
.price-card .all-feats .checks { margin: 12px 0 0; font-size: 14px; }
.price-card .all-feats .checks li { margin-bottom: 7px; }
.price-card.featured .all-feats summary { color: var(--gold-light, #BFEAE4); }
.usd-note { text-align: center; color: var(--muted); font-size: 14px; margin-top: 22px; }

/* طرق الدفع */
.seo-text { max-width: 900px; margin: 0 auto; text-align: center; color: var(--muted); font-size: 16.5px; line-height: 1.9; }
.seo-text p { margin: 0 0 14px; }
.kw-chips { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.kw-chips li {
    padding: 6px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--gold-deep);
    background: rgba(20, 161, 147, .1); border: 1px solid rgba(20, 161, 147, .35);
}
.pay-methods { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.pay-chip {
    display: inline-flex; align-items: center; gap: 10px; padding: 10px 20px; border-radius: 14px; background: #fff;
    border: 1px solid var(--line); font-weight: 700;
}
.pay-chip i { width: 12px; height: 12px; border-radius: 50%; }

/* الأسئلة */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 4px 24px; margin-bottom: 12px; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 0; font-weight: 700; font-size: 17px; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold-deep); font-size: 24px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 18px; color: var(--muted); }

/* الدعوة الأخيرة */
.cta-final {
    position: relative; overflow: hidden; border-radius: 28px; padding: 70px 40px; text-align: center; color: #E6F0F1;
    background: radial-gradient(600px 300px at 50% 0%, rgba(20, 161, 147, .35), transparent 70%), linear-gradient(160deg, #143642, #081B21);
    border: 1px solid rgba(20, 161, 147, .35);
}
.cta-final h2 { font-size: clamp(28px, 4vw, 44px); margin: 0 0 12px; }
.cta-final p { color: #C3D3D6; font-size: 18px; margin: 0 auto 30px; max-width: 600px; }

/* التذييل */
.footer { background: var(--ink); color: #8FA7AD; padding: 50px 0 30px; }
.footer.small { padding: 24px 0; text-align: center; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 30px; }
.footer h4 { color: var(--gold-light); margin: 0 0 12px; }
.footer a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid #163640; margin-top: 34px; padding-top: 20px; text-align: center; font-size: 14px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

.whatsapp-fab {
    position: fixed; bottom: 22px; inset-inline-start: 22px; z-index: 60; width: 58px; height: 58px; border-radius: 50%;
    display: grid; place-items: center; background: #25D366; color: #fff; box-shadow: 0 12px 30px -6px rgba(37, 211, 102, .6);
    transition: transform .2s;
}
.whatsapp-fab:hover { transform: scale(1.08); }
.whatsapp-fab svg { width: 30px; height: 30px; }

/* الحركة عند الظهور */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .reveal { opacity: 1; transform: none; }
}

/* ===== صفحات الحساب والدفع ===== */
body.inner { background: var(--cream); }
.page { padding: 40px 0 70px; min-height: 70vh; }
.page h1 { font-size: 30px; margin: 0 0 6px; }
.page .sub { color: var(--muted); margin: 0 0 26px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; margin-bottom: 20px; }
.card h2 { font-size: 20px; margin: 0 0 14px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.grid-side { display: grid; grid-template-columns: 1.5fr 1fr; gap: 22px; align-items: start; }
@media (max-width: 860px) { .grid-2, .grid-side { grid-template-columns: 1fr; } }
.form label { display: block; margin-bottom: 14px; font-weight: 600; font-size: 14.5px; color: #3D5258; }
.form input, .form select, .form textarea {
    display: block; width: 100%; margin-top: 6px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px;
    font: inherit; font-weight: 500; background: #FCFEFE; color: var(--text);
}
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid rgba(20, 161, 147, .55); border-color: var(--gold); }
.hint { color: var(--muted); font-size: 13.5px; font-weight: 500; }
.alert { padding: 14px 18px; border-radius: 14px; margin-bottom: 20px; font-weight: 700; }
.alert.ok { background: #E8F5E9; color: var(--good); }
.alert.err { background: #FDECEA; color: var(--bad); }
.alert.info { background: #EAF6F4; color: #0B6B62; }
.auth-box { max-width: 480px; margin: 20px auto; }
.auth-tabs { display: flex; gap: 6px; background: #E4EEF0; padding: 5px; border-radius: 14px; margin-bottom: 22px; }
.auth-tabs a { flex: 1; text-align: center; padding: 10px; border-radius: 10px; font-weight: 700; color: var(--muted); }
.auth-tabs a.active { background: #fff; color: var(--text); box-shadow: 0 2px 8px rgba(0, 0, 0, .06); }

.methods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 20px; }
.method { position: relative; }
.method input { position: absolute; opacity: 0; }
.method span {
    display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 16px 10px; border-radius: 14px;
    border: 2px solid var(--line); background: #fff; cursor: pointer; font-weight: 800; text-align: center; transition: all .2s;
}
.method span small { font-weight: 600; color: var(--muted); font-size: 12.5px; }
.method input:checked + span { border-color: var(--gold); background: #F1F8F7; box-shadow: 0 8px 24px -12px rgba(20, 161, 147, .8); }
.method-pane { display: none; }
.method-pane.active { display: block; animation: fadeUp .35s; }
.pay-box { background: #F1F8F7; border: 1px dashed #5FCFC1; border-radius: 14px; padding: 18px; margin-bottom: 18px; }
.pay-number { font-size: 26px; font-weight: 800; direction: ltr; text-align: center; letter-spacing: 1px; color: var(--charcoal); }
.copy { cursor: pointer; border: 1px solid var(--line); background: #fff; border-radius: 8px; padding: 3px 12px; font: inherit; font-size: 13px; }
@media (max-width: 560px) { .methods { grid-template-columns: 1fr; } }

.summary-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid #E4EDEF; }
.summary-row:last-child { border: 0; }
.summary-total { font-size: 22px; font-weight: 800; }
.tag { display: inline-block; padding: 3px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; }
.tag.good { background: #E8F5E9; color: var(--good); }
.tag.bad { background: #FDECEA; color: var(--bad); }
.tag.warn { background: #FFF3E0; color: var(--warn); }
.table { width: 100%; border-collapse: collapse; }
.table th { text-align: right; font-size: 13.5px; color: var(--muted); font-weight: 700; padding: 10px; border-bottom: 1px solid var(--line); }
.table td { padding: 12px 10px; border-bottom: 1px solid #E8F0F1; vertical-align: middle; }
.license-key {
    font-family: Consolas, "Courier New", monospace; direction: ltr; font-size: 21px; font-weight: 700; letter-spacing: 1px;
    background: var(--charcoal); color: var(--gold); padding: 14px 18px; border-radius: 12px; text-align: center; word-break: break-all;
}
.lic-card { border: 1px solid var(--line); border-radius: 16px; padding: 20px; margin-bottom: 14px; background: #FBFEFE; }
.lic-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.empty { text-align: center; color: var(--muted); padding: 30px; }

/* ===== اللغة: زر التبديل + النسخة الإنجليزية (من الشمال لليمين) ===== */
.lang-switch {
    border: 1px solid rgba(20, 161, 147, .45); border-radius: 999px; padding: 6px 14px; font-size: 14px; font-weight: 700;
    color: var(--gold) !important; white-space: nowrap;
}
.lang-switch:hover { background: rgba(20, 161, 147, .12); }
.usd-approx { color: var(--muted); font-size: 14px; font-weight: 600; margin-top: 4px; }

[dir="ltr"] .gallery img { object-position: top left; }
[dir="ltr"] .badge-top { transform: translateX(-50%); }
[dir="ltr"] .table th { text-align: left; }
[dir="ltr"] .device { transform: rotateY(14deg) rotateX(6deg) rotateZ(-1deg); }
[dir="ltr"] .hero-visual:hover .device { transform: rotateY(6deg) rotateX(3deg); }

/* ===== حساب العميل: النسخة الأونلاين ===== */
.online-card { border: 1px solid rgba(20, 161, 147, .55); background: linear-gradient(180deg, #F4FBFA, #fff); }
.online-card h2 { margin: 6px 0 4px; }
.pill-new { display: inline-block; padding: 2px 10px; border-radius: 999px; background: var(--gold-grad, #14A193); color: #FFFFFF; font-size: 12px; font-weight: 800; }
.online-tenant { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; border-top: 1px solid #DDE8EA; margin-top: 12px; padding-top: 12px; }
.online-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; margin-top: 14px; }
.online-form .btn-block { grid-column: 1 / -1; }
@media (max-width: 700px) { .online-form { grid-template-columns: 1fr; } }

/* ===== باقات النسخة الأونلاين ===== */
.trial-link { display: block; text-align: center; margin-top: 10px; font-weight: 700; color: var(--gold-deep); }
.price-card.featured .trial-link { color: var(--gold); }
.pricing.pane:not(.active) { display: none; }

/* ===== النسخة الأونلاين والمتجر ===== */
.online-section { background: linear-gradient(180deg, #FBFDFD, var(--cream)); }
.online-block { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 46px; align-items: center; margin-bottom: 70px; }
.online-block:last-child { margin-bottom: 0; }
.online-block.flip .online-text { order: 2; }
.online-text h3 { font-size: clamp(24px, 2.6vw, 32px); margin: 12px 0 10px; }
.online-text p { color: var(--muted); font-size: 17px; margin: 0; }
.online-text .hero-cta { margin-top: 24px; }
.online-text .btn-ghost { color: var(--gold-deep); }
.online-text .btn svg { width: 20px; height: 20px; }
.pill-ic { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: var(--charcoal); color: var(--gold); }
.pill-ic svg { width: 28px; height: 28px; }
.online-img { border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); cursor: zoom-in; background: #0A2129; }
.online-img img { display: block; width: 100%; height: auto; }
.hero-cta .btn-ghost svg { width: 20px; height: 20px; }
@media (max-width: 900px) {
    .online-block { grid-template-columns: 1fr; gap: 26px; margin-bottom: 50px; }
    .online-block.flip .online-text { order: 0; }
}
.tenant-actions { display: flex; gap: 8px; flex-wrap: wrap; }
a.eyebrow { text-decoration: none; }
.optional { display: inline-block; margin-inline-start: 6px; padding: 1px 9px; border-radius: 999px; background: #EEF6EE; color: var(--good); font-size: 12px; font-weight: 700; vertical-align: middle; }
.proof-tip { margin: -4px 0 14px; padding: 10px 14px; border-radius: 12px; background: #E9F6F4; border: 1px solid #BFE6E0; color: #0B5B53; font-size: 14px; font-weight: 600; }

/* تبويبات الباقات: كمبيوتر / أونلاين — واضحة على الخلفية الفاتحة */
.plan-switch-hint { text-align: center; color: var(--muted); font-weight: 600; margin: -24px 0 14px; }
.plan-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 300px)); justify-content: center; gap: 14px; scroll-margin-top: 100px; }
.plan-tabs .tab { display: flex; align-items: center; gap: 12px; text-align: start; padding: 14px 18px; border-radius: 18px;
    background: #fff; color: var(--text); border: 2px solid var(--line); box-shadow: 0 6px 18px -12px rgba(4, 20, 24, .35); }
.plan-tabs .tab svg { width: 30px; height: 30px; flex: none; color: var(--gold-deep); }
.plan-tabs .tab span { display: flex; flex-direction: column; line-height: 1.4; }
.plan-tabs .tab b { font-size: 16.5px; }
.plan-tabs .tab small { color: var(--muted); font-weight: 600; font-size: 13px; }
.plan-tabs .tab:hover { border-color: var(--gold); color: var(--text); }
.plan-tabs .tab.active { background: var(--charcoal); color: #fff; border-color: var(--gold); box-shadow: 0 10px 26px -12px rgba(20, 161, 147, .7); }
.plan-tabs .tab.active svg { color: var(--gold); }
.plan-tabs .tab.active small { color: #B9CBCF; }
.tab-new { font-style: normal; font-size: 11px; font-weight: 800; background: #2E7D32; color: #fff; padding: 1px 8px; border-radius: 999px; vertical-align: middle; margin-inline-start: 4px; }
@media (max-width: 640px) { .plan-tabs { grid-template-columns: 1fr; } }
.usd-price { display: inline-flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin: 6px 0 2px; padding: 6px 12px; border-radius: 10px; background: #EEF3FB; border: 1px solid #D5E1F5; color: #003087; }
.usd-price b { font-size: 20px; font-weight: 800; direction: ltr; }
.usd-price span { font-size: 12.5px; font-weight: 600; color: #3B5A8F; }
.price-card.featured .usd-price { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .18); color: #fff; }
.price-card.featured .usd-price span { color: #C9D8DB; }

/* ===== الفاتورة الإلكترونية ===== */
.einv-section { background: linear-gradient(180deg, var(--cream), #FBFDFD); }
.einv-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.einv-card { background: #fff; border: 1px solid #DCE8EA; border-radius: 22px; padding: 28px 28px 18px; box-shadow: 0 10px 30px rgba(10, 45, 55, .06); }
.einv-card h3 { margin: 10px 0 0; font-size: 22px; }
.einv-flag { display: inline-block; padding: 4px 14px; border-radius: 999px; background: #E6F4EA; color: #146C2E; font-weight: 800; font-size: 14px; }
.einv-flag.eg { background: #FDECEA; color: #A0281E; }
@media (max-width: 820px) { .einv-grid { grid-template-columns: 1fr; } .einv-card { padding: 22px 20px 12px; } }

/* ===== دليل الاستخدام ===== */
.docs-hero { text-align: center; padding: 28px 0 8px; }
.docs-hero h1 { font-size: clamp(28px, 4vw, 42px); margin: 6px 0 8px; }
.docs-hero p { color: var(--muted); max-width: 720px; margin: 0 auto; font-size: 17px; }
.docs-tabs { display: inline-flex; gap: 6px; padding: 6px; margin: 22px auto 6px; border-radius: 999px; background: var(--charcoal); position: sticky; top: 76px; z-index: 5; scroll-margin-top: 90px; }
.docs-tab { padding: 10px 26px; border-radius: 999px; color: #C9D8DB; font-weight: 800; text-decoration: none; }
.docs-tab.on { background: linear-gradient(135deg, #7FDCD1, var(--gold) 50%, var(--gold-2)); color: var(--ink); }
.docs-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 34px; align-items: start; margin-top: 18px; }
.docs-toc { position: sticky; top: 140px; max-height: calc(100vh - 160px); overflow: auto; display: flex; flex-direction: column; gap: 2px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.docs-toc b { margin-bottom: 6px; color: var(--gold-deep); }
.docs-toc a { padding: 6px 10px; border-radius: 9px; color: var(--text); text-decoration: none; font-size: 14.5px; }
.docs-toc a:hover { background: var(--cream); color: var(--gold-deep); }
.docs-main { min-width: 0; }
.docs-lead { font-size: 18px; color: var(--muted); margin: 0 0 22px; }
.docs-start, .docs-sec, .docs-help { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; margin-bottom: 22px; scroll-margin-top: 150px; }
.docs-start h2, .docs-sec h2, .docs-help h2 { margin: 0 0 8px; font-size: 24px; }
.docs-sec > p { color: var(--muted); font-size: 16.5px; margin: 0 0 14px; }
.docs-steps { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 12px; }
.docs-steps li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; background: var(--cream); }
.docs-steps .num { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--charcoal); color: var(--gold); font-weight: 800; }
.docs-steps b { display: block; font-size: 17px; }
.docs-steps p { margin: 4px 0 0; color: var(--muted); }
.docs-shot { margin: 0 0 16px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; cursor: zoom-in; box-shadow: 0 12px 30px rgba(40, 30, 10, .08); background: #fff; }
.docs-shot img { display: block; width: 100%; height: auto; }
.docs-shot.narrow { max-width: 340px; }
.docs-tip { margin-top: 12px; padding: 12px 14px; border-radius: 12px; background: #EAF6F4; color: #0B5B53; font-weight: 600; }
.docs-help { text-align: center; }
.docs-help .btn { margin: 6px 4px 0; }
@media (max-width: 900px) {
    .docs-layout { grid-template-columns: 1fr; }
    .docs-toc { position: static; max-height: none; flex-direction: row; flex-wrap: nowrap; overflow-x: auto; padding: 10px; }
    .docs-toc b { display: none; }
    .docs-toc a { white-space: nowrap; background: var(--cream); }
    .docs-tabs { top: 64px; }
    .docs-tab { padding: 9px 16px; font-size: 14.5px; white-space: nowrap; }
    .docs-start, .docs-sec, .docs-help { padding: 18px 16px; }
}

/* برنامج الموزعين */
.aff-banner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; border: 1px solid #B2DED7; background: linear-gradient(135deg, #F7FBFB, #fff); }
.aff-banner h2 { margin: 0 0 6px; }
.aff-banner p { margin: 0; }
.aff-hero { text-align: center; padding: 34px 26px; }
.aff-hero h1 { margin: 12px 0 10px; font-size: clamp(24px, 4vw, 34px); }
.aff-hero > .hint { max-width: 720px; margin: 0 auto; font-size: 15.5px; }
.aff-terms { display: inline-block; margin: 18px 0 6px; padding: 10px 18px; border-radius: 12px; background: #E3F3F0; border: 1px solid #8EDCD2; font-size: 16px; }
.aff-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 24px; text-align: start; }
.aff-steps > div { border: 1px solid var(--line); border-radius: 14px; padding: 16px; background: #fff; }
.aff-steps span { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--gold); color: #fff; font-weight: 800; margin-inline-end: 8px; }
.aff-steps p { margin: 8px 0 0; }
.aff-cta { text-align: center; }
.aff-cta .btn { margin: 4px; }
.aff-join { max-width: 640px; margin: 0 auto 22px; }
.aff-rules { background: #F3F8F9; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; font-size: 13.5px; color: #3D5258; margin-bottom: 14px; max-height: 220px; overflow: auto; }
.check-line { display: flex !important; gap: 8px; align-items: flex-start; font-weight: 500 !important; }
.check-line input { width: auto; margin-top: 4px; }
.aff-link { display: flex; gap: 18px; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.aff-link > div:first-child { flex: 1; min-width: 260px; }
.aff-link .license-key { font-size: 16px; word-break: break-all; margin: 6px 0 10px; }
.aff-link-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.aff-link-actions .copy { text-decoration: none; color: inherit; }
.aff-code { text-align: center; border: 1px dashed #6FD0C4; border-radius: 12px; padding: 12px 20px; }
.aff-code b { display: block; font-size: 24px; letter-spacing: 1px; color: var(--gold-deep); }
.aff-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 14px; margin-bottom: 22px; }
.aff-stats .card { margin: 0; padding: 16px; }
.aff-stats span { display: block; color: var(--muted); font-size: 13.5px; }
.aff-stats b { display: block; font-size: 22px; margin: 4px 0; }
.aff-stats small { color: var(--muted); font-size: 12.5px; }
.aff-stats .hl { border-color: #62CDBF; background: #F7FBFB; }
.aff-tips { margin: 0; padding-inline-start: 18px; line-height: 1.9; }
@media (max-width: 760px) { .aff-steps { grid-template-columns: 1fr; } }
.aff-section { padding-top: 10px; }
.aff-promo { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; background: linear-gradient(135deg, #0E2A33, #1A3B45); color: #D6F0EC; border-radius: 28px; padding: 46px; }
.aff-promo h2 { font-size: clamp(26px, 3.2vw, 38px); line-height: 1.35; margin: 8px 0 14px; color: #fff; }
.aff-promo p { color: #C3D3D6; font-size: 17px; margin: 0 0 18px; }
.aff-promo .checks li { color: #DCE6E8; }
.aff-promo .btn-line { background: transparent; color: #D6F0EC; border-color: #4B6268; }
.aff-promo-rate { display: inline-flex; flex-direction: column; gap: 2px; background: rgba(15, 138, 126, .14); border: 1px solid rgba(15, 138, 126, .45); border-radius: 14px; padding: 10px 18px; margin-bottom: 16px; }
.aff-promo-rate span { font-size: 13px; color: #C3D3D6; }
.aff-promo-rate b { font-size: 19px; color: #7FDCD1; }
.aff-promo-card { background: #fff; color: var(--text); border-radius: 20px; padding: 22px; box-shadow: 0 30px 60px rgba(0, 0, 0, .35); transform: rotate(-2deg); }
.aff-pc-row { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.aff-pc-row b { font-size: 18px; }
.aff-pc-total { margin-top: 14px; padding: 14px; border-radius: 14px; background: #E3F3F0; text-align: center; }
.aff-pc-total span { display: block; font-size: 13px; color: var(--muted); }
.aff-pc-total b { color: var(--gold-deep); font-size: 17px; }
.aff-pc-note { text-align: center; font-size: 11.5px; color: var(--muted); margin-top: 10px; }
@media (max-width: 860px) { .aff-promo { grid-template-columns: 1fr; padding: 28px 22px; } .aff-promo-card { transform: none; } }

/* المساعد الذكي (صفحة البيع) */
.ai-demo { background: #FAFDFD; border-radius: 22px; box-shadow: var(--shadow); overflow: hidden; border: 1px solid var(--line); }
.ai-demo-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; background: linear-gradient(135deg, #0E2A33, #1D4552); color: #D6F0EC; }
.ai-demo-head small { color: #9DB2B7; font-size: 12px; }
.ai-demo-msgs { padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.ai-demo-q { align-self: flex-start; background: linear-gradient(135deg, #5FCFC1, #0F8A7E); color: #0E2A33; padding: 9px 14px; border-radius: 16px; border-end-start-radius: 4px; font-weight: 600; font-size: 14.5px; }
[dir="ltr"] .ai-demo-q { align-self: flex-end; }
.ai-demo-a { align-self: flex-end; background: #fff; border: 1px solid var(--line); padding: 12px 14px; border-radius: 16px; border-end-end-radius: 4px; font-size: 14px; max-width: 92%; }
[dir="ltr"] .ai-demo-a { align-self: flex-start; }
.ai-demo-a p { margin: 0 0 8px; } .ai-demo-a p:last-child { margin: 8px 0 0; color: var(--muted); }
.ai-demo-a table { width: 100%; border-collapse: collapse; font-size: 13px; }
.ai-demo-a th, .ai-demo-a td { border: 1px solid var(--line); padding: 5px 8px; text-align: start; }
.ai-demo-a th { background: #EEF7F6; }
.ai-demo-typing { align-self: flex-end; display: flex; gap: 4px; padding: 10px 14px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
[dir="ltr"] .ai-demo-typing { align-self: flex-start; }
.ai-demo-typing i { width: 7px; height: 7px; border-radius: 50%; background: #0F8A7E; animation: aiDot 1s infinite; }
.ai-demo-typing i:nth-child(2) { animation-delay: .15s; } .ai-demo-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes aiDot { 50% { opacity: .25; transform: translateY(-3px); } }

/* مقارنة البرنامج والأونلاين */
.cmp-section { padding-top: 30px; }
.cmp tbody tr.cmp-group th { background: var(--cream, #EEF5F6); color: var(--gold-deep); font-size: 13px; font-weight: 800; letter-spacing: .2px; padding-top: 18px; padding-bottom: 10px; width: auto; }
.cmp-wrap { overflow-x: auto; border-radius: 24px; box-shadow: var(--shadow); background: #fff; border: 1px solid var(--line); -webkit-overflow-scrolling: touch; }
.cmp { width: 100%; min-width: 640px; border-collapse: separate; border-spacing: 0; font-size: 15px; }
.cmp th, .cmp td { padding: 14px 18px; text-align: start; border-bottom: 1px solid var(--line); vertical-align: middle; }
.cmp tbody th { font-weight: 700; color: var(--text); width: 30%; background: #F5F9FA; }
.cmp thead th { position: relative; font-size: 17px; font-weight: 800; padding-top: 22px; padding-bottom: 18px; background: #fff; vertical-align: bottom; }
.cmp thead th:first-child { color: var(--muted); font-size: 14px; font-weight: 600; }
.cmp thead small { display: block; font-size: 12.5px; font-weight: 500; color: var(--muted); margin-top: 2px; }
.cmp-ic { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: #E5F1F2; color: var(--gold-deep); margin-inline-end: 8px; vertical-align: middle; }
.cmp-ic svg { width: 19px; height: 19px; }
.cmp .cmp-hl { background: linear-gradient(180deg, #F7FBFB, #E8F6F4); }
.cmp thead .cmp-hl { background: linear-gradient(135deg, #0E2A33, #1D4552); color: #D6F0EC; border-start-end-radius: 24px; }
.cmp thead .cmp-hl small { color: #C3D3D6; }
.cmp thead .cmp-hl .cmp-ic { background: rgba(233, 199, 102, .18); color: #5FCFC1; }
.cmp thead .cmp-hl em { position: absolute; top: 10px; inset-inline-end: 14px; font-style: normal; font-size: 11.5px; font-weight: 700; color: #0E2A33; background: linear-gradient(135deg, #86DDD2, #0F8A7E); padding: 2px 10px; border-radius: 999px; }
.cmp td.cmp-hl { font-weight: 600; border-inline-start: 1px solid #C4E9E3; }
.cmp-yes, .cmp-no { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; font-size: 13px; font-weight: 800; margin-inline-end: 6px; vertical-align: middle; }
.cmp-yes { background: #E3F4E5; color: #2E7D32; }
.cmp-no { background: #EBF2F3; color: #8FA5AA; }
.cmp tfoot td { border-bottom: 0; padding-top: 18px; padding-bottom: 20px; }
.cmp tfoot .btn { width: 100%; justify-content: center; }
.cmp tbody tr:hover th, .cmp tbody tr:hover td:not(.cmp-hl) { background: #F3F8F9; }
@media (max-width: 640px) { .cmp { font-size: 13.5px; } .cmp th, .cmp td { padding: 11px 12px; } .cmp thead th { font-size: 15px; } }

.shop-pw { grid-column: 1 / -1; width: 100%; margin-top: 10px; border-top: 1px dashed var(--line); padding-top: 10px; }
.shop-pw summary { cursor: pointer; color: var(--gold-deep); font-weight: 700; font-size: 14px; }
.shop-pw form { margin-top: 12px; }

/* زر التجربة المجانية في الباقات (بأيقونة هدية) */
.btn-trial { margin-top: 10px; gap: 8px; border: 1.5px dashed var(--gold); background: linear-gradient(135deg, #E9F6F4, #CFEDE8); color: #0B5B53; font-weight: 800; }
.btn-trial:hover { background: linear-gradient(135deg, #CFEDE8, #A4E5DC); border-style: solid; transform: translateY(-1px); }
.price-card.featured .btn-trial { background: rgba(20, 161, 147, .12); color: var(--gold-light); border-color: rgba(20, 161, 147, .7); }
.price-card.featured .btn-trial:hover { background: rgba(20, 161, 147, .22); }
.gift-ic { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: linear-gradient(135deg, #E9435A, #B8222F); color: #fff; box-shadow: 0 3px 8px -2px rgba(184, 34, 47, .55); animation: giftWiggle 2.6s ease-in-out infinite; flex: none; }
.gift-ic svg { width: 16px; height: 16px; }
@keyframes giftWiggle { 0%, 70%, 100% { transform: rotate(0); } 75% { transform: rotate(-12deg) scale(1.08); } 80% { transform: rotate(10deg) scale(1.08); } 85% { transform: rotate(-6deg); } 90% { transform: rotate(4deg); } }
@media (prefers-reduced-motion: reduce) { .gift-ic { animation: none; } }

/* أيقونات السوشيال */
.social-icons { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.social-icons.center { justify-content: center; margin: 0 0 10px; }
.social-icons a { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; color: #DCE6E8; background: rgba(255, 255, 255, .07); border: 1px solid rgba(20, 161, 147, .25); transition: transform .15s, background .15s, color .15s; }
.social-icons a:hover { transform: translateY(-2px); color: #0E2A33; background: var(--gold); }


/* ===== شريط أسعار الذهب أعلى صفحة البيع (نفس شريط متاجر العملاء) ===== */
.gticker { position: relative; display: flex; align-items: stretch; min-height: 38px; color: #DCE6E8; font-size: 13.5px; overflow: hidden;
    background: linear-gradient(90deg, #081B21, #0B2229 40%, #12313A 60%, #081B21); border-bottom: 1px solid rgba(20, 161, 147, .35); }
.gt-label { position: relative; z-index: 2; flex: none; display: flex; align-items: center; gap: 8px; padding-inline: 16px 22px; white-space: nowrap;
    background: linear-gradient(90deg, #0F7A70, var(--gold)); color: #FFFFFF; font-weight: 800; }
.gt-label small { font-weight: 600; opacity: .8; font-size: 12px; }
.gt-live { width: 8px; height: 8px; border-radius: 50%; background: #16A34A; box-shadow: 0 0 0 0 rgba(22, 163, 74, .7); animation: gt-pulse 1.8s infinite; }
@keyframes gt-pulse { 0% { box-shadow: 0 0 0 0 rgba(22, 163, 74, .7); } 70% { box-shadow: 0 0 0 9px rgba(22, 163, 74, 0); } 100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); } }
.gt-track { flex: 1; min-width: 0; overflow: hidden; display: flex; align-items: center;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 40px), transparent); }
.gt-move { display: flex; width: max-content; animation: gt-scroll var(--gt-dur, 24s) linear infinite; }
.gticker:hover .gt-move { animation-play-state: paused; }
.gt-set { display: flex; align-items: center; }
.gt-item { display: inline-flex; align-items: baseline; gap: 6px; padding-inline: 22px; white-space: nowrap; position: relative; }
.gt-item::after { content: "◆"; position: absolute; inset-inline-end: -5px; color: var(--gold); font-size: 9px; top: 50%; transform: translateY(-50%); opacity: .8; }
.gt-item em { font-style: normal; color: #7FDCD1; font-weight: 700; }
.gt-item b { color: #fff; font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; }
.gt-item small { color: #8EA4A9; font-size: 11.5px; }
.gt-item i { font-style: normal; font-size: 11.5px; font-weight: 700; padding: 1px 7px; border-radius: 999px; }
.gt-item i.up { color: #4ADE80; background: rgba(74, 222, 128, .12); }
.gt-item i.down { color: #F87171; background: rgba(248, 113, 113, .12); }
.gt-item i.flat { color: #6F868B; font-size: 8px; }
@keyframes gt-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
[dir="rtl"] .gt-move { animation-name: gt-scroll-rtl; }
@keyframes gt-scroll-rtl { from { transform: translateX(0); } to { transform: translateX(50%); } }
@media (prefers-reduced-motion: reduce) { .gt-move { animation: none; } .gt-track { overflow-x: auto; } }
.has-ticker .hero { padding-top: 178px; }
@media (max-width: 640px) { .gt-label .gt-title { display: none; } .gt-label { padding-inline: 12px 18px; } }

/* ===== عرض خاص لفترة محدودة فوق الباقات ===== */
.promo-banner { display: flex; align-items: center; gap: 22px; margin: 0 auto 30px; max-width: 980px; padding: 18px 24px; border-radius: 20px; color: #fff;
    background: linear-gradient(110deg, #7A1414, #C62828 45%, #E65100); box-shadow: 0 18px 40px -18px rgba(198, 40, 40, .6); position: relative; overflow: hidden; }
.promo-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .18) 50%, transparent 70%); transform: translateX(-100%); animation: promo-shine 3.5s infinite; }
@keyframes promo-shine { to { transform: translateX(100%); } }
.promo-pct { flex: none; display: grid; place-items: center; width: 88px; height: 88px; border-radius: 50%; background: #FFD54F; color: #7A1414; line-height: 1; }
.promo-pct b { font-size: 30px; font-weight: 900; }
.promo-pct small { font-size: 13px; font-weight: 800; margin-top: -10px; }
.promo-text { flex: 1; min-width: 0; }
.promo-text h3 { margin: 0 0 4px; font-size: 22px; }
.promo-text p { margin: 0; opacity: .92; }
.promo-timer { flex: none; text-align: center; background: rgba(0, 0, 0, .22); border-radius: 14px; padding: 10px 16px; position: relative; z-index: 1; }
.promo-timer b { display: block; font-size: 24px; font-variant-numeric: tabular-nums; letter-spacing: 1px; margin: 2px 0; }
.promo-timer small { display: block; font-size: 12px; opacity: .85; }
@media (max-width: 760px) { .promo-banner { flex-wrap: wrap; justify-content: center; text-align: center; } .promo-text { flex-basis: 100%; } }


/* ===== اختيار العملة (جنيه / ريال / درهم) ===== */
.cur-switch { display: inline-flex; border: 1px solid rgba(20, 161, 147, .45); border-radius: 999px; overflow: hidden; white-space: nowrap; }
.cur-switch a { padding: 5px 11px; font-size: 13.5px; font-weight: 700; color: var(--gold) !important; }
.cur-switch a + a { border-inline-start: 1px solid rgba(20, 161, 147, .3); }
.cur-switch a.on { background: var(--gold); color: #FFFFFF !important; }
.cur-switch a:not(.on):hover { background: rgba(20, 161, 147, .12); }
.cur-row { display: flex; align-items: center; justify-content: center; gap: 10px; margin: -6px 0 22px; font-weight: 700; color: #4E656B; }
.cur-row .cur-switch { border-color: #14A193; background: #fff; }
.cur-row .cur-switch a { color: #0F7A70 !important; }
.cur-row .cur-switch a.on { color: #FFFFFF !important; }

/* ===== فيديو الشرح ===== */
.video-section { background: radial-gradient(900px 420px at 85% 0%, rgba(20, 161, 147, .14), transparent 70%), linear-gradient(180deg, #F7FBFB, var(--cream)); }
.video-tabs .tab { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; }
.video-tabs .tab:not(.active) { background: #fff; color: var(--text); border-color: var(--line); box-shadow: 0 6px 18px -12px rgba(4, 20, 24, .35); }
.video-tabs .tab:not(.active):hover { border-color: var(--gold); color: var(--gold-deep); }
.video-tabs .tab svg { width: 20px; height: 20px; }
.video-tabs .tab small { opacity: .7; font-weight: 600; }
.video-pane.active { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: start; }
.video-frame { position: relative; background: var(--ink); border-radius: 22px; padding: 0 10px 10px; box-shadow: var(--shadow); overflow: hidden; }
.video-frame .device-bar { display: flex; align-items: center; gap: 6px; padding: 12px 6px; color: #9DB2B7; font-size: 13px; font-weight: 600; }
.video-frame .device-bar i { width: 10px; height: 10px; border-radius: 50%; background: #2C4A53; }
.video-frame .device-bar i:first-child { background: #E5675B; } .video-frame .device-bar i:nth-child(2) { background: #E8B33F; } .video-frame .device-bar i:nth-child(3) { background: #3FBF7A; }
.video-frame .device-bar span { margin-inline-start: 8px; }
.video-frame .vid { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 12px; background: #000; object-fit: contain; }
.video-play { position: absolute; inset: 44px 10px 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; border: 0; border-radius: 12px; cursor: pointer;
    background: linear-gradient(180deg, rgba(8, 27, 33, .25), rgba(8, 27, 33, .7)); color: #fff; font-family: inherit; }
.video-play span { display: grid; place-items: center; width: 88px; height: 88px; border-radius: 50%; background: var(--gold-grad); font-size: 34px; padding-inline-start: 6px;
    box-shadow: 0 0 0 10px rgba(20, 161, 147, .25), 0 18px 40px -10px rgba(0, 0, 0, .6); transition: transform .2s ease; }
.video-play:hover span { transform: scale(1.08); }
.video-play b { font-size: 18px; text-shadow: 0 2px 10px rgba(0, 0, 0, .5); }
.video-play[hidden] { display: none; }
.video-side { background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 18px; box-shadow: var(--shadow); }
.video-side h3 { margin: 0 0 10px; font-size: 18px; }
.video-chapters { list-style: none; margin: 0 0 14px; padding: 0; max-height: 390px; overflow-y: auto; }
.video-chapters button { display: flex; gap: 10px; width: 100%; text-align: start; padding: 8px 10px; border: 0; border-radius: 10px; background: none; cursor: pointer; font: inherit; color: var(--text); }
.video-chapters button:hover, .video-chapters button.on { background: #E3F4F1; }
.video-chapters button.on span { font-weight: 700; color: var(--gold-deep); }
.video-chapters b { min-width: 44px; color: var(--gold-deep); font-variant-numeric: tabular-nums; text-align: start; }
@media (max-width: 900px) { .video-pane.active { grid-template-columns: 1fr; } .video-chapters { max-height: 260px; } }

/* ===== صفحات المجالات ===== */
.crumbs { font-size: 14px; color: var(--muted); margin: 0 0 18px; }
.crumbs a { color: var(--gold-deep); }
.ind-hero { padding: 10px 0 30px; }
.ind-hero h1 { font-size: clamp(28px, 4vw, 46px); line-height: 1.25; margin: 6px 0 14px; font-weight: 800; }
.ind-hero p { font-size: 18px; color: var(--muted); max-width: 760px; margin: 0 0 22px; }
.ind-hero.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 36px; align-items: center; }
.ind-hero .hero-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.ind-shot { margin: 0; border-radius: 16px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.ind-shot img { display: block; width: 100%; height: auto; }
.ind-shot .device-bar { display: flex; gap: 6px; padding: 9px 12px; background: var(--charcoal); }
.ind-shot .device-bar i { width: 9px; height: 9px; border-radius: 50%; background: #2E5560; }
.ind-sec { padding: 26px 0; }
.ind-sec > h2, .ind-group > h2 { font-size: clamp(22px, 2.6vw, 30px); margin: 0 0 18px; font-weight: 800; }
.ind-steps { max-width: 860px; }
.ind-steps li { background: #fff; border: 1px solid var(--line); }
.ind-mods { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 10px; }
.ind-mods span { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; font-weight: 600; font-size: 15px; }
.ind-mods svg { width: 16px; height: 16px; color: var(--gold); }
.ind-group { padding: 18px 0; }
.ind-group h2 { display: flex; align-items: center; gap: 10px; }
.ind-group h2 .ic svg { width: 28px; height: 28px; color: var(--gold); }
.ind-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.ind-card { display: flex; flex-direction: column; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px; color: var(--text); transition: transform .2s, box-shadow .2s, border-color .2s; }
.ind-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--gold); }
.ind-card .ic svg { width: 30px; height: 30px; color: var(--gold); }
.ind-card b { font-size: 17px; line-height: 1.4; }
.ind-card span:not(.ic) { color: var(--muted); font-size: 14.5px; }
.ind-card.all { background: var(--charcoal); color: #E1EEF0; border-color: var(--charcoal); }
.ind-cta { margin-top: 30px; }
.ind-cta .btn { margin: 4px; }
.gold-banner { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; padding: 18px 22px; border-radius: 18px; margin: 10px 0 20px;
    background: linear-gradient(135deg, #3A2A06, #6B4E0E 55%, #A8801F); color: #FFF3CF; border: 1px solid #C9A227; }
.gold-banner b { font-size: 19px; color: #FFE08A; }
.gold-banner span { flex: 1 1 280px; }
.gold-banner .btn-gold { background: linear-gradient(135deg, #FFE08A, #C9A227); color: #2A1E04; box-shadow: 0 10px 26px -10px rgba(201, 162, 39, .8); }
@media (max-width: 860px) { .ind-hero.split { grid-template-columns: 1fr; } }

/* ===== المجالات في الصفحة الرئيسية ===== */
.ind-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 26px; }
.ind-links a { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-weight: 600; color: var(--text); font-size: 15px; }
.ind-links a:hover { border-color: var(--gold); color: var(--gold-deep); }
.ind-links a.more { background: var(--charcoal); color: var(--gold-light); border-color: var(--charcoal); }
.footer-ind a { display: inline-block; margin: 0 0 6px; }
.footer-grid { grid-template-columns: 2fr 1fr 1.2fr 1fr; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* إعلان جولدفاي في الرئيسية */
.gold-ad { display: flex; align-items: center; gap: 18px; margin: 26px 0 6px; padding: 18px 24px; border-radius: 20px; text-decoration: none;
    background: linear-gradient(120deg, #2B1F05 0%, #5A420C 45%, #9C7718 100%); color: #FFF3CF; border: 1px solid #C9A227;
    box-shadow: 0 18px 40px -18px rgba(156, 119, 24, .8); transition: transform .2s, box-shadow .2s; }
.gold-ad:hover { transform: translateY(-3px); box-shadow: 0 24px 50px -18px rgba(156, 119, 24, .95); }
.gold-ad-ic { flex: none; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: linear-gradient(135deg, #FFE08A, #C9A227); color: #2A1E04; font-size: 24px; }
.gold-ad-text { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.gold-ad-text b { font-size: clamp(18px, 2.2vw, 23px); color: #FFE08A; }
.gold-ad-text span { font-size: 15px; color: #F3E3B5; }
.gold-ad-btn { flex: none; padding: 11px 20px; border-radius: 12px; font-weight: 800; background: linear-gradient(135deg, #FFE08A, #C9A227); color: #2A1E04; }
@media (max-width: 700px) { .gold-ad { flex-direction: column; text-align: center; } }

/* القايمة الكبيرة (المجالات) */
.mega { position: relative; }
.mega-panel { display: none; position: fixed; top: 62px; left: 50%; transform: translateX(-50%); z-index: 80; width: min(1120px, 96vw); max-height: calc(100vh - 80px); overflow: auto; padding: 20px;
    background: #fff; color: var(--text); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow);
    grid-template-columns: repeat(5, 1fr); gap: 6px 20px; }
.mega:hover .mega-panel, .mega:focus-within .mega-panel { display: grid; }
.mega-panel::before { content: ""; position: absolute; top: -12px; inset-inline: 0; height: 12px; }
.mega-col { display: flex; flex-direction: column; gap: 2px; margin-bottom: 10px; }
.mega-col b { color: var(--gold-deep); font-size: 14px; margin-bottom: 4px; }
.mega-col a, .mega-all { color: var(--text) !important; font-size: 14px; padding: 3px 0; font-weight: 500; }
.mega-col a:hover { color: var(--gold-deep) !important; }
.mega-all { grid-column: 1 / -1; font-weight: 800 !important; color: var(--gold-deep) !important; }
@media (max-width: 900px) { .mega-panel { position: static; transform: none; width: auto; max-height: none; grid-template-columns: 1fr 1fr; box-shadow: none; } }

/* من غير إضافات */
.no-addons { display: flex; flex-direction: column; gap: 4px; max-width: 900px; margin: 0 auto 26px; padding: 14px 20px; border-radius: 16px; background: #fff; border: 1px dashed var(--gold); text-align: center; }
.no-addons b { color: var(--gold-deep); font-size: 17px; }
.no-addons span { color: var(--muted); font-size: 15px; }
/* قصص النجاح */
.stories { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.story { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.story img { width: 64px; height: 64px; object-fit: contain; border-radius: 12px; }
.story-result { color: var(--good); }
.story blockquote { margin: 0; color: var(--text); line-height: 1.8; }
.story figcaption { display: flex; flex-direction: column; color: var(--muted); font-size: 14px; }
.story figcaption b { color: var(--text); font-size: 16px; }
/* المدونة */
.blog-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.blog-card { display: flex; flex-direction: column; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px; color: var(--text); transition: transform .2s, box-shadow .2s; }
.blog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.blog-card b { font-size: 19px; line-height: 1.45; }
.blog-card span { color: var(--muted); }
.blog-card .more { color: var(--gold-deep); font-weight: 700; margin-top: auto; }
.blog-post { max-width: 820px; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 34px clamp(18px, 4vw, 46px); line-height: 1.95; font-size: 17px; }
.blog-post h1 { font-size: clamp(26px, 3.4vw, 38px); line-height: 1.35; margin: 0 0 6px; }
.blog-post h2 { font-size: 23px; margin: 28px 0 8px; color: var(--gold-deep); }
.blog-post h3 { font-size: 19px; margin: 20px 0 6px; }
.blog-post ul { padding-inline-start: 22px; }
.blog-post a { color: var(--gold-deep); text-decoration: underline; }

/* ================= الهيدر الجديد: بعرض الشاشة ================= */
.nav-wrap { width: 100%; padding-inline: clamp(16px, 3vw, 40px); margin: 0; }
.nav-row { height: 70px; gap: 20px; }
.logo { flex: none; font-size: 21px; }
.nav-links { flex: 1; display: flex; align-items: stretch; justify-content: space-between; gap: 20px; height: 100%; font-size: 15px; }
.nav-main, .nav-actions { display: flex; align-items: center; gap: 4px; }
.nav-main { margin-inline-start: 18px; }
.nav-actions { gap: 10px; }
.nav-main > a, .mega-btn, .dd-btn {
    display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border-radius: 10px; white-space: nowrap;
    color: #DDEBEE; font: inherit; font-weight: 600; background: none; border: 0; cursor: pointer; transition: background .2s, color .2s;
}
.nav-main > a:hover, .mega:hover .mega-btn, .dd:hover > .dd-btn, .dd.open > .dd-btn, .mega.open .mega-btn { background: rgba(20, 161, 147, .14); color: #fff; }
.caret { font-size: 11px; opacity: .75; transition: transform .2s; }
.mega:hover .caret, .dd:hover .caret, .dd.open .caret, .mega.open .caret { transform: rotate(180deg); }
.btn-sm { padding: 9px 18px !important; font-size: 14.5px !important; border-radius: 999px; }
.nav-cta { box-shadow: 0 8px 24px -10px rgba(20, 161, 147, .8); }
/* «حسابي» رابط هادي، و«دخول الموظفين» زرار رئيسي أبيض جنب زرار التجربة */
.nav-acc { color: #DDEBEE; font-weight: 600; white-space: nowrap; padding: 8px 6px; border-radius: 8px; }
.nav-acc:hover { color: var(--gold); }
.nav-staff { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; background: #fff; color: #0B2A31 !important; border: 0; font-weight: 700;
    box-shadow: 0 8px 22px -12px rgba(255, 255, 255, .55); transition: transform .2s, box-shadow .2s; }
.nav-staff svg { width: 17px; height: 17px; color: var(--gold); }
.nav-staff:hover { transform: translateY(-1px); box-shadow: 0 10px 26px -10px rgba(255, 255, 255, .6); }
.lang-switch { padding: 7px 14px; }

/* القايمة الكبيرة بعرض الشاشة */
.mega { position: static; display: flex; align-items: center; }
.nav-main { position: static; }
.nav-row { position: relative; }
.mega-panel { display: none; position: absolute; top: 100%; inset-inline: 0; left: 0; right: 0; transform: none; width: auto; max-height: calc(100vh - 90px); overflow: auto;
    padding: 0; border-radius: 0 0 22px 22px; border: 0; border-top: 1px solid rgba(20, 161, 147, .25); background: #fff; color: var(--text);
    box-shadow: 0 30px 60px -20px rgba(8, 27, 33, .45); grid-template-columns: none; }
.mega:hover .mega-panel, .mega:focus-within .mega-panel, .mega.open .mega-panel { display: block; }
.mega-panel::before { display: none; }
.mega-inner { display: grid; grid-template-columns: 1fr 280px; gap: 28px; width: min(1440px, 100% - 48px); margin-inline: auto; padding: 26px 0 28px; }
.mega-cols { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 18px 26px; }
.mega-col { gap: 1px; margin: 0; }
.mega-col b { display: flex; align-items: center; gap: 8px; font-size: 14.5px; color: var(--gold-deep); margin-bottom: 6px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.mega-col b svg { width: 18px; height: 18px; flex: none; }
.mega-col a { padding: 5px 8px; margin-inline: -8px; border-radius: 8px; font-size: 14px; color: var(--text) !important; }
.mega-col a:hover { background: var(--gold-soft, rgba(20, 161, 147, .08)); color: var(--gold-deep) !important; }
.mega-side { display: flex; flex-direction: column; gap: 10px; align-self: start; padding: 22px; border-radius: 18px; color: #E6F0F1;
    background: radial-gradient(260px 160px at 90% 0%, rgba(20, 161, 147, .45), transparent 70%), linear-gradient(160deg, #0E2A33, #081B21); }
.mega-side b { font-size: 18px; color: #fff; }
.mega-side p { margin: 0; font-size: 14px; color: #B9CCD0; line-height: 1.7; }
.mega-side .btn { align-self: flex-start; }
.mega-side .mega-all { color: var(--gold-light, #7CCFC5) !important; font-weight: 700 !important; font-size: 14px; grid-column: auto; }

/* قايمة صغيرة (المصادر والعملة) */
.dd { position: relative; display: flex; align-items: center; }
.dd-panel { display: none; position: absolute; top: calc(100% + 6px); inset-inline-start: 0; min-width: 250px; padding: 8px; border-radius: 16px; background: #fff;
    box-shadow: 0 24px 50px -18px rgba(8, 27, 33, .5); border: 1px solid var(--line); z-index: 90; }
.dd-panel::before { content: ""; position: absolute; top: -10px; inset-inline: 0; height: 10px; }
.dd:hover .dd-panel, .dd:focus-within .dd-panel, .dd.open .dd-panel { display: block; }
.dd-panel a { display: flex; flex-direction: column; padding: 9px 12px; border-radius: 10px; color: var(--text) !important; }
.dd-panel a:hover, .dd-panel a.on { background: rgba(20, 161, 147, .09); }
.dd-panel a b { font-size: 14.5px; }
.dd-panel a small { font-size: 12.5px; color: var(--muted); font-weight: 500; }
.cur-dd .dd-btn { height: 36px; padding: 0 12px; border: 1px solid rgba(20, 161, 147, .45); border-radius: 999px; color: var(--gold) !important; font-weight: 700; line-height: 1.9; }
.cur-dd .dd-panel { min-width: 170px; inset-inline-start: auto; inset-inline-end: 0; }
.cur-dd .dd-panel a { flex-direction: row; align-items: baseline; justify-content: space-between; gap: 10px; }
/* أزرار العملة (قسم الأسعار): من غير قص للهمزة تحت الألف */
.cur-switch { overflow: visible; }
.cur-switch a { line-height: 1.9; padding: 4px 13px; }
.cur-switch a:first-child { border-start-start-radius: 999px; border-end-start-radius: 999px; }
.cur-switch a:last-child { border-start-end-radius: 999px; border-end-end-radius: 999px; }

@media (max-width: 1360px) { .nav-main > a, .mega-btn, .dd-btn { padding: 0 9px; } .nav-main { margin-inline-start: 6px; } .nav-actions { gap: 8px; } }
@media (max-width: 1180px) {
    .menu-toggle { display: block; }
    .nav-links { position: absolute; top: 70px; inset-inline: 0; height: auto; max-height: calc(100vh - 70px); overflow: auto; flex-direction: column; justify-content: flex-start;
        gap: 14px; padding: 16px clamp(16px, 3vw, 40px) 22px; background: #081B21; box-shadow: 0 18px 40px rgba(0, 0, 0, .35); display: none; }
    .nav.open { background: #081B21; }
    .nav.open .nav-links { display: flex; }
    body:has(.nav.open) { overflow: hidden; }
    .nav-main { flex-direction: column; align-items: stretch; margin: 0; gap: 2px; }
    .nav-main > a, .mega-btn, .dd-btn { height: 44px; width: 100%; justify-content: space-between; }
    .mega, .dd { flex-direction: column; align-items: stretch; }
    .mega:hover .mega-panel, .dd:hover .dd-panel { display: none; }
    .mega.open .mega-panel, .dd.open .dd-panel { display: block; }
    .mega-panel, .dd-panel { position: static; border-radius: 14px; box-shadow: none; max-height: none; margin-top: 4px; }
    .mega-inner { grid-template-columns: 1fr; width: auto; padding: 16px; }
    .mega-cols { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
    .nav-actions { flex-wrap: wrap; justify-content: flex-start; }
    .cur-dd .dd-panel { position: absolute; }
}

/* ================= البطل: خط أهدى وتوزيع أوضح ================= */
.hero { padding: 118px 0 84px; }
.hero .wrap.hero-grid { width: min(1320px, 100% - 48px); grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(32px, 4vw, 64px); }
.hero h1 { font-size: clamp(28px, 3.1vw, 46px); line-height: 1.3; letter-spacing: 0; margin: 18px 0 14px; }
.hero h1 .gold-text { display: block; font-size: .86em; margin-top: 4px; }
.hero p.lead { font-size: 17px; line-height: 1.9; max-width: 590px; margin-bottom: 26px; }
.eyebrow { font-size: 13px; padding: 5px 14px; line-height: 1.6; }
.hero-cta { gap: 10px; }
.hero-cta .btn { padding: 13px 22px; font-size: 15.5px; }
.hero-links { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 16px; font-size: 14.5px; font-weight: 600; }
.hero-links a { color: var(--gold-light, #7CCFC5); display: inline-flex; align-items: center; gap: 6px; }
.hero-links a:hover { color: #fff; }
.hero-links svg { width: 17px; height: 17px; }
.hero-trust { margin-top: 24px; gap: 10px 18px; font-size: 14px; }
@media (max-width: 980px) {
    .hero { padding: 104px 0 64px; }
    .hero .wrap.hero-grid { grid-template-columns: 1fr; width: min(1320px, 100% - 32px); }
    .hero h1 { font-size: clamp(26px, 7vw, 36px); }
    .hero p.lead { font-size: 16px; }
}
.hero h1, .hero h1 .gold-text { text-wrap: balance; }
.hero p.lead { text-wrap: pretty; }

/* ===== زرار «حمّل التطبيق» وبوب أب التثبيت ===== */
.nav-app { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 12px; border-radius: 999px; white-space: nowrap; cursor: pointer;
    font: inherit; font-weight: 700; font-size: 14px; color: var(--gold); background: rgba(20, 161, 147, .12); border: 1px solid rgba(20, 161, 147, .45); transition: background .2s, color .2s; }
.nav-app:hover { background: var(--gold); color: #fff; }
.nav-app svg { width: 17px; height: 17px; }
.nav-app-m { display: none; }
@media (max-width: 1360px) { .nav-actions .nav-app span { display: none; } .nav-actions .nav-app { padding: 0 10px; } }
@media (max-width: 1180px) {
    .nav-app-m { display: inline-flex; margin-inline-start: auto; height: 36px; font-size: 13.5px; }
    .nav-actions .nav-app { display: none; }
}
@media (display-mode: standalone) { .js-install, .pwa-pop { display: none !important; } }

.pwa-pop { position: fixed; z-index: 120; inset-inline-end: 20px; bottom: 20px; width: min(380px, calc(100% - 32px)); padding: 18px 18px 16px;
    background: #fff; color: #17323A; border-radius: 18px; box-shadow: 0 24px 60px -12px rgba(0, 0, 0, .45);
    opacity: 0; transform: translateY(16px); transition: opacity .25s, transform .25s; }
.pwa-pop.show { opacity: 1; transform: none; }
.pwa-pop [hidden], .pwa-pop[hidden], .pwa-done[hidden] { display: none !important; }
.pwa-head { display: flex; gap: 14px; align-items: flex-start; padding-inline-end: 22px; }
.pwa-head img { flex: none; border-radius: 13px; box-shadow: 0 6px 16px -6px rgba(8, 27, 33, .5); }
.pwa-head b { display: block; font-size: 16.5px; line-height: 1.5; color: #0B2A31; }
.pwa-head p { margin: 4px 0 0; font-size: 13.5px; line-height: 1.7; color: #4D666D; }
.pwa-how { margin: 12px 0 0; padding: 10px 12px; border-radius: 10px; background: #EEF7F6; font-size: 13.5px; line-height: 1.7; color: #17323A; }
.pwa-btns { display: flex; align-items: center; gap: 10px; margin-top: 14px; }
.pwa-btns .btn { display: inline-flex; align-items: center; gap: 6px; }
.pwa-btns .btn svg { width: 16px; height: 16px; }
.pwa-later { background: none; border: 0; font: inherit; font-size: 14px; font-weight: 600; color: #6A8288; cursor: pointer; padding: 8px 6px; }
.pwa-later:hover { color: #0B2A31; }
.pwa-x { position: absolute; top: 8px; inset-inline-end: 10px; width: 30px; height: 30px; border: 0; border-radius: 50%; background: none; font-size: 22px; line-height: 1; color: #8AA0A5; cursor: pointer; }
.pwa-x:hover { background: #EEF2F3; color: #0B2A31; }
.pwa-done { position: fixed; z-index: 120; inset-inline-end: 20px; bottom: 20px; padding: 12px 18px; border-radius: 12px; background: #0B2A31; color: #fff; font-weight: 600; box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .5); }
@media (max-width: 600px) {
    .pwa-pop { inset-inline: 12px; bottom: 12px; width: auto; }
    .pwa-done { inset-inline: 12px; bottom: 12px; text-align: center; }
}

/* القايمة الكبيرة و«المصادر»: منطقة الماوس بارتفاع الهيدر كله (من غير فراغ بين الزرار والقايمة) — كانت بتتقفل قبل ما الماوس يوصلها */
@media (min-width: 901px) {
    .nav-main { align-self: stretch; }
    .nav-main > .mega, .nav-main > .dd { align-self: stretch; }
    .nav-main > .dd .dd-panel { top: 100%; }
    .mega-panel { margin-top: 0; }
}

/* ===== الهيرو: زرارين التجربة بنفس الحجم ===== */
.hero .hero-cta .btn { min-height: 55px; }
.hero .hero-cta .btn-ghost { padding: 12px 22px; font-size: 15.5px; font-weight: 700; display: inline-flex; align-items: center; gap: 8px; }
.hero .hero-cta .btn-ghost svg { width: 19px; height: 19px; }

/* ===== شاهد ديمو البرنامج ===== */
.demo-sec { padding: 70px 0 40px; background: linear-gradient(180deg, #F4FAF9, #fff); }
.demo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 10px; }
.demo-card { display: flex; flex-direction: column; border-radius: 24px; overflow: hidden; background: #fff; border: 1px solid var(--line); color: var(--text) !important;
    box-shadow: 0 24px 60px -34px rgba(8, 27, 33, .45); transition: transform .25s, box-shadow .25s; }
.demo-card:hover { transform: translateY(-4px); box-shadow: 0 34px 70px -30px rgba(8, 27, 33, .5); }
.demo-shot { background: #0E2A33; padding: 12px 12px 0; }
.demo-shot .device-bar { display: flex; gap: 6px; padding: 0 4px 10px; }
.demo-shot .device-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .25); }
.demo-shot img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-radius: 12px 12px 0 0; }
.demo-body { display: flex; flex-direction: column; gap: 10px; padding: 24px 26px 28px; flex: 1; }
.demo-body h3 { margin: 0; font-size: 23px; }
.demo-body p { margin: 0; color: var(--muted); line-height: 1.8; flex: 1; }
.demo-body .btn { align-self: flex-start; }
.demo-ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: rgba(20, 161, 147, .12); color: var(--gold-deep); }
.demo-ic svg { width: 24px; height: 24px; }
@media (max-width: 860px) { .demo-grid { grid-template-columns: 1fr; } .demo-sec { padding: 50px 0 20px; } }

/* ===== صفحة المتجر الإلكتروني (online-store.php) ===== */
.os-page { margin-top: -10px; }
.os-full { width: 100vw; margin-inline: calc(50% - 50vw); }
.os-wrap { width: min(1240px, 100% - 40px); margin-inline: auto; }
.os-hero { background: radial-gradient(900px 500px at 85% -10%, rgba(20, 161, 147, .35), transparent 60%), linear-gradient(160deg, #0A2129, #0E2A33 60%, #12333D); color: #E1EEF0; padding: 64px 0 80px; }
.os-hero h1 { font-size: clamp(32px, 4.6vw, 56px); line-height: 1.2; margin: 14px 0 18px; font-weight: 800; color: #fff; }
.os-hero .lead { font-size: 18px; color: #C3D3D6; max-width: 600px; line-height: 1.9; margin: 0 0 28px; }
.os-hero .hero-trust { color: #9DB2B7; }
.os-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 50px; align-items: center; }
.os-hero-art { position: relative; padding-bottom: 40px; }
.os-desk { background: #0B1F26; border: 1px solid rgba(255, 255, 255, .1); border-radius: 18px; padding: 10px 10px 0; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); }
.os-desk img, .os-shot img { display: block; width: 100%; height: auto; border-radius: 10px 10px 0 0; }
.device-bar { display: flex; gap: 6px; padding: 0 4px 9px; }
.device-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .25); }
.os-phone { position: absolute; inset-inline-start: -26px; bottom: 0; width: 26%; border-radius: 26px; border: 7px solid #0B1F26; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7); background: #fff; }
.os-phone img { display: block; width: 100%; height: auto; }
.os-strip { background: #fff; border-bottom: 1px solid var(--line); }
.os-strip .os-wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; padding: 22px 0; }
.os-strip .os-wrap > div { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 15px; }
.os-strip b { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: rgba(20, 161, 147, .1); color: var(--gold-deep); }
.os-strip svg { width: 24px; height: 24px; }
.os-sec { padding: 80px 0 30px; }
.os-block { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 56px; align-items: center; margin-bottom: 80px; }
.os-block.rev .os-shot { order: 2; }
.os-block.mobile { grid-template-columns: minmax(0, .55fr) minmax(0, 1fr); }
.os-block.mobile .os-shot { max-width: 320px; justify-self: center; border-radius: 34px; border: 9px solid #0E2A33; padding: 0; overflow: hidden; }
.os-block.mobile .os-shot img { border-radius: 0; }
.os-shot { background: #0E2A33; border-radius: 18px; padding: 10px 10px 0; box-shadow: 0 30px 70px -36px rgba(8, 27, 33, .55); }
.os-text h3 { font-size: clamp(24px, 2.6vw, 32px); margin: 14px 0 10px; }
.os-text p { color: var(--muted); font-size: 17px; line-height: 1.9; margin: 0; }
.os-types { background: linear-gradient(180deg, #F2F8F7, #fff); }
.os-type-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.os-type { display: flex; flex-direction: column; gap: 10px; color: var(--text) !important; font-weight: 800; text-align: center; }
.os-type img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; object-position: top; border-radius: 14px; border: 1px solid var(--line); box-shadow: 0 18px 40px -24px rgba(8, 27, 33, .45); transition: transform .25s; }
.os-type:hover img { transform: translateY(-4px); }
.os-type-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 30px 0 0; }
.os-type-list span { padding: 7px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 700; font-size: 14px; }
.os-note { color: var(--muted); margin-top: 18px; }
.os-admin-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.os-admin h3 { margin: 18px 0 6px; font-size: 21px; }
.os-admin p { margin: 0; color: var(--muted); line-height: 1.8; }
.os-sec.dark-section { padding: 80px 0; margin-top: 50px; }
.os-feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.os-feat { padding: 22px; border-radius: 18px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); }
.os-feat span { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(20, 161, 147, .18); color: var(--gold); margin-bottom: 12px; }
.os-feat span svg { width: 22px; height: 22px; }
.os-feat b { display: block; font-size: 17px; color: #fff; margin-bottom: 6px; }
.os-feat p { margin: 0; color: #9DB2B7; font-size: 14.5px; line-height: 1.8; }
.os-cta { text-align: center; padding: 80px 20px 60px; }
.os-cta h2 { font-size: clamp(28px, 3.6vw, 42px); margin: 0 0 10px; }
.os-cta p { color: var(--muted); font-size: 18px; margin: 0 0 26px; }
.os-cta .btn-ghost { color: var(--gold-deep); }
@media (max-width: 980px) {
    .os-hero-grid, .os-block, .os-block.mobile { grid-template-columns: 1fr; gap: 30px; }
    .os-block.rev .os-shot { order: 0; }
    .os-phone { width: 30%; inset-inline-start: 4px; }
    .os-strip .os-wrap { grid-template-columns: 1fr 1fr; }
    .os-type-grid { grid-template-columns: repeat(2, 1fr); }
    .os-admin-grid { grid-template-columns: 1fr; }
    .os-feat-grid { grid-template-columns: 1fr 1fr; }
    .os-block { margin-bottom: 50px; }
}
@media (max-width: 560px) { .os-feat-grid, .os-strip .os-wrap { grid-template-columns: 1fr; } .os-hero { padding: 40px 0 60px; } }

/* ===== الذكاء الصناعي ===== */
.ai-chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px; margin-bottom: 14px; border-radius: 14px; font-size: 13.5px; font-weight: 600; line-height: 1.6;
    background: rgba(255, 255, 255, .07); border: 1px solid rgba(46, 196, 182, .45); color: #DDEFEF; text-decoration: none; max-width: 100%; }
.ai-chip:hover { background: rgba(255, 255, 255, .12); }
.ai-chip b { background: var(--gold); color: var(--ink); border-radius: 999px; padding: 0 8px; font-size: 12px; }
.nav-ai { font-weight: 800; color: var(--gold-deep) !important; }
.ai-section { background: radial-gradient(1200px 500px at 50% 0, #E6F6F3, transparent), linear-gradient(180deg, #F7FBFA, #EEF6F5); }
.ai-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: -20px 0 34px; }
.ai-stats div { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 16px; text-align: center; display: grid; gap: 4px; }
.ai-stats b { font-size: 22px; color: var(--gold-deep); }
.ai-stats span { color: var(--muted); font-size: 14px; }
.ai-tabs { justify-content: center; flex-wrap: wrap; }
.ai-tabs .tab:not(.active) { color: var(--ink); background: var(--paper); border-color: var(--line); }
.ai-tabs .tab:not(.active):hover { border-color: var(--gold-deep); color: var(--gold-deep); }
.ai-gdesc { text-align: center; color: var(--muted); font-size: 17px; margin: 0 0 20px; }
.ai-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.ai-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 10px;
    transition: transform .3s, box-shadow .3s, border-color .3s; }
.ai-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(8, 27, 33, .09); border-color: #A9DFD7; }
.ai-card-head { display: flex; align-items: center; gap: 12px; }
.ai-em { width: 48px; height: 48px; flex: none; border-radius: 14px; display: grid; place-items: center; font-size: 24px; background: linear-gradient(145deg, #EAF6F4, #BFEAE4); border: 1px solid #A9DFD7; }
.ai-card h3 { margin: 0; font-size: 19px; line-height: 1.4; }
.ai-card p { margin: 0; color: var(--muted); font-size: 15px; }
.ai-ex { margin-top: auto; display: grid; gap: 8px; padding: 12px; border-radius: 14px; background: #F4F8F8; border: 1px dashed #C7DCDD; font-size: 14px; line-height: 1.7; }
.ai-ex > div { padding: 8px 12px; border-radius: 12px; }
.ai-ex span { display: block; font-size: 11.5px; font-weight: 800; opacity: .7; margin-bottom: 2px; }
.ai-ex-you { background: #fff; border: 1px solid var(--line); justify-self: start; max-width: 92%; }
.ai-ex-bot { background: linear-gradient(145deg, #0E3B43, #12505A); color: #E8F4F4; justify-self: end; max-width: 96%; }
.ai-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 30px 0 18px; }
.ai-trust span { background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 14px; }
@media (max-width: 980px) { .ai-stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .ai-cards { grid-template-columns: 1fr; } .ai-stats { margin-top: 0; } }

