/* Help Center Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

/* Header */
header {
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
}

.logo h1 {
    color: #28a745;
    font-size: 1.8rem;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #28a745;
}

/* Main Content */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Help Hero */
.help-hero {
    text-align: center;
    padding: 3rem 0;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    border-radius: 15px;
    margin-bottom: 3rem;
}

.help-hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.help-hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.search-box {
    display: flex;
    justify-content: center;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.search-box input {
    flex: 1;
    padding: 0.8rem 1.2rem;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    outline: none;
}

.search-box button {
    padding: 0.8rem 2rem;
    background: #fff;
    color: #28a745;
    border: none;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-box button:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
}

/* Categories */
.help-categories {
    margin-bottom: 3rem;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.category-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
}

.category-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.category-card h3 {
    color: #28a745;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.category-card p {
    color: #666;
    margin-bottom: 1.5rem;
}

.category-card ul {
    list-style: none;
}

.category-card li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f1f3f4;
}

.category-card li:last-child {
    border-bottom: none;
}

.category-card a {
    text-decoration: none;
    color: #495057;
    transition: color 0.3s ease;
}

.category-card a:hover {
    color: #28a745;
}

/* Quick Links */
.quick-links {
    margin-bottom: 3rem;
}

.quick-links h3 {
    text-align: center;
    font-size: 2rem;
    color: #333;
    margin-bottom: 2rem;
}

.quick-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.quick-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    text-decoration: none;
    color: #333;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.quick-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    color: #28a745;
}

.quick-icon {
    font-size: 2rem;
    width: 50px;
    text-align: center;
}

.quick-link h4 {
    margin-bottom: 0.5rem;
    color: inherit;
}

.quick-link p {
    color: #666;
    font-size: 0.9rem;
}

/* Recent Updates */
.recent-updates {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 3rem;
}

.recent-updates h3 {
    color: #28a745;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.update-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.update-item {
    display: flex;
    gap: 1.5rem;
    padding: 1rem 0;
    border-bottom: 1px solid #f1f3f4;
}

.update-item:last-child {
    border-bottom: none;
}

.update-date {
    background: #e3f2fd;
    color: #1976d2;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    white-space: nowrap;
    height: fit-content;
}

.update-content h4 {
    color: #333;
    margin-bottom: 0.5rem;
}

.update-content p {
    color: #666;
    font-size: 0.9rem;
}

/* Footer */
footer {
    background: #28a745;
    color: white;
    text-align: center;
    padding: 2rem;
    margin-top: 3rem;
    border-radius: 15px 15px 0 0;
}

.footer-help {
    margin-bottom: 2rem;
}

.footer-help h4 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: white;
    color: #28a745;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.btn:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 1rem;
    }
    
    nav ul {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .help-hero h2 {
        font-size: 2rem;
    }
    
    .search-box {
        flex-direction: column;
        align-items: center;
    }
    
    .search-box input,
    .search-box button {
        width: 100%;
        max-width: 300px;
    }
    
    .category-grid,
    .quick-grid {
        grid-template-columns: 1fr;
    }
    
    .update-item {
        flex-direction: column;
        gap: 1rem;
    }
    
    main {
        padding: 0 1rem;
    }
}

/* Tutorial and FAQ specific styles */
.tutorial-content,
.faq-content {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.tutorial-content h2,
.faq-content h2 {
    color: #28a745;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.tutorial-content h3,
.faq-content h3 {
    color: #333;
    margin: 1.5rem 0 1rem 0;
    font-size: 1.3rem;
}

.tutorial-content pre {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid #28a745;
    overflow-x: auto;
    margin: 1rem 0;
}

.tutorial-content code {
    background: #f8f9fa;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-family: 'Monaco', 'Consolas', monospace;
    font-size: 0.9rem;
}

.faq-item {
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.faq-question {
    padding: 1rem;
    font-weight: bold;
    color: #28a745;
    cursor: pointer;
    border-bottom: 1px solid #e9ecef;
}

.faq-answer {
    padding: 1rem;
    color: #666;
}

.navigation-links {
    text-align: center;
    margin-top: 2rem;
}

.navigation-links a {
    display: inline-block;
    margin: 0 1rem;
    padding: 0.5rem 1rem;
    background: #e9ecef;
    color: #333;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.navigation-links a:hover {
    background: #28a745;
    color: white;
}
