/**
 * Help Center Stylesheet
 * Used by: help.php
 * Class prefix: .help-*
 */

/* ==========================================================================
   Hero Section
   ========================================================================== */
.help-hero {
    padding: 4rem 0;
    text-align: center;
    position: relative;
}

.help-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(0, 255, 209, 0.15);
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--v2-primary);
    margin-bottom: 1.5rem;
}

.help-hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--v2-text-light);
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .help-hero h1 {
        font-size: 3.5rem;
    }
}

.help-hero p {
    font-size: 1.125rem;
    color: var(--v2-text-muted);
    max-width: 600px;
    margin: 0 auto 2rem;
}

/* ==========================================================================
   Search Box
   ========================================================================== */
.help-search {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.help-search-icon {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--v2-text-muted);
    font-size: 1.25rem;
    pointer-events: none;
    transition: color 0.2s;
}

.help-search input {
    width: 100%;
    height: 56px;
    padding: 0 7rem 0 3.5rem;
    background: var(--v2-surface-dark);
    border: 1px solid var(--v2-border-light);
    border-radius: var(--v2-radius-2xl);
    color: var(--v2-text-light);
    font-size: 1rem;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.3);
}

.help-search input::placeholder {
    color: var(--v2-text-muted);
}

.help-search input:focus {
    outline: none;
    border-color: var(--v2-primary);
    box-shadow: 0 0 0 3px rgba(0, 255, 209, 0.1), 0 20px 40px -10px rgba(0, 0, 0, 0.3);
}

.help-search input:focus+.help-search-icon {
    color: var(--v2-primary);
}

.help-search-btn {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    height: 44px;
    padding: 0 1.5rem;
    background: var(--v2-primary);
    color: #0d1117;
    font-weight: 700;
    border: none;
    border-radius: var(--v2-radius-xl);
    cursor: pointer;
    transition: all 0.2s;
}

.help-search-btn:hover {
    background: var(--v2-primary-dark);
}

/* ==========================================================================
   Categories Grid
   ========================================================================== */
.help-categories {
    padding: 3rem 0;
}

.help-categories h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--v2-text-light);
    margin-bottom: 1.5rem;
}

.help-categories-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .help-categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .help-categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.help-category-card {
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    background: var(--v2-surface-dark);
    border: 1px solid var(--v2-border-light);
    border-radius: var(--v2-radius-xl);
    text-decoration: none;
    transition: all 0.3s;
}

.help-category-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 255, 209, 0.3);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.3);
}

.help-category-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--v2-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    transition: transform 0.3s;
}

.help-category-card:hover .help-category-icon {
    transform: scale(1.1);
}

/* Category icon color variants */
.help-category-icon.blue {
    background: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
}

.help-category-icon.green {
    background: rgba(0, 255, 209, 0.15);
    color: var(--v2-primary);
}

.help-category-icon.purple {
    background: rgba(139, 92, 246, 0.15);
    color: #8b5cf6;
}

.help-category-icon.red {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

.help-category-icon.orange {
    background: rgba(249, 115, 22, 0.15);
    color: #f97316;
}

.help-category-icon.teal {
    background: rgba(20, 184, 166, 0.15);
    color: #14b8a6;
}

.help-category-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--v2-text-light);
    margin-bottom: 0.5rem;
    transition: color 0.2s;
}

.help-category-card:hover h3 {
    color: var(--v2-primary);
}

.help-category-card p {
    font-size: 0.875rem;
    color: var(--v2-text-muted);
    line-height: 1.6;
}

/* ==========================================================================
   Popular Articles
   ========================================================================== */
.help-articles {
    padding: 2rem 0;
}

.help-articles h2 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--v2-text-light);
    margin-bottom: 1rem;
}

.help-articles-list {
    background: var(--v2-surface-dark);
    border: 1px solid var(--v2-border-light);
    border-radius: var(--v2-radius-xl);
    overflow: hidden;
}

.help-article-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--v2-border-light);
    text-decoration: none;
    color: var(--v2-text-light);
    transition: all 0.2s;
}

.help-article-item:last-child {
    border-bottom: none;
}

.help-article-item:hover {
    background: rgba(0, 255, 209, 0.05);
    color: var(--v2-primary);
}

.help-article-item span {
    font-weight: 500;
}

.help-article-item i {
    color: var(--v2-text-muted);
    transition: all 0.2s;
}

.help-article-item:hover i {
    color: var(--v2-primary);
    transform: translateX(4px);
}

/* ==========================================================================
   Still Stuck Section
   ========================================================================== */
.help-stuck {
    background: var(--v2-surface-dark);
    border-top: 1px solid var(--v2-border-light);
    padding: 4rem 0;
    text-align: center;
}

.help-stuck-icon {
    width: 64px;
    height: 64px;
    background: rgba(0, 255, 209, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.75rem;
    color: var(--v2-primary);
}

.help-stuck h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--v2-text-light);
    margin-bottom: 0.75rem;
}

.help-stuck p {
    color: var(--v2-text-muted);
    max-width: 500px;
    margin: 0 auto 2rem;
}

.help-stuck-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}