/* ===========================================
   MARKETING ELEMENTS - مؤسستي
   العناصر التسويقية
=========================================== */

/* ============ TESTIMONIALS SECTION ============ */
.testimonials-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.testimonials-header {
    text-align: center;
    margin-bottom: 50px;
}

.testimonials-header .section-tag {
    display: inline-block;
    background: rgba(243,156,18,0.15);
    color: #f39c12;
    padding: 10px 25px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 15px;
}

.testimonials-header h2 {
    font-size: 36px;
    font-weight: 800;
    color: #2c3e50;
    margin-bottom: 10px;
}

.testimonials-header h2 span {
    color: #f39c12;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.testimonial-card {
    background: white;
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 80px;
    color: rgba(243,156,18,0.15);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-stars {
    color: #f39c12;
    font-size: 18px;
    margin-bottom: 15px;
}

.testimonial-text {
    font-size: 15px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-avatar {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f39c12, #e67e22);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: white;
    font-weight: 700;
}

.testimonial-info h4 {
    font-size: 16px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 3px 0;
}

.testimonial-info span {
    font-size: 13px;
    color: #888;
}

/* ============ STATS COUNTER ============ */
.stats-counter-section {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.stats-counter-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23f39c12' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.stats-counter-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.stat-counter-item {
    text-align: center;
    color: white;
}

.stat-counter-number {
    font-size: 50px;
    font-weight: 900;
    color: #f39c12;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.stat-counter-number span {
    font-size: 36px;
}

.stat-counter-label {
    font-size: 16px;
    opacity: 0.9;
}

/* ============ POPUP STYLES ============ */
.marketing-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

.marketing-popup-overlay.active {
    display: flex;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.marketing-popup {
    background: white;
    border-radius: 25px;
    max-width: 500px;
    width: 100%;
    position: relative;
    overflow: hidden;
    animation: popupSlide 0.4s ease;
    box-shadow: 0 25px 80px rgba(0,0,0,0.3);
}

@keyframes popupSlide {
    from { 
        opacity: 0;
        transform: scale(0.8) translateY(30px);
    }
    to { 
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.popup-close {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: rgba(0,0,0,0.1);
    border: none;
    cursor: pointer;
    font-size: 20px;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 10;
}

.popup-close:hover {
    background: rgba(0,0,0,0.2);
    transform: rotate(90deg);
}

.popup-header {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    padding: 40px 30px 30px;
    text-align: center;
    color: #1a1a1a;
}

.popup-header .offer-badge {
    display: inline-block;
    background: #2c3e50;
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 15px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.popup-header h3 {
    font-size: 28px;
    font-weight: 900;
    margin-bottom: 10px;
}

.popup-header p {
    font-size: 16px;
    opacity: 0.9;
}

.popup-body {
    padding: 30px;
}

/* Countdown Timer */
.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 25px;
}

.countdown-item {
    text-align: center;
}

.countdown-number {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 5px;
}

.countdown-label {
    font-size: 12px;
    color: #888;
    font-weight: 600;
}

.popup-features {
    margin-bottom: 25px;
}

.popup-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    color: #555;
    font-size: 15px;
}

.popup-features li i {
    color: #27ae60;
    font-size: 18px;
}

.popup-cta {
    text-align: center;
}

.popup-cta .btn-popup {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 40px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 10px 30px rgba(37,211,102,0.4);
}

.popup-cta .btn-popup:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(37,211,102,0.5);
}

.popup-cta .btn-popup i {
    font-size: 22px;
}

.popup-note {
    text-align: center;
    margin-top: 15px;
    font-size: 13px;
    color: #888;
}

/* ============ EXIT INTENT POPUP ============ */
.exit-popup .popup-header {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
}

.exit-popup .popup-header h3 {
    color: white;
}

/* ============ FAQ SECTION ============ */
.faq-section {
    padding: 80px 0;
    background: white;
}

.faq-header {
    text-align: center;
    margin-bottom: 50px;
}

.faq-header .section-tag {
    display: inline-block;
    background: rgba(243,156,18,0.15);
    color: #f39c12;
    padding: 10px 25px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 15px;
}

.faq-header h2 {
    font-size: 36px;
    font-weight: 800;
    color: #2c3e50;
}

.faq-header h2 span {
    color: #f39c12;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.faq-item {
    background: #f8f9fa;
    border-radius: 15px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s;
}

.faq-item:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 700;
    color: #2c3e50;
    font-size: 16px;
}

.faq-question i {
    color: #f39c12;
    transition: transform 0.3s;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer-content {
    padding: 0 25px 20px;
    color: #666;
    line-height: 1.8;
}

/* ============ GUARANTEE BADGE ============ */
.guarantee-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    text-align: center;
    color: white;
}

.guarantee-content {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 20px;
}

.guarantee-icon {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 40px;
}

.guarantee-content h3 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 15px;
}

.guarantee-content p {
    font-size: 18px;
    opacity: 0.95;
    line-height: 1.7;
}

/* ============ FLOATING NOTIFICATION ============ */
.floating-notification {
    position: fixed;
    bottom: 100px;
    left: 30px;
    background: white;
    padding: 15px 20px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    display: none;
    align-items: center;
    gap: 15px;
    z-index: 9998;
    max-width: 320px;
    animation: slideInLeft 0.5s ease;
    border-right: 4px solid #27ae60;
}

.floating-notification.show {
    display: flex;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.notification-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f39c12, #e67e22);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.notification-content {
    flex: 1;
}

.notification-content strong {
    display: block;
    color: #2c3e50;
    font-size: 14px;
    margin-bottom: 2px;
}

.notification-content span {
    font-size: 12px;
    color: #888;
}

.notification-close {
    background: none;
    border: none;
    color: #ccc;
    cursor: pointer;
    font-size: 18px;
    padding: 5px;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 992px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-counter-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .stat-counter-number {
        font-size: 40px;
    }
}

@media (max-width: 768px) {
    .stats-counter-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .marketing-popup {
        margin: 10px;
        border-radius: 20px;
    }
    
    .popup-header h3 {
        font-size: 22px;
    }
    
    .countdown-number {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .floating-notification {
        left: 10px;
        right: 10px;
        bottom: 90px;
        max-width: none;
    }
}
