/* style/support.css */

/* General Styles for .page-support */
.page-support {
    font-family: 'Arial', sans-serif;
    color: #ffffff; /* Default text color for dark body background */
    line-height: 1.6;
    background-color: transparent; /* Inherit from body or shared, ensuring text contrast */
}

.page-support__section {
    padding: 60px 0;
    text-align: center;
}

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

.page-support__section-title {
    font-size: 36px;
    color: #26A9E0; /* Brand color for titles */
    margin-bottom: 20px;
    font-weight: bold;
}

.page-support__section-text {
    font-size: 18px;
    margin-bottom: 15px;
    color: #f0f0f0; /* Light text for readability on dark backgrounds */
}

/* Hero Section */
.page-support__hero-section {
    position: relative;
    width: 100%;
    height: 600px; /* Adjust height as needed */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 0; /* Assuming shared.css handles body padding-top for header offset */
}

.page-support__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    filter: none; /* Ensure no filter is applied to images */
}

.page-support__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
    z-index: 2;
}

.page-support__hero-content {
    position: relative;
    z-index: 3;
    color: #ffffff;
    text-align: center;
    max-width: 900px;
    padding: 20px;
}

.page-support__hero-title {
    font-size: 52px;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #ffffff;
}

.page-support__hero-description {
    font-size: 20px;
    margin-bottom: 30px;
}

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

/* Buttons */
.page-support__btn-primary,
.page-support__btn-secondary,
.page-support__btn-tertiary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-support__btn-primary {
    background-color: #26A9E0; /* Main brand color */
    color: #ffffff;
    border: 2px solid #26A9E0;
}

.page-support__btn-primary:hover {
    background-color: #1a7bb0;
    border-color: #1a7bb0;
}

.page-support__btn-secondary {
    background-color: transparent;
    color: #26A9E0;
    border: 2px solid #26A9E0;
}

.page-support__btn-secondary:hover {
    background-color: #26A9E0;
    color: #ffffff;
}

.page-support__btn-tertiary {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 10px 20px;
    font-size: 16px;
}

.page-support__btn-tertiary:hover {
    background-color: #26A9E0;
    border-color: #26A9E0;
}

/* Dark Section */
.page-support__dark-section {
    background-color: #1a1a1a; /* Darker background for contrast with white sections */
    color: #ffffff;
}

.page-support__dark-section .page-support__section-title {
    color: #26A9E0; /* Brand color for titles on dark background */
}

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

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

.page-support__channel-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-support__channel-card:hover {
    transform: translateY(-10px);
    background-color: rgba(255, 255, 255, 0.1);
}

.page-support__channel-icon {
    width: 100%; /* Ensure images fill card width responsively */
    height: auto;
    max-width: 150px; /* Max width for icons */
    margin-bottom: 20px;
    border-radius: 8px;
    object-fit: cover;
    filter: none; /* Ensure no filter is applied to images */
}

.page-support__channel-title {
    font-size: 24px;
    color: #26A9E0;
    margin-bottom: 15px;
}

.page-support__channel-description {
    font-size: 16px;
    color: #f0f0f0;
    margin-bottom: 20px;
    flex-grow: 1; /* Push button to bottom */
}

/* FAQ Section */
.page-support__faq-section {
    background-color: #0d0d0d; /* Slightly lighter dark background for contrast */
}

.page-support__faq-category {
    margin-top: 40px;
    text-align: left;
}

.page-support__faq-category-title {
    font-size: 28px;
    color: #26A9E0;
    margin-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
}

.page-support__faq-item {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-support__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 18px;
    font-weight: bold;
    color: #ffffff;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.page-support__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.page-support__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: #26A9E0;
    transition: transform 0.3s ease;
}

.page-support__faq-item.active .page-support__faq-toggle {
    transform: rotate(45deg); /* Plus sign rotates to form an 'x' or minus */
}

.page-support__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #f0f0f0;
    text-align: left;
}

.page-support__faq-item.active .page-support__faq-answer {
    max-height: 1000px !important; /* Sufficiently large value for content */
    padding: 15px 25px;
}

.page-support__faq-answer p {
    margin-bottom: 10px;
    color: #f0f0f0;
}

.page-support__link {
    color: #26A9E0;
    text-decoration: none;
    font-weight: bold;
}

.page-support__link:hover {
    text-decoration: underline;
}

/* Process Section */
.page-support__process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-support__process-step {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-support__process-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
    filter: none; /* Ensure no filter is applied to images */
}

.page-support__process-title {
    font-size: 22px;
    color: #26A9E0;
    margin-bottom: 10px;
}

.page-support__process-description {
    font-size: 16px;
    color: #f0f0f0;
}

/* Tips Section */
.page-support__tips-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    text-align: left;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-support__tip-item {
    background-color: rgba(255, 255, 255, 0.05);
    border-left: 5px solid #26A9E0;
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    font-size: 17px;
    color: #f0f0f0;
}

.page-support__tip-item strong {
    color: #26A9E0;
}

/* Contact Section */
.page-support__contact-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

/* Image styles - General */
.page-support img {
    max-width: 100%;
    height: auto;
    display: block;
    filter: none; /* Ensure no filter is applied to images */
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-support__hero-title {
        font-size: 44px;
    }

    .page-support__hero-description {
        font-size: 18px;
    }

    .page-support__section-title {
        font-size: 32px;
    }

    .page-support__section-text {
        font-size: 16px;
    }

    .page-support__channels-grid,
    .page-support__process-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    /* HERO 主图区域 */
    .page-support__hero-section {
        height: 450px;
        padding-top: 0 !important; /* Ensure no double padding if shared.css sets body padding */
    }

    .page-support__hero-content {
        padding: 15px;
    }

    .page-support__hero-title {
        font-size: 36px;
        margin-bottom: 15px;
    }

    .page-support__hero-description {
        font-size: 16px;
        margin-bottom: 25px;
    }

    .page-support__hero-buttons {
        flex-direction: column !important;
        gap: 15px !important;
    }

    /* 通用图片与容器 */
    .page-support img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    
    .page-support__section,
    .page-support__container,
    .page-support__channel-card,
    .page-support__faq-item,
    .page-support__process-step,
    .page-support__tip-item,
    .page-support__contact-buttons {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        overflow-x: hidden !important; /* Prevent horizontal scroll for containers */
    }

    /* 按钮与按钮容器 */
    .page-support__btn-primary,
    .page-support__btn-secondary,
    .page-support__btn-tertiary,
    .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-left: 15px !important;
        padding-right: 15px !important;
    }
    
    .page-support__hero-buttons,
    .page-support__contact-buttons {
        flex-direction: column !important;
        gap: 15px !important;
    }

    /* 其他内容模块 */
    .page-support__section {
        padding: 40px 0;
    }

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

    .page-support__section-text {
        font-size: 15px;
    }

    .page-support__channels-grid,
    .page-support__process-grid {
        grid-template-columns: 1fr !important; /* Single column layout */
        gap: 20px;
    }

    .page-support__channel-card,
    .page-support__process-step {
        padding: 20px;
    }

    .page-support__channel-icon {
        max-width: 100px;
    }

    .page-support__channel-title {
        font-size: 20px;
    }

    .page-support__faq-category-title {
        font-size: 24px;
        padding-left: 15px;
        padding-right: 15px;
    }

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

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

    .page-support__faq-item.active .page-support__faq-answer {
        padding: 15px 20px;
    }

    .page-support__tip-item {
        font-size: 15px;
        padding: 15px;
    }
}