/* Help Center Styles */

:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --accent-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --success-gradient: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    --warning-gradient: linear-gradient(135deg, #fce38a 0%, #f38181 100%);
    
    --brand-primary: #2c5aa0;
    --brand-secondary: #1e3d6f;
    --brand-accent: #28a745;
    --brand-warning: #ff6b35;
    
    --primary-font: 'Nunito', sans-serif;
    --shadow-sm: 0 2px 10px rgba(0,0,0,0.08);
    --shadow-md: 0 8px 30px rgba(0,0,0,0.12);
    --shadow-lg: 0 15px 50px rgba(0,0,0,0.15);
    --shadow-xl: 0 25px 80px rgba(0,0,0,0.2);
}

/* Page Header */
.page-header {
    background: var(--primary-gradient);
    padding: 180px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 0;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><circle cx="200" cy="200" r="150" fill="rgba(255,255,255,0.1)" /><circle cx="800" cy="400" r="120" fill="rgba(255,255,255,0.08)" /></svg>');
    animation: float 20s ease-in-out infinite;
}

.page-header h1 {
    font-size: 4rem;
    font-weight: 800;
    color: white;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.page-header p {
    font-size: 1.4rem;
    color: rgba(255,255,255,0.95);
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

/* Help Center Section */
.help-center {
    padding: 120px 0;
    margin-top: -60px;
    position: relative;
    z-index: 5;
}

.section-padding {
    padding: 80px 0;
}

.help-grid {
    margin-top: 60px;
}

/* Help Cards */
.help-card {
    background: white;
    border-radius: 25px;
    padding: 50px 40px;
    box-shadow: var(--shadow-md);
    text-decoration: none;
    display: block;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.help-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.help-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    text-decoration: none;
}

.help-card:hover::before {
    transform: scaleX(1);
}

.help-card:hover .help-icon {
    transform: scale(1.1) rotate(5deg);
    background: var(--primary-gradient);
}

.help-card:hover .help-link {
    color: var(--brand-primary);
}

.help-card:hover .help-link i {
    transform: translateX(5px);
}

/* Help Icon */
.help-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #f0f4f8 0%, #e9ecef 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    font-size: 36px;
    color: var(--brand-primary);
    transition: all 0.3s ease;
}

/* Help Card Content */
.help-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
}

.help-card p {
    color: #6c757d;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.help-link {
    color: var(--brand-primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.help-link i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

/* Page Loader */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.page-loader.hidden {
    opacity: 0;
    pointer-events: none;
}

.loader-content {
    text-align: center;
}

.loader-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--brand-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

.loader-content h4 {
    color: #2c3e50;
    font-weight: 600;
}

/* Scroll Indicator */
.scroll-indicator {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: var(--primary-gradient);
    z-index: 1001;
    transition: width 0.3s ease;
}

/* Icon Specific Colors */
.help-card:nth-child(1) .help-icon {
    color: #667eea;
}

.help-card:nth-child(2) .help-icon {
    color: #11998e;
}

.help-card:nth-child(3) .help-icon {
    color: #f093fb;
}

.help-card:nth-child(4) .help-icon {
    color: #4facfe;
}

.help-card:nth-child(1):hover .help-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.help-card:nth-child(2):hover .help-icon {
    background: var(--success-gradient);
    color: white;
}

.help-card:nth-child(3):hover .help-icon {
    background: var(--secondary-gradient);
    color: white;
}

.help-card:nth-child(4):hover .help-icon {
    background: var(--accent-gradient);
    color: white;
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 991px) {
    .page-header h1 {
        font-size: 3rem;
    }
    
    .page-header p {
        font-size: 1.2rem;
    }
    
    .help-center {
        padding: 80px 0;
    }
    
    .help-card {
        padding: 40px 30px;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 150px 0 60px;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .page-header p {
        font-size: 1.1rem;
    }
    
    .help-center {
        padding: 60px 0;
        margin-top: -40px;
    }
    
    .help-grid {
        margin-top: 40px;
    }
    
    .help-card {
        padding: 35px 25px;
        margin-bottom: 20px;
    }
    
    .help-icon {
        width: 60px;
        height: 60px;
        font-size: 28px;
        margin-bottom: 20px;
    }
    
    .help-card h3 {
        font-size: 1.3rem;
    }
    
    .help-card p {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .page-header h1 {
        font-size: 2rem;
    }
    
    .help-center {
        padding: 40px 0;
    }
    
    .help-card {
        padding: 30px 20px;
    }
    
    .help-card h3 {
        font-size: 1.2rem;
    }
}
