/* Help Center Styles */
.help-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    color: white;
    padding: 4rem 0 3rem;
    position: relative;
    overflow: hidden;
}

.help-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.3) 0%, transparent 50%);
    pointer-events: none;
}

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

.help-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.help-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.help-search {
    max-width: 500px;
    margin: 0 auto;
}

.search-form {
    position: relative;
}

.search-input-group {
    display: flex;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.search-input-group:focus-within {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.search-input-group input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 1rem 1.5rem;
    color: white;
    font-size: 1rem;
    outline: none;
}

.search-input-group input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.search-input-group button {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    padding: 1rem 1.5rem;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-input-group button:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Help Content */
.help-content {
    padding: 4rem 0;
    background: #f8fafc;
}

.help-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Sidebar */
.help-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.help-categories {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.help-categories h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e2e8f0;
}

.category-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-nav li {
    margin-bottom: 0.5rem;
}

.category-link {
    display: block;
    color: #4a5568;
    text-decoration: none;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.category-link:hover,
.category-link.active {
    background: #667eea;
    color: white;
    transform: translateX(4px);
}

.help-contact {
    background: linear-gradient(135deg, #f0f4ff 0%, #e0e7ff 100%);
    border: 1px solid #c7d2fe;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
}

.help-contact h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 0.5rem;
}

.help-contact p {
    color: #475569;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.contact-btn {
    background: #667eea;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.contact-btn:hover {
    background: #5a67d8;
    transform: translateY(-1px);
    color: white;
}

/* Main Content */
.help-main {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

/* Quick Links */
.quick-links h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 1.5rem;
}

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

.quick-link {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

.quick-link:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    color: inherit;
}

.quick-link i {
    font-size: 2rem;
    color: #667eea;
    margin-bottom: 1rem;
}

.quick-link h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 0.5rem;
}

.quick-link p {
    color: #4a5568;
    font-size: 0.9rem;
    margin: 0;
}

/* FAQ Section */
.faq-section h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 1.5rem;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 1.5rem;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
    font-weight: 600;
    color: #1a202c;
    transition: all 0.3s ease;
}

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

.faq-question[aria-expanded="true"] {
    background: #f0f4ff;
    color: #667eea;
}

.faq-question i {
    color: #667eea;
    transition: transform 0.3s ease;
}

.faq-question[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    color: #4a5568;
    line-height: 1.6;
    display: none;
}

.faq-answer.show {
    display: block;
    animation: fadeInDown 0.3s ease;
}

/* Popular Articles */
.popular-articles h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 1.5rem;
}

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

.article-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.article-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.article-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.article-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 0.5rem;
}

.article-content h3 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-content h3 a:hover {
    color: #667eea;
}

.article-content p {
    color: #4a5568;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.article-meta {
    color: #718096;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .help-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .help-sidebar {
        order: -1;
    }
    
    .quick-links-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 768px) {
    .help-header {
        padding: 3rem 0 2rem;
    }
    
    .help-hero h1 {
        font-size: 2.5rem;
    }
    
    .help-subtitle {
        font-size: 1rem;
    }
    
    .help-content {
        padding: 3rem 0;
    }
    
    .quick-links-grid {
        grid-template-columns: 1fr;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
    }
    
    .article-card {
        flex-direction: column;
        text-align: center;
    }
    
    .search-input-group {
        flex-direction: column;
        border-radius: 12px;
    }
    
    .search-input-group input {
        border-radius: 12px 12px 0 0;
    }
    
    .search-input-group button {
        border-radius: 0 0 12px 12px;
    }
}

@media (max-width: 480px) {
    .help-hero h1 {
        font-size: 2rem;
    }
    
    .faq-question {
        padding: 1rem;
        font-size: 0.9rem;
    }
    
    .faq-answer {
        padding: 0 1rem 1rem;
    }
    
    .article-card {
        padding: 1rem;
    }
}

/* Print Styles */
@media print {
    .help-header,
    .help-sidebar,
    .quick-links {
        display: none;
    }
    
    .help-layout {
        grid-template-columns: 1fr;
    }
    
    .faq-item {
        break-inside: avoid;
        margin-bottom: 1rem;
    }
}
