/* ============================================
   RESET & BASE
============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: var(--bg-body, #f0f2f5);
    font-family: inherit;
    color: var(--text-main, #1a2a4a);
}

/* ==========================================================================
   OFFERS - COMPLETE DARK MODE SYSTEM
   ========================================================================== */
[data-theme="dark"] body {
    background: var(--navy-deep, #06102d);
    color: var(--text-main, #f0f4fc);
}

[data-theme="dark"] .hero {
    background-color: #06102d;
    background-image: 
        radial-gradient(circle at 80% 30%, rgba(201, 151, 56, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(17, 38, 92, 0.4) 0%, transparent 50%),
        url('../photos/Container.png');
    background-blend-mode: overlay;
}

[data-theme="dark"] .hero-text {
    background-color: var(--brand-red, #c99738);
    color: #ffffff;
}

[data-theme="dark"] .herotext h1 {
    color: #ffffff;
}

[data-theme="dark"] .herotext p {
    color: #a6b7d8;
}

[data-theme="dark"] .pricing-section {
    background-color: var(--navy-deep, #06102d);
}

[data-theme="dark"] .pricing-card {
    background: linear-gradient(180deg, #0e1e4a 0%, #071330 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
    color: #f0f4fc;
}

[data-theme="dark"] .pricing-card:hover {
    border-color: rgba(201, 151, 56, 0.4);
    box-shadow: 0 24px 55px rgba(0, 0, 0, 0.6);
}

[data-theme="dark"] .pricing-card h2,
[data-theme="dark"] .pricing-card .price {
    color: #ffffff;
}

[data-theme="dark"] .pricing-card .desc,
[data-theme="dark"] .pricing-card .period {
    color: #a6b7d8;
}

[data-theme="dark"] .popular-card {
    background: linear-gradient(180deg, #13275c 0%, #0b1a40 100%) !important;
    border: 2px solid var(--brand-red, #c99738) !important;
    box-shadow: 0 20px 50px rgba(201, 151, 56, 0.25), 0 0 30px rgba(201, 151, 56, 0.15) !important;
}

[data-theme="dark"] .popular-card:hover {
    box-shadow: 0 28px 65px rgba(201, 151, 56, 0.35) !important;
}

[data-theme="dark"] .badge-white {
    background: rgba(201, 151, 56, 0.15);
    color: #dfb743;
    border-color: rgba(201, 151, 56, 0.3);
}

[data-theme="dark"] .btn-white {
    background: linear-gradient(135deg, #c99738 0%, #a27520 100%) !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: 0 8px 25px rgba(201, 151, 56, 0.4) !important;
}

[data-theme="dark"] .btn-white:hover {
    background: linear-gradient(135deg, #dfb743 0%, #c99738 100%) !important;
    box-shadow: 0 12px 30px rgba(201, 151, 56, 0.5) !important;
}

[data-theme="dark"] .features-list {
    border-top-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .features-list li {
    color: #cbd5e1;
}

[data-theme="dark"] .features-list li.included {
    color: #ffffff;
}

[data-theme="dark"] .features-list li.included > span:first-child {
    background: rgba(34, 197, 94, 0.2) !important;
    color: #4ade80 !important;
    border: 1px solid rgba(74, 222, 128, 0.3) !important;
}

[data-theme="dark"] .features-list li.excluded {
    color: #64748b;
}

[data-theme="dark"] .features-list li.excluded > span:first-child {
    background: rgba(100, 116, 139, 0.15) !important;
    color: #64748b !important;
    border: 1px solid rgba(100, 116, 139, 0.2) !important;
}

[data-theme="dark"] .features-list li > span:not(:first-child) {
    background: transparent !important;
    border: none !important;
    color: inherit !important;
}

[data-theme="dark"] .badge-black {
    background-color: #1a2a4a;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .badge-white {
    background-color: #162854 !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

[data-theme="dark"] .badge-red {
    background: linear-gradient(135deg, #c99738 0%, #a27520 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(201, 151, 56, 0.5) !important;
}

[data-theme="dark"] .badge-yellow {
    background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%) !important;
    color: #06102d !important;
    font-weight: 800 !important;
}

[data-theme="dark"] .badge-gray {
    background-color: #1e293b;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Modal Dark Mode */
[data-theme="dark"] .modal-container {
    background: #09163b;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
}

[data-theme="dark"] .bg-starter {
    background: linear-gradient(135deg, #0d1e4c 0%, #162f6e 100%) !important;
    color: #ffffff !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .bg-growth {
    background: linear-gradient(135deg, #132454 0%, #7a5814 60%, #a27520 100%) !important;
    color: #ffffff !important;
}

[data-theme="dark"] .bg-enterprise {
    background: linear-gradient(135deg, #050d24 0%, #0d1e4c 100%) !important;
    color: #ffffff !important;
}

[data-theme="dark"] .close-dark,
[data-theme="dark"] .close-modal {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .close-modal:hover {
    background: var(--brand-red);
    color: #ffffff;
}

[data-theme="dark"] .modal-body h3 {
    color: #ffffff;
}

[data-theme="dark"] .feature-box {
    background: #0b1a40;
    border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .feature-box h4 {
    color: #ffffff;
}

[data-theme="dark"] .feature-box ul li {
    color: #cbd5e1;
}

[data-theme="dark"] .info-card {
    background: #102454;
    border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .info-card h5 {
    color: #94a3b8;
}

[data-theme="dark"] .info-card p {
    color: #ffffff;
}

[data-theme="dark"] .btn-outline {
    background: #0b1a40;
    color: #dfb743;
    border-color: var(--brand-red);
}

[data-theme="dark"] .btn-outline:hover {
    background: var(--brand-red);
    color: #ffffff;
}

/* Deals Section Dark Mode */
[data-theme="dark"] .deals-section {
    background: var(--navy-deep, #06102d);
}

[data-theme="dark"] .deal-content {
    background: #0b1a40;
}

[data-theme="dark"] .badge-blue {
    background: rgba(74, 144, 226, 0.18);
    color: #60a5fa;
    border: 1px solid rgba(74, 144, 226, 0.3);
}

[data-theme="dark"] .badge-green {
    color: #4ade80;
}

[data-theme="dark"] .old-price {
    color: #7284a8;
}

[data-theme="dark"] .deal-status {
    color: #94a3b8;
}

[data-theme="dark"] .deal-timer {
    color: #dfb743;
}

[data-theme="dark"] .tag-top-left {
    background: rgba(6, 16, 45, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

[data-theme="dark"] .deals-header h2 {
    color: #ffffff;
}

[data-theme="dark"] .desc-area p {
    color: #a6b7d8;
}

[data-theme="dark"] .filter-btn {
    background: #0b1a40;
    border-color: rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
}

[data-theme="dark"] .filter-btn:hover {
    background: #142a66;
    color: #ffffff;
}

[data-theme="dark"] .filter-btn.active {
    background: var(--brand-red, #c99738);
    border-color: var(--brand-red, #c99738);
    color: #ffffff;
    box-shadow: 0 4px 14px var(--brand-red-glow);
}

[data-theme="dark"] .deal-card {
    background: #0b1a40;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

[data-theme="dark"] .deal-card h3,
[data-theme="dark"] .deal-card h4 {
    color: #ffffff;
}

[data-theme="dark"] .deal-card p,
[data-theme="dark"] .deal-card:not(.is-deal-expired) .image-text span {
    color: #a6b7d8;
}

[data-theme="dark"] .deal-pricing .current-price {
    color: #dfb743;
}

/* Dark Mode Deals Timer & Date Box */
[data-theme="dark"] .deal-timer-box {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(201, 151, 56, 0.25);
}

[data-theme="dark"] .deal-timer-box.is-expired {
    background: rgba(15, 23, 42, 0.4);
    border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .timer-label,
[data-theme="dark"] .deal-date-label {
    color: #cbd5e1;
}

[data-theme="dark"] .timer-label i,
[data-theme="dark"] .deal-date-label i {
    color: #dfb743;
}

[data-theme="dark"] .time-left {
    color: #f1c40f;
}

[data-theme="dark"] .deal-date-value {
    color: #ffffff;
}

[data-theme="dark"] .timer-expired-badge {
    color: #f87171;
}

[data-theme="dark"] .deal-card .btn,
[data-theme="dark"] .deal-card .btn span,
[data-theme="dark"] .deal-card .btn i {
    color: #070913 !important;
}

[data-theme="dark"] .deal-card .btn {
    background: linear-gradient(135deg, #dfb743 0%, #c99738 50%, #a27520 100%) !important;
    font-weight: 800;
    box-shadow: 0 4px 16px rgba(201, 151, 56, 0.35);
}

[data-theme="dark"] .deal-card .btn:hover {
    background: linear-gradient(135deg, #e5c35b 0%, #d4a544 50%, #b38227 100%) !important;
    box-shadow: 0 6px 20px rgba(201, 151, 56, 0.5);
}

[data-theme="dark"] .deal-card .btn:hover,
[data-theme="dark"] .deal-card .btn:hover span,
[data-theme="dark"] .deal-card .btn:hover i {
    color: #000000 !important;
}

[data-theme="dark"] .deal-card.is-deal-expired .btn,
[data-theme="dark"] .deal-card.is-deal-expired .btn span,
[data-theme="dark"] .deal-card.is-deal-expired .btn i {
    background: rgba(255, 255, 255, 0.06) !important;
    color: #94a3b8 !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: none;
}

[data-theme="dark"] .cta-banner {
    background: linear-gradient(135deg, #09163b 0%, #11265c 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

[data-theme="dark"] .cta-text h2 {
    color: #ffffff;
}

[data-theme="dark"] .cta-text p {
    color: #a6b7d8;
}

[data-theme="dark"] .btn-outline-red {
    background: transparent;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.25);
}

/* FAQ Section Dark Mode */
[data-theme="dark"] .faq-section {
    background: transparent;
}

[data-theme="dark"] .faq-pretitle {
    background: rgba(201, 151, 56, 0.15) !important;
    color: #dfb743 !important;
    border-color: rgba(201, 151, 56, 0.3) !important;
}

[data-theme="dark"] .faq-title {
    color: #ffffff !important;
}

[data-theme="dark"] .faq-desc {
    color: #a6b7d8 !important;
}

[data-theme="dark"] .faq-item {
    background: #0e1e4a !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35) !important;
}

[data-theme="dark"] .faq-item:hover {
    border-color: rgba(201, 151, 56, 0.4) !important;
}

[data-theme="dark"] .faq-item.active {
    border-color: rgba(201, 151, 56, 0.5) !important;
    box-shadow: 0 8px 25px rgba(201, 151, 56, 0.15) !important;
}

[data-theme="dark"] .faq-question {
    color: #ffffff !important;
}

[data-theme="dark"] .faq-icon {
    background-color: rgba(201, 151, 56, 0.18) !important;
    color: #dfb743 !important;
}

[data-theme="dark"] .faq-item.active .faq-icon {
    background-color: var(--brand-red, #c99738) !important;
    color: #ffffff !important;
}

[data-theme="dark"] .faq-answer p {
    color: #b0c4de !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}


/* ==========================================================================
   OFFERS - COMPLETE RTL SYSTEM (ARABIC MODE)
   ========================================================================== */
html[dir="rtl"] .herotext {
    text-align: center;
}

html[dir="rtl"] .pricing-card {
    text-align: right;
}

html[dir="rtl"] .features-list li {
    direction: rtl;
    text-align: right;
}

html[dir="rtl"] .deals-header {
    direction: rtl;
    text-align: right;
}

html[dir="rtl"] .desc-area p {
    text-align: left;
}

html[dir="rtl"] .deal-card {
    text-align: right;
}

html[dir="rtl"] .modal-body {
    text-align: right;
}

html[dir="rtl"] .feature-box {
    text-align: right;
}

html[dir="rtl"] .feature-box ul li {
    direction: rtl;
}

html[dir="rtl"] .info-card {
    text-align: right;
}

html[dir="rtl"] .cta-banner {
    direction: rtl;
    text-align: right;
}

html[dir="rtl"] .faq-question {
    text-align: right;
    direction: rtl;
}

html[dir="rtl"] .faq-answer p {
    text-align: right;
    direction: rtl;
}

html[dir="rtl"] .tag-top-left {
    left: auto;
    right: 14px;
}

html[dir="rtl"] .tag-top-right {
    right: auto;
    left: 14px;
}

html[dir="rtl"] .deal-card .btn i.fa-arrow-right {
    transform: rotate(180deg);
}

/* Shared navbar styled in style/common.css */

.hero {
    position: relative;
    width: 100%;
    min-height: 360px;
    padding: 80px 20px 60px;  
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-image: url('../photos/Container.png');
    background-repeat: no-repeat; 
    background-size: cover;
    background-position: center;
    color: #1a1a1a;
    font-family: inherit;
    overflow: hidden;
}

.herotext {
    position: relative;
    z-index: 10;
    max-width: 700px;
    margin: 0 auto;
}

.hero-text {
    background: linear-gradient(135deg, #c99738 0%, #a27520 100%);
    color: #ffffff;
    padding: 8px 18px;
    border-radius: 9999px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.5px;
    display: inline-block;
    margin-bottom: 20px;
    box-shadow: 0 4px 14px rgba(201, 151, 56, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.25);
    text-transform: uppercase;
}

.herotext h1 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
}

.herotext p {
    font-size: 16px;
    line-height: 1.6;
    color: #475569;
    max-width: 600px;
}

/* التنسيقات الأساسية للقسم */
.pricing-section {
    padding: 70px 24px;
    font-family: inherit;
    background-color: transparent;
    display: flex;
    justify-content: center;
}

.pricing-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1380px;
    width: 100%;
    align-items: stretch;
    justify-content: center;
}

@media (max-width: 991px) {
    .pricing-container {
        grid-template-columns: 1fr;
        max-width: 440px;
        margin: 0 auto;
    }
}

/* تنسيق كارت الباقة الافتراضي */
.pricing-card {
    background-color: #ffffff;
    border-radius: 24px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.04);
    padding: 48px 32px 38px;
    max-width: 100%;
    width: 100%;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.07);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
    border-color: rgba(201, 151, 56, 0.25);
}

/* تنسيق كارت الباقة المميزة (Growth) */
.popular-card {
    background: linear-gradient(180deg, #ffffff 0%, #f4f8ff 100%);
    border: 2px solid var(--brand-red, #c99738);
    box-shadow: 0 20px 50px rgba(201, 151, 56, 0.12), 0 0 0 1px rgba(201, 151, 56, 0.15);
    transform: translateY(-16px);
    z-index: 2;
}

.popular-card:hover {
    transform: translateY(-22px) scale(1.02);
    box-shadow: 0 28px 60px rgba(201, 151, 56, 0.2);
}

/* تنسيق الشارات (Badges) */
.badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 20px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    white-space: nowrap;
}

.badge-red {
    background: linear-gradient(135deg, #c99738, #a27520);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(201, 151, 56, 0.4);
}

.badge-black {
    background: #111e3b;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.badge-white {
    background: #f1f4f9;
    color: var(--text-main, #0b193d);
    border: 1px solid rgba(26, 42, 74, 0.16);
}

/* نصوص وعناوين الكارت */
.pricing-card h2 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--text-dark, #111e3b);
    min-height: 64px;
    display: flex;
    align-items: center;
}

.desc {
    font-size: 13.5px;
    color: var(--text-secondary, #64748b);
    line-height: 1.55;
    margin-bottom: 22px;
    min-height: 48px;
    display: flex;
    align-items: flex-start;
}

/* تنسيق السعر */
.price {
    font-size: 48px;
    font-weight: 800;
    font-family: inherit;
    color: var(--text-dark, #111e3b);
    margin-bottom: 24px;
    display: flex;
    align-items: baseline;
    letter-spacing: -1px;
}

.currency {
    font-size: 24px;
    font-weight: 700;
    color: var(--brand-red, #c99738);
    margin-right: 2px;
}

.period {
    font-size: 15px;
    color: #8898aa;
    font-weight: 500;
    margin-left: 2px;
}

/* تنسيق الأزرار */
.pricing-card .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 20px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    box-sizing: border-box;
    border: none;
    transition: all 0.3s ease;
    margin-bottom: 26px;
    cursor: pointer;
}

.pricing-card .btn-red {
    background: linear-gradient(135deg, #c99738 0%, #a27520 100%);
    color: white;
    box-shadow: 0 8px 20px rgba(201, 151, 56, 0.28);
}

.pricing-card .btn-red:hover {
    background: linear-gradient(135deg, #dfb743 0%, #c99738 100%);
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(201, 151, 56, 0.4);
}

.pricing-card .btn-white {
    background: linear-gradient(135deg, #c99738 0%, #a27520 100%);
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(201, 151, 56, 0.32);
}

.pricing-card .btn-white:hover {
    background: linear-gradient(135deg, #dfb743 0%, #c99738 100%);
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(201, 151, 56, 0.45);
}

/* قائمة المميزات */
.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding-top: 22px;
    flex-grow: 1;
}

.features-list li {
    font-size: 13.5px;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    line-height: 1.5;
}

.features-list li > span:first-child {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
    flex-shrink: 0;
}

.features-list li > span:not(:first-child) {
    width: auto !important;
    height: auto !important;
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    display: inline !important;
    flex: 1;
    font-size: 13.5px;
    line-height: 1.5;
}

/* المميزات المتاحة */
.features-list li.included {
    color: #1e293b;
    font-weight: 500;
}

.features-list li.included > span:first-child {
    background: rgba(34, 197, 94, 0.14);
    color: #16a34a;
    border: 1px solid rgba(34, 197, 94, 0.25);
}

/* المميزات غير المتاحة */
.features-list li.excluded {
    color: #94a3b8;
}

.features-list li.excluded > span:first-child {
    background: rgba(148, 163, 184, 0.12);
    color: #94a3b8;
    border: 1px solid rgba(148, 163, 184, 0.2);
}
/* ========================================= */
/* 1. التنسيقات الأساسية للنافذة (Overlay & Container) */
/* ========================================= */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(6, 16, 45, 0.72);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding: 20px;
    box-sizing: border-box;
}

.modal-container {
    background: #ffffff;
    width: 100%;
    max-width: 680px;
    border-radius: 20px;
    overflow-y: auto;
    max-height: 88vh;
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
    font-family: inherit;
    border: 1px solid rgba(0, 0, 0, 0.08);
    scrollbar-width: thin;
    scrollbar-color: rgba(201, 151, 56, 0.3) transparent;
}

.modal-container::-webkit-scrollbar {
    width: 6px;
}

.modal-container::-webkit-scrollbar-thumb {
    background: rgba(201, 151, 56, 0.35);
    border-radius: 10px;
}

/* ========================================= */
/* 2. زر الإغلاق (X) */
/* ========================================= */
.close-modal {
    position: absolute;
    top: 18px;
    right: 18px;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    font-size: 20px;
    line-height: 1;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.25s ease;
    z-index: 20;
    backdrop-filter: blur(6px);
}

.close-modal:hover {
    background: var(--brand-red, #c99738);
    border-color: var(--brand-red, #c99738);
    color: #ffffff;
    transform: scale(1.08);
}

.close-dark {
    color: var(--text-main, #0b193d);
    background: rgba(26, 42, 74, 0.08);
    border-color: rgba(26, 42, 74, 0.15);
}

.close-dark:hover {
    background: var(--brand-red, #c99738);
    color: #ffffff;
    border-color: var(--brand-red, #c99738);
}

html[dir="rtl"] .close-modal {
    right: auto;
    left: 18px;
}

/* ========================================= */
/* 3. رؤوس النوافذ (Headers & Colors) */
/* ========================================= */
.modal-header {
    padding: 36px 36px 28px;
    border-radius: 20px 20px 0 0;
    position: relative;
}

.modal-header h2 {
    font-size: 30px;
    font-weight: 800;
    margin: 8px 0 10px;
    letter-spacing: -0.5px;
}

.modal-header p {
    font-size: 14.5px;
    margin: 0;
    line-height: 1.6;
    max-width: 540px;
}

.modal-price {
    font-size: 42px;
    font-weight: 800;
    margin-top: 18px;
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.modal-price .currency {
    font-size: 24px;
    font-weight: 700;
    color: var(--brand-red, #c99738);
}

.modal-price .period {
    font-size: 15px;
    font-weight: 500;
    opacity: 0.8;
}

/* 1. Starter */
.bg-starter {
    background: linear-gradient(135deg, #f8fafd 0%, #eef4fc 100%);
    color: var(--text-main, #0b193d);
    border-bottom: 1px solid rgba(26, 42, 74, 0.08);
}

.bg-starter h2 {
    color: var(--text-main, #0b193d);
}

.bg-starter p {
    color: var(--text-secondary, #566987);
}

.bg-starter .modal-price {
    color: var(--text-main, #0b193d);
}

/* 2. Growth (Luxury Deep Red & Navy Gradient with Crisp White Contrast) */
.bg-growth {
    background: linear-gradient(135deg, #a27520 0%, #c99738 45%, #0b193d 100%) !important;
    color: #ffffff !important;
}

.bg-growth h2 {
    color: #ffffff !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.bg-growth p {
    color: rgba(255, 255, 255, 0.95) !important;
}

.bg-growth .modal-price {
    color: #ffffff !important;
}

.bg-growth .modal-price .currency {
    color: #ffd6d8 !important;
}

/* 3. Enterprise */
.bg-enterprise {
    background: linear-gradient(135deg, #06102d 0%, #0d1e4c 100%) !important;
    color: #ffffff !important;
}

.bg-enterprise h2 {
    color: #ffffff !important;
}

.bg-enterprise p {
    color: rgba(255, 255, 255, 0.88) !important;
}

.bg-enterprise .modal-price {
    color: #ffffff !important;
}

.bg-enterprise .modal-price .currency {
    color: var(--brand-red, #c99738);
}

/* الشارات (Badges) */
.badge-yellow {
    background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%) !important;
    color: #0b193d !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    padding: 5px 14px !important;
    border-radius: 20px !important;
    display: inline-block !important;
    margin-bottom: 12px !important;
    box-shadow: 0 4px 12px rgba(255, 152, 0, 0.35) !important;
    letter-spacing: 0.5px;
}

.badge-gray {
    background: rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    padding: 5px 14px !important;
    border-radius: 20px !important;
    display: inline-block !important;
    margin-bottom: 12px !important;
}

/* ==========================================================================
   OFFERS MODAL OVERHAUL (Starter, Growth, Enterprise)
   Fix: Close button collision, badge clipping, price layout, responsive padding
   ========================================================================== */
#starter-modal .modal-container,
#growth-modal .modal-container,
#enterprise-modal .modal-container {
    position: relative !important;
    overflow: hidden !important;
    border-radius: 24px !important;
    max-width: 780px !important;
    width: 92% !important;
}

/* Header Container */
#starter-modal .modal-header,
#growth-modal .modal-header,
#enterprise-modal .modal-header {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    padding: 34px 36px 26px !important;
    margin-bottom: 0 !important;
    position: relative !important;
    border-radius: 24px 24px 0 0 !important;
    box-sizing: border-box !important;
}

/* RTL Header Layout */
html[dir="rtl"] #starter-modal .modal-header,
html[dir="rtl"] #growth-modal .modal-header,
html[dir="rtl"] #enterprise-modal .modal-header {
    padding-left: 80px !important; /* Dedicated clearance for close button on top-left */
    padding-right: 36px !important;
    text-align: right !important;
    align-items: flex-start !important;
}

/* LTR Header Layout */
html[dir="ltr"] #starter-modal .modal-header,
html[dir="ltr"] #growth-modal .modal-header,
html[dir="ltr"] #enterprise-modal .modal-header {
    padding-right: 80px !important; /* Dedicated clearance for close button on top-right */
    padding-left: 36px !important;
    text-align: left !important;
    align-items: flex-start !important;
}

/* Close Button Placement - Always in top corner with safe clearance */
#starter-modal .close-modal,
#growth-modal .close-modal,
#enterprise-modal .close-modal {
    position: absolute !important;
    top: 22px !important;
    right: 22px !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 24px !important;
    line-height: 1 !important;
    cursor: pointer !important;
    z-index: 100 !important;
    transition: all 0.25s ease !important;
    background: rgba(0, 0, 0, 0.28) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    color: #ffffff !important;
    backdrop-filter: blur(8px) !important;
}

html[dir="rtl"] #starter-modal .close-modal,
html[dir="rtl"] #growth-modal .close-modal,
html[dir="rtl"] #enterprise-modal .close-modal {
    right: auto !important;
    left: 22px !important;
}

#starter-modal .close-modal {
    background: rgba(26, 42, 74, 0.08) !important;
    border: 1px solid rgba(26, 42, 74, 0.15) !important;
    color: var(--text-main, #0b193d) !important;
}

[data-theme="dark"] #starter-modal .close-modal {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
}

#starter-modal .close-modal:hover,
#growth-modal .close-modal:hover,
#enterprise-modal .close-modal:hover {
    background: var(--brand-red, #c99738) !important;
    border-color: var(--brand-red, #c99738) !important;
    color: #ffffff !important;
    transform: scale(1.08) !important;
}

/* Badge (Most Popular / Full Suite) - Sits cleanly inside header, never clipped */
#starter-modal .modal-header .badge,
#growth-modal .modal-header .badge,
#enterprise-modal .modal-header .badge {
    position: static !important;
    transform: none !important;
    display: inline-flex !important;
    align-items: center !important;
    margin: 0 0 12px 0 !important;
    padding: 6px 16px !important;
    border-radius: 20px !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    letter-spacing: 0.5px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

/* Modal Title */
#starter-modal .modal-header h2,
#growth-modal .modal-header h2,
#enterprise-modal .modal-header h2 {
    font-size: 28px !important;
    font-weight: 800 !important;
    margin: 0 0 8px 0 !important;
    line-height: 1.25 !important;
    width: 100% !important;
}

/* Modal Description */
#starter-modal .modal-header p,
#growth-modal .modal-header p,
#enterprise-modal .modal-header p {
    font-size: 14.5px !important;
    line-height: 1.6 !important;
    margin: 0 0 16px 0 !important;
    max-width: 580px !important;
    width: 100% !important;
}

/* Modal Price Block */
#starter-modal .modal-price,
#growth-modal .modal-price,
#enterprise-modal .modal-price {
    display: inline-flex !important;
    align-items: baseline !important;
    gap: 6px !important;
    margin: 0 !important;
    font-size: 38px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
}

#starter-modal .modal-price .currency,
#growth-modal .modal-price .currency,
#enterprise-modal .modal-price .currency {
    font-size: 24px !important;
    font-weight: 700 !important;
}

#starter-modal .modal-price .period,
#growth-modal .modal-price .period,
#enterprise-modal .modal-price .period {
    font-size: 15px !important;
    font-weight: 500 !important;
    opacity: 0.85 !important;
}

/* Mobile Responsive */
@media (max-width: 640px) {
    #starter-modal .modal-header,
    #growth-modal .modal-header,
    #enterprise-modal .modal-header {
        padding: 24px 20px 20px !important;
    }
    html[dir="rtl"] #starter-modal .modal-header,
    html[dir="rtl"] #growth-modal .modal-header,
    html[dir="rtl"] #enterprise-modal .modal-header {
        padding-left: 64px !important;
        padding-right: 20px !important;
    }
    html[dir="ltr"] #starter-modal .modal-header,
    html[dir="ltr"] #growth-modal .modal-header,
    html[dir="ltr"] #enterprise-modal .modal-header {
        padding-right: 64px !important;
        padding-left: 20px !important;
    }
    #starter-modal .close-modal,
    #growth-modal .close-modal,
    #enterprise-modal .close-modal {
        top: 16px !important;
        right: 16px !important;
        width: 36px !important;
        height: 36px !important;
        font-size: 20px !important;
    }
    html[dir="rtl"] #starter-modal .close-modal,
    html[dir="rtl"] #growth-modal .close-modal,
    html[dir="rtl"] #enterprise-modal .close-modal {
        left: 16px !important;
        right: auto !important;
    }
    #starter-modal .modal-header h2,
    #growth-modal .modal-header h2,
    #enterprise-modal .modal-header h2 {
        font-size: 22px !important;
    }
    #starter-modal .modal-header p,
    #growth-modal .modal-header p,
    #enterprise-modal .modal-header p {
        font-size: 13.5px !important;
        margin-bottom: 12px !important;
    }
    #starter-modal .modal-price,
    #growth-modal .modal-price,
    #enterprise-modal .modal-price {
        font-size: 30px !important;
    }
}

/* ========================================= */
/* 4. محتوى النافذة (Body & Features Grid) */
/* ========================================= */
.modal-body {
    padding: 28px 36px 36px;
    box-sizing: border-box;
}

.modal-body h3 {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text-main, #0b193d);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.feature-box {
    background: #f8fafd;
    border: 1px solid rgba(26, 42, 74, 0.08);
    padding: 18px 20px;
    border-radius: 14px;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.feature-box:hover {
    border-color: rgba(201, 151, 56, 0.3);
    transform: translateY(-2px);
}

.feature-box h4 {
    font-size: 11.5px;
    font-weight: 800;
    color: var(--brand-red, #c99738);
    text-transform: uppercase;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.feature-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.feature-box ul li {
    font-size: 13.5px;
    color: var(--text-main, #1a2a4a);
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.45;
}

html[dir="rtl"] .feature-box ul li {
    text-align: right;
}

.check, .icon-check, .icon-check-dark {
    color: var(--brand-red, #c99738);
    font-size: 13px;
    font-weight: bold;
    flex-shrink: 0;
    margin-top: 1px;
}

/* ========================================= */
/* 5. كروت المعلومات والأزرار (Info Cards & Buttons) */
/* ========================================= */
.info-cards {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.info-card {
    background: rgba(201, 151, 56, 0.04);
    border: 1px solid rgba(201, 151, 56, 0.12);
    padding: 14px 18px;
    border-radius: 12px;
    flex: 1;
}

.info-card h5 {
    font-size: 10.5px;
    font-weight: 700;
    color: var(--text-secondary, #566987);
    text-transform: uppercase;
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}

.info-card p {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--text-main, #0b193d);
    margin: 0;
}

/* الأزرار */
.modal-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.modal-actions .btn {
    padding: 14px 24px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 12px;
    text-align: center;
    transition: all 0.25s ease;
    cursor: pointer;
}

.w-100 {
    flex: 2;
}

.btn-outline {
    flex: 1;
    background: transparent;
    color: var(--text-main, #1a2a4a);
    border: 1.5px solid rgba(26, 42, 74, 0.18);
    border-radius: 12px;
    cursor: pointer;
    font-weight: 700;
    font-size: 15px;
    transition: all 0.25s ease;
}

.btn-outline:hover {
    background: rgba(26, 42, 74, 0.05);
    border-color: var(--brand-red, #c99738);
    color: var(--brand-red, #c99738);
}

@media (max-width: 650px) {
    .modal-overlay {
        padding: 12px;
    }

    .modal-container {
        max-height: 92vh;
        border-radius: 16px;
    }

    .modal-header {
        padding: 24px 18px 20px;
    }

    .modal-header h2 {
        font-size: 22px;
    }

    .modal-price {
        font-size: 32px;
        margin-top: 12px;
    }

    .modal-body {
        padding: 20px 16px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-bottom: 18px;
    }

    .feature-box {
        padding: 14px 16px;
    }

    .info-cards {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 20px;
    }

    .modal-actions {
        flex-direction: column;
        gap: 10px;
    }

    .modal-actions .btn {
        width: 100%;
    }
}
/* ======================================= */
/* 1. التنسيق الأساسي لقسم العروض والهيدر */
/* ======================================= */
.deals-section {
    padding: 80px 24px;
    max-width: 1280px;
    margin: 0 auto;
    font-family: inherit;
}

.deals-header {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 36px;
}

.red-subtitle {
    display: inline-block;
    color: var(--brand-red, #c99738); 
    font-weight: 800; 
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    background: rgba(201, 151, 56, 0.08);
    padding: 6px 18px;
    border-radius: 30px;
    border: 1px solid rgba(201, 151, 56, 0.2);
    margin-bottom: 12px;
}

.deals-header h2 {
    font-size: 38px; 
    color: var(--text-dark, #1a2a4a); 
    margin: 0 0 12px; 
    font-family: inherit;
    font-weight: bold;
}

.deals-subdesc {
    font-size: 15px;
    color: var(--text-secondary, #566987);
    line-height: 1.6;
    margin: 0 auto;
}

/* ======================================= */
/* 2. تنسيق أزرار الفلاتر (Filters) */
/* ======================================= */
.filters-container {
    display: flex; 
    gap: 12px; 
    margin-bottom: 45px;
    justify-content: center;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 22px;
    border: 1px solid rgba(0, 0, 0, 0.08); 
    background: #ffffff;
    border-radius: 30px; 
    color: #4b5563; 
    font-weight: 600;
    cursor: pointer; 
    transition: all 0.25s ease; 
    font-size: 13.5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.filter-btn:hover { 
    background: #fdfbf7;
    border-color: #c99738;
    color: #926914;
    transform: translateY(-2px);
}

.filter-btn.active { 
    background: linear-gradient(135deg, #dfb743 0%, #c99738 50%, #a27520 100%); 
    color: #070913; 
    border-color: #c99738; 
    font-weight: 700;
    box-shadow: 0 4px 16px rgba(201, 151, 56, 0.3);
}

/* ======================================= */
/* 3. شبكة الكروت (3 كروت في الصف) */
/* ======================================= */
.deals-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* ======================================= */
/* 4. تصميم الكارت الداخلي (Card) */
/* ======================================= */
.deal-card {
    background: #ffffff; 
    border-radius: 20px; 
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05); 
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.deal-card:hover { 
    transform: translateY(-8px); 
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.1);
    border-color: rgba(201, 151, 56, 0.25);
}

/* صورة الكارت */
.deal-image {
    position: relative; 
    height: 220px;
    background-size: cover; 
    background-position: center;
}

/* الطبقة السوداء المتدرجة فوق الصورة */
.overlay-gradient {
    position: absolute; 
    inset: 0;
    background: linear-gradient(180deg, rgba(6, 16, 45, 0.15) 0%, rgba(6, 16, 45, 0.88) 100%);
}

/* التاجز اللي فوق الصورة */
.tag-top-left, .tag-top-right {
    position: absolute; 
    top: 14px; 
    color: #ffffff; 
    font-size: 11px;
    font-weight: 700; 
    padding: 5px 14px; 
    border-radius: 20px; 
    z-index: 2;
}

.tag-top-left { 
    left: 14px; 
    background: rgba(6, 16, 45, 0.75); 
    backdrop-filter: blur(8px); 
    border: 1px solid rgba(255, 255, 255, 0.2);
    letter-spacing: 0.8px;
}

.tag-top-right { 
    right: 14px; 
    background: linear-gradient(135deg, #dfb743, #c99738); 
    color: #070913;
    box-shadow: 0 2px 10px rgba(201, 151, 56, 0.4);
}

/* النص اللي على الصورة (العنوان) */
.image-text {
    position: absolute; 
    bottom: 16px; 
    left: 18px; 
    right: 18px;
    color: #ffffff; 
    z-index: 2;
}

.image-text h3 { 
    font-size: 18px; 
    font-weight: 700;
    margin: 0 0 6px; 
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.image-text p { 
    font-size: 12.5px; 
    margin: 0; 
    opacity: 0.92; 
    color: rgba(255, 255, 255, 0.9);
}

/* ======================================= */
/* 5. محتوى الكارت السفلي (النصوص والأسعار) */
/* ======================================= */
.deal-content { 
    padding: 20px 18px 18px; 
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.deal-meta { 
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    margin-bottom: 14px; 
}

.badge-blue { 
    background: rgba(74, 144, 226, 0.12); 
    color: #2563eb; 
    padding: 4px 10px; 
    border-radius: 20px; 
    font-size: 10px; 
    font-weight: 700; 
    letter-spacing: 0.5px;
}

.badge-green { 
    background: rgba(34, 197, 94, 0.12);
    color: #16a34a; 
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 700; 
    font-size: 10.5px; 
}

.deal-pricing { 
    margin-bottom: 14px; 
    display: flex;
    align-items: baseline;
}

.current-price { 
    font-size: 24px; 
    font-weight: 800; 
    color: var(--brand-red, #c99738); 
    margin-right: 8px; 
}

.old-price { 
    font-size: 14px; 
    color: #94a3b8; 
    text-decoration: line-through; 
    font-weight: 500;
}

.deal-timer, .deal-status {
    width: 100%;
    margin-bottom: 16px; 
    min-height: 52px; /* توحيد الارتفاع لمنع تفاوت أماكن الأزرار */
    display: flex;
    align-items: center;
}

.deal-status { 
    color: #64748b; 
    font-weight: 500; 
    font-size: 13px;
}

/* صندوق التوقيت والتاريخ الموحد */
.deal-timer-box {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 8px 12px;
    background: #fafaf9;
    border: 1px solid rgba(201, 151, 56, 0.22);
    border-radius: 10px;
    transition: all 0.25s ease;
}

.deal-timer-box.is-expired {
    background: #f8fafc;
    border-color: #e2e8f0;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.deal-timer-row, .deal-date-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
}

.timer-label, .deal-date-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #475569;
}

.timer-label i, .deal-date-label i {
    color: #c99738;
    font-size: 13px;
}

.time-left {
    font-family: 'Roboto', monospace;
    font-size: 12px;
    font-weight: 700;
    color: #926914;
    letter-spacing: 0.3px;
}

.deal-date-value {
    font-size: 12px;
    color: #1e293b;
    font-weight: 600;
}

.timer-expired-badge {
    font-size: 12px;
    font-weight: 700;
    color: #dc2626;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* دفع زر الشراء لأسفل الكارت دائماً */
.deal-card .btn {
    margin-bottom: 0;
    margin-top: auto;
    width: 100%;
    padding: 12px 18px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 14px;
    background: linear-gradient(135deg, #dfb743 0%, #c99738 50%, #a27520 100%);
    color: #070913;
    border: none;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(201, 151, 56, 0.25);
    text-decoration: none;
    letter-spacing: 0.2px;
}

.deal-card .btn:hover {
    background: linear-gradient(135deg, #e5c35b 0%, #d4a544 50%, #b38227 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201, 151, 56, 0.35);
    color: #000000;
}

.deal-card.is-deal-expired .btn {
    background: #f1f5f9;
    color: #64748b;
    box-shadow: none;
    border: 1px solid #e2e8f0;
    cursor: default;
}

.deal-card.is-deal-expired .btn:hover {
    transform: none;
    background: #f1f5f9;
    color: #64748b;
    box-shadow: none;
}

/* ======================================= */
/* 6. قسم الأسئلة الشائعة (FAQ) */
/* ======================================= */
.faq-section {
    max-width: 880px;
    margin: 80px auto;
    padding: 0 24px;
    font-family: inherit;
}

.faq-header {
    text-align: center;
    margin-bottom: 45px;
}

.faq-pretitle {
    display: inline-block;
    background: rgba(201, 151, 56, 0.08);
    color: var(--brand-red, #c99738);
    border: 1px solid rgba(201, 151, 56, 0.2);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    padding: 6px 18px;
    border-radius: 30px;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.faq-title {
    font-size: 36px;
    font-weight: 800;
    font-family: inherit;
    color: var(--text-dark, #1a2a4a);
    margin: 0 0 12px;
}

.faq-desc {
    font-size: 15px;
    color: var(--text-secondary, #566987);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-item {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    padding: 0 24px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(201, 151, 56, 0.25);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.faq-item.active {
    border-color: rgba(201, 151, 56, 0.4);
    box-shadow: 0 8px 28px rgba(201, 151, 56, 0.08);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    padding: 22px 0;
    font-size: 16.5px;
    font-weight: 700;
    color: var(--text-dark, #1a2a4a);
    cursor: pointer;
    text-align: left;
    transition: color 0.3s ease;
    font-family: inherit;
}

.faq-question:hover {
    color: var(--brand-red, #c99738);
}

.faq-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    background-color: rgba(201, 151, 56, 0.08);
    color: var(--brand-red, #c99738);
    border-radius: 50%;
    flex-shrink: 0;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    background-color: var(--brand-red, #c99738);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(201, 151, 56, 0.35);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-answer {
    max-height: 600px;
}

.faq-answer p {
    margin: 0;
    padding: 0 0 22px 0;
    color: var(--text-secondary, #566987);
    line-height: 1.7;
    font-size: 14.5px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 16px;
}

/* ======================================= */
/* تنسيق قسم CTA (الحاوية الأساسية) */
/* ======================================= */
.cta-section {
    padding: 60px 20px;
    display: flex;
    justify-content: center;
}

/* تنسيق البانر الذي يحتوي على الصورة */
.cta-banner {
    width: 100%;
    max-width: 1100px;
    
    /* لون خلفية احتياطي في حال تأخرت الصورة في التحميل */
    background-color: #f4f8fe; 
    
    /* مسار الصورة الخاص بكِ */
    background-image: url('../photos/Container1.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    
    border-radius: 16px;
    padding: 50px 60px;
    
    /* جعل النصوص يميناً والأزرار يساراً (تخطيط أفقي) */
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    box-sizing: border-box;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03); /* ظل خفيف جداً يبرز الصندوق */
}

/* ======================================= */
/* تنسيق النصوص (العنوان والفقرة) */
/* ======================================= */
.cta-text {
    flex: 1;
    max-width: 600px;
}

.cta-text h2 {
    font-family: inherit; /* استخدام الخط الكلاسيكي للعناوين */
    font-size: 34px;
    color: #1a1a24; /* لون أزرق داكن/كحلي */
    margin: 0 0 10px 0;
    line-height: 1.2;
}

.cta-text p {
    font-family: inherit; /* استخدام الخط العصري للفقرات */
    font-size: 15px;
    color: #555;
    margin: 0;
    line-height: 1.5;
}

/* ======================================= */
/* تنسيق الأزرار */
/* ======================================= */
.cta-actions {
    display: flex;
    gap: 15px;
}

.cta-actions a {
    font-family: inherit;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    padding: 14px 24px;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
}

/* الزر الذهبي (المليء) */
.btn-primary {
    background: linear-gradient(135deg, #dfb743 0%, #c99738 50%, #a27520 100%);
    color: #070913;
    font-weight: 700;
    box-shadow: 0 6px 20px rgba(201, 151, 56, 0.35);
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #f0ca55 0%, #dfb743 100%);
    color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(201, 151, 56, 0.45);
}

/* الزر المفرغ بإطار ذهبي */
.btn-outline-red {
    background-color: transparent;
    color: #c99738;
    border: 1.5px solid rgba(201, 151, 56, 0.4);
    font-weight: 600;
}

.btn-outline-red:hover {
    background-color: rgba(201, 151, 56, 0.12);
    border-color: #c99738;
    color: #dfb743;
    transform: translateY(-2px);
}




/* ============================================
   RESPONSIVE MEDIA QUERIES
============================================ */
@media (max-width: 1100px) {
  .hero {
    padding: 180px 20px 60px;
    background-size: cover;
  }

  .herotext {
    max-width: 100%;
    margin-top: -100px;
  }

  .deals-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .pricing-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    max-width: 800px;
  }

  .pricing-card {
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 700px) {
  .hero {
    padding: 60px 16px 36px !important;
    min-height: auto !important;
  }

  .herotext {
    margin-top: 0 !important;
  }

  h1 {
    font-size: 36px;
  }

  .pricing-section {
    padding: 40px 16px;
  }

  .pricing-container {
    grid-template-columns: 1fr;
    max-width: 380px;
    margin: 0 auto;
  }

  .pricing-card {
    width: 100%;
  }

  .popular-card {
    transform: none;
  }

  .popular-card:hover {
    transform: translateY(-5px);
  }

  .cta-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-actions {
    width: 100%;
    flex-wrap: wrap;
  }

  .cta-actions a {
    width: 100%;
  }
  .deals-grid{
        grid-template-columns: repeat(1,1fr);

  }
  .filters-container{
    font-size: 7px;
    gap: 5px; 
    flex-wrap:nowrap;
    padding: 6px;

  }
  .filter-btn{
        padding: 5px 10px;
  }
  .filter-btn span{
display: none;
  }

  .cta-text h2{
font-size: 25px;
  }

  .herotext h1{
font-size: 25px;
  }
}

