/* RUPAYNA FAQ Page Styles */

/* 1. FAQ Hero Section */
.faq-hero {
    position: relative;
    padding: 12rem 0 8rem;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../assets/images/faq_hero_premium_v2.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
    overflow: hidden;
    color: white;
}

.faq-hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, rgba(var(--color-gold-rgb), 0.05) 0%, transparent 70%);
    z-index: 0;
}

.faq-hero-content {
    position: relative;
    z-index: 1;
}

.faq-hero .brand-label {
    display: block;
    font-size: 0.9rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.faq-hero h1 {
    font-size: 3.5rem;
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    margin-bottom: 1.5rem;
    color: white;
    /* Changed to white */
}

.faq-hero p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    /* Changed to light semi-transparent white */
    max-width: 600px;
    margin: 0 auto;
}

/* 2. FAQ Accordion Section */
.faq-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 6rem 2rem;
}

.faq-category-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 2rem;
    margin-top: 4rem;
    color: var(--color-black);
    border-bottom: 1px solid rgba(var(--color-gold-rgb), 0.2);
    padding-bottom: 0.5rem;
}

.faq-category-title:first-of-type {
    margin-top: 0;
}

.faq-item {
    margin-bottom: 1rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 4px;
    background: white;
    transition: all 0.3s ease;
}

.faq-question {
    width: 100%;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    text-align: left;
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--color-black);
    cursor: pointer;
    transition: color 0.3s ease;
}

.faq-question i {
    font-size: 0.8rem;
    color: var(--color-gold);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question {
    color: var(--color-gold);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer-inner {
    padding: 0 2rem 2rem;
    color: var(--color-grey-500);
    line-height: 1.8;
}

.faq-item.active {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    border-color: rgba(var(--color-gold-rgb), 0.2);
}

/* 3. Final Assurance Section */
.faq-assurance {
    padding: 6rem 0;
    background: var(--color-off-white);
    text-align: center;
}

.faq-assurance h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.faq-assurance p {
    color: var(--color-grey-500);
    margin-bottom: 3rem;
}

/* Mobile Responsive */
@media (max-width: 968px) {
    .faq-hero {
        padding: 10rem 0 6rem;
    }

    .faq-hero h1 {
        font-size: 3rem;
    }

    .faq-hero p {
        font-size: 1.1rem;
    }

    .faq-container {
        padding: 5rem 1.5rem;
    }

    .faq-category-title {
        font-size: 1.75rem;
        margin-top: 3rem;
    }

    .faq-assurance h2 {
        font-size: 2rem;
    }
}

@media (max-width: 640px) {
    .faq-hero {
        padding: 8rem 0 5rem;
        background-attachment: scroll;
    }

    .faq-hero .brand-label {
        font-size: 0.75rem;
        letter-spacing: 3px;
    }

    .faq-hero h1 {
        font-size: 2.25rem;
    }

    .faq-hero p {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .faq-container {
        padding: 4rem 1rem;
    }

    .faq-category-title {
        font-size: 1.5rem;
        margin-top: 2.5rem;
    }

    .faq-question {
        padding: 1.2rem 1.25rem;
        font-size: 0.95rem;
    }

    .faq-question i {
        font-size: 0.7rem;
    }

    .faq-answer-inner {
        padding: 0 1.25rem 1.5rem;
        font-size: 0.9rem;
    }

    .faq-assurance {
        padding: 4rem 0;
    }

    .faq-assurance h2 {
        font-size: 1.75rem;
        padding: 0 1rem;
    }

    .faq-assurance p {
        padding: 0 1rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .faq-hero h1 {
        font-size: 2rem;
    }

    .faq-category-title {
        font-size: 1.3rem;
    }

    .faq-assurance h2 {
        font-size: 1.5rem;
    }
}