/* FAQ Page Styles */

.page-header {
    background: linear-gradient(135deg, rgba(160, 82, 45, 0.05) 0%, rgba(205, 133, 63, 0.03) 100%);
    padding: 40px 0 60px;
    margin-top: -88px;
    padding-top: calc(88px + 40px);
    margin-bottom: 60px;
    border-bottom: 1px solid rgba(160, 82, 45, 0.15);
}

@media (max-width: 768px) {
    .page-header {
        margin-top: -59px;
        padding-top: calc(59px + 40px);
    }
}

.header-content {
    text-align: center;
}

.page-header h1 {
    font-size: 64px;
    font-weight: 900;
    letter-spacing: -3px;
    color: #3E2723;
    margin-bottom: 16px;
}

body.rtl .page-header h1 {
    font-size: 72px;
}

.page-header p {
    font-size: 20px;
    color: rgba(62, 39, 35, 0.7);
    font-weight: 400;
}

/* FAQ Categories */
.faq-category {
    margin-bottom: 100px;
}

.category-header {
    text-align: center;
    margin-bottom: 60px;
}

.category-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 254, 250, 0.9);
    color: #A0522D;
    padding: 10px 32px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    border: 1px solid rgba(218, 165, 32, 0.2);
}

.category-title {
    font-size: 48px;
    font-weight: 900;
    letter-spacing: -2px;
    color: #3E2723;
}

body.rtl .category-title {
    font-size: 52px;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 28px;
}

.faq-card {
    background: linear-gradient(135deg, #ffffff 0%, #FFF9F0 100%);
    border: 1px solid rgba(160, 82, 45, 0.15);
    border-radius: 20px;
    padding: 32px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.faq-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, #A0522D, #CD853F, #DAA520);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.faq-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(160, 82, 45, 0.15);
}

.faq-card:hover::before {
    opacity: 1;
}

.faq-question {
    font-size: 18px;
    font-weight: 800;
    color: #3E2723;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.faq-answer {
    font-size: 15px;
    color: #5D4037;
    line-height: 1.7;
    font-weight: 400;
}

/* CTA Section */
.cta-section {
    margin-bottom: 100px;
    text-align: center;
}

.cta-content {
    background: linear-gradient(135deg, rgba(160, 82, 45, 0.05) 0%, rgba(205, 133, 63, 0.03) 100%);
    border: 2px solid rgba(160, 82, 45, 0.15);
    border-radius: 28px;
    padding: 80px 60px;
}

.cta-content h2 {
    font-size: 48px;
    font-weight: 900;
    letter-spacing: -2px;
    color: #3E2723;
    margin-bottom: 16px;
}

body.rtl .cta-content h2 {
    font-size: 52px;
}

.cta-content p {
    font-size: 18px;
    color: #5D4037;
    margin-bottom: 32px;
    font-weight: 400;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #A0522D 0%, #CD853F 50%, #DAA520 100%);
    border: none;
    padding: 12px 48px;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 700;
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    white-space: nowrap;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(160, 82, 45, 0.25);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #DAA520 0%, #CD853F 50%, #A0522D 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.cta-button:hover {
    transform: translateY(-4px) scale(1.02);
}

.cta-button:hover::before {
    opacity: 1;
}

.cta-button span {
    position: relative;
    z-index: 1;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-header h1 {
        font-size: 42px;
        letter-spacing: -2px;
    }

    body.rtl .page-header h1 {
        font-size: 48px;
    }

    .page-header p {
        font-size: 16px;
    }

    .category-title {
        font-size: 36px;
        letter-spacing: -1px;
    }

    body.rtl .category-title {
        font-size: 40px;
    }

    .cta-content {
        padding: 60px 32px;
    }

    .cta-content h2 {
        font-size: 36px;
    }

    body.rtl .cta-content h2 {
        font-size: 40px;
    }

    .faq-category {
        margin-bottom: 60px;
    }
}
