/**
 * Help Center Page Styles
 */

/* Main Container */
.help-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 0;
    color: #333;
    font-family: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
}

/* Container */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.2rem;
    margin-bottom: 0.8rem;
    color: #333;
}

.section-header .section-subtitle {
    color: #666;
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
}

/* ===== Hero Section ===== */
.help-hero {
    background-color: #1a1a1a;
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../assets/images/help-bg.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    padding: 5rem 0;
    margin-bottom: 3rem;
}

.help-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: #fff;
}

.help-hero .hero-subtitle {
    font-size: 1.3rem;
    color: #e0e0e0;
    max-width: 800px;
    margin: 0 auto 2rem;
}

.hero-cta {
    margin-top: 2.5rem;
}

.btn-help-now {
    display: inline-block;
    background-color: #e67e22;
    color: #fff;
    text-decoration: none;
    padding: 1rem 2.5rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: background-color 0.3s ease;
}

.btn-help-now:hover {
    background-color: #d35400;
}

/* ===== Navigation Bar ===== */
.help-nav {
    background-color: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    position: sticky;
    top: 0;
    z-index: 100;
}

.help-navigation ul {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

.help-navigation li {
    margin: 0;
}

.help-navigation a {
    display: flex;
    align-items: center;
    padding: 1.2rem 2rem;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.help-navigation a i {
    margin-right: 0.5rem;
    color: #e67e22;
}

.help-navigation a:hover {
    background-color: #f9f6f0;
    color: #e67e22;
}

/* ===== FAQ Section ===== */
.help-faq {
    padding: 4rem 0;
    background-color: #fff;
}

.faq-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.help-faq details {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.help-faq details:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.help-faq summary {
    padding: 1.5rem;
    cursor: pointer;
    position: relative;
    font-weight: 500;
    outline: none;
    transition: all 0.3s ease;
    user-select: none;
    color: #333;
    display: flex;
    align-items: center;
}

.help-faq summary::-webkit-details-marker {
    display: none;
}

.help-faq summary:after {
    content: '+';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: #e67e22;
    transition: transform 0.3s ease;
}

.help-faq details[open] summary:after {
    content: '−';
    transform: translateY(-50%) rotate(0deg);
}

.help-faq details[open] summary {
    background-color: #f9f6f0;
    color: #e67e22;
}

.help-faq .faq-content {
    padding: 0 1.5rem 1.5rem;
    color: #666;
    line-height: 1.8;
}

/* ===== Policy Section ===== */
.help-policy {
    padding: 4rem 0;
    background-color: #f9f9f9;
}

.policy-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.policy-item {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.policy-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.policy-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background-color: #f5f5f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.policy-icon i {
    font-size: 2rem;
    color: #e67e22;
}

.policy-item h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #333;
}

.policy-item p {
    color: #666;
    line-height: 1.8;
}

/* ===== Contact Section ===== */
.help-contact {
    padding: 4rem 0;
    background-color: #fff;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.contact-item {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.contact-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background-color: #f5f5f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon i {
    font-size: 2rem;
    color: #e67e22;
}

.contact-item h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #333;
}

.contact-item p {
    color: #666;
    margin-bottom: 1rem;
}

.contact-link {
    color: #e67e22;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #d35400;
}

.qrcode-container {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 1rem auto 0;
}

.qrcode {
    width: 100%;
    height: 100%;
    border: 1px solid #eee;
    padding: 5px;
    background-color: #fff;
    border-radius: 4px;
}

.qrcode-fallback {
    display: none;
    width: 100%;
    height: 100%;
    background-color: #f5f5f5;
    border: 1px solid #eee;
    border-radius: 4px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.qrcode-fallback i {
    font-size: 3rem;
    color: #999;
    margin-bottom: 0.5rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #f5f5f5;
    color: #e67e22;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: #e67e22;
    color: #fff;
}

.social-links i {
    font-size: 1.2rem;
}

/* ===== Return/CTA Section ===== */
.help-return {
    padding: 4rem 0;
    background-color: #f9f6f0;
    text-align: center;
}

.followup-content {
    max-width: 700px;
    margin: 0 auto;
}

.followup-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.followup-icon i {
    font-size: 2rem;
    color: #e67e22;
}

.followup-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #333;
}

.followup-content p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #666;
}

.followup-cta {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.btn-learn-more {
    display: inline-block;
    background-color: transparent;
    border: 2px solid #e67e22;
    color: #e67e22;
    text-decoration: none;
    padding: 0.9rem 1.8rem;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-learn-more:hover {
    background-color: #e67e22;
    color: #fff;
}

.btn-contact-now {
    display: inline-block;
    background-color: #e67e22;
    color: #fff;
    text-decoration: none;
    padding: 0.9rem 1.8rem;
    border-radius: 4px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.btn-contact-now:hover {
    background-color: #d35400;
}

/* ===== Responsive Rules ===== */
@media screen and (max-width: 1024px) {
    .faq-container,
    .policy-content,
    .contact-methods {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media screen and (max-width: 768px) {
    .help-hero h1 {
        font-size: 2.2rem;
    }
    
    .help-hero .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .help-navigation ul {
        flex-wrap: wrap;
    }
    
    .help-navigation a {
        padding: 1rem 1.5rem;
    }
    
    .btn-help-now, .btn-contact-now, .btn-learn-more {
        padding: 0.8rem 1.5rem;
    }
    
    .followup-cta {
        flex-direction: column;
        gap: 1rem;
    }
}

@media screen and (max-width: 600px) {
    .faq-container,
    .policy-content,
    .contact-methods {
        grid-template-columns: 1fr;
    }
    
    .help-hero {
        padding: 3rem 0;
    }
    
    .help-hero h1 {
        font-size: 1.8rem;
    }
    
    .help-hero .hero-subtitle {
        font-size: 1rem;
    }
    
    .btn-help-now {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    .section-header h2 {
        font-size: 1.6rem;
    }
}