/* =========================
   1) المتغيرات الأساسية
   ========================= */
:root {
    /* ألوان الهوية */
    --brand-primary: #0E7C66;
    --brand-primary-600: #0B6957;
    --brand-cta: #CC5A1E;
    --brand-cta-soft: #FFF4EC;
    --brand-cta-strong: #B34D17; /* AA-contrast orange for solid CTA buttons (white text) */
    --brand-gold: #d4af37;
    --brand-gold-dark: #b5952f;
    --bg-safe: #fffcf5;
    --success-green: #22c55e;

    /* ألوان الواجهة */
    --bg: #FFFFFF;
    --surface: #F5F7FA;
    --text: #111827;
    --text-muted: #6B7280;
    --border: #E5E7EB;

    /* قياسات */
    --radius: .75rem;
    --container-w: 1200px;
    --card-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
    --font-title: "IBM Plex Sans Arabic", "Almarai", sans-serif;
    --font-body: "Almarai", sans-serif;
}

:root[data-theme="dark"] {
    --bg: #0B0F14;
    --surface: #111827;
    --text: #F3F4F6;
    --text-muted: #9CA3AF;
    --border: #1F2937;
    --card-shadow: 0 18px 45px rgba(0, 0, 0, 0.65);
    --bg-safe: #1a1500;
    /* These had no dark value, so they kept their light (peach/white) values and
       broke the hero gradient + pillar-icon chips + solid CTAs in dark mode.
       --brand-cta-strong stays #B34D17 so white button text keeps 5.26:1 (AA). */
    --brand-cta-soft: rgba(204, 90, 30, 0.16);
    --brand-cta-strong: #B34D17;
    --muted: var(--text-muted);
}

/* =========================
   2) أساسيات
   ========================= */
html { font-size: 16px; scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body), sans-serif;
    line-height: 1.7;
}
*, *::before, *::after { box-sizing: border-box; }
a { text-decoration: none; color: inherit; transition: 0.2s; }
.container { width: min(94%, var(--container-w)); margin-inline: auto; }

/* =========================
   Global accessibility: visible keyboard focus + honor reduced motion
   ========================= */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
    outline: 3px solid var(--brand-primary);
    outline-offset: 2px;
    border-radius: .5rem;
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
        scroll-behavior: auto !important;
    }
}

/* أزرار عامة */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 0.75rem 1.5rem; border-radius: var(--radius);
    font-weight: 700; cursor: pointer; border: 1px solid transparent;
    transition: all 0.2s ease;
}
.btn-cta { background: var(--brand-cta-strong, #B34D17); color: #fff; }
.btn-cta:hover { background: #9c4214; transform: translateY(-2px); }
.btn-outline {
    background: transparent; border: 2px solid var(--brand-primary); color: var(--brand-primary);
}
.btn-outline:hover { background: var(--brand-primary); color: #fff; }

/* =========================
   3) Hero Section (التصميم القديم المستعاد)
   ========================= */
.hero { padding-block: 4rem; }
.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr; /* مساحة أكبر للنص */
    gap: 4rem;
    align-items: center;
}
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 3rem; } }

.hero-pill-badge {
    background: var(--brand-cta); color: white; padding: 6px 14px;
    border-radius: 6px; font-size: 0.85rem; font-weight: bold; margin-bottom: 1rem; display: inline-block;
}
.hero-title {
    font-family: var(--font-title);
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 800; margin-bottom: 1.25rem;
    line-height: 1.25; color: var(--text);
}
.hero-subtitle {
    font-size: 1.15rem; color: var(--text-muted); margin-bottom: 2rem; max-width: 90%;
}

/* صندوق العرض في الهيرو */
.offer-highlight-box {
    background: linear-gradient(to left, rgba(14, 124, 102, 0.04), var(--surface));
    border: 1px solid var(--border); border-right: 5px solid var(--brand-primary);
    border-radius: var(--radius); padding: 1.5rem; margin-bottom: 2rem;
}
.offer-row {
    display: flex; gap: 0.75rem; margin-bottom: 0.75rem; font-size: 1rem; align-items: center; font-weight: 500;
}
.offer-row .icon { font-size: 1.2rem; }

.hero-cta-group { display: flex; gap: 1rem; flex-wrap: wrap; }

/* بطاقة الخطوات الجانبية */
.hero-steps-card {
    background: var(--surface); padding: 2.5rem 2rem; border-radius: 1.5rem;
    box-shadow: var(--card-shadow); border: 1px solid var(--border);
}
.hero-steps-title { font-weight: 800; font-size: 1.3rem; margin-bottom: 1.5rem; color: var(--brand-primary); }
.hero-steps-list { list-style: none; padding: 0; counter-reset: steps; }
.hero-steps-list li { position: relative; padding-right: 3rem; margin-bottom: 1.5rem; }
.hero-steps-list li h3 { font-size: 1.05rem; margin: 0 0 0.4rem 0; font-weight: 700; }
.hero-steps-list li p { font-size: 0.9rem; color: var(--text-muted); margin: 0; line-height: 1.5; }
.hero-steps-list li::before {
    counter-increment: steps; content: counter(steps);
    position: absolute; right: 0; top: 0;
    width: 32px; height: 32px; background: var(--brand-cta-soft); color: var(--brand-cta);
    border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold;
    font-size: 1.1rem;
}

/* =========================
   4) Pricing Structure & Table
   ========================= */
.pricing-structure-grid {
    display: flex; align-items: flex-start; justify-content: center; gap: 1rem; margin-bottom: 3rem;
}
@media (max-width: 900px) { .pricing-structure-grid { flex-direction: column; } .pricing-plus { display: none; } }

.pricing-col { flex: 1; text-align: center; }
.wide-col { flex: 1.5; }
.pricing-plus { font-size: 2rem; color: var(--text-muted); margin-top: 3rem; }

/* تنسيق الجدول وألوان الصفوف */
.modern-hosting-table {
    width: 100%; border-collapse: separate; border-spacing: 0 8px; margin-top: 1rem;
}
.modern-hosting-table td {
    background: #fff; padding: 12px 15px; border: 1px solid var(--border); border-left: none; border-right: none;
}
.modern-hosting-table td:first-child { border-radius: 0 8px 8px 0; border-right: 1px solid var(--border); font-weight: bold; }
.modern-hosting-table td:last-child { border-radius: 8px 0 0 8px; border-left: 1px solid var(--border); color: var(--text-muted); }

/* ألوان الصفوف المحددة */
.row-standard td { background-color: #f0f9ff !important; /* أزرق سماوي باهت */ }
.row-pro td { background-color: #f5f3ff !important; /* بنفسجي باهت */ border-color: #ddd6fe !important; }
.row-ent td { background-color: #fff7ed !important; /* برتقالي باهت جداً */ border-color: #ffedd5 !important; }

/* Dark Mode fixes for rows */
:root[data-theme="dark"] .modern-hosting-table td { background: var(--surface); border-color: var(--border); }
:root[data-theme="dark"] .row-standard td { background: rgba(56, 189, 248, 0.1) !important; }
:root[data-theme="dark"] .row-pro td { background: rgba(167, 139, 250, 0.1) !important; }
:root[data-theme="dark"] .row-ent td { background: rgba(251, 146, 60, 0.1) !important; }

/* =========================
   5) Pricing Cards (3 Cards Layout & Alignment)
   ========================= */
.pricing-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 أعمدة */
    gap: 1.5rem;
    margin-top: 2rem;
}
@media (max-width: 1024px) { .pricing-grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) { .pricing-grid-3 { grid-template-columns: 1fr; } }

.pricing-card {
    background: var(--surface); border: 1px solid var(--border); border-radius: 1rem;
    padding: 2rem;
    position: relative;
    box-shadow: var(--card-shadow);
    /* Flexbox لمحاذاة الأزرار */
    display: flex;
    flex-direction: column;
    height: 100%;
}
.pricing-card--featured{
    border: 2px solid var(--brand-primary);
    background: var(--bg);
    transform: translateY(-6px); /* مميز بدون تغيير الارتفاع */
    z-index: 2;
}

.pricing-card--safe { border: 2px solid var(--brand-gold); background: var(--bg-safe); }

/* دفع الزر للأسفل دائماً */
.pricing-card .btn-cta,
.pricing-card .btn-outline {
    margin-top: auto; /* هذا السطر هو السر لمحاذاة الأزرار */
    width: 100%;
}

.pricing-header { text-align: center; margin-bottom: 1.5rem; }
.pricing-pill {
    position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
    background: var(--brand-cta); color: white; padding: 4px 12px; border-radius: 20px; font-size: 0.8rem; font-weight: 700; width: max-content;
}

/* دوائر السعر */
.split-payment { display: flex; justify-content: center; gap: 8px; margin-bottom: 1.5rem; align-items: center; }
.pay-circle {
    width: 90px; height: 90px; border-radius: 50%; border: 1px solid var(--border);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    background: var(--bg); text-align: center;
}
.pay-circle.active { border-color: var(--brand-cta); background: var(--brand-cta-soft); }
.pay-circle .price { font-weight: 800; font-size: 1.1rem; line-height: 1; }
.pay-circle .label { font-size: 0.7rem; color: var(--text-muted); }

/* السعر العادي (للبطاقة الشهرية) */
.single-price { text-align: center; margin: 1.5rem 0; }
.single-price .amount { font-size: 2.5rem; font-weight: 800; color: var(--text); }
.single-price .period { font-size: 1rem; color: var(--text-muted); }

/* القوائم */
.list-check-green { list-style: none; padding: 0; margin-top: 1.5rem; margin-bottom: 1.5rem; }
.list-check-green li { position: relative; padding-right: 1.6rem; margin-bottom: 0.6rem; font-size: 0.95rem; }
.list-check-green li::before {
    content: "✔"; position: absolute; right: 0; color: var(--success-green); font-weight: bold;
}

/* =========================
   6) FAQ & Trust
   ========================= */
.faq-section { margin-top: 4rem; margin-bottom: 4rem; }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
@media (max-width: 768px) { .faq-grid { grid-template-columns: 1fr; } }

.faq-item { background: var(--surface); padding: 1.5rem; border-radius: 1rem; border: 1px solid var(--border); }
.faq-question { font-weight: 700; margin-bottom: 0.5rem; color: var(--brand-primary); }
.faq-answer { font-size: 0.95rem; color: var(--text-muted); margin: 0; }

.section-trust { margin-top: 4rem; padding-bottom: 6rem; /* مسافة إضافية قبل الفوتر */ }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
@media (max-width: 992px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .trust-grid { grid-template-columns: 1fr; } }

.trust-card { background: var(--surface); padding: 1.5rem; border-radius: 1rem; border: 1px solid var(--border); }
.trust-card h3 { color: var(--brand-primary); font-size: 1.1rem; margin-bottom: 0.5rem; }
.trust-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }

/* ---------------------------------------------------- */
.footer-logo-company{
    height:52px;
    max-width:180px;
    opacity:.95;
    /* تجعل الأبيض يندمج مع الخلفية وتُبقي لون الشعار */
    mix-blend-mode: multiply;
}

.brand-visuals {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-weight: 600;
}

.highlighted-text {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: #006C35;
    background-color: #F5F5F5;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    font-size: 1.25rem;
    font-family: 'Segoe UI', 'Tahoma', sans-serif;
}

.flag-icon {
    width: 24px;
    height: auto;
}

/* ######################################################## */

/* =========================================================
   Header (Fixed + Layout)
   ========================================================= */
:root{
    --header-h: 78px;
}

/* حتى لا يغطي الهيدر المحتوى */
body{
    padding-top: var(--header-h);
}

/* تحسين القفز للأقسام مع هيدر ثابت */
section[id], [id]{
    scroll-margin-top: calc(var(--header-h) + 14px);
}

.site-header{
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--header-h);
    z-index: 1000;
    background: rgba(255,255,255,.88);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}

:root[data-theme="dark"] .site-header{
    background: rgba(11,15,20,.86);
}

.header-inner{
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.logo-wrapper{
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
}

.logo-img{
    height: 44px;
    width: auto;
    display: block;
}

.nav-links{
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.nav-link{
    font-weight: 800;
    color: var(--text-muted);
    padding: .55rem .6rem;
    border-radius: .7rem;
    line-height: 1;
}

.nav-link:hover{
    color: var(--text);
    background: rgba(14,124,102,.08);
}

.nav-link.active{
    color: var(--brand-primary);
    background: rgba(14,124,102,.12);
    border: 1px solid rgba(14,124,102,.18);
}

.header-actions{
    display: flex;
    align-items: center;
    gap: .75rem;
    flex: 0 0 auto;
}

.theme-btn{
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: .9rem;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text);
    cursor: pointer;
    transition: 0.2s ease;
}

.theme-btn:hover{
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(0,0,0,.10);
}

/* زر CTA في الهيدر */
.btn-sm{
    padding: .65rem 1rem;
    font-size: .95rem;
}

/* Utility: زر القائمة يظهر على الجوال */
.d-lg-none{ display: none; }
.mobile-menu-btn{
    width: 44px;
    height: 44px;
    border-radius: .95rem;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text);
    display: none;
    align-items: center;
    justify-content: center;
}

@media (max-width: 992px){
    :root{ --header-h: 70px; }
    body{ padding-top: var(--header-h); }

    .d-none-mobile{ display: none !important; }
    .d-lg-none{ display: inline-flex; }
    .mobile-menu-btn{ display: inline-flex; }

    .logo-img{ height: 38px; }

    .header-actions{ gap: .5rem; }
    .btn-sm{ padding: .6rem .85rem; font-size: .9rem; }
}

/* Preserve the full menu hit target beside the padded dark-mode logo. */
@media (max-width: 360px){
    .header-inner{ gap: .5rem; }
    .header-actions{ gap: .25rem; }
    .header-actions .btn-sm{ padding-inline: .6rem; }
}

/* =========================================================
   Pricing Cards - Same Height 100%
   ========================================================= */
.pricing-grid-3{
    align-items: stretch;
    grid-auto-rows: 1fr; /* كل الصفوف نفس الارتفاع */
}

.pricing-card{
    height: 100%;
}

/* ملاحظة: أنت استبدلت transform:scale في featured بالأعلى */


/* =========================================================
   Footer (Grid + Full Styling)
   ========================================================= */

/* لو كان الفوتر داخل <footer> أو داخل عنصر بكلاس */
footer, .site-footer{
    background: var(--surface);
    border-top: 1px solid var(--border);
    margin-top: 4rem;
}

/* الجزء العلوي (الدعم + روابط قانونية) */
.footer-grid{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
    padding: 3rem 0 2rem;
    align-items: start;
}

.footer-column strong{
    display: block;
    margin-bottom: .9rem;
    font-size: 1.05rem;
    color: var(--text);
}

.footer-column ul{
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: .65rem;
}

.footer-column .link{
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .2rem 0;
}

.footer-column .link:hover{
    color: var(--brand-primary);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* الجزء السفلي */
.footer-bottom{
    padding: 1.75rem 0 2.75rem;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    align-items: center;
    text-align: center;
}

/* شارات الثقة */
.footer-badges,
.badge-strip{
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
    justify-content: center;
    align-items: center;
}

.badge{
    background: var(--bg);
    border: 1px solid var(--border);
    padding: .42rem .8rem;
    border-radius: 999px;
    font-weight: 800;
    font-size: .85rem;
    color: var(--text-muted);
}

:root[data-theme="dark"] .badge{
    background: rgba(255,255,255,.04);
}

/* قسم العلامة التجارية */
.footer-brand-section{
    display: flex;
    flex-direction: column;
    gap: .8rem;
    align-items: center;
}

.brand-visuals{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: .75rem;
    font-weight: 700;
}

/* النص المميز (مع دعم الدارك مود لأنك تستخدم ألوان ثابتة) */
:root[data-theme="dark"] .highlighted-text{
    background-color: rgba(255,255,255,.06);
    color: #9be7d1;
    box-shadow: none;
}

/* موقع المنشأة */
.location-info{
    color: var(--text-muted);
    font-size: .95rem;
}

/* معلومات قانونية */
.legal-info{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    font-size: .9rem;
    color: var(--text-muted);
}

.legal-item{
    color: var(--text);
    background: rgba(14,124,102,.06);
    border: 1px solid rgba(14,124,102,.14);
    padding: .35rem .6rem;
    border-radius: .65rem;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
}

.legal-ic{
    width: 15px;
    height: 15px;
    flex: none;
    color: var(--brand-primary);
    opacity: .9;
}

.icon-btn .wa-ic{ color: #25D366; flex: none; }

:root[data-theme="dark"] .legal-item{
    background: rgba(14,124,102,.12);
    border-color: rgba(14,124,102,.25);
}

.separator{
    opacity: .45;
}

/* شعار المؤسسة داخل الفوتر */
.footer-logo-company{
    height: 46px;
    max-width: 200px;
    opacity: .95;
}

/* لأن mix-blend-mode قد يخفي الشعار في الدارك مود */
:root[data-theme="dark"] .footer-logo-company{
    mix-blend-mode: normal;
    filter: brightness(1.15) contrast(1.05);
}

/* ملاحظة أوراكل */
.footer-note{
    margin: 0;
    color: var(--text-muted);
    font-size: .85rem;
    line-height: 1.7;
    max-width: 980px;
}

/* Responsive */
@media (max-width: 768px){
    .footer-grid{
        grid-template-columns: 1fr;
        padding: 2rem 0 1.5rem;
    }

    .legal-info{
        gap: .45rem;
    }
}

/* =========================
   Lists under MVP / Modules
   ========================= */
.mini-feature-list{
    list-style: none;
    padding: 0;
    margin: 1rem auto 0;
    display: inline-block;     /* يجعل القائمة بعرض محتواها وتظهر جميلة داخل العمود */
    text-align: right;
}

.mini-feature-list li{
    position: relative;
    padding-right: 1.6rem;
    margin-bottom: .55rem;
    font-weight: 600;
    color: var(--text);
    font-size: .95rem;
}

.mini-feature-list li::before{
    content: "•";
    position: absolute;
    right: 0;
    top: 0;
    color: var(--brand-primary);
    font-weight: 900;
}

/* =========================
   Footer Top Columns Spacing
   (Support + Legal Links)
   ========================= */
.footer-grid{
    display: flex;                  /* بدل grid لتوزيع عادل */
    justify-content: space-between; /* واحد يمين وواحد يسار بمسافات عادلة */
    align-items: flex-start;
    gap: 3rem;
    padding: 3rem 0 2rem;
}

.footer-column{
    flex: 0 1 420px;     /* كل عمود له مساحة محترمة بدون ما يتزاحم */
}

.footer-column ul{
    margin: 0;
    padding: 0;
}

/* على الجوال: يرجعوا تحت بعض */
@media (max-width: 768px){
    .footer-grid{
        flex-direction: column;
        gap: 1.5rem;
        padding: 2rem 0 1.5rem;
    }
    .footer-column{ flex-basis: auto; }
}

.list-check-green li.is-disabled{
    text-decoration: line-through;
    color: var(--text-muted);
}

.list-check-green li.is-disabled::before{
    content: "";
    display: none;
}

/* =========================================================
   Footer top columns: force right/left distribution (RTL friendly)
   ========================================================= */
.footer-grid{
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    align-items: start !important;
    gap: 0 !important;
    padding: 3rem 0 2rem !important;
}

/* كل عمود بعرضه الطبيعي لكن متشبّث بطرفه */
.footer-grid .footer-column{
    width: 100% !important;
    max-width: 420px;
    text-align: center;
}

/* في RTL: أول عمود (الدعم) إلى اليمين، الثاني (روابط قانونية) إلى اليسار */
.footer-grid .footer-column:first-child{
    justify-self: end !important;
}
.footer-grid .footer-column:last-child{
    justify-self: start !important;
}

/* Mobile */
@media (max-width: 768px){
    .footer-grid{
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
        padding: 2rem 0 1.5rem !important;
    }
    .footer-grid .footer-column{
        max-width: none;
        justify-self: stretch !important;
    }
}

.deal-note{
    text-align: center;
    font-weight: 900;
    margin: -0.6rem 0 1rem;
    color: var(--brand-primary);
    background: rgba(14,124,102,.08);
    border: 1px solid rgba(14,124,102,.18);
    padding: .45rem .75rem;
    border-radius: 999px;
    display: inline-block;
}

/* =========================
   Dark Mode Fix: Split Payment (100/800)
   ========================= */
:root[data-theme="dark"] .pay-circle{
    background: rgba(255,255,255,.03);
    border-color: var(--border);
}

:root[data-theme="dark"] .pay-circle .price{
    color: var(--text);
}

:root[data-theme="dark"] .pay-circle .label{
    color: var(--text-muted);
}

/* الأهم: الدائرة النشطة (الآن 100) */
:root[data-theme="dark"] .pay-circle.active{
    background: rgba(204,90,30,.22) !important;
    border-color: rgba(204,90,30,.60) !important;
    box-shadow: 0 12px 30px rgba(0,0,0,.35);
}

:root[data-theme="dark"] .pay-circle.active .price{
    color: #fff !important;   /* يجعل 100 يظهر بوضوح */
}

:root[data-theme="dark"] .pay-circle.active .label{
    color: rgba(255,255,255,.85) !important;
}

/* =========================
   Dark Mode Fix: Header Logo Visibility
   ========================= */
:root[data-theme="dark"] .logo-wrapper{
    padding: .25rem .55rem;
    border-radius: .9rem;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.06);
}

:root[data-theme="dark"] .logo-img{
    filter: brightness(1.35) contrast(1.15) drop-shadow(0 10px 26px rgba(0,0,0,.55));
}

.vat-note{
    margin-top: .75rem;
    font-size: .9rem;
    color: var(--text-muted);
}

.vat-note--bottom{
    text-align: center;
    margin-top: 1.25rem;
}

.vat-note--inline{
    text-align: center;
    margin-top: .75rem;
}

:root[data-theme="dark"] .footer-logo-company{
    mix-blend-mode: normal !important;
    background: rgba(255,255,255,.92);
    padding: .35rem .55rem;
    border-radius: .65rem;
    opacity: 1 !important;
    filter: none !important;
    box-shadow: 0 10px 26px rgba(0,0,0,.45);
}

/* =========================================================
   Hero Trust Card - Marketing (Compact)
   ========================================================= */
.hero-visual{
    display: grid;
    gap: 1.25rem;
}

.hero-trust-card--marketing{
    background: linear-gradient(to left, rgba(14,124,102,.06), var(--surface));
    border: 1px solid var(--border);
    border-right: 4px solid var(--brand-primary);
    border-radius: 1.5rem;
    box-shadow: var(--card-shadow);
    padding: 1.5rem 1.6rem;
}

.hero-trust-card--marketing .trust-head{
    display: flex;
    align-items: center;
    gap: .9rem;
    margin-bottom: 1.1rem;
}

.hero-trust-card--marketing .trust-icon{
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(14,124,102,.12);
    border: 1px solid rgba(14,124,102,.22);
    font-size: 1.25rem;
}

.hero-trust-card--marketing .trust-title{
    margin: 0;
    font-weight: 950;
    font-size: 1.08rem;
    color: var(--text);
}

.hero-trust-card--marketing .trust-subtitle{
    margin: .2rem 0 0;
    font-size: .92rem;
    color: var(--text-muted);
}

.trust-bullets{
    display: grid;
    gap: .85rem;
}

.trust-bullet{
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: .75rem;
    align-items: start;
    padding: .85rem .9rem;
    border-radius: 1rem;
    background: rgba(255,255,255,.55);
    border: 1px solid rgba(0,0,0,.04);
}

:root[data-theme="dark"] .trust-bullet{
    background: rgba(255,255,255,.04);
    border-color: rgba(255,255,255,.06);
}

.trust-bullet .t-ico{
    width: 34px;
    height: 34px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(204,90,30,.12);
    border: 1px solid rgba(204,90,30,.22);
    font-size: 1rem;
    margin-top: .1rem;
}

.trust-bullet strong{
    display: block;
    font-weight: 900;
    color: var(--text);
    margin-bottom: .15rem;
    font-size: .98rem;
}

.trust-bullet p{
    margin: 0;
    color: var(--text-muted);
    font-size: .9rem;
    line-height: 1.55;
}

.hero-trust-card--marketing .trust-note{
    margin-top: 1.05rem;
    padding-top: .95rem;
    border-top: 1px dashed var(--border);
    font-size: .85rem;
    color: var(--text-muted);
}

/* Dark Mode Refinement */
:root[data-theme="dark"] .hero-trust-card--marketing{
    background: linear-gradient(to left, rgba(14,124,102,.12), rgba(17,24,39,.65));
    border-right-color: rgba(14,124,102,.55);
}

:root[data-theme="dark"] .hero-trust-card--marketing .trust-icon{
    background: rgba(14,124,102,.18);
    border-color: rgba(14,124,102,.30);
}

/* =========================
   Header Pro Enhancements
   ========================= */
.icon-btn{
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .55rem .8rem;
    border-radius: .95rem;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text);
    font-weight: 800;
    cursor: pointer;
    transition: .2s ease;
}

.icon-btn:hover{
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(0,0,0,.10);
}

.icon-btn .txt{ font-size: .9rem; }
.icon-btn .icon{ font-size: 1rem; }

:root[data-theme="dark"] .icon-btn{
    background: rgba(255,255,255,.04);
    border-color: rgba(255,255,255,.06);
}

/* CTA badge */
.cta-with-badge{
    gap: .55rem;
    padding-inline: 1rem;
}

.cta-badge{
    background: rgba(255,255,255,.18);
    border: 1px solid rgba(255,255,255,.28);
    color: #fff;
    padding: .2rem .55rem;
    border-radius: 999px;
    font-weight: 900;
    font-size: .75rem;
    white-space: nowrap;
}

/* scroll feel */
.site-header.is-scrolled{
    box-shadow: 0 18px 45px rgba(0,0,0,.20);
}
.site-header.is-scrolled .logo-img{
    height: 40px;
}

/* =========================
   Mobile Drawer
   ========================= */
.no-scroll{ overflow: hidden; }

.mobile-drawer{
    position: fixed;
    inset: 0;
    z-index: 1200;
    height: 100dvh;
    pointer-events: none;
    visibility: hidden;
    opacity: 0;
    transition: opacity .2s ease, visibility 0s linear .2s;
}

.mobile-drawer.is-open{
    pointer-events: auto;
    visibility: visible;
    opacity: 1;
    transition-delay: 0s;
}

.mobile-drawer__overlay{
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.45);
}

.mobile-drawer__panel{
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: min(92vw, 360px);
    background: var(--bg);
    border-left: 1px solid var(--border);
    box-shadow: -20px 0 50px rgba(0,0,0,.25);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-drawer__panel > *{
    flex-shrink: 0;
}

.mobile-drawer__top{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-drawer__title{
    font-weight: 900;
    color: var(--text);
}

.mobile-drawer__close{
    width: 42px;
    height: 42px;
    border-radius: .9rem;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
    font-size: 1.4rem;
    cursor: pointer;
}

.mobile-nav{
    display: grid;
    gap: .5rem;
}

.mobile-nav__link{
    padding: .85rem 1rem;
    border-radius: 1rem;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
    font-weight: 900;
}

.mobile-nav__link:hover{
    background: rgba(14,124,102,.10);
    border-color: rgba(14,124,102,.25);
    color: var(--brand-primary);
}

.mobile-drawer__cta .btn{
    width: 100%;
}

/* =========================
   Signup (Step1) - Modern UI
   ========================= */

.signup-page .section-header--center {
    text-align: center;
    margin-bottom: 1.5rem;
}

.signup-layout {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 1.5rem;
    align-items: start;
}

@media (max-width: 900px) {
    .signup-layout {
        grid-template-columns: 1fr;
    }
}

.signup-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 1.25rem;
    box-shadow: var(--card-shadow);
    padding: 1.5rem;
}

.signup-summary-card .summary-title {
    font-weight: 800;
    margin-bottom: .5rem;
}

.signup-summary-card .summary-plan {
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.summary-box {
    background: rgba(14, 124, 102, 0.04);
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 1rem;
}

:root[data-theme="dark"] .summary-box {
    background: rgba(14, 124, 102, 0.12);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    gap: .75rem;
    padding: .4rem 0;
    font-size: .95rem;
}

.summary-row .label {
    color: var(--text-muted);
}

.summary-total {
    margin-top: .5rem;
    padding-top: .75rem;
    border-top: 1px dashed var(--border);
    font-size: 1rem;
}

.summary-total .value {
    font-weight: 900;
}

.signup-note-muted {
    margin-top: .9rem;
    font-size: .9rem;
    color: var(--text-muted);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

@media (max-width: 700px) {
    .form-grid { grid-template-columns: 1fr; }
}

.form-field label {
    display: block;
    font-weight: 700;
    margin-bottom: .35rem;
}

.form-field input {
    width: 100%;
    height: 44px;
    padding: 0 .9rem;
    border: 1px solid var(--border);
    border-radius: .9rem;
    background: var(--bg);
    color: var(--text);
    outline: none;
    transition: border-color .15s ease, box-shadow .15s ease, transform .1s ease;
}

.form-field input:focus {
    border-color: rgba(14, 124, 102, .55);
    box-shadow: 0 0 0 4px rgba(14, 124, 102, .12);
}

.text-danger {
    color: #ef4444;
    font-size: .85rem;
}

.signup-actions {
    margin-top: 1.25rem;
    display: flex;
    gap: .75rem;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.signup-actions .btn {
    min-height: 46px;
}

.btn[disabled] {
    opacity: .55;
    cursor: not-allowed;
    transform: none !important;
}

.agree-box {
    margin-top: 1rem;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: 1rem;
    background: rgba(204, 90, 30, 0.06);
}

:root[data-theme="dark"] .agree-box {
    background: rgba(204, 90, 30, 0.12);
}

.agree-row {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
}

.agree-row input[type="checkbox"] {
    margin-top: .25rem;
    width: 18px;
    height: 18px;
    accent-color: var(--brand-primary);
}

.agree-text {
    font-size: .95rem;
    line-height: 1.7;
}

.agree-text a {
    color: var(--brand-primary);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.agree-hint {
    margin-top: .35rem;
    color: var(--text-muted);
    font-size: .85rem;
}

/* ألوان عناوين ملخص الفاتورة */
.summary-row .label-subtotal { color: var(--brand-primary); font-weight: 700; }
.summary-row .label-vat      { color: var(--brand-cta);     font-weight: 700; }
.summary-row .label-total    { color: var(--text);         font-weight: 900; }

/* نفس تصميم input للـ select */
.form-field select {
    width: 100%;
    height: 44px;
    padding: 0 .9rem;
    border: 1px solid var(--border);
    border-radius: .9rem;
    background: var(--bg);
    color: var(--text);
    outline: none;
    transition: border-color .15s ease, box-shadow .15s ease, transform .1s ease;
}

.form-field select:focus {
    border-color: rgba(14, 124, 102, .55);
    box-shadow: 0 0 0 4px rgba(14, 124, 102, .12);
}

.field-hint {
    margin-top: .45rem;
    font-size: .88rem;
    color: var(--text-muted);
}

.field-hint--important {
    color: var(--text);
    background: rgba(204, 90, 30, 0.10);
    border: 1px solid rgba(204, 90, 30, 0.25);
    padding: .65rem .8rem;
    border-radius: .9rem;
}

:root[data-theme="dark"] .field-hint--important {
    background: rgba(204, 90, 30, 0.18);
    border-color: rgba(204, 90, 30, 0.30);
}

.hint-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-cta);
    color: #fff;
    font-weight: 900;
    font-size: .75rem;
    padding: .15rem .55rem;
    border-radius: 999px;
    margin-left: .5rem; /* مناسب للـ RTL */
}

.field-hint{
    margin-top: .35rem;
    font-size: .85rem;
    color: var(--text-muted);
}

/* ###################################### */
/* =========================
   PRICING GRID
========================= */
.pricing-grid-3{
    display:grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 18px;
    align-items: stretch;
}

@media (max-width: 1100px){
    .pricing-grid-3{ grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 720px){
    .pricing-grid-3{ grid-template-columns: 1fr; }
}

/* =========================
   CARD BASE
========================= */
.pricing-card{
    position: relative;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 22px;
    padding: 22px 22px 18px;
    box-shadow: 0 14px 30px rgba(15, 23, 42, .06);
    display: flex;
    flex-direction: column;
    min-height: 100%;
    overflow: hidden;
}

.pricing-card:hover{
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, .08);
}

/* شريط خفيف أعلى البطاقة (يعطي Premium Feel) */
.pricing-card::before{
    content:"";
    position:absolute;
    inset:0 0 auto 0;
    height: 6px;
    background: rgba(15, 23, 42, .06);
}

/* =========================
   VARIANTS
========================= */
.pricing-card--featured{
    border-color: rgba(14, 116, 144, .35);
    box-shadow: 0 18px 46px rgba(14, 116, 144, .10);
}
.pricing-card--featured::before{
    background: linear-gradient(90deg, rgba(14,116,144,.85), rgba(34,197,94,.65));
}

.pricing-card--safe{
    background: #fffaf0;
    border-color: rgba(180, 83, 9, .20);
}
.pricing-card--safe::before{
    background: linear-gradient(90deg, rgba(180,83,9,.85), rgba(245,158,11,.65));
}

/* بطاقة غير متاحة */
.pricing-card .btn.is-disabled,
.pricing-card .is-disabled{
    opacity: .55;
    pointer-events: none;
    cursor: not-allowed;
}

/* =========================
   PILL
========================= */
.pricing-pill{
    position:absolute;
    top: 12px;
    left: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 700;
    background: rgba(2, 132, 199, .10);
    color: rgba(2, 132, 199, 1);
    border: 1px solid rgba(2, 132, 199, .18);
}

.pricing-pill--muted{
    background: rgba(148,163,184,.16);
    color: rgba(71,85,105,1);
    border-color: rgba(148,163,184,.25);
}

/* =========================
   HEADER / TITLES
========================= */
.pricing-header{
    padding-top: 14px; /* لأن عندنا pill أعلى */
    text-align: center;
}

.pricing-header h3{
    margin: 8px 0 6px;
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: .2px;
}

.pricing-header p{
    margin: 0;
    color: rgba(100,116,139,1);
    font-size: .92rem;
}

/* =========================
   PRICE
========================= */
.single-price{
    margin-top: 16px;
    text-align: center;
    padding: 14px 12px;
    border-radius: 16px;
    background: rgba(2, 6, 23, .02);
    border: 1px solid rgba(2, 6, 23, .06);
}

.single-price .amount{
    font-size: 2.2rem;
    font-weight: 900;
    line-height: 1;
}

.single-price .period{
    display:block;
    margin-top: 8px;
    color: rgba(71,85,105,1);
    font-weight: 600;
}

/* =========================
   SPLIT PAYMENT (VIP)
========================= */
.split-payment{
    margin: 18px 0 10px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap: 12px;
}

.pay-circle{
    width: 92px;
    height: 92px;
    border-radius: 999px;
    border: 1px solid rgba(15,23,42,.10);
    background: #fff;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-align:center;
    box-shadow: 0 10px 20px rgba(15,23,42,.05);
}

.pay-circle .label{
    font-size: .78rem;
    color: rgba(100,116,139,1);
    font-weight: 700;
    margin-bottom: 4px;
}

.pay-circle .price{
    font-size: 1.15rem;
    font-weight: 900;
    line-height: 1.1;
}

.pay-circle .sub{
    margin-top: 4px;
    font-size: .72rem;
    color: rgba(100,116,139,1);
}

.pay-circle.active{
    border-color: rgba(180,83,9,.35);
    box-shadow: 0 14px 26px rgba(180,83,9,.12);
    background: rgba(180,83,9,.06);
}

.plus-sign{
    font-weight: 900;
    opacity: .65;
}

/* =========================
   BREAKDOWN BOX
========================= */
.price-breakdown{
    margin: 14px 0 16px;
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(15,23,42,.02);
    border: 1px solid rgba(15,23,42,.06);
}

.price-breakdown .row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding: 7px 0;
    border-bottom: 1px dashed rgba(15,23,42,.10);
    font-size: .95rem;
}
.price-breakdown .row:last-child{ border-bottom: 0; }
.price-breakdown .row.total{ font-weight: 900; }

.price-breakdown .k-sub{ color:#0f766e; font-weight:800; }
.price-breakdown .k-vat{ color:#c2410c; font-weight:800; }
.price-breakdown .k-total{ color:#111827; font-weight:900; }

.price-breakdown .v{ font-variant-numeric: tabular-nums; }

/* =========================
   DEAL NOTE / INFO CHIP
========================= */
.deal-note{
    margin: 10px 0 14px;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(16,185,129,.08);
    border: 1px solid rgba(16,185,129,.18);
    color: rgba(13,148,136,1);
    font-weight: 750;
    text-align: center;
    line-height: 1.6;
}

/* =========================
   FEATURES LIST
========================= */
.list-check-green{
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
}

.list-check-green li{
    display:flex;
    gap: 10px;
    align-items:flex-start;
    padding: 8px 0;
    border-bottom: 1px solid rgba(15,23,42,.06);
    color: rgba(30,41,59,1);
    line-height: 1.7;
}
.list-check-green li:last-child{ border-bottom: 0; }

.list-check-green li::before{
    content: "✓";
    width: 22px;
    height: 22px;
    border-radius: 999px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    font-weight: 900;
    color: #fff;
    background: rgba(34,197,94,1);
    box-shadow: 0 8px 16px rgba(34,197,94,.18);
    margin-top: 2px;
}

.list-check-green li.is-disabled{
    opacity: .55;
}
.list-check-green li.is-disabled::before{
    content:"—";
    background: rgba(148,163,184,1);
    box-shadow: none;
}

/* =========================
   CTA BUTTON
========================= */
.pricing-card .btn{
    margin-top: auto; /* يخلي الزر دائمًا في أسفل البطاقة */
    width: 100%;
    border-radius: 14px;
    padding: 12px 14px;
    font-weight: 900;
}

/* ====== Helpers ====== */
.muted{
    color: rgba(100,116,139,1);
    font-weight: 600;
    font-size: .9em;
}

/* ====== Monthly (Coming Soon) Variant ====== */
.pricing-card--monthly{
    background: rgba(248,250,252,1);
    border-color: rgba(148,163,184,.20);
}
.pricing-card--monthly::before{
    background: rgba(148,163,184,.35);
}

/* يعطي إحساس أنها "غير متاحة" بدون ما تصير باهتة جداً */
.pricing-card--monthly .single-price,
.pricing-card--monthly .price-breakdown{
    background: rgba(2,6,23,.015);
}

/* ====== SAFE Gold Styles (بدون inline) ====== */
.pricing-pill--safe{
    background: var(--brand-gold);
    color: #fff;
    border-color: rgba(255,255,255,.25);
}

.amount--gold{
    color: var(--brand-gold-dark);
}

.btn--gold{
    background: var(--brand-gold);
    border-color: var(--brand-gold);
    color: #fff;
}
.btn--gold:hover{
    filter: brightness(.95);
}

/* ====== Price breakdown labels (تأكيد الألوان) ====== */
.price-breakdown .k{
    font-weight: 800;
}
.price-breakdown .k-sub{ color:#0f766e; }
.price-breakdown .k-vat{ color:#c2410c; }
.price-breakdown .k-total{ color:#111827; }

/* ====== ضبط بسيط للـ Pill في RTL (اختياري) ====== */
.pricing-pill{
    left: auto;
    right: 12px;
}

/* ====== Center Pills (Top badges) ====== */
.pricing-card{
    position: relative;
    padding-top: 58px; /* مساحة للشارة بالأعلى */
}

.pricing-pill{
    position: absolute;
    top: 16px;
    left: 50%;
    right: auto !important;          /* يلغي أي RTL سابق */
    transform: translateX(-50%);
    z-index: 2;
    white-space: nowrap;
    text-align: center;
    box-shadow: 0 6px 18px rgba(2,6,23,.08);
}

/* ====== Fix Check Icon Alignment (RTL friendly) ====== */
.list-check-green li{
    position: relative;
    padding-right: 34px;      /* مساحة للأيقونة */
    line-height: 1.9;
}

.list-check-green li::before{
    right: 0;
    top: 0.95em;              /* منتصف السطر الأول */
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
}

/* العنصر المعطل */
.list-check-green li.is-disabled{
    opacity: .55;
}
.list-check-green li.is-disabled::before{
    filter: grayscale(1);
    opacity: .65;
}

/* ====== Pro Layout: Keep CTAs aligned ====== */
.pricing-card{
    display: flex;
    flex-direction: column;
}

.pricing-card .list-check-green{
    margin-top: 18px;
    margin-bottom: 18px;
}

.pricing-card .btn{
    margin-top: auto; /* يدفع الزر لأسفل البطاقة */
}

/* ====== Price breakdown polish ====== */
.price-breakdown{
    border: 1px solid rgba(148,163,184,.22);
    background: rgba(248,250,252,.75);
}

.price-breakdown .row{
    padding: 10px 12px;
}

.price-breakdown .row + .row{
    border-top: 1px dashed rgba(148,163,184,.22);
}

.price-breakdown .row.total{
    border-top: 1px solid rgba(148,163,184,.28);
    background: rgba(2,6,23,.02);
}

.price-breakdown .v{
    font-variant-numeric: tabular-nums; /* محاذاة أرقام أجمل */
}

/* ====== Hover polish ====== */
.pricing-card{
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.pricing-card:hover{
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(2,6,23,.10);
    border-color: rgba(148,163,184,.35);
}

/* لا نرفع البطاقة المعطلة (monthly) كثير */
.pricing-card--monthly:hover{
    transform: none;
    box-shadow: 0 12px 26px rgba(2,6,23,.06);
}

/* ===== Pay Now Block (Founders card) ===== */
.pay-now{
    padding: 14px 14px;
    border: 1px solid rgba(148,163,184,.22);
    background: rgba(248,250,252,.75);
    border-radius: 14px;
    text-align: center;
    margin-top: 8px;
}
.pay-now-amount{
    font-size: 28px;
    font-weight: 800;
    letter-spacing: .2px;
}
.pay-now-sub{
    margin-top: 6px;
    font-size: .92rem;
    color: var(--text-muted);
}

/* ===== Tax details (collapsible) ===== */
.tax-details{
    margin-top: 10px;
}
.tax-details summary{
    cursor: pointer;
    user-select: none;
    font-size: .92rem;
    color: var(--text-muted);
    display: inline-flex;
    gap: 8px;
    align-items: center;
}
.tax-details summary::-webkit-details-marker{ display:none; }
.tax-details summary::before{
    content: "▾";
    font-size: .9rem;
    opacity: .8;
}
.tax-details[open] summary::before{ content: "▴"; }

.price-breakdown--compact{
    margin-top: 10px;
    font-size: .92rem;
    opacity: .92;
}

/* ===== Value band (SAFE justification) ===== */
.value-band{
    margin: 14px 0 10px;
    padding: 12px 12px;
    border-radius: 14px;
    border: 1px solid rgba(16,185,129,.22);
    background: rgba(16,185,129,.06);
    color: #0f766e;
    font-size: .95rem;
    line-height: 1.7;
}

/* ===== Scarcity note ===== */
.scarcity-note{
    margin-top: 10px;
    font-size: .92rem;
    color: var(--text-muted);
    text-align: center;
}

/* =========================
   Theme Tokens (Light)
   ========================= */
:root{
    --bg: #ffffff;
    --surface: #ffffff;
    --surface-2: #f6f8fb;
    --text: #0f172a;
    --muted: #64748b;
    --border: rgba(15, 23, 42, .10);
    --divider: rgba(15, 23, 42, .08);
    --shadow: 0 10px 30px rgba(15, 23, 42, .08);

    --success: #16a34a;
    --warning: #f59e0b;
    --danger: #ef4444;

    --pill-bg: #eef2ff;
    --pill-text: #334155;

    --card-safe-bg: #fff7e6;
    --card-monthly-bg: #f8fafc;

    --btn-outline-border: rgba(15, 23, 42, .18);
    --btn-outline-text: #0f172a;

    --muted-strong: #475569;
}

/* =========================
   Dark Mode Override (جذري)
   ✅ يدعم: data-theme="dark"
   ✅ ويدعم: body.theme-dark
   ✅ ويدعم: prefers-color-scheme
   ========================= */
@media (prefers-color-scheme: dark){
    :root{
        --bg: #0b1220;
        --surface: #0f172a;
        --surface-2: #111c33;
        --text: #e5e7eb;
        --muted: #a7b0bf;
        --muted-strong: #c1c7d1;
        --border: rgba(255,255,255,.10);
        --divider: rgba(255,255,255,.08);
        --shadow: 0 18px 55px rgba(0,0,0,.45);

        --pill-bg: rgba(255,255,255,.08);
        --pill-text: #e5e7eb;

        --card-safe-bg: rgba(245, 158, 11, .10);
        --card-monthly-bg: rgba(255,255,255,.04);

        --btn-outline-border: rgba(255,255,255,.18);
        --btn-outline-text: #e5e7eb;

        /* System-dark (no toggle / no-JS) parity for the marketing accents,
           so the hero gradient, pillar chips and muted text don't fall back
           to their light values on a dark page. */
        --brand-cta-soft: rgba(204,90,30,.16);
        --brand-cta-strong: #B34D17;
        --text-muted: #9CA3AF;
    }
}

/* إذا عندك Toggle يغيّر data-theme أو class */
html[data-theme="dark"],
body.theme-dark{
    --bg: #0b1220;
    --surface: #0f172a;
    --surface-2: #111c33;
    --text: #e5e7eb;
    --muted: #a7b0bf;
    --muted-strong: #c1c7d1;
    --border: rgba(255,255,255,.10);
    --divider: rgba(255,255,255,.08);
    --shadow: 0 18px 55px rgba(0,0,0,.45);

    --pill-bg: rgba(255,255,255,.08);
    --pill-text: #e5e7eb;

    --card-safe-bg: rgba(245, 158, 11, .10);
    --card-monthly-bg: rgba(255,255,255,.04);

    --btn-outline-border: rgba(255,255,255,.18);
    --btn-outline-text: #e5e7eb;
}

/* =========================
   Pricing Cards – Apply Tokens
   ========================= */
.pricing-grid-3{
    background: transparent;
}

.pricing-card{
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.pricing-card .pricing-header p,
.pricing-card .muted,
.pricing-card .vat-mini-note,
.pricing-card .cta-under-note{
    color: var(--muted);
}

/* بطاقات خاصة */
.pricing-card--monthly{ background: var(--card-monthly-bg); }
.pricing-card--safe{ background: var(--card-safe-bg); }

/* الفواصل داخل البطاقة */
.pricing-card hr,
.pricing-card .divider,
.pricing-card .row,
.pricing-card .list-sep{
    border-color: var(--divider);
}

/* الـ Pills (قريباً/الأكثر طلباً/حصري) */
.pricing-pill{
    background: var(--pill-bg);
    color: var(--pill-text);
    border: 1px solid var(--border);
}

/* الأرقام الرئيسية */
.single-price .amount,
.pay-now-amount,
.pay-circle .price{
    color: var(--text);
}

/* قائمة المميزات: نضمن ظهور النص في الدارك */
.list-check-green li{
    color: var(--text);
}

/* عنصر غير متاح */
.list-check-green .is-disabled{
    color: color-mix(in srgb, var(--muted) 75%, transparent);
    opacity: .75;
    text-decoration: line-through;
}

/* صناديق التوضيح */
.value-band,
.pay-now,
.deal-note{
    background: var(--surface-2);
    border: 1px solid var(--border);
    color: var(--muted-strong);
}

/* الأزرار */
.btn.btn-outline{
    background: transparent;
    border: 1px solid var(--btn-outline-border);
    color: var(--btn-outline-text);
}

.btn.is-disabled,
.btn[aria-disabled="true"]{
    opacity: .55;
    cursor: not-allowed;
}

/* ملاحظة: لو عندك plus-sign أو رموز صغيرة اختفت */
.plus-sign{
    color: var(--muted);
}


/* =========================
   Enterprise band — full-width horizontal card below the 3 public pricing cards
   (GO-WEB2-PUBLIC-PRICING-FILTER-AND-LAYOUT-FIX). Compound selector beats .pricing-card.
   ========================= */
.pricing-card.pricing-card--enterprise{
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
    padding-top: 22px; /* no top badge here — cancel the badge spacing */
    text-align: right;
}
.pricing-card.pricing-card--enterprise .pe-info{ flex: 1 1 240px; }
.pricing-card.pricing-card--enterprise .pe-info h3{ margin: 0 0 .35rem; }
.pricing-card.pricing-card--enterprise .pe-info p{ margin: 0; color: var(--text-muted); }
.pricing-card.pricing-card--enterprise .pe-features{ flex: 1 1 260px; margin: 0; }
.pricing-card.pricing-card--enterprise .pe-cta{ flex: 0 0 auto; margin: 0; align-self: center; }
@media (max-width: 720px){
    .pricing-card.pricing-card--enterprise{ flex-direction: column; align-items: stretch; text-align: center; }
    .pricing-card.pricing-card--enterprise .pe-cta{ align-self: stretch; }
}

/* =========================================================
   Featured plan emphasis — final word over the earlier conflicting
   .pricing-card--featured rules (the second one had dropped the lift and
   recolored the border to cyan). Compound selector + source order win.
   ========================================================= */
.pricing-card.pricing-card--featured{
    border: 2px solid var(--brand-primary);
    transform: translateY(-8px);
}
.pricing-card.pricing-card--featured:hover{
    transform: translateY(-11px);
}

/* "الأكثر شيوعًا" pill — was undefined, so it fell back to a pale indigo chip.
   Make it a centered, brand-colored badge that actually reads as "most popular". */
.pricing-pill.pricing-pill--center{
    background: var(--brand-cta-strong, #B34D17);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 6px 18px rgba(204, 90, 30, .28);
}

/* Aligned price numerals (no jitter between cards) */
.single-price .amount{ font-variant-numeric: tabular-nums; }

/* =========================================================
   Theme toggle — show the icon for the mode you'll switch TO,
   so the control communicates current state (see site.js aria-pressed).
   ========================================================= */
.theme-btn .theme-icon{ display: none; }
.theme-btn .moon-icon{ display: block; }                       /* light mode → offer dark (moon) */
:root[data-theme="dark"] .theme-btn .moon-icon{ display: none; }
:root[data-theme="dark"] .theme-btn .sun-icon{ display: block; } /* dark mode → offer light (sun) */
