  
       /* Add this CSS to your <head> or your main stylesheet */
    .btn-subscribe-premium {
        padding: 14px 30px;
        font-size: 1.1rem;
        font-weight: 700;
        color: #fff;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
        border: none;
        border-radius: 50px;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        cursor: pointer;
        transition: all 0.3s ease-in-out;
        /* Vibrant, attractive gradient */
        background: linear-gradient(45deg, #FFC837, #FF8008);
        box-shadow: 0 5px 20px rgba(255, 128, 8, 0.4);
        /* Overriding old styles */
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        /* A custom, more noticeable pulse animation */
        animation: premium-pulse 2s infinite;
    }

    .btn-subscribe-premium:hover,
    .btn-subscribe-premium:focus {
        transform: translateY(-4px) scale(1.05);
        box-shadow: 0 8px 25px rgba(255, 128, 8, 0.5);
        color: #fff;
        outline: none;
    }

    .btn-subscribe-premium:active {
        transform: translateY(-1px) scale(1.02);
        box-shadow: 0 4px 15px rgba(255, 128, 8, 0.3);
    }

    .btn-subscribe-premium .fa-crown {
        color: #ffd700; /* Gold color for the crown */
        font-size: 1.2em;
        animation: sparkle 1.5s infinite ease-in-out;
    }

    @keyframes premium-pulse {
        0% { transform: scale(1); }
        50% { transform: scale(1.03); }
        100% { transform: scale(1); }
    }

    @keyframes sparkle {
        0%, 100% { transform: scale(1) rotate(0deg); opacity: 1; }
        50% { transform: scale(1.2) rotate(10deg); opacity: 0.8; }
    }
    
    
    .grayscale-logos .logo-item { filter: grayscale(100%); transition: filter 0.3s; cursor: pointer; }
.grayscale-logos .logo-item:hover { filter: grayscale(0%); opacity: 1 !important; color: #4f46e5; }
.tracking-wide { letter-spacing: 1px; }

    #pro-voiceover-feature.enhanced-voiceover,
#voices-control-showcase.enhanced-section,
.btn-video-cta,
.premium-user-badge,
#pro-voiceover-feature.enhanced-voiceover::before,
#voices-control-showcase.enhanced-section::before,
.ramadan-bar::before {
    /* Slow down the animations significantly to save battery and CPU */
    animation-duration: 30s !important; 
    will-change: background-position;
}

/* 2. Disable heavy GPU tasks on Mobile and Tablets (Screens under 992px) */
@media (max-width: 991px) {
    
    /* A. Kill ALL frosted glass (backdrop-filter) on mobile. 
       This is the #1 cause of scroll lag on phones. */
    .hero-feature, 
    .cta-button.secondary-cta, 
    .btn-style, 
    .points-display,
    .v4-glass-card, 
    .ent-card, 
    .ramadan-card, 
    .voice-card.voice-card-more,
    #mobile-action-bar, 
    .survey-glass-card,
    .avatar-card,
    .user-email-display,
    .introjs-aurora-theme .introjs-tooltip,
    .director-mode-wrapper {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    /* Provide solid background fallbacks since glass is removed */
    #mobile-action-bar { background-color: #ffffff !important; }
    .v4-glass-card { background-color: #1e293b !important; }
    .ent-card { background-color: #1e293b !important; }
    .hero-feature { background-color: rgba(255, 255, 255, 0.15) !important; }

    /* B. Disable massive blurred orbs and particles */
    .logo-glow, 
    .v4-aurora,
    .tt-glow {
        display: none !important; /* completely removes the heavy blur computation */
    }

    /* C. Disable flowing gradients on mobile */
    .btn-video-cta, 
    .premium-user-badge,
    #pro-voiceover-feature.enhanced-voiceover,
    #voices-control-showcase.enhanced-section {
        animation: none !important; /* Stop animating backgrounds */
        background-size: auto !important; /* Reset size */
    }

    /* D. Stop floating particles in the header */
    .header::before {
        animation: none !important;
    }
}

/* 3. Global fixes for smooth scrolling */
* {
    /* Prevents layout thrashing on touch devices */
    touch-action: pan-y; 
}



.modern-hero {
    /* التدرج اللوني الأزرق العميق الأصلي للموقع */
    background: linear-gradient(135deg, #1e3a8a 0%, #0d6efd 50%, #0891b2 100%);
    position: relative;
    padding-bottom: 7rem; /* مساحة من الأسفل للقصة المائلة */
    overflow: hidden;
    color: #ffffff;
    /* القصة المائلة الأيقونية الأصلية */
    clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%);
    font-family: 'Tajawal', sans-serif;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* شبكة خفيفة في الخلفية بدلاً من الجزيئات العائمة التي تسبب بطء في الجوال */
.modern-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    z-index: 0;
    pointer-events: none;
    opacity: 0.5;
}

/* --- Top Navigation --- */
.hero-nav {
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-brand .logo {
    font-size: clamp(2.2rem, 6vw, 3.5rem);
    font-weight: 900;
    letter-spacing: -0.5px;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    color: #ffffff;
}

.nav-brand .logo span {
    color: #ffc107; /* اللون الذهبي الأصلي */
}

.badge-beta-modern {
    background: linear-gradient(135deg, #ffc107, #ff9800);
    color: #000;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 50px;
    transform: rotate(15deg);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* --- Nav Actions (Auth/Points) --- */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-nav-outline, .btn-nav-solid {
    padding: 8px 20px;
    border-radius: 50px; /* شكل دائري كالأصلي */
    font-size: 0.95rem;
    font-weight: 700;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-nav-outline {
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    background: rgba(255,255,255,0.1);
}
.btn-nav-outline:hover {
    background: rgba(255,255,255,0.2);
    color: #fff;
}

.btn-nav-solid {
    background: #ffc107; /* اللون الأصفر الأصلي */
    color: #212529;
    box-shadow: 0 4px 10px rgba(255, 193, 7, 0.3);
    border: none;
}
.btn-nav-solid:hover {
    background: #ffca2c;
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 193, 7, 0.5);
}

.nav-points {
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 6px 15px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    font-size: 0.95rem;
}

.btn-add-points {
    background: #ffc107;
    color: #000;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    margin-right: 8px;
    cursor: pointer;
    transition: transform 0.2s;
}
.btn-add-points:hover { transform: scale(1.1); }

.nav-user-actions { display: flex; align-items: center; gap: 10px; }

.nav-icon-btn {
    color: rgba(255,255,255,0.8);
    font-size: 1.3rem;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: color 0.2s;
}
.nav-icon-btn:hover { color: #fff; }

.btn-nav-upgrade {
    background: linear-gradient(135deg, #ffc107, #ff9800);
    color: #000 !important;
    font-weight: bold;
    font-size: 0.85rem;
    padding: 5px 15px;
    border-radius: 50px;
    text-decoration: none;
    transition: transform 0.2s;
}
.btn-nav-upgrade:hover { transform: translateY(-2px); }

.nav-badge-pro {
    color: #ffc107;
    font-size: 0.85rem;
    font-weight: bold;
    border: 1px solid #ffc107;
    padding: 3px 10px;
    border-radius: 50px;
}

/* --- Main Hero Content --- */
.hero-content {
    position: relative;
    z-index: 10;
    padding-top: 4rem;
    padding-bottom: 2rem;
    max-width: 950px;
}

.hero-main-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.text-accent {
    color: #ffc107; /* الكلمة المميزة باللون الذهبي */
}

.hero-main-subtitle {
    font-size: clamp(1.1rem, 3vw, 1.4rem);
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin-bottom: 2.5rem;
    text-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

/* --- Fast Flags Display --- */
.hero-dialects-row {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2.5rem;
}

.dialect-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: 2px solid rgba(255,255,255,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: -12px; /* تداخل الأيقونات */
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    will-change: transform;
}
html .dialect-icon {
    margin-left: 0;
    margin-right: -12px;
}

.dialect-icon:hover {
    transform: translateY(-10px) scale(1.15);
    z-index: 10;
    border-color: #fff;
    background: rgba(255,255,255,0.2);
}
.dialect-icon .fi {
    font-size: 32px;
    border-radius: 50%;
}
.more-dialects {
    background: rgba(0,0,0,0.4);
    color: white;
    font-size: 0.9rem;
    font-weight: bold;
    z-index: 5;
    border-style: dashed;
}

/* --- Hero Buttons --- */
.hero-cta-group {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 3rem;
}

.hero-btn-primary {
    background: linear-gradient(to right, #ffc107, #ff9800);
    color: #212529 !important;
    padding: 14px 35px;
    border-radius: 50px;
    font-size: 1.15rem;
    font-weight: 800;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.4);
    border: none;
}
.hero-btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 10px 25px rgba(255, 193, 7, 0.6);
}

.hero-btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: white !important;
    padding: 14px 30px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.2s;
}
.hero-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-3px);
}

.hero-btn-premium {
    background: linear-gradient(45deg, #1e293b, #0f172a);
    color: white !important;
    padding: 14px 30px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid #ffc107;
    transition: all 0.2s;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.15);
}
.hero-btn-premium:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.3);
    background: linear-gradient(45deg, #0f172a, #000000);
}

.hero-btn-text {
    background: transparent;
    color: rgba(255,255,255,0.8);
    padding: 14px 20px;
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    transition: all 0.2s;
}
.hero-btn-text:hover {
    color: #fff;
    text-decoration: underline;
}

/* --- Trust Pills --- */
.hero-features-pills {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.feature-pill {
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.1);
    padding: 8px 20px;
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.15);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.feature-pill i {
    color: #4ade80; /* لون أخضر فاقع لعلامة الصح */
    font-size: 1rem;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .hero-nav { flex-direction: column; gap: 15px; }
    .hero-main-title { font-size: 2.2rem; }
    .hero-cta-group { flex-direction: column; width: 100%; gap: 10px;}
    .hero-btn-primary, .hero-btn-secondary, .hero-btn-premium { width: 100%; text-align: center; }
    .modern-hero { padding-bottom: 4rem; clip-path: polygon(0 0, 100% 0, 100% 95%, 0 100%);}
}


.hero-team-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
    color: #ffffff;
    border: 2px solid #ffd700;
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.15);
    border-radius: 24px;
    position: relative;
    overflow: hidden;
}

.hero-team-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.05) 0%, transparent 60%);
    pointer-events: none;
    animation: rotate-glow 20s linear infinite;
}

@keyframes rotate-glow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.hero-team-badge {
    background: linear-gradient(90deg, #FFD700, #FFA500);
    color: #000;
    font-weight: 900;
    padding: 6px 20px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
    font-size: 0.95rem;
}

.hero-pricing-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 2;
    position: relative;
}

.hero-pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 215, 0, 0.4);
}

.hero-pricing-card.premium-tier {
    background: linear-gradient(180deg, rgba(255, 215, 0, 0.1) 0%, rgba(255, 215, 0, 0.02) 100%);
    border-color: #FFD700;
}

.hero-btn-wa {
    background: #25D366;
    color: #fff !important;
    font-weight: 800;
    border-radius: 50px;
    padding: 14px 25px;
    transition: all 0.3s;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    font-size: 1.1rem;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
}

.hero-btn-wa:hover {
    background: #1ebc59;
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
}

.hero-feature-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 1.05rem;
    color: #e2e8f0;
}

.hero-feature-list i {
    color: #FFD700;
    margin-top: 6px;
    font-size: 1.1rem;
}




.hero-announcement-bar {
    background: linear-gradient(90deg, #0f172a 0%, #1e1b4b 100%);
    color: white;
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 1050; /* تأكيد ظهوره فوق باقي العناصر */
    border-bottom: 2px solid #FFD700;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.15);
}

.hero-announcement-bar .btn-outline-gold {
    color: #FFD700;
    border-color: #FFD700;
    transition: all 0.3s ease;
}

.hero-announcement-bar .btn-outline-gold:hover {
    background-color: #FFD700;
    color: #000;
    transform: scale(1.05);
}

@media (max-width: 576px) {
    .hero-announcement-bar .small-mobile { font-size: 0.8rem; line-height: 1.4; }
    .hero-announcement-bar .btn-outline-gold { padding: 4px 10px; font-size: 0.8rem; }
}



.api-hero-section {
    background: linear-gradient(135deg, #020617 0%, #0f172a 100%);
    color: #f8fafc;
    border-top: 2px solid #38bdf8;
    position: relative;
}
.api-feature-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
    height: 100%;
    transition: all 0.3s ease;
}
.api-feature-card:hover {
    transform: translateY(-5px);
    border-color: #38bdf8;
    box-shadow: 0 10px 30px rgba(56, 189, 248, 0.15);
    background: rgba(255, 255, 255, 0.06);
}
.api-code-window {
    background: #0d1117;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #334155;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}
.api-code-header {
    background: #1e293b;
    padding: 10px 15px;
    display: flex;
    gap: 8px;
    align-items: center;
    border-bottom: 1px solid #334155;
}
.mac-btn { width: 12px; height: 12px; border-radius: 50%; }
.mac-close { background: #ff5f56; }
.mac-min { background: #ffbd2e; }
.mac-max { background: #27c93f; }

.api-pricing-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border: 2px solid transparent;
    transition: 0.3s;
}
.api-pricing-card:hover {
    border-color: #0dcaf0;
    transform: scale(1.02);
}


.director-btn-premium {
    color: #8b5cf6 !important; /* لون بنفسجي يعبر عن الإبداع */
    background: rgba(139, 92, 246, 0.08) !important; /* خلفية شفافة خفيفة */
    border: 1px solid rgba(139, 92, 246, 0.3) !important;
    border-radius: 8px !important;
    padding: 4px 12px !important;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    margin-right: 5px;
}

/* تأثير التمرير (Hover) أو عندما تكون اللوحة مفتوحة (Active) */
.director-btn-premium:hover, 
.director-btn-premium.active {
    background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(109, 40, 217, 0.3);
    border-color: transparent !important;
    transform: translateY(-1px);
}

/* تعديل بسيط للوحة المخرج (Panel) لتتناسق مع اللون الجديد */
#directorModePanel {
    border-top: 3px solid #8b5cf6;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}


.text-actions {
    display: flex !important;
    align-items: center;
    gap: 6px !important; /* مسافة متساوية وأنيقة بين جميع الأزرار */
    flex-wrap: wrap;
}

/* 2. إلغاء الحجم الثابت للزر ليأخذ حجم النص براحة */
.text-action-btn.director-btn-premium {
    width: auto !important; 
    height: auto !important;
    min-height: 30px; 
    padding: 0 12px !important;
    border-radius: 50px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    white-space: nowrap; /* منع النص من النزول لسطر جديد */
    margin: 0 !important; /* إزالة الهوامش الخارجية */
    
    /* الألوان والتصميم */
    color: #8b5cf6 !important;
    background: rgba(139, 92, 246, 0.08) !important;
    border: 1px solid rgba(139, 92, 246, 0.3) !important;
    transition: all 0.3s ease;
}

/* إبعاد الأيقونة عن النص قليلاً */
.text-action-btn.director-btn-premium i {
    margin-left: 5px;
}

/* تأثير التمرير والضغط */
.text-action-btn.director-btn-premium:hover, 
.text-action-btn.director-btn-premium.active {
    background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 10px rgba(109, 40, 217, 0.3);
    border-color: transparent !important;
}

/* 3. جعل الزر متجاوباً مع الجوال (إخفاء النص وترك الأيقونة فقط) */
@media (max-width: 575px) {
    .director-btn-text {
        display: none !important; /* إخفاء كلمة "المخرج" في الجوال */
    }
    .text-action-btn.director-btn-premium {
        padding: 0 8px !important; /* تصغير الزر ليصبح دائرياً تقريباً */
    }
    .text-action-btn.director-btn-premium i {
        margin-left: 0; /* إزالة المسافة لأن النص اختفى */
    }
}



.modern-voice-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.modern-voice-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    transform: translateY(-2px);
}

.modern-voice-card.active {
    border-color: #0d6efd;
    background: #f0f7ff;
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.15);
}

/* الحاوية الخاصة بالصورة وزر التشغيل */
.avatar-play-wrapper {
    position: relative;
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}

.modern-voice-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e2e8f0;
    transition: all 0.3s;
}

.modern-voice-card.active .modern-voice-avatar {
    border-color: #0d6efd;
}

/* زر تشغيل العينة الصوتية */
.preview-play-btn {
    position: absolute;
    bottom: -5px;
    right: -5px;
    width: 28px;
    height: 28px;
    background: #10b981;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    border: 2px solid #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 2;
    transition: transform 0.2s, background 0.2s;
}

.preview-play-btn:hover {
    transform: scale(1.15);
    background: #059669;
}

.preview-play-btn.playing {
    background: #ef4444;
    animation: pulse-red 1.5s infinite;
}

/* نصوص الكارت */
.modern-voice-info {
    flex-grow: 1;
    min-width: 0;
}

.modern-voice-name {
    font-weight: 700;
    font-size: 1.05rem;
    color: #1e293b;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.modern-voice-accent {
    font-size: 0.8rem;
    color: #64748b;
    background: #f1f5f9;
    padding: 2px 8px;
    border-radius: 20px;
    display: inline-block;
}

/* مؤشر الاختيار */
.modern-selection-indicator {
    color: #0d6efd;
    font-size: 1.2rem;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.2s;
}

.modern-voice-card.active .modern-selection-indicator {
    opacity: 1;
    transform: scale(1);
}

/* إخفاء السكرول بار في الفلاتر */
.hide-scrollbar::-webkit-scrollbar { display: none; }
.hide-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

@keyframes pulse-red {
    0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
    70% { box-shadow: 0 0 0 6px rgba(239, 68, 68, 0); }
    100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}




#real-reviews-section {
    background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
    overflow: hidden;
    padding: 5rem 0;
        content-visibility: auto; 
    contain-intrinsic-size: 600px;

}
.marquee-container {
    display: flex;
    overflow: hidden;
    user-select: none;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    /* نجعل اتجاهه يسار-يمين لتجنب مشاكل الـ RTL في الأنيميشن */
    direction: ltr; 
}
.marquee-content {
    flex-shrink: 0;
    display: flex;
    justify-content: space-around;
    min-width: 100%;
    gap: 1.5rem;
    animation: scroll-x 40s linear infinite;
}
.marquee-container:hover .marquee-content {
    animation-play-state: paused;
}
.marquee-content.reverse {
    animation-direction: reverse;
}
.review-img-wrapper {
    width: 260px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    border: 4px solid #fff;
}
.review-img-wrapper:hover {
    transform: scale(1.05) translateY(-10px);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.3); /* لون واتساب */
}
.review-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}
@keyframes scroll-x {
    from { transform: translateX(0); }
    to { transform: translateX(calc(-100% - 1.5rem)); }
}

