:root {
    --primary: #0F0F23;
    --secondary: #1A1A2E;
    --surface: #16213E;
    --accent: #E94560;
    --text-primary: #FFFFFF;
    --text-secondary: #A1A1AA;
    --text-muted: #71717A;
    --border: #27272A;
    --radius: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--primary);
    color: var(--text-primary);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(15, 15, 35, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 1.3rem;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: var(--accent);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
}

.nav-links a {
    color: var(--text-secondary);
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--text-primary);
}

/* Help Layout */
.help-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 24px 60px;
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 60px;
}

.help-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.help-sidebar h2 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.topic-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.topic-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: var(--radius);
    color: var(--text-secondary);
    font-weight: 500;
    transition: 0.2s;
}

.topic-link:hover {
    background: var(--surface);
    color: var(--text-primary);
}

.topic-icon {
    font-size: 1.1rem;
}

/* Help Content */
.help-header {
    margin-bottom: 40px;
}

.help-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.help-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.quick-links {
    margin-bottom: 48px;
}

.quick-links h3,
.help-section h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.link-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.quick-link-card {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 24px;
    transition: 0.2s;
}

.quick-link-card:hover {
    background: var(--secondary);
    transform: translateY(-2px);
}

.link-icon {
    font-size: 1.5rem;
    margin-bottom: 12px;
    display: block;
}

.quick-link-card h4 {
    font-weight: 600;
    margin-bottom: 4px;
}

.quick-link-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Article List */
.article-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.article-card {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 20px 24px;
}

.article-card h4 {
    font-weight: 600;
    margin-bottom: 8px;
}

.article-card h4 a {
    color: var(--accent);
}

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

.article-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Help Contact */
.help-contact {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 32px;
    text-align: center;
    margin-top: 40px;
}

.help-contact h3 {
    margin-bottom: 8px;
}

.help-contact a {
    color: var(--accent);
    font-weight: 600;
}

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

/* Footer */
.footer {
    border-top: 1px solid var(--border);
    padding: 24px;
    text-align: center;
}

.footer p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Article Page Styles */
.article-body {
    max-width: 700px;
}

.article-body h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.article-body .meta {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.article-body h2 {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 40px 0 16px;
}

.article-body p {
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.article-body ul {
    color: var(--text-secondary);
    margin-bottom: 24px;
    padding-left: 24px;
}

.article-body li {
    margin-bottom: 8px;
}

.article-body .note {
    background: var(--surface);
    border-left: 3px solid var(--accent);
    padding: 16px 20px;
    border-radius: 0 var(--radius) var(--radius) 0;
    margin: 24px 0;
}

/* Responsive */
@media (max-width: 768px) {
    .help-container {
        grid-template-columns: 1fr;
    }

    .help-sidebar {
        position: static;
        margin-bottom: 40px;
    }

    .topic-list {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px;
    }

    .link-grid {
        grid-template-columns: 1fr;
    }

    .help-header h1 {
        font-size: 1.8rem;
    }
}