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

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

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

.page-support__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.page-support__hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    margin-bottom: 20px;
}

.page-support__hero-content {
    max-width: 800px;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-support__main-title {
    font-size: clamp(2em, 4vw, 3.2em); /* Use clamp for H1 */
    font-weight: bold;
    color: #2F6BFF; /* Main color */
    margin-bottom: 15px;
    line-height: 1.2;
}

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

.page-support__cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    width: 100%; /* Ensure container takes full width for mobile adaptation */
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden; /* For mobile button overflow */
}

.page-support__btn-primary,
.page-support__btn-secondary,
.page-support a[class*="button"],
.page-support a[class*="btn"] {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1em;
    cursor: pointer;
    transition: all 0.3s ease;
    box-sizing: border-box;
    white-space: normal; /* Allow text wrapping for buttons */
    word-wrap: break-word; /* Allow text wrapping for buttons */
    text-align: center;
}

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

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

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

.page-support__btn-secondary:hover {
    background: #e0eaff;
    color: #2F6BFF;
    border-color: #2F6BFF;
}

.page-support__btn-text {
    background: none;
    border: none;
    color: #2F6BFF; /* Main color */
    padding: 0;
    font-size: 0.95em;
    font-weight: bold;
    text-decoration: underline;
}

.page-support__btn-text:hover {
    color: #4A8BFF; /* Lighter shade of main color */
}

.page-support__section-title {
    font-size: 2.2em;
    font-weight: bold;
    color: #1F2D3D; /* Text Main */
    text-align: center;
    margin-bottom: 30px;
    margin-top: 50px;
}

.page-support__section-title--white {
    color: #ffffff;
}

.page-support__section-text {
    font-size: 1.05em;
    color: #1F2D3D; /* Text Main */
    text-align: center;
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-support__section-text--white {
    color: #f0f0f0;
}

/* Intro Section */
.page-support__intro-section {
    padding: 60px 0;
    background-color: #F4F7FB; /* Background */
}

/* Channels Section */
.page-support__channels-section {
    padding: 60px 0;
    background-color: #ffffff; /* Card BG */
}

.page-support__channels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-support__channel-item {
    background-color: #F4F7FB; /* Background */
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.page-support__channel-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.page-support__channel-icon {
    width: 100%; /* Ensure image fills container */
    max-width: 250px; /* Max width for consistency */
    height: auto;
    display: block;
    margin: 0 auto 20px auto;
    border-radius: 8px;
    object-fit: cover;
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px; /* Minimum size requirement */
}

.page-support__channel-title {
    font-size: 1.4em;
    font-weight: bold;
    color: #2F6BFF; /* Main color */
    margin-bottom: 10px;
}

.page-support__channel-description {
    font-size: 0.95em;
    color: #1F2D3D; /* Text Main */
    margin-bottom: 20px;
}

/* FAQ Section */
.page-support__faq-section {
    padding: 60px 0;
    background-color: #F4F7FB; /* Background */
}

.page-support__faq-illustration {
    width: 100%;
    max-width: 600px;
    height: auto;
    display: block;
    margin: 0 auto 40px auto;
    border-radius: 12px;
    object-fit: cover;
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px; /* Minimum size requirement */
}

.page-support__faq-list {
    max-width: 900px;
    margin: 0 auto 40px auto;
}

.page-support__faq-item {
    background-color: #ffffff; /* Card BG */
    border: 1px solid #D6E2FF; /* Border color */
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.page-support__faq-item[open] {
    box-shadow: 0 6px 20px rgba(47, 107, 255, 0.1);
}

.page-support__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.1em;
    font-weight: bold;
    color: #1F2D3D; /* Text Main */
    cursor: pointer;
    background-color: #ffffff; /* Card BG */
    list-style: none; /* Hide default marker */
    user-select: none;
    transition: background-color 0.3s ease;
}

.page-support__faq-question::-webkit-details-marker {
    display: none; /* Hide default marker for webkit */
}

.page-support__faq-question:hover {
    background-color: #f0f5ff;
}

.page-support__faq-qtext {
    flex-grow: 1;
    text-align: left;
    color: #1F2D3D; /* Text Main */
}

.page-support__faq-toggle {
    font-size: 1.5em;
    font-weight: normal;
    color: #2F6BFF; /* Main color */
    margin-left: 15px;
    line-height: 1;
}

.page-support__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 1em;
    color: #1F2D3D; /* Text Main */
    line-height: 1.7;
    transition: max-height 0.3s ease-out; /* For JS fallback, if not using native details */
}

.page-support__faq-answer p {
    margin: 0;
}

.page-support__faq-cta {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    width: 100%; /* For mobile button overflow */
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* CTA Section */
.page-support__cta-section {
    padding: 80px 0;
    background: linear-gradient(to right, #2F6BFF, #6FA3FF); /* Main color to Auxiliary color */
    text-align: center;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.page-support__cta-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15; /* Subtle overlay */
    z-index: 0;
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px; /* Minimum size requirement */
}

.page-support__cta-section .page-support__container {
    position: relative;
    z-index: 1;
}

/* Ensure all content area images are responsive by default */
.page-support img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* --- Mobile Responsive Styles (max-width: 768px) --- */
@media (max-width: 768px) {
    /* HERO 主图区域 */
    .page-support__hero-section {
        padding-top: 10px !important; /* Small top padding, body handles --header-offset */
        padding-bottom: 20px;
    }

    .page-support__main-title {
        font-size: clamp(1.8em, 8vw, 2.5em); /* Adjust H1 size for mobile */
        margin-bottom: 10px;
    }

    .page-support__description {
        font-size: 1em;
        margin-bottom: 20px;
        padding: 0 15px;
    }

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

    .page-support__btn-primary,
    .page-support__btn-secondary,
    .page-support a[class*="button"],
    .page-support 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: 12px 15px;
        font-size: 0.95em;
    }

    /* 其他内容模块 - 通用图片与容器 */
    .page-support__section-title {
        font-size: 1.8em;
        margin-top: 30px;
        margin-bottom: 20px;
        padding: 0 15px;
    }

    .page-support__section-text {
        font-size: 0.95em;
        padding: 0 15px;
    }

    .page-support__container {
        padding: 10px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }

    /* 产品展示图区域 (Channels Grid) */
    .page-support__channels-grid {
        grid-template-columns: 1fr; /* Single column for channels */
        gap: 20px;
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }

    .page-support__channel-item {
        padding: 20px;
    }

    .page-support__channel-icon {
        max-width: 180px !important; /* Slightly smaller icons for mobile */
        min-width: 180px !important;
        min-height: 180px !important;
        width: 100% !important; /* Ensure these are also responsive */
        height: auto !important;
    }

    /* FAQ Section */
    .page-support__faq-illustration {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        margin-bottom: 20px;
        padding: 0 15px;
        box-sizing: border-box !important;
    }

    .page-support__faq-list {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }

    .page-support__faq-question {
        padding: 15px 20px;
        font-size: 1em;
    }

    .page-support__faq-answer {
        padding: 0 20px 15px 20px;
        font-size: 0.9em;
    }

    .page-support__faq-cta {
        flex-direction: column; /* Stack FAQ CTA buttons */
        gap: 10px;
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    /* CTA Section */
    .page-support__cta-section {
        padding: 50px 0;
    }

    /* 通用图片与容器 */
    .page-support img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }

    .page-support__hero-image,
    .page-support__channel-icon,
    .page-support__faq-illustration,
    .page-support__cta-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }

    .page-support__intro-section,
    .page-support__channels-section,
    .page-support__faq-section,
    .page-support__cta-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }
}

/* --- Mobile Responsive Styles (max-width: 480px) for even smaller screens --- */
@media (max-width: 480px) {
    .page-support__main-title {
        font-size: clamp(1.6em, 9vw, 2em);
    }
    .page-support__section-title {
        font-size: 1.6em;
    }
    .page-support__faq-question {
        font-size: 0.95em;
    }
    .page-support__faq-answer {
        font-size: 0.85em;
    }
}