/* FAQ Page Styles */
.faq-page {
    font-family: 'League Spartan', sans-serif;
}

/* Hero Section with Overlay */
.faq-hero {
    position: relative;
    width: 100%;
    height: auto;
    padding-bottom: 42.86%; /* 21:9 ratio */
    overflow: hidden;
    margin-top: 0;
}

.faq-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.faq-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #f5f5f5;
}

.faq-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.7);
}

/* Hero Content - Lower Half Position */
.faq-hero-content {
    position: absolute;
    top: 65%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    z-index: 2;
    padding: 0 20px;
    width: 100%;
}

.faq-hero-title {
    font-family: 'DM Serif Display', serif;
    font-size: 128px;
    font-weight: normal;
    line-height: 96px;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.faq-hero-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 64px;
    font-weight: 400;
    line-height: 96px;
    letter-spacing: 0.5px;
    margin: 0;
}

/* Introduction Section */
.faq-intro {
    padding: 120px 0 80px;
    background-color: #FAF9F6;
}

.faq-intro .section-title {
    font-family: 'League Spartan', sans-serif;
    font-weight: 700;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1rem;
}

.faq-intro-text {
    width: 100%;
    margin-bottom: 30px;
}

.intro-lead {
    font-size: 1.2rem;
    font-weight: 400;
    color: #666;
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* Page Indicator Dots */
.page-indicator {
    display: flex;
    gap: 12px;
    margin: 2rem 0;
    align-items: center;
}

.page-indicator .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #B04152; /* 红色，与首页一致 */
    transition: all 0.3s ease;
    display: inline-block;
}

/* FAQ Accordion Section */
.faq-accordion {
    padding: 80px 0 160px;
    background-color: #FAF9F6;
}

/* Bootstrap Accordion Customization */
.faq-accordion .accordion {
    max-width: 100%;
}

.faq-accordion .accordion-item {
    border: none;
    background-color: #EAD8BA;
    margin-bottom: 12px;
    border-radius: 0;
    transition: all 0.3s ease;
}

.faq-accordion .accordion-item:last-child {
    margin-bottom: 0;
}

.faq-accordion .accordion-button {
    background-color: #EAD8BA;
    color: #333;
    font-size: 1rem;
    font-weight: 500;
    padding: 18px 20px;
    border: none;
    box-shadow: none;
    transition: all 0.3s ease;
    font-family: 'League Spartan', sans-serif;
}

.faq-accordion .accordion-button:not(.collapsed) {
    background-color: #EAD8BA;
    color: #333;
    box-shadow: none;
}

.faq-accordion .accordion-button:focus {
    border: none;
    box-shadow: none;
}

.faq-accordion .accordion-button::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23333'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
    transition: transform 0.3s ease;
}

.faq-accordion .accordion-button:not(.collapsed)::after {
    transform: rotate(-180deg);
}

.faq-accordion .accordion-body {
    padding: 20px;
    background-color: #EAD8BA;
    color: #555;
    font-size: 0.95rem;
    line-height: 1.7;
    font-family: 'League Spartan', sans-serif;
}

.faq-accordion .accordion-collapse {
    border: none;
}

/* Responsive Styles */

/* Medium screens (tablets and small laptops) */
@media (max-width: 1024px) {
    .faq-hero-title {
        font-size: 96px; /* 75% of desktop */
        line-height: 72px;
        letter-spacing: 0.5px;
    }
    
    .faq-hero-subtitle {
        font-size: 48px; /* 75% of desktop */
        line-height: 72px;
        letter-spacing: 0.5px;
    }
}

@media (max-width: 768px) {
    .faq-hero {
        padding-bottom: 56.25%; /* 16:9 ratio for mobile */
    }
    
    .faq-hero-content {
        top: 64%;
    }
    
    .faq-hero-title {
        font-size: 72px; /* ~56% of desktop */
        line-height: 54px;
        letter-spacing: 0.5px;
    }
    
    .faq-hero-subtitle {
        font-size: 36px; /* ~56% of desktop */
        line-height: 54px;
        letter-spacing: 0.5px;
    }
    
    .faq-intro {
        padding: 80px 0 60px;
    }
    
    .faq-intro .section-title {
        font-size: 2rem;
    }
    
    .intro-lead {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
    
    .page-indicator {
        gap: 10px;
        margin: 1.5rem 0;
    }
    
    .page-indicator .dot {
        width: 10px;
        height: 10px;
    }
    
    .faq-accordion {
        padding: 60px 0 120px;
    }
    
    .faq-accordion .accordion-button {
        font-size: 0.95rem;
        padding: 15px 16px;
    }
    
    .faq-accordion .accordion-body {
        padding: 16px;
        font-size: 0.9rem;
    }
}

/* Medium mobile screens */
@media (max-width: 600px) {
    .faq-hero-content {
        top: 66%;
    }
    
    .faq-hero-title {
        font-size: 52px; /* ~40% of desktop */
        line-height: 40px;
        letter-spacing: 0.5px;
    }
    
    .faq-hero-subtitle {
        font-size: 26px; /* ~40% of desktop */
        line-height: 38px;
        letter-spacing: 0.5px;
    }
}

/* Small mobile screens */
@media (max-width: 480px) {
    .faq-hero-content {
        top: 68%;
    }
    
    .faq-hero-title {
        font-size: 40px; /* ~31% of desktop */
        line-height: 32px;
        letter-spacing: 0.5px;
    }
    
    .faq-hero-subtitle {
        font-size: 20px; /* ~31% of desktop */
        line-height: 30px;
        letter-spacing: 0.5px;
    }
    
    .intro-lead {
        font-size: 1rem;
        margin-bottom: 1.2rem;
    }
    
    .page-indicator {
        gap: 8px;
        margin: 1.2rem 0;
    }
    
    .page-indicator .dot {
        width: 8px;
        height: 8px;
    }
}

