/* 帮助中心页面样式 */

.help-hero {
    background: linear-gradient(135deg, #0a0e1a 0%, #1a1f2e 50%, #0f1419 100%);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.help-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-text h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #e8f4fd;
    margin-bottom: 24px;
    line-height: 1.2;
}

.hero-text p {
    font-size: 1.2rem;
    color: #b0c4de;
    margin-bottom: 40px;
    line-height: 1.6;
}

.search-box {
    display: flex;
    background: #1a1f2e;
    border-radius: 12px;
    border: 1px solid rgba(0, 234, 255, 0.3);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.search-input {
    flex: 1;
    padding: 16px 20px;
    background: transparent;
    border: none;
    color: #e8f4fd;
    font-size: 16px;
    outline: none;
}

.search-input::placeholder {
    color: #b0c4de;
}

.search-btn {
    background: linear-gradient(135deg, #00eaff, #0099cc);
    border: none;
    padding: 16px 24px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-btn:hover {
    background: linear-gradient(135deg, #00eaff, #00eaff);
}

.search-btn i {
    font-size: 18px;
}

/* 帮助插图 */
.help-illustration {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 400px;
    margin: 0 auto;
}

.illustration-item {
    background: #1a1f2e;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    border: 1px solid rgba(0, 234, 255, 0.1);
    transition: all 0.3s ease;
}

.illustration-item:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 234, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 234, 255, 0.1);
}

.illustration-item i {
    font-size: 32px;
    color: #00eaff;
    margin-bottom: 12px;
}

.illustration-item span {
    color: #b0c4de;
    font-size: 14px;
    font-weight: 500;
}

/* 快速导航 */
.help-navigation {
    background: #101522;
    padding: 80px 0;
}

.help-navigation h2 {
    text-align: center;
    color: #00eaff;
    font-size: 2.5rem;
    margin-bottom: 60px;
}

.nav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.nav-item {
    background: #1a1f2e;
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    border: 1px solid rgba(0, 234, 255, 0.1);
    transition: all 0.3s ease;
}

.nav-item:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 234, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 234, 255, 0.1);
}

.nav-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #00eaff, #0099cc);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.nav-icon i {
    font-size: 32px;
    color: white;
}

.nav-item h3 {
    color: #e8f4fd;
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.nav-item p {
    color: #b0c4de;
    line-height: 1.6;
    margin-bottom: 20px;
}

.nav-link {
    color: #00eaff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: #00eaff;
    text-decoration: underline;
}

/* 常见问题 */
.help-faq {
    background: #0a0e1a;
    padding: 80px 0;
}

.help-faq h2 {
    text-align: center;
    color: #00eaff;
    font-size: 2.5rem;
    margin-bottom: 60px;
}

.faq-categories {
    max-width: 1000px;
    margin: 0 auto;
}

.category-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.category-tab {
    background: #1a1f2e;
    border: 1px solid rgba(0, 234, 255, 0.1);
    color: #b0c4de;
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.category-tab.active,
.category-tab:hover {
    background: linear-gradient(135deg, #00eaff, #0099cc);
    color: white;
    border-color: #00eaff;
}

.faq-content {
    position: relative;
}

.faq-category {
    display: none;
    animation: fadeIn 0.5s ease;
}

.faq-category.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.faq-item {
    background: #1a1f2e;
    border-radius: 12px;
    margin-bottom: 16px;
    border: 1px solid rgba(0, 234, 255, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(0, 234, 255, 0.3);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(0, 234, 255, 0.05);
}

.faq-question h4 {
    color: #e8f4fd;
    font-size: 1.1rem;
    margin: 0;
}

.faq-question i {
    color: #00eaff;
    font-size: 16px;
    transition: transform 0.3s ease;
}

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

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

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    color: #b0c4de;
    line-height: 1.6;
    padding: 0 20px 20px;
    margin: 0;
}

/* 使用指南 */
.help-guides {
    background: #101522;
    padding: 80px 0;
}

.help-guides h2 {
    text-align: center;
    color: #00eaff;
    font-size: 2.5rem;
    margin-bottom: 60px;
}

.guides-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.guide-item {
    background: #1a1f2e;
    border-radius: 16px;
    padding: 30px;
    border: 1px solid rgba(0, 234, 255, 0.1);
    transition: all 0.3s ease;
}

.guide-item:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 234, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 234, 255, 0.1);
}

.guide-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.guide-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #00eaff, #0099cc);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.guide-icon i {
    font-size: 24px;
    color: white;
}

.guide-header h3 {
    color: #e8f4fd;
    font-size: 1.3rem;
    margin: 0;
}

.guide-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.step-number {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #00eaff, #0099cc);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
}

.step-content h4 {
    color: #e8f4fd;
    font-size: 1rem;
    margin-bottom: 8px;
}

.step-content p {
    color: #b0c4de;
    line-height: 1.6;
    margin: 0;
}

/* 视频教程 */
.help-videos {
    background: #0a0e1a;
    padding: 80px 0;
}

.help-videos h2 {
    text-align: center;
    color: #00eaff;
    font-size: 2.5rem;
    margin-bottom: 60px;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.video-item {
    background: #1a1f2e;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(0, 234, 255, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.video-item:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 234, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 234, 255, 0.1);
}

.video-thumbnail {
    position: relative;
    height: 180px;
    background: linear-gradient(135deg, #1a1f2e, #2a2f3e);
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-thumbnail i {
    font-size: 48px;
    color: #00eaff;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.video-item:hover .video-thumbnail i {
    opacity: 1;
    transform: scale(1.1);
}

.video-duration {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.video-info {
    padding: 20px;
}

.video-info h4 {
    color: #e8f4fd;
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.video-info p {
    color: #b0c4de;
    line-height: 1.6;
    margin-bottom: 16px;
}

.video-meta {
    display: flex;
    gap: 16px;
    font-size: 12px;
    color: #b0c4de;
}

.video-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.video-meta i {
    color: #00eaff;
}

/* 联系支持 */
.help-support {
    background: #101522;
    padding: 80px 0;
}

.help-support h2 {
    text-align: center;
    color: #00eaff;
    font-size: 2.5rem;
    margin-bottom: 60px;
}

.support-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.support-methods {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.support-method {
    background: #1a1f2e;
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    border: 1px solid rgba(0, 234, 255, 0.1);
    transition: all 0.3s ease;
}

.support-method:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 234, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 234, 255, 0.1);
}

.method-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #00eaff, #0099cc);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.method-icon i {
    font-size: 32px;
    color: white;
}

.support-method h3 {
    color: #e8f4fd;
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.support-method p {
    color: #b0c4de;
    line-height: 1.6;
    margin-bottom: 20px;
}

.support-form {
    background: #1a1f2e;
    border-radius: 16px;
    padding: 40px;
    border: 1px solid rgba(0, 234, 255, 0.1);
}

.support-form h3 {
    color: #e8f4fd;
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.support-form p {
    color: #b0c4de;
    line-height: 1.6;
    margin-bottom: 30px;
}

.ticket-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    color: #e8f4fd;
    font-weight: 500;
    font-size: 14px;
}

.form-input,
.form-textarea {
    padding: 12px 16px;
    background: #0a0e1a;
    border: 1px solid rgba(0, 234, 255, 0.3);
    border-radius: 8px;
    color: #e8f4fd;
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #00eaff;
    box-shadow: 0 0 0 2px rgba(0, 234, 255, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #b0c4de;
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.ticket-form .btn-primary {
    margin-top: 10px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .help-hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .help-illustration {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .nav-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .category-tabs {
        gap: 10px;
    }
    
    .category-tab {
        padding: 10px 16px;
        font-size: 12px;
    }
    
    .guides-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .videos-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .support-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .support-methods {
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .help-hero {
        padding: 80px 0 40px;
    }
    
    .nav-item,
    .guide-item,
    .support-method {
        padding: 20px;
    }
    
    .support-form {
        padding: 20px;
    }
    
    .search-box {
        flex-direction: column;
    }
    
    .search-input {
        padding: 12px 16px;
    }
    
    .search-btn {
        padding: 12px;
    }
} 