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

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

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

.page-support__section-title {
    font-size: 36px;
    font-weight: 700;
    color: #1F2D3D; /* Text Main */
    margin-bottom: 20px;
}

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

.page-support__section-description {
    font-size: 18px;
    color: #1F2D3D; /* Text Main */
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

/* HERO 主图区域 */
.page-support__hero-section {
    padding-top: 10px; /* Small top padding, assuming body handles header offset */
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Brand color gradient */
    display: flex;
    flex-direction: column; /* Image above text */
    align-items: center;
    justify-content: center;
    min-height: 600px;
    color: #ffffff;
}

.page-support__hero-image-wrapper {
    width: 100%;
    max-height: 500px; /* Limit height of image wrapper */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
}

.page-support__hero-image {
    width: 100%;
    height: auto;
    object-fit: cover; /* Cover the area */
    display: block;
    max-width: 1200px; /* Ensure image doesn't stretch too wide */
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.page-support__hero-content {
    text-align: center;
    padding: 0 15px 60px;
    z-index: 1; /* Ensure content is above any background effects */
    max-width: 900px;
}

.page-support__main-title {
    font-size: clamp(32px, 5vw, 48px); /* Responsive font size */
    font-weight: 800;
    margin-bottom: 20px;
    color: #ffffff;
    line-height: 1.2;
}

.page-support__intro-description {
    font-size: 20px;
    margin-bottom: 30px;
    color: #f0f8ff;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* 按钮与按钮容器 */
.page-support__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.page-support__btn-primary,
.page-support__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
    max-width: 100%; /* Ensure buttons don't overflow */
}

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

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

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

.page-support__btn-secondary:hover {
    background: #f0f0f0;
    color: #1a5ac7;
    border-color: #1a5ac7;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

/* Why Support Section */
.page-support__section--why-support {
    background-color: #F4F7FB; /* Background */
    padding: 80px 0;
}

/* 产品展示图区域 (simulated for general cards) */
.page-support__feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-support__feature-item {
    background: #ffffff; /* Card BG */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #D6E2FF; /* Border */
}

.page-support__feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-support__feature-icon {
    width: 100%; /* Ensure images are responsive */
    max-width: 400px;
    height: auto;
    object-fit: cover;
    margin-bottom: 20px;
    border-radius: 8px;
    min-width: 200px;
    min-height: 200px;
}

.page-support__feature-title {
    font-size: 24px;
    font-weight: 600;
    color: #1F2D3D; /* Text Main */
    margin-bottom: 15px;
}

.page-support__feature-item p {
    color: #1F2D3D; /* Text Main */
}

/* Channels Section */
.page-support__section--channels {
    background-color: #F4F7FB; /* Background */
    padding: 80px 0;
}

.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: #ffffff; /* Card BG */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #D6E2FF; /* Border */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-support__channel-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-support__channel-icon {
    width: 100%;
    max-width: 600px;
    height: auto;
    object-fit: cover;
    margin-bottom: 20px;
    border-radius: 8px;
    min-width: 200px;
    min-height: 200px;
}

.page-support__channel-title {
    font-size: 22px;
    font-weight: 600;
    color: #1F2D3D; /* Text Main */
    margin-bottom: 15px;
}

.page-support__channel-card p {
    color: #1F2D3D; /* Text Main */
    flex-grow: 1;
    margin-bottom: 20px;
}

/* Common Issues Section */
.page-support__section--common-issues {
    background-color: #F4F7FB; /* Background */
    padding: 80px 0;
}

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

.page-support__issue-card {
    background: #ffffff; /* Card BG */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #D6E2FF; /* Border */
}

.page-support__issue-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-support__issue-title {
    font-size: 22px;
    font-weight: 600;
    color: #2F6BFF; /* Main Color */
    margin-bottom: 15px;
}

.page-support__issue-card p {
    color: #1F2D3D; /* Text Main */
}

/* FAQ Section */
.page-support__section--faq {
    background-color: #F4F7FB; /* Background */
    padding: 80px 0;
}

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

details.page-support__faq-item {
    margin-bottom: 15px;
    border-radius: 10px; /* Increased border-radius for modern look */
    border: 1px solid #D6E2FF; /* Border */
    overflow: hidden;
    background: #ffffff; /* Card BG */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}
details.page-support__faq-item summary.page-support__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px; /* Adjusted padding */
    cursor: pointer;
    user-select: none;
    list-style: none;
    transition: background-color 0.3s ease;
    font-size: 18px; /* Slightly larger font */
    font-weight: 600;
    color: #1F2D3D; /* Text Main */
}
details.page-support__faq-item summary.page-support__faq-question::-webkit-details-marker {
    display: none;
}
details.page-support__faq-item summary.page-support__faq-question:hover {
    background: #f8f8f8; /* Lighter hover background */
}
.page-support__faq-qtext {
    flex: 1;
    line-height: 1.5;
    text-align: left;
}
.page-support__faq-toggle {
    font-size: 28px; /* Larger toggle icon */
    font-weight: bold;
    color: #2F6BFF; /* Main Color */
    flex-shrink: 0;
    margin-left: 20px;
    width: 30px;
    text-align: center;
}
details.page-support__faq-item .page-support__faq-answer {
    padding: 0 25px 20px; /* Adjusted padding */
    background: #fdfdfd; /* Lighter background for answer */
    border-radius: 0 0 10px 10px; /* Match outer border-radius */
    color: #1F2D3D; /* Text Main */
    line-height: 1.7;
}
details.page-support__faq-item[open] summary.page-support__faq-question {
    background: #f0f5ff; /* Slightly blue background when open */
    border-bottom: 1px solid #D6E2FF;
}

/* Tips Section */
.page-support__section--tips {
    background-color: #F4F7FB; /* Background */
    padding: 80px 0;
}

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

.page-support__tip-item {
    background: #ffffff; /* Card BG */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #D6E2FF; /* Border */
}

.page-support__tip-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-support__tip-icon {
    width: 100%;
    max-width: 400px;
    height: auto;
    object-fit: cover;
    margin-bottom: 20px;
    border-radius: 8px;
    min-width: 200px;
    min-height: 200px;
}

.page-support__tip-title {
    font-size: 24px;
    font-weight: 600;
    color: #1F2D3D; /* Text Main */
    margin-bottom: 15px;
}

.page-support__tip-item p {
    color: #1F2D3D; /* Text Main */
}

/* Conclusion Section */
.page-support__section--conclusion {
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button gradient */
    color: #ffffff;
    padding: 80px 0;
}

/* 通用图片与容器 */
.page-support img {
    max-width: 100%;
    height: auto;
    display: block;
    filter: none; /* Ensure no filter is applied */
}

/* Ensure all p and li in content area have good contrast */
.page-support p,
.page-support li {
    color: #1F2D3D; /* Text Main */
}

/* Specific contrast for dark background sections */
.page-support__dark-bg {
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    color: #ffffff;
}
.page-support__dark-bg p,
.page-support__dark-bg li {
    color: #f0f8ff;
}

/* Specific contrast for light background sections (default) */
.page-support__light-bg {
    background: #ffffff;
    color: #1F2D3D;
}
.page-support__light-bg p,
.page-support__light-bg li {
    color: #1F2D3D;
}

/* Ensure content area images are at least 200x200px */
.page-support__feature-icon,
.page-support__channel-icon,
.page-support__tip-icon {
    min-width: 200px;
    min-height: 200px;
}

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
    .page-support__hero-content {
        padding-bottom: 40px;
    }
    .page-support__main-title {
        font-size: clamp(28px, 4.5vw, 42px);
    }
    .page-support__intro-description {
        font-size: 18px;
    }
    .page-support__section-title {
        font-size: 32px;
    }
    .page-support__feature-grid,
    .page-support__channels-grid,
    .page-support__issues-grid,
    .page-support__tips-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 25px;
    }
    .page-support__btn-primary,
    .page-support__btn-secondary {
        padding: 12px 25px;
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .page-support__container {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-support__section {
        padding: 40px 0;
    }

    /* HERO 主图区域 */
    .page-support__hero-section {
        padding-top: 10px;
        min-height: auto;
    }
    .page-support__hero-image-wrapper {
        max-height: 300px;
        margin-bottom: 20px;
    }
    .page-support__hero-image {
        object-fit: contain !important;
        aspect-ratio: unset !important;
        width: 100% !important;
        height: auto !important;
        border-radius: 0;
        box-shadow: none;
    }
    .page-support__hero-content {
        padding: 0 15px 40px;
    }
    .page-support__main-title {
        font-size: clamp(26px, 8vw, 36px);
        margin-bottom: 15px;
    }
    .page-support__intro-description {
        font-size: 16px;
        margin-bottom: 25px;
    }

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

    .page-support__btn-primary,
    .page-support__btn-secondary {
        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: 16px;
    }

    .page-support__section-title {
        font-size: 28px;
        margin-bottom: 15px;
        padding: 0 15px;
    }
    .page-support__section-description {
        font-size: 16px;
        margin-bottom: 30px;
        padding: 0 15px;
    }

    /* 通用图片与容器 */
    .page-support img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        object-fit: cover;
    }
    .page-support__feature-icon,
    .page-support__channel-icon,
    .page-support__tip-icon {
        min-width: 200px !important;
        min-height: 200px !important;
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    /* 产品展示图区域 (simulated for general cards) */
    .page-support__feature-grid,
    .page-support__channels-grid,
    .page-support__issues-grid,
    .page-support__tips-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
        overflow-x: hidden;
    }

    .page-support__feature-item,
    .page-support__channel-card,
    .page-support__issue-card,
    .page-support__tip-item {
        padding: 20px;
        text-align: center;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-support__feature-title,
    .page-support__channel-title,
    .page-support__issue-title,
    .page-support__tip-title {
        font-size: 20px;
    }

    /* FAQ Section */
    .page-support__faq-list {
        margin-top: 30px;
        padding: 0 15px;
    }
    details.page-support__faq-item summary.page-support__faq-question {
        padding: 15px 20px;
        font-size: 16px;
    }
    .page-support__faq-qtext {
        font-size: 16px;
    }
    .page-support__faq-toggle {
        font-size: 24px;
        margin-left: 15px;
        width: 25px;
    }
    details.page-support__faq-item .page-support__faq-answer {
        padding: 0 20px 15px;
        font-size: 15px;
    }

    /* Conclusion Section */
    .page-support__section--conclusion {
        padding: 50px 0;
    }
}