/* Help Center Styles */

/* Hero Section */
.help-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 80px 0;
    color: white;
    text-align: center;
}

.help-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.help-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.help-subtitle {
    font-size: 1.25rem;
    opacity: 0.95;
    margin-bottom: 2.5rem;
}

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

.search-input-wrapper {
    position: relative;
    background: white;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.search-icon {
    position: absolute;
    left: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 1.125rem;
}

.help-search-input {
    width: 100%;
    padding: 1.25rem 3.5rem 1.25rem 3.5rem;
    border: none;
    font-size: 1rem;
    color: #1f2937;
    background: transparent;
}

.help-search-input:focus {
    outline: none;
}

.help-search-input::placeholder {
    color: #9ca3af;
}

.search-clear-btn {
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.search-clear-btn:hover {
    background: #f3f4f6;
    color: #6b7280;
}

/* Quick Links Section */
.quick-links-section {
    padding: 60px 0;
    background: #f8fafc;
    border-bottom: 1px solid #e5e7eb;
}

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

.quick-link-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    text-align: center;
    border: 1px solid #e5e7eb;
}

.quick-link-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: #667eea;
    text-decoration: none;
    color: inherit;
}

.quick-link-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: white;
}

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

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

/* Help Topics Section */
.help-topics {
    padding: 60px 0;
    background: white;
}

.help-content-wrapper {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 3rem;
}

/* Sidebar */
.help-sidebar {
    position: sticky;
    top: 20px;
    height: fit-content;
}

.help-nav-section h4 {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #6b7280;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
}

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

.help-nav-link {
    display: block;
    padding: 0.75rem 1rem;
    color: #4b5563;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
}

.help-nav-link:hover {
    background: #f3f4f6;
    color: #1f2937;
    text-decoration: none;
}

.help-nav-link.active {
    background: #ede9fe;
    color: #667eea;
    font-weight: 600;
}

/* Main Content */
.help-main-content {
    max-width: 800px;
}

.help-section {
    margin-bottom: 3rem;
}

.help-section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e5e7eb;
}

.help-article {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.help-article h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
}

.help-article h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #374151;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.help-article p {
    color: #4b5563;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.help-article ul,
.help-article ol {
    color: #4b5563;
    line-height: 1.8;
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.help-article li {
    margin-bottom: 0.5rem;
}

.help-article a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.help-article a:hover {
    text-decoration: underline;
}

/* Still Need Help Section */
.still-need-help {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f3f4f6 100%);
    text-align: center;
}

.need-help-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.need-help-content > p {
    font-size: 1.25rem;
    color: #6b7280;
    margin-bottom: 3rem;
}

.contact-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.contact-option {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.contact-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.contact-option h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.contact-option p {
    color: #4b5563;
    margin-bottom: 0.5rem;
}

.contact-option .text-muted {
    color: #9ca3af;
    font-size: 0.875rem;
}

.contact-option .btn {
    margin-top: 0.5rem;
}

/* Search Highlighting */
.search-highlight {
    background-color: #fef3c7;
    padding: 2px 4px;
    border-radius: 3px;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .help-content-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .help-sidebar {
        position: relative;
        top: 0;
        border-bottom: 1px solid #e5e7eb;
        padding-bottom: 2rem;
        margin-bottom: 2rem;
    }

    .help-nav-list {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .help-nav-link {
        padding: 0.5rem 1rem;
        margin-bottom: 0;
    }
}

@media (max-width: 768px) {
    .help-title {
        font-size: 2rem;
    }

    .help-subtitle {
        font-size: 1rem;
    }

    .quick-links-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .contact-options {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .help-article {
        padding: 1.5rem;
    }

    .help-section h2 {
        font-size: 1.5rem;
    }

    .need-help-content h2 {
        font-size: 2rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Print Styles */
@media print {
    .help-hero,
    .quick-links-section,
    .help-sidebar,
    .still-need-help,
    .search-clear-btn {
        display: none !important;
    }

    .help-content-wrapper {
        grid-template-columns: 1fr;
    }

    .help-section {
        page-break-inside: avoid;
    }
}