/* ==========================================================================
   Help Center Page Styles
   ========================================================================== */

/* Container */
.help-center {
    min-height: 100vh;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.help-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.help-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 4rem 1rem 5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.help-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.help-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.help-hero-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    backdrop-filter: blur(10px);
}

.help-hero-icon i {
    font-size: 2.5rem;
    color: #fff;
}

.help-hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.75rem;
}

.help-hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

/* Search Box */
.help-search-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

.help-search-box {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 50px;
    padding: 0.5rem 0.5rem 0.5rem 1.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.help-search-icon {
    color: #9ca3af;
    font-size: 1.25rem;
    margin-right: 1rem;
}

.help-search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 1rem;
    background: transparent;
}

.help-search-btn {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

.help-search-btn:hover {
    transform: scale(1.05);
}

.help-search-suggestions {
    margin-top: 1rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
}

.help-search-suggestions a {
    color: #fff;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    margin-left: 0.5rem;
    text-decoration: none;
    transition: background 0.2s;
}

.help-search-suggestions a:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* ==========================================================================
   Quick Actions
   ========================================================================== */
.help-quick-actions {
    padding: 3rem 1rem;
    margin-top: -2rem;
    position: relative;
    z-index: 10;
}

.quick-action-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.quick-action-card {
    background: #fff;
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.quick-action-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.quick-action-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.quick-action-icon i {
    font-size: 1.5rem;
    color: #fff;
}

.quick-action-icon--track { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
.quick-action-icon--quote { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); }
.quick-action-icon--tariff { background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); }
.quick-action-icon--ezway { background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%); }

.quick-action-content {
    flex: 1;
}

.quick-action-content h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.25rem;
}

.quick-action-content p {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0;
}

.quick-action-arrow {
    color: #9ca3af;
    transition: transform 0.2s;
}

.quick-action-card:hover .quick-action-arrow {
    transform: translateX(4px);
    color: #667eea;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.help-faq-section {
    padding: 3rem 1rem 4rem;
}

.help-section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.help-section-subtitle {
    text-align: center;
    font-size: 1.125rem;
    color: #6b7280;
    margin-bottom: 3rem;
}

.faq-categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
}

.faq-category-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.faq-category-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    border-bottom: 1px solid #f3f4f6;
}

.faq-category-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-category-icon i {
    font-size: 1.25rem;
    color: #fff;
}

.faq-icon--start { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
.faq-icon--shipping { background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%); }
.faq-icon--tracking { background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); }
.faq-icon--customs { background: linear-gradient(135deg, #fa709a 0%, #fee140 100%); }
.faq-icon--billing { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); }
.faq-icon--account { background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%); }

.faq-category-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
}

.faq-items {
    padding: 0.5rem;
}

.faq-item {
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background: transparent;
    border: none;
    text-align: left;
    cursor: pointer;
    transition: background 0.2s;
}

.faq-question:hover {
    background: #f9fafb;
}

.faq-question span {
    font-size: 0.9375rem;
    color: #374151;
    font-weight: 500;
}

.faq-question i {
    color: #9ca3af;
    font-size: 0.75rem;
    transition: transform 0.3s;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 1rem 1rem;
}

.faq-answer p {
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.7;
    margin: 0;
}

/* ==========================================================================
   Coverage Section
   ========================================================================== */
.help-coverage-section {
    padding: 4rem 1rem;
    background: #fff;
}

.coverage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.coverage-card {
    text-align: center;
    padding: 2rem;
    border-radius: 16px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8ed 100%);
}

.coverage-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.coverage-icon i {
    font-size: 1.75rem;
    color: #fff;
}

.coverage-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.coverage-card p {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.help-contact-section {
    padding: 4rem 1rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.contact-card {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s;
}

.contact-card:hover {
    transform: translateY(-4px);
}

.contact-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.contact-icon i {
    font-size: 1.5rem;
    color: #fff;
}

.contact-icon--phone { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
.contact-icon--wechat { background: linear-gradient(135deg, #07c160 0%, #09bb07 100%); }
.contact-icon--line { background: linear-gradient(135deg, #00b900 0%, #00c300 100%); }
.contact-icon--location { background: linear-gradient(135deg, #fa709a 0%, #fee140 100%); }

.contact-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.contact-value {
    font-size: 1.125rem;
    font-weight: 600;
    color: #667eea;
    margin-bottom: 0.25rem;
}

.contact-hours {
    font-size: 0.875rem;
    color: #9ca3af;
    margin: 0;
}

/* ==========================================================================
   CTA Section
   ========================================================================== */
.help-cta-section {
    padding: 4rem 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.help-cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.help-cta-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.75rem;
}

.help-cta-content p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.help-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.help-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.help-cta-btn--primary {
    background: #fff;
    color: #667eea;
}

.help-cta-btn--primary:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

.help-cta-btn--secondary {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.help-cta-btn--secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 768px) {
    .help-hero {
        padding: 3rem 1rem 4rem;
    }
    
    .help-hero-title {
        font-size: 1.75rem;
    }
    
    .help-hero-subtitle {
        font-size: 1rem;
    }
    
    .help-search-suggestions {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }
    
    .help-search-suggestions span {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .help-search-suggestions a {
        margin-left: 0;
    }
    
    .faq-categories-grid {
        grid-template-columns: 1fr;
    }
    
    .help-section-title {
        font-size: 1.5rem;
    }
    
    .quick-action-grid {
        grid-template-columns: 1fr;
    }
    
    .help-cta-content h2 {
        font-size: 1.5rem;
    }
    
    .help-cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .help-cta-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .help-hero-icon {
        width: 60px;
        height: 60px;
    }
    
    .help-hero-icon i {
        font-size: 1.75rem;
    }
    
    .quick-action-card {
        padding: 1rem;
    }
    
    .quick-action-icon {
        width: 48px;
        height: 48px;
    }
    
    .quick-action-icon i {
        font-size: 1.25rem;
    }
}
