/* ============================================
   شات عربي - Premium Content Design v5
   Full-Width RTL-Safe | Vibrant Colors | 6-Color FAQ
   ============================================ */

/* === FULL WIDTH TRICK (RTL-safe) === */
.content-section {
    width: 100%;
    position: relative;
    margin: 0;
    padding: 0;
    overflow: hidden;
    box-sizing: border-box;
}

.content-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 36px 24px;
}

/* === SECTION TITLES === */
.section-title {
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 22px;
    padding-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    position: relative;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    letter-spacing: 0.5px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 80px;
    height: 4px;
    border-radius: 4px;
}

/* === SECTION CONTENT === */
.section-content {
    font-size: 1.05rem;
    line-height: 2;
    text-align: right;
}

.section-content p {
    margin-bottom: 16px;
}

/* === CONTENT LIST (ul li) === */
.content-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.content-list li {
    padding: 12px 20px 12px 12px;
    margin-bottom: 8px;
    border-radius: 12px;
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s;
    font-weight: 500;
    line-height: 1.8;
}

.content-list li:hover {
    transform: translateX(-4px);
}

/* ================================================
   1. INTRO SECTION - Royal Blue 💬
   ================================================ */
.intro-section {
    background: linear-gradient(135deg, #1a237e 0%, #283593 40%, #3949ab 100%);
    color: #e8eaf6;
    border-bottom: 4px solid #7986cb;
}

.intro-section .section-title {
    color: #ffffff;
}

.intro-section .section-title::before {
    content: '💬';
    font-size: 1.8rem;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.intro-section .section-title::after {
    background: linear-gradient(90deg, transparent, #7986cb, #9fa8da);
}

.intro-section .content-list li {
    background: rgba(255,255,255,0.12);
    border-right: 4px solid #9fa8da;
    color: #e8eaf6;
}

.intro-section .content-list li::before {
    content: '💬';
    margin-left: 8px;
}

.intro-section .content-list li:hover {
    background: rgba(255,255,255,0.2);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.intro-section .section-content p {
    color: #c5cae9;
}

/* ================================================
   2. FEATURES SECTION - Emerald Green 🗨️
   ================================================ */
.features-section {
    background: linear-gradient(135deg, #1b5e20 0%, #2e7d32 40%, #43a047 100%);
    color: #e8f5e9;
    border-bottom: 4px solid #66bb6a;
}

.features-section .section-title {
    color: #ffffff;
}

.features-section .section-title::before {
    content: '🗨️';
    font-size: 1.8rem;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.features-section .section-title::after {
    background: linear-gradient(90deg, transparent, #66bb6a, #a5d6a7);
}

.features-section .content-list li {
    background: rgba(255,255,255,0.12);
    border-right: 4px solid #81c784;
    color: #e8f5e9;
}

.features-section .content-list li::before {
    content: '✅';
    margin-left: 8px;
}

.features-section .content-list li:hover {
    background: rgba(255,255,255,0.2);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* ================================================
   3. TIPS SECTION - Deep Purple 👥
   ================================================ */
.tips-section {
    background: linear-gradient(135deg, #4a148c 0%, #6a1b9a 40%, #8e24aa 100%);
    color: #f3e5f5;
    border-bottom: 4px solid #ba68c8;
}

.tips-section .section-title {
    color: #ffffff;
}

.tips-section .section-title::before {
    content: '👥';
    font-size: 1.8rem;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.tips-section .section-title::after {
    background: linear-gradient(90deg, transparent, #ba68c8, #ce93d8);
}

.tips-section .content-list li {
    background: rgba(255,255,255,0.12);
    border-right: 4px solid #ce93d8;
    color: #f3e5f5;
}

.tips-section .content-list li::before {
    content: '💎';
    margin-left: 8px;
}

.tips-section .content-list li:hover {
    background: rgba(255,255,255,0.2);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* ================================================
   4. GUIDE/FAQ INFO SECTION - Fiery Orange 📖
   ================================================ */
.faq-section {
    background: linear-gradient(135deg, #e65100 0%, #ef6c00 40%, #f57c00 100%);
    color: #fff3e0;
    border-bottom: 4px solid #ffb74d;
}

.faq-section .section-title {
    color: #ffffff;
}

.faq-section .section-title::before {
    content: '📖';
    font-size: 1.8rem;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.faq-section .section-title::after {
    background: linear-gradient(90deg, transparent, #ffb74d, #ffe0b2);
}

.faq-section .content-list li {
    background: rgba(255,255,255,0.15);
    border-right: 4px solid #ffe0b2;
    color: #fff3e0;
}

.faq-section .content-list li::before {
    content: '📌';
    margin-left: 8px;
}

.faq-section .content-list li:hover {
    background: rgba(255,255,255,0.25);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* ================================================
   5. FAQ QUESTIONS - Premium Dark 💬🗨️
   Each question gets a UNIQUE color!
   ================================================ */
.faq-visible {
    background: linear-gradient(135deg, #0d1b2a 0%, #1b2838 50%, #233044 100%);
    color: #e0e0e0;
    border-bottom: 4px solid #455a64;
}

.faq-visible .section-title {
    color: #ffffff;
    font-size: 1.6rem;
}

.faq-visible .section-title::before {
    content: '❓';
    font-size: 2rem;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.4));
}

.faq-visible .section-title::after {
    background: linear-gradient(90deg, transparent, #546e7a, #90a4ae);
}

.faq-count {
    font-size: 0.85rem;
    font-weight: 400;
    opacity: 0.7;
}

/* Base FAQ item */
.faq-item {
    border-radius: 16px;
    margin-bottom: 16px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.faq-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.faq-q {
    padding: 18px 22px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    text-align: right;
    margin: 0;
    line-height: 1.7;
    transition: filter 0.2s;
}

.faq-q:hover {
    filter: brightness(1.1);
}

.faq-number {
    font-size: 0.85rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
    white-space: nowrap;
}

.faq-a {
    padding: 16px 22px;
    font-size: 1rem;
    line-height: 1.9;
    text-align: right;
    border-top: 2px dashed rgba(255,255,255,0.15);
}

/* ---- FAQ Color 1: Coral Red 🔍 ---- */
.faq-item:nth-child(1) {
    background: linear-gradient(135deg, #b71c1c, #c62828, #d32f2f);
}

.faq-item:nth-child(1) .faq-q {
    color: #ffffff;
}

.faq-item:nth-child(1) .faq-q::before {
    content: '🔍';
    font-size: 1.4rem;
    order: 1;
}

.faq-item:nth-child(1) .faq-number {
    background: rgba(255,255,255,0.2);
    color: #ffcdd2;
}

.faq-item:nth-child(1) .faq-a {
    background: rgba(0,0,0,0.15);
    color: #ffcdd2;
}

/* ---- FAQ Color 2: Ocean Blue 👤 ---- */
.faq-item:nth-child(2) {
    background: linear-gradient(135deg, #0d47a1, #1565c0, #1976d2);
}

.faq-item:nth-child(2) .faq-q {
    color: #ffffff;
}

.faq-item:nth-child(2) .faq-q::before {
    content: '👤';
    font-size: 1.4rem;
    order: 1;
}

.faq-item:nth-child(2) .faq-number {
    background: rgba(255,255,255,0.2);
    color: #bbdefb;
}

.faq-item:nth-child(2) .faq-a {
    background: rgba(0,0,0,0.15);
    color: #bbdefb;
}

/* ---- FAQ Color 3: Emerald Green 🛡️ ---- */
.faq-item:nth-child(3) {
    background: linear-gradient(135deg, #1b5e20, #2e7d32, #388e3c);
}

.faq-item:nth-child(3) .faq-q {
    color: #ffffff;
}

.faq-item:nth-child(3) .faq-q::before {
    content: '🛡️';
    font-size: 1.4rem;
    order: 1;
}

.faq-item:nth-child(3) .faq-number {
    background: rgba(255,255,255,0.2);
    color: #c8e6c9;
}

.faq-item:nth-child(3) .faq-a {
    background: rgba(0,0,0,0.15);
    color: #c8e6c9;
}

/* ---- FAQ Color 4: Royal Purple 📱 ---- */
.faq-item:nth-child(4) {
    background: linear-gradient(135deg, #4a148c, #6a1b9a, #7b1fa2);
}

.faq-item:nth-child(4) .faq-q {
    color: #ffffff;
}

.faq-item:nth-child(4) .faq-q::before {
    content: '📱';
    font-size: 1.4rem;
    order: 1;
}

.faq-item:nth-child(4) .faq-number {
    background: rgba(255,255,255,0.2);
    color: #e1bee7;
}

.faq-item:nth-child(4) .faq-a {
    background: rgba(0,0,0,0.15);
    color: #e1bee7;
}

/* ---- FAQ Color 5: Golden Amber 🌟 ---- */
.faq-item:nth-child(5) {
    background: linear-gradient(135deg, #e65100, #ef6c00, #f57c00);
}

.faq-item:nth-child(5) .faq-q {
    color: #ffffff;
}

.faq-item:nth-child(5) .faq-q::before {
    content: '🌟';
    font-size: 1.4rem;
    order: 1;
}

.faq-item:nth-child(5) .faq-number {
    background: rgba(255,255,255,0.2);
    color: #ffe0b2;
}

.faq-item:nth-child(5) .faq-a {
    background: rgba(0,0,0,0.15);
    color: #ffe0b2;
}

/* ---- FAQ Color 6: Teal 💡 ---- */
.faq-item:nth-child(6) {
    background: linear-gradient(135deg, #004d40, #00695c, #00796b);
}

.faq-item:nth-child(6) .faq-q {
    color: #ffffff;
}

.faq-item:nth-child(6) .faq-q::before {
    content: '💡';
    font-size: 1.4rem;
    order: 1;
}

.faq-item:nth-child(6) .faq-number {
    background: rgba(255,255,255,0.2);
    color: #b2dfdb;
}

.faq-item:nth-child(6) .faq-a {
    background: rgba(0,0,0,0.15);
    color: #b2dfdb;
}

/* ================================================
   6. CONCLUSION SECTION - Fuchsia Pink 🎯
   ================================================ */
.conclusion-section {
    background: linear-gradient(135deg, #880e4f 0%, #ad1457 40%, #c2185b 100%);
    color: #fce4ec;
    border-bottom: 4px solid #f06292;
}

.conclusion-section .section-title {
    color: #ffffff;
}

.conclusion-section .section-title::before {
    content: '🎯';
    font-size: 1.8rem;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.conclusion-section .section-title::after {
    background: linear-gradient(90deg, transparent, #f06292, #f8bbd0);
}

.conclusion-section .section-content p {
    color: #fce4ec;
    font-size: 1.1rem;
    line-height: 2;
}

/* ================================================
   WHITE GAPS BETWEEN SECTIONS
   ================================================ */
.content-section + .content-section {
    margin-top: 6px;
}

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 768px) {
    .content-container {
        padding: 28px 18px;
    }
    
    .section-title {
        font-size: 1.3rem;
    }
    
    .faq-q {
        font-size: 1rem;
        padding: 14px 16px;
    }
    
    .faq-a {
        padding: 12px 16px;
        font-size: 0.95rem;
    }
    
    .content-list li {
        padding: 10px 16px 10px 10px;
    }
}

@media (max-width: 480px) {
    .content-container {
        padding: 22px 14px;
    }
    
    .section-title {
        font-size: 1.15rem;
    }
    
    .faq-q {
        font-size: 0.95rem;
        padding: 12px 14px;
        flex-wrap: wrap;
    }
    
    .faq-a {
        padding: 10px 14px;
        font-size: 0.9rem;
    }
}

/* === PRINT === */
@media print {
    .content-section {
        width: 100% !important;
        left: auto !important;
        right: auto !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        page-break-inside: avoid;
    }
    
    .faq-item {
        break-inside: avoid;
    }
}

/* === REDUCED MOTION === */
@media (prefers-reduced-motion: reduce) {
    .content-list li,
    .faq-item {
        transition: none !important;
    }
}
