/* style/faq.css */

.page-faq {
    color: #FFF3E6; /* Text Main */
    background-color: #0D0E12; /* Background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.page-faq__hero-section {
    padding-top: 10px; /* Fixed header spacing */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.page-faq__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.page-faq__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    margin: 0 auto;
}

.page-faq__hero-content {
    max-width: 900px;
    margin: 0 auto 30px;
    padding: 0 20px;
    z-index: 1;
}

.page-faq__main-title {
    font-size: 44px;
    font-weight: bold;
    color: #FFB04D; /* Glow */
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-faq__description {
    font-size: 18px;
    color: #FFF3E6;
    margin-bottom: 30px;
}

.page-faq__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    width: 100%;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
    padding: 0 15px;
}

.page-faq__btn-primary,
.page-faq__btn-secondary,
.page-faq__btn-text {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-faq__btn-primary {
    background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 15px rgba(255, 140, 26, 0.4);
}

.page-faq__btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 140, 26, 0.6);
}

.page-faq__btn-secondary {
    background: #17191F; /* Card BG */
    color: #FFA53A; /* Auxiliary */
    border: 2px solid #A84F0C; /* Border */
}

.page-faq__btn-secondary:hover {
    background: #2a2d36;
    color: #FFB04D; /* Glow */
    border-color: #FF8C1A;
    transform: translateY(-2px);
}

.page-faq__btn-text {
    background: none;
    color: #FFA53A;
    border: 1px solid #A84F0C;
    padding: 10px 20px;
    font-size: 16px;
    margin-top: 15px;
}

.page-faq__btn-text:hover {
    color: #FFB04D;
    border-color: #FF8C1A;
    text-decoration: underline;
}

.page-faq__content-area {
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
}

.page-faq__section-title {
    font-size: 36px;
    font-weight: bold;
    color: #FFB04D; /* Glow */
    text-align: center;
    margin-bottom: 25px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.page-faq__intro-text {
    font-size: 17px;
    color: #FFF3E6;
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-faq__faq-list {
    margin-bottom: 40px;
}

details.page-faq__faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid #A84F0C; /* Border */
    overflow: hidden;
    background: #17191F; /* Card BG */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

details.page-faq__faq-item summary.page-faq__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    user-select: none;
    list-style: none;
    transition: background-color 0.3s ease;
}

details.page-faq__faq-item summary.page-faq__faq-question::-webkit-details-marker {
    display: none;
}

details.page-faq__faq-item summary.page-faq__faq-question:hover {
    background: #2a2d36;
}

.page-faq__faq-qtext {
    flex: 1;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    text-align: left;
    color: #FFF3E6;
}

.page-faq__faq-toggle {
    font-size: 28px;
    font-weight: bold;
    color: #FFA53A;
    flex-shrink: 0;
    margin-left: 15px;
    width: 30px;
    text-align: center;
}

details.page-faq__faq-item .page-faq__faq-answer {
    padding: 0 25px 25px;
    background: #0D0E12; /* Background */
    border-radius: 0 0 8px 8px;
    color: #FFF3E6;
    font-size: 16px;
}

.page-faq__faq-answer p {
    margin-bottom: 10px;
}

.page-faq__image-support-wrapper {
    width: 100%;
    max-width: 800px;
    margin: 40px auto;
    text-align: center;
    overflow: hidden;
    box-sizing: border-box;
}

.page-faq__support-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

.page-faq__cta-section {
    background: #17191F; /* Card BG */
    padding: 60px 20px;
    text-align: center;
    margin-top: 40px;
    position: relative;
    overflow: hidden;
    border-top: 1px solid #A84F0C;
}

.page-faq__cta-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
    margin-top: 40px;
}

.page-faq__cta-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 10px;
    margin: 0 auto;
}

.page-faq__cta-title {
    font-size: 38px;
    font-weight: bold;
    color: #FFB04D; /* Glow */
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.page-faq__cta-description {
    font-size: 18px;
    color: #FFF3E6;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Responsive Styles --- */
@media (max-width: 768px) {
    .page-faq {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-faq__hero-section {
        padding-bottom: 30px;
    }

    .page-faq__hero-content {
        margin-bottom: 20px;
        padding: 0 15px;
    }

    .page-faq__main-title {
        font-size: 32px;
        margin-bottom: 15px;
    }

    .page-faq__description {
        font-size: 16px;
        margin-bottom: 25px;
    }

    .page-faq__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-faq__btn-primary,
    .page-faq__btn-secondary,
    .page-faq__btn-text {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px;
        font-size: 16px;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-faq__hero-image-wrapper,
    .page-faq__image-support-wrapper,
    .page-faq__cta-image-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-faq__hero-image,
    .page-faq__support-image,
    .page-faq__cta-image,
    .page-faq img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-faq__content-area {
        margin: 30px auto;
        padding: 0 15px;
    }

    .page-faq__section-title {
        font-size: 28px;
        margin-bottom: 20px;
    }

    .page-faq__intro-text {
        font-size: 15px;
        margin-bottom: 30px;
    }

    details.page-faq__faq-item summary.page-faq__faq-question {
        padding: 15px 20px;
    }

    .page-faq__faq-qtext {
        font-size: 16px;
    }

    .page-faq__faq-toggle {
        font-size: 24px;
        width: 25px;
    }

    details.page-faq__faq-item .page-faq__faq-answer {
        padding: 0 20px 20px;
        font-size: 15px;
    }

    .page-faq__cta-section {
        padding: 40px 15px;
        margin-top: 30px;
    }

    .page-faq__cta-title {
        font-size: 30px;
        margin-bottom: 15px;
    }

    .page-faq__cta-description {
        font-size: 16px;
        margin-bottom: 25px;
    }
}