/* ============================================
   HELP CENTER STYLES
============================================ */

/* Help Header */
.help-header {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
    padding: 120px 0 80px 0;
}

.help-header-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.help-title {
    font-size: 3.5rem;
    font-weight: 800;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 1rem;
    color: white;
}

.help-subtitle {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    line-height: 1.6;
    color: white;
}

/* Help Search */
.help-search {
    max-width: 600px;
    margin: 0 auto;
}

.search-container {
    position: relative;
    display: flex;
    background: white;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
}

.search-input {
    flex: 1;
    padding: 18px 25px;
    border: none;
    outline: none;
    font-size: 1.1rem;
    color: #333;
}

.search-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 18px 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-btn:hover {
    background: var(--primary-dark);
}

.popular-searches {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    font-size: 0.9rem;
}

.popular-searches span {
    opacity: 0.8;
    margin-right: 0.5rem;
}

.search-tag {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 6px 12px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.875rem;
}

.search-tag:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

/* Quick Help Options */
.quick-help {
    padding: 80px 0;
    background: white;
}

.quick-help-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.help-option {
    text-align: center;
    padding: 2.5rem 1.5rem;
    border-radius: 20px;
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.help-option:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.help-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.help-option h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #1e293b;
}

.help-option p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.help-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.help-link:hover {
    color: var(--primary-dark);
}

.help-link i {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.help-link:hover i {
    transform: translateX(3px);
}

/* Guides Section */
.guides-section {
    padding: 80px 0;
    background: #f8fafc;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1e293b;
}

.section-header p {
    font-size: 1.125rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.guides-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.guide-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.guide-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #1e3a8a, #3b82f6);
}

.guide-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.guide-number {
    position: absolute;
    top: -15px;
    right: 2rem;
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
}

.guide-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #1e293b;
}

.guide-content p {
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.guide-steps {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.guide-steps li {
    padding: 0.5rem 0;
    color: #475569;
    position: relative;
    padding-left: 1.5rem;
}

.guide-steps li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: 600;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background: white;
}

.faq-categories {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.faq-category-btn {
    background: white;
    color: #64748b;
    border: 2px solid #e2e8f0;
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.faq-category-btn:hover,
.faq-category-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-group {
    display: none;
}

.faq-group.active {
    display: block;
}

.faq-item {
    border: 1px solid #e2e8f0;
    border-radius: 15px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.faq-question {
    padding: 1.5rem;
    background: white;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #f8fafc;
}

.faq-question h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
}

.faq-question i {
    color: var(--primary-color);
    transition: transform 0.3s ease;
    font-size: 1.25rem;
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.5rem;
    background: #f8fafc;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 1.5rem;
    max-height: 300px;
}

.faq-answer p {
    color: #475569;
    line-height: 1.6;
    margin: 0;
}

/* Videos Section */
.videos-section {
    padding: 80px 0;
    background: #f8fafc;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.video-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.video-thumbnail {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-card:hover .video-thumbnail img {
    transform: scale(1.05);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.video-card:hover .play-button {
    background: var(--primary-color);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
}

.video-info {
    padding: 1.5rem;
}

.video-info h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1e293b;
    line-height: 1.4;
}

.video-info p {
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.video-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    color: #64748b;
}

.video-views i {
    margin-right: 0.25rem;
}

.videos-cta {
    text-align: center;
}

.videos-cta .btn {
    padding: 15px 30px;
    font-size: 1rem;
}

.videos-cta .btn i {
    margin-right: 0.5rem;
}

/* Support Contact */
.support-contact {
    padding: 80px 0;
    background: white;
}

.support-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.support-option {
    text-align: center;
    padding: 2.5rem 1.5rem;
    border-radius: 20px;
    background: white;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}

.support-option:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.support-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.support-option h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #1e293b;
}

.support-option p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.support-availability {
    display: block;
    font-size: 0.875rem;
    color: #10b981;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.chat-btn {
    padding: 12px 24px;
}

/* Knowledge Base */
.knowledge-base {
    padding: 80px 0;
    background: #f8fafc;
}

.kb-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.kb-category {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.kb-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.kb-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: white;
}

.kb-category h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1e293b;
}

.kb-category p {
    color: #64748b;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.kb-articles {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.kb-articles li {
    margin-bottom: 0.5rem;
}

.kb-articles a {
    color: #475569;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    line-height: 1.5;
}

.kb-articles a:hover {
    color: var(--primary-color);
}

.kb-view-all {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.kb-view-all:hover {
    color: var(--primary-dark);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .quick-help-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .support-options {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .help-title {
        font-size: 2.5rem;
    }
    
    .help-subtitle {
        font-size: 1rem;
    }
    
    .quick-help-grid {
        grid-template-columns: 1fr;
    }
    
    .guides-grid {
        grid-template-columns: 1fr;
    }
    
    .faq-categories {
        justify-content: center;
    }
    
    .faq-category-btn {
        padding: 10px 18px;
        font-size: 0.875rem;
    }
    
    .videos-grid {
        grid-template-columns: 1fr;
    }
    
    .kb-categories {
        grid-template-columns: 1fr;
    }
    
    .popular-searches {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .help-header {
        padding: 100px 0 60px 0;
    }
    
    .help-title {
        font-size: 2rem;
    }
    
    .search-container {
        flex-direction: column;
        border-radius: 15px;
    }
    
    .search-btn {
        border-radius: 0;
    }
    
    .popular-searches {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .search-tag {
        font-size: 0.8rem;
        padding: 4px 10px;
    }
    
    .help-option {
        padding: 2rem 1rem;
    }
    
    .guide-card {
        padding: 1.5rem;
    }
    
    .support-option {
        padding: 2rem 1rem;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-down {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}