/* style/faq.css */
.page-faq {
    font-family: 'Arial', sans-serif;
    color: #1F2D3D; /* Text Main */
    background-color: #F4F7FB; /* Background */
    line-height: 1.6;
}

/* Hero Section */
.page-faq__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding, body handles main offset */
    padding-bottom: 40px;
    background-color: #F4F7FB; /* Background */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.page-faq__hero-image {
    width: 100%;
    max-width: 1200px; /* Limit hero image width */
    margin-bottom: 30px;
    overflow: hidden;
    border-radius: 10px;
}

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

.page-faq__hero-content {
    max-width: 800px;
    padding: 0 20px;
}

.page-faq__main-title {
    font-size: clamp(2.2rem, 4vw, 3.2rem); /* H1 font size with clamp */
    font-weight: 700;
    color: #2F6BFF; /* Main Color */
    margin-bottom: 15px;
    line-height: 1.2;
}

.page-faq__intro-text {
    font-size: 1.1rem;
    color: #1F2D3D; /* Text Main */
    margin-bottom: 30px;
}

.page-faq__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.page-faq__btn-primary,
.page-faq__btn-secondary {
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    max-width: 100%; /* For responsiveness */
    box-sizing: border-box; /* For responsiveness */
    white-space: normal; /* For responsiveness */
    word-wrap: break-word; /* For responsiveness */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.page-faq__btn-primary {
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button Color */
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 15px rgba(47, 107, 255, 0.3);
}

.page-faq__btn-primary:hover {
    background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
    box-shadow: 0 6px 20px rgba(47, 107, 255, 0.4);
}

.page-faq__btn-secondary {
    background-color: #FFFFFF; /* Card BG */
    color: #2F6BFF; /* Main Color */
    border: 2px solid #2F6BFF; /* Main Color */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-faq__btn-secondary:hover {
    background-color: #2F6BFF; /* Main Color */
    color: #FFFFFF;
    box-shadow: 0 4px 15px rgba(47, 107, 255, 0.3);
}

/* General Content Sections */
.page-faq__section-spacing {
    padding: 60px 0;
}

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

.page-faq__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    color: #2F6BFF; /* Main Color */
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
}

.page-faq__paragraph {
    font-size: 1rem;
    color: #1F2D3D; /* Text Main */
    margin-bottom: 20px;
    text-align: justify;
}

.page-faq__paragraph strong {
    color: #000000; /* Custom Color_1776249996415 */
}

/* Accordion Section for FAQs */
.page-faq__accordion-section {
    background-color: #FFFFFF; /* Card BG */
}

.page-faq__faq-item {
    background-color: #F4F7FB; /* Background */
    border: 1px solid #D6E2FF; /* Border Color */
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.page-faq__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1F2D3D; /* Text Main */
    cursor: pointer;
    background-color: #FFFFFF; /* Card BG */
    border-radius: 10px;
}

.page-faq__faq-qtext {
    flex-grow: 1;
    margin-right: 15px;
    color: #000000; /* Custom Color_1776249996415 */
}

.page-faq__faq-toggle {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #2F6BFF; /* Main Color */
    transition: transform 0.3s ease;
}

.page-faq__faq-item[open] .page-faq__faq-toggle {
    transform: rotate(45deg); /* Change to X when open */
}

.page-faq__faq-item[open] .page-faq__faq-question {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.page-faq__faq-answer {
    padding: 0 25px 20px;
    font-size: 1rem;
    color: #1F2D3D; /* Text Main */
    background-color: #F4F7FB; /* Background */
    border-top: 1px solid #D6E2FF; /* Border Color */
}

.page-faq__faq-answer p {
    margin-bottom: 0;
    text-align: justify;
}

/* CTA Section */
.page-faq__cta-section {
    text-align: center;
    background-color: #2F6BFF; /* Main Color - Dark background */
    color: #FFFFFF; /* White text for dark background */
}

.page-faq__cta-section .page-faq__section-title {
    color: #FFFFFF; /* White text for dark background */
}

.page-faq__cta-section .page-faq__paragraph {
    color: #FFFFFF; /* White text for dark background */
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.page-faq__cta-buttons--center {
    justify-content: center;
}

.page-faq__cta-section .page-faq__btn-primary {
    background: #FFFFFF; /* White background for contrast */
    color: #2F6BFF; /* Main Color text */
    border: 2px solid #FFFFFF;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.page-faq__cta-section .page-faq__btn-primary:hover {
    background: #e0e0e0;
    color: #2F6BFF;
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4);
}

.page-faq__cta-section .page-faq__btn-secondary {
    background-color: transparent;
    color: #FFFFFF;
    border: 2px solid #FFFFFF;
    box-shadow: none;
}

.page-faq__cta-section .page-faq__btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-faq__main-title {
        font-size: clamp(2rem, 5vw, 2.8rem);
    }

    .page-faq__section-title {
        font-size: clamp(1.6rem, 4.5vw, 2.2rem);
    }
}

@media (max-width: 768px) {
    /* HERO 主图区域 */
    .page-faq__hero-section {
        padding-top: 10px; /* 顶距约 10px 级 */
        padding-bottom: 30px;
    }

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

    .page-faq__main-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem); /* 更小的 H1 */
    }

    .page-faq__intro-text {
        font-size: 1rem;
    }

    /* 按钮与按钮容器 */
    .page-faq__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .page-faq__btn-primary,
    .page-faq__btn-secondary,
    .page-faq a[class*="button"],
    .page-faq a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    /* 长文区 */
    .page-faq__section-spacing {
        padding: 40px 0;
    }

    .page-faq__container {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-faq__section-title {
        font-size: clamp(1.5rem, 5.5vw, 2rem);
        margin-bottom: 30px;
    }

    .page-faq__paragraph {
        font-size: 0.95rem;
    }

    /* 通用图片与容器 */
    .page-faq img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-faq__hero-image {
        border-radius: 0;
    }

    .page-faq__faq-question {
        padding: 15px 20px;
        font-size: 1rem;
    }

    .page-faq__faq-answer {
        padding: 0 20px 15px;
    }
}

@media (max-width: 480px) {
    .page-faq__hero-section {
        padding-bottom: 20px;
    }

    .page-faq__main-title {
        font-size: clamp(1.6rem, 7vw, 2.2rem);
    }

    .page-faq__intro-text {
        font-size: 0.9rem;
    }

    .page-faq__section-title {
        font-size: clamp(1.4rem, 6.5vw, 1.8rem);
        margin-bottom: 25px;
    }
}