:root {
    --bg-main: #0B0F19;
    --bg-surface: #111827;
    --bg-surface-raised: #1F2937;
    --border-color: #374151;
    --text-primary: #F9FAFB;
    --text-secondary: #9CA3AF;
    --text-muted: #6B7280;
    --primary: #4F46E5;
    --primary-light: #6366F1;
    --accent-cyan: #06B6D4;
    --accent-amber: #F59E0B;
    --accent-emerald: #10B981;
    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(11, 15, 25, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: -0.5px;
}

.logo-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary), var(--accent-cyan));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFF;
}

.nav-links {
    display: flex;
    gap: 20px;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: color 0.2s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-primary);
}

/* Hero */
.hero-section {
    padding: 60px 0 40px;
    text-align: center;
    border-bottom: 1px solid rgba(55, 65, 81, 0.5);
    background: radial-gradient(circle at 50% 0%, rgba(79, 70, 229, 0.15), transparent 70%);
}

.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    background: rgba(99, 102, 241, 0.15);
    color: var(--primary-light);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
    border: 1px solid rgba(99, 102, 241, 0.3);
}

.hero-section h1 {
    font-size: 2.4rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 14px;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 640px;
    margin: 0 auto 36px;
}

.quick-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    text-align: left;
}

.quick-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.card-icon {
    font-size: 1.6rem;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--bg-surface-raised);
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-text strong {
    display: block;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.card-text span {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* Main Content */
.main-content {
    padding: 50px 24px;
}

.doc-section {
    padding-top: 30px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 12px;
}

.section-header h2 {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.last-updated {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.prose h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 28px 0 12px;
    color: var(--text-primary);
}

.prose p {
    margin-bottom: 16px;
    color: #D1D5DB;
    font-size: 1rem;
}

.prose ul {
    margin-bottom: 20px;
    padding-left: 24px;
    color: #D1D5DB;
}

.prose li {
    margin-bottom: 8px;
}

.email-link {
    color: var(--accent-cyan);
    text-decoration: none;
    font-weight: 600;
    word-break: break-all;
}

.email-link:hover {
    text-decoration: underline;
}

/* Tables */
.table-wrapper {
    overflow-x: auto;
    margin: 20px 0;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.9rem;
    background: var(--bg-surface);
}

th, td {
    padding: 14px 18px;
    border-bottom: 1px solid var(--border-color);
}

th {
    background: var(--bg-surface-raised);
    color: var(--text-primary);
    font-weight: 700;
}

td {
    color: #D1D5DB;
}

/* Callouts */
.callout {
    padding: 16px 20px;
    border-radius: 12px;
    margin: 20px 0;
    font-size: 0.95rem;
}

.callout-info {
    background: rgba(6, 182, 212, 0.1);
    border-left: 4px solid var(--accent-cyan);
    color: #CFFAFE;
}

.section-divider {
    border: 0;
    height: 1px;
    background: var(--border-color);
    margin: 50px 0;
}

/* Support Card */
.support-card {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.15), rgba(6, 182, 212, 0.15));
    border: 1px solid var(--primary-light);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 32px;
}

.support-icon {
    font-size: 2.2rem;
}

.support-details h3 {
    margin: 0 0 4px;
    font-size: 1.2rem;
}

.support-details p {
    margin-bottom: 14px;
    color: var(--text-secondary);
}

.btn-primary {
    display: inline-block;
    background: var(--primary);
    color: #FFF;
    padding: 10px 20px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: background 0.2s ease;
}

.btn-primary:hover {
    background: var(--primary-light);
}

/* FAQ */
.faq-item {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 18px 20px;
    margin-bottom: 14px;
}

.faq-item h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.faq-item p {
    margin-bottom: 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Footer */
.site-footer {
    border-top: 1px solid var(--border-color);
    padding: 30px 0;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
}

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

@media (max-width: 640px) {
    .header-inner {
        flex-direction: column;
        justify-content: center;
        height: auto;
        padding: 16px 0;
        gap: 12px;
    }
    .hero-section h1 {
        font-size: 1.8rem;
    }
    .section-header {
        flex-direction: column;
        gap: 4px;
    }
    .support-card {
        flex-direction: column;
        text-align: center;
    }
    .footer-inner {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}
