:root {
    --go9-primary: #11A84E;
    --go9-secondary: #22C768;
    --go9-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --go9-card-bg: #11271B;
    --go9-bg: #08160F;
    --go9-text-main: #F2FFF6;
    --go9-text-secondary: #A7D9B8;
    --go9-border: #2E7A4E;
    --go9-glow: #57E38D;
    --go9-gold: #F2C14E;
    --go9-divider: #1E3A2A;
    --go9-deep-green: #0A4B2C;
}

.page-faq {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--go9-text-main); /* Default text color for the page */
    background-color: var(--go9-bg); /* Body background handled by shared, this is for main content */
}

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

/* Hero Section */
.page-faq__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 0 60px 0; /* body already has padding-top for header */
    overflow: hidden;
    background-color: var(--go9-bg);
}

.page-faq__hero-image-container {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.page-faq__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    filter: brightness(0.7); /* Slightly dim the image for text readability */
}

.page-faq__hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    text-align: center;
    padding: 30px 40px;
    max-width: 800px;
    width: 90%;
    background: rgba(17, 39, 27, 0.85); /* Use a darker, semi-transparent card-bg for contrast */
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    border: 1px solid var(--go9-border);
    box-sizing: border-box;
}

.page-faq__main-title {
    color: var(--go9-text-main);
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    /* No fixed large font-size, rely on clamp for responsiveness if needed */
    font-size: clamp(2.2rem, 4vw, 3.5rem);
}

.page-faq__intro-text {
    color: var(--go9-text-secondary);
    font-size: 1.1rem;
    margin-bottom: 30px;
    line-height: 1.6;
}

.page-faq__cta-button {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    box-sizing: border-box;
    border: none;
}

.page-faq__btn-primary {
    background: var(--go9-button-gradient);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(42, 209, 111, 0.3);
}

.page-faq__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(42, 209, 111, 0.4);
}

/* FAQ List Section */
.page-faq__faq-list-section {
    background-color: var(--go9-bg);
    padding: 80px 0;
    border-top: 1px solid var(--go9-divider);
}

.page-faq__section-title {
    color: var(--go9-text-main);
    text-align: center;
    margin-bottom: 50px;
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
}

.page-faq__faq-item {
    background-color: var(--go9-card-bg);
    border: 1px solid var(--go9-border);
    border-radius: 12px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-faq__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-weight: bold;
    color: var(--go9-text-main);
    font-size: 1.2rem;
    background-color: var(--go9-card-bg);
    transition: background-color 0.3s ease;
}

.page-faq__faq-question:hover {
    background-color: var(--go9-deep-green);
}

.page-faq__faq-question::-webkit-details-marker, /* Hide default marker for Chrome/Safari */
.page-faq__faq-question::marker { /* Hide default marker for Firefox */
    display: none;
}

.page-faq__faq-toggle {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--go9-primary);
    margin-left: 15px;
}

.page-faq__faq-item[open] .page-faq__faq-toggle {
    color: var(--go9-gold);
}

.page-faq__faq-answer {
    padding: 0 25px 25px 25px;
    color: var(--go9-text-secondary);
    font-size: 1rem;
    line-height: 1.7;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.page-faq__faq-item[open] .page-faq__faq-answer {
    max-height: 2000px; /* Sufficiently large value for smooth transition */
}

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

.page-faq__faq-answer p:last-child {
    margin-bottom: 0;
}

.page-faq__faq-sub-question {
    color: var(--go9-text-main);
    font-size: 1.1rem;
    margin-top: 20px;
    margin-bottom: 10px;
    font-weight: 600;
}

.page-faq__content-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--go9-border);
}

/* CTA Section */
.page-faq__cta-section {
    background-color: var(--go9-deep-green);
    padding: 80px 0;
    text-align: center;
    border-top: 1px solid var(--go9-divider);
}

.page-faq__cta-description {
    color: var(--go9-text-secondary);
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 40px auto;
    line-height: 1.7;
}

.page-faq__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

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

.page-faq__btn-secondary:hover {
    background: var(--go9-primary);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(17, 168, 78, 0.3);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-faq__hero-content {
        padding: 25px 30px;
        max-width: 700px;
    }
    .page-faq__main-title {
        font-size: clamp(2rem, 4.5vw, 3rem);
    }
    .page-faq__intro-text {
        font-size: 1rem;
    }
    .page-faq__faq-question {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .page-faq__hero-section {
        padding-bottom: 40px;
    }
    .page-faq__hero-content {
        position: static;
        transform: none;
        width: 100%;
        max-width: 100%;
        padding: 30px 20px;
        margin-top: -80px; /* Overlap slightly with image */
        border-radius: 0;
        background: var(--go9-card-bg); /* Use card-bg for better integration */
    }
    .page-faq__main-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
        margin-bottom: 10px;
    }
    .page-faq__intro-text {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }
    .page-faq__faq-list-section, .page-faq__cta-section {
        padding: 60px 0;
    }
    .page-faq__section-title {
        font-size: clamp(1.6rem, 5vw, 2.2rem);
        margin-bottom: 40px;
    }
    .page-faq__faq-question {
        font-size: 1rem;
        padding: 18px 20px;
    }
    .page-faq__faq-answer {
        padding: 0 20px 20px 20px;
        font-size: 0.95rem;
    }
    .page-faq__cta-description {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    .page-faq__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        align-items: center;
        gap: 15px;
        padding: 0 15px;
    }
    .page-faq__cta-button {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px;
    }
    /* Image/Video responsiveness */
    .page-faq img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-faq__section,
    .page-faq__card,
    .page-faq__container,
    .page-faq__hero-section,
    .page-faq__faq-list-section,
    .page-faq__cta-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden;
    }
    .page-faq__hero-section {
        padding-top: 10px !important;
    }
}