:root {
    --primary-color: #FF8C1A;
    --secondary-color: #FFA53A;
    --text-main-color: #FFF3E6;
    --background-color-body: #0D0E12;
    --card-bg-color: #17191F;
    --border-color: #A84F0C;
    --glow-color: #FFB04D;
    --deep-orange: #D96800;
    --primary-color-rgb: 255, 140, 26;
    --card-bg-color-rgb: 23, 25, 31;
}

.page-faq {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-main-color);
    background-color: var(--background-color-body);
}

.page-faq__section {
    padding: 60px 20px;
    text-align: center;
}

.page-faq__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.page-faq__section-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-main-color);
}

.page-faq__section-description {
    font-size: 18px;
    margin-bottom: 40px;
    color: var(--text-main-color);
}

.page-faq__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background: var(--background-color-body);
    color: var(--text-main-color);
}

.page-faq__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-faq__hero-image {
    width: 100%;
    margin-bottom: 30px;
}

.page-faq__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    filter: none !important;
}

.page-faq__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.page-faq__main-title {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
    color: var(--text-main-color);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-faq__hero-description {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-main-color);
}

.page-faq__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(180deg, var(--secondary-color) 0%, var(--deep-orange) 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    margin-top: 30px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-faq__cta-button:hover {
    background: var(--glow-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-faq__faq-list-section {
    background-color: var(--background-color-body);
    color: var(--text-main-color);
    padding-bottom: 80px;
}

.page-faq__faq-items-wrapper {
    margin-top: 40px;
}

details.page-faq__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    background: var(--card-bg-color);
    color: var(--text-main-color);
    text-align: left;
}

details.page-faq__faq-item summary.page-faq__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    cursor: pointer;
    user-select: none;
    list-style: none;
    transition: background-color 0.3s ease;
    color: var(--text-main-color);
}
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: rgba(var(--primary-color-rgb), 0.1);
}
.page-faq__faq-qtext {
    flex: 1;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    text-align: left;
    color: var(--text-main-color);
}
.page-faq__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: var(--text-main-color);
    flex-shrink: 0;
    margin-left: 15px;
    width: 28px;
    text-align: center;
}
details.page-faq__faq-item .page-faq__faq-answer {
    padding: 0 20px 20px;
    background: rgba(var(--card-bg-color-rgb), 0.8);
    border-radius: 0 0 5px 5px;
    color: var(--text-main-color);
}
.page-faq__faq-answer p {
    margin: 0;
    padding: 0;
    color: var(--text-main-color);
}

.page-faq__cta-section {
    background-color: var(--card-bg-color);
    color: var(--text-main-color);
    padding: 80px 20px;
}

.page-faq__cta-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-faq__cta-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-main-color);
}

.page-faq__cta-description {
    font-size: 18px;
    margin-bottom: 40px;
    max-width: 700px;
    color: var(--text-main-color);
}

.page-faq__cta-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
}

.page-faq__btn-primary,
.page-faq__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-faq__btn-primary {
    background: linear-gradient(180deg, var(--secondary-color) 0%, var(--deep-orange) 100%);
    color: #ffffff;
}

.page-faq__btn-primary:hover {
    background: var(--glow-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-faq__btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.page-faq__btn-secondary:hover {
    background: var(--primary-color);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .page-faq__section {
        padding: 40px 15px;
    }

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

    .page-faq__section-description {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .page-faq__hero-section {
        padding-top: 10px !important;
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-faq__hero-image img {
        border-radius: 4px;
    }

    .page-faq__main-title {
        font-size: clamp(24px, 7vw, 36px);
    }

    .page-faq__hero-description {
        font-size: 16px;
    }

    .page-faq__cta-button {
        padding: 12px 30px;
        font-size: 16px;
        width: 100% !important;
    }

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

    .page-faq__cta-section {
        padding: 60px 15px;
    }

    .page-faq__cta-title {
        font-size: 26px;
    }

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

    .page-faq__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-faq__btn-primary,
    .page-faq__btn-secondary {
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-faq img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block;
    }
    .page-faq__section,
    .page-faq__card,
    .page-faq__container,
    .page-faq__cta-buttons,
    .page-faq__button-group,
    .page-faq__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}

.page-faq__dark-bg {
    background-color: var(--background-color-body);
    color: var(--text-main-color);
}
.page-faq__dark-bg .page-faq__section-title,
.page-faq__dark-bg .page-faq__section-description,
.page-faq__dark-bg .page-faq__hero-description,
.page-faq__dark-bg .page-faq__main-title,
.page-faq__dark-bg .page-faq__faq-qtext,
.page-faq__dark-bg .page-faq__faq-toggle,
.page-faq__dark-bg .page-faq__cta-title,
.page-faq__dark-bg .page-faq__cta-description {
    color: var(--text-main-color);
}

.page-faq img {
    filter: none !important;
}