/* 常见问题专用样式 - help.css */

/* 帮助横幅 */
.help-banner {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    color: #fff;
    padding: 60px 0;
    margin-bottom: 30px;
    border-radius: 12px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.help-banner::before {
    content: '❓';
    position: absolute;
    right: 10%;
    top: 50%;
    transform: translateY(-50%);
    font-size: 150px;
    opacity: 0.1;
}

.help-banner h1 {
    font-size: 36px;
    margin-bottom: 15px;
    font-weight: bold;
    position: relative;
    z-index: 1;
}

.help-banner p {
    font-size: 18px;
    opacity: 0.95;
    position: relative;
    z-index: 1;
}

/* 搜索框 */
.help-search {
    background-color: #fff;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.help-search-box {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.help-search-box input {
    width: 100%;
    padding: 18px 150px 18px 25px;
    border: 2px solid #43e97b;
    border-radius: 50px;
    font-size: 16px;
    transition: all 0.3s;
}

.help-search-box input:focus {
    outline: none;
    box-shadow: 0 0 10px rgba(67, 233, 123, 0.3);
}

.help-search-box button {
    position: absolute;
    right: 5px;
    top: 5px;
    padding: 13px 35px;
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    color: #fff;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s;
}

.help-search-box button:hover {
    background: linear-gradient(135deg, #3bd56f 0%, #30e0c3 100%);
}

/* 热门问题标签 */
.hot-questions-tags {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.hot-tag {
    padding: 8px 20px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    color: #333;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
}

.hot-tag:hover {
    background-color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* 分类导航 */
.help-categories {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 30px;
}

.help-category-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 30px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid #f0f0f0;
    position: relative;
    overflow: hidden;
}

.help-category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #43e97b 0%, #38f9d7 100%);
    transition: all 0.4s;
}

.help-category-card:hover::before {
    left: 0;
}

.help-category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    border-color: #43e97b;
}

.help-category-icon {
    font-size: 56px;
    margin-bottom: 20px;
}

.help-category-name {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.help-category-count {
    font-size: 14px;
    color: #999;
}

/* 问题列表 */
.help-questions {
    background-color: #fff;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
}

.question-item {
    border-bottom: 1px solid #f0f0f0;
    padding: 25px 0;
    cursor: pointer;
    transition: all 0.3s;
}

.question-item:last-child {
    border-bottom: none;
}

.question-item:hover {
    background-color: #fafafa;
    padding-left: 15px;
}

.question-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.question-icon {
    font-size: 24px;
    color: #43e97b;
    flex-shrink: 0;
}

.question-title {
    font-size: 17px;
    font-weight: bold;
    color: #333;
    flex: 1;
}

.question-arrow {
    font-size: 20px;
    color: #999;
    transition: transform 0.3s;
    flex-shrink: 0;
}

.question-item.active .question-arrow {
    transform: rotate(90deg);
}

.question-answer {
    display: none;
    padding: 20px 40px 0;
    color: #666;
    line-height: 1.8;
    font-size: 15px;
}

.question-answer.active {
    display: block;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.question-answer p {
    margin-bottom: 15px;
}

.question-answer ul {
    list-style: none;
    margin-bottom: 15px;
}

.question-answer ul li {
    padding: 8px 0 8px 25px;
    position: relative;
}

.question-answer ul li::before {
    content: '•';
    position: absolute;
    left: 10px;
    color: #43e97b;
    font-weight: bold;
}

.question-answer .highlight {
    background-color: #fff9e6;
    padding: 15px;
    border-left: 3px solid #43e97b;
    margin: 15px 0;
    border-radius: 4px;
}

/* 联系方式 */
.help-contact {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border-radius: 12px;
    padding: 50px 40px;
    margin-bottom: 30px;
    text-align: center;
}

.help-contact h2 {
    font-size: 28px;
    margin-bottom: 15px;
}

.help-contact p {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 30px;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.contact-method {
    background-color: rgba(255, 255, 255, 0.15);
    padding: 30px 20px;
    border-radius: 8px;
    backdrop-filter: blur(10px);
    transition: all 0.3s;
}

.contact-method:hover {
    background-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-5px);
}

.contact-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.contact-label {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
}

.contact-value {
    font-size: 18px;
    opacity: 0.95;
}

/* 快速链接 */
.quick-links {
    background-color: #fff;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
}

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.quick-link-item {
    padding: 20px;
    background-color: #f8f8f8;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.quick-link-item:hover {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    color: #fff;
    transform: translateY(-3px);
}

.quick-link-icon {
    font-size: 36px;
    margin-bottom: 10px;
}

.quick-link-text {
    font-size: 14px;
    font-weight: 500;
}

/* 反馈表单 */
.feedback-form {
    background-color: #fff;
    border-radius: 8px;
    padding: 40px;
    margin-bottom: 30px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: bold;
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #43e97b;
    box-shadow: 0 0 5px rgba(67, 233, 123, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-actions {
    text-align: center;
    margin-top: 30px;
}

/* 教程视频 */
.video-tutorials {
    background-color: #fff;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.video-card {
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid #f0f0f0;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    border-color: #43e97b;
}

.video-thumbnail {
    width: 100%;
    height: 180px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
    color: rgba(255,255,255,0.8);
}

.video-info {
    padding: 20px;
}

.video-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
}

.video-duration {
    font-size: 13px;
    color: #999;
}

/* 统计数据 */
.help-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.help-stat-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s;
}

.help-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.help-stat-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.help-stat-number {
    font-size: 32px;
    font-weight: bold;
    color: #43e97b;
    margin-bottom: 8px;
}

.help-stat-label {
    font-size: 14px;
    color: #666;
}

/* 响应式 */
@media (max-width: 768px) {
    .help-categories {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-methods {
        grid-template-columns: 1fr;
    }

    .quick-links-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .video-grid {
        grid-template-columns: 1fr;
    }

    .help-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .help-banner h1 {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .help-categories {
        grid-template-columns: 1fr;
    }

    .quick-links-grid {
        grid-template-columns: 1fr;
    }

    .help-stats {
        grid-template-columns: 1fr;
    }
}