:root {
    --bg-primary: #080c10;
    --bg-secondary: #12121A;
    --bg-card: #1A1A24;
    --text-primary: #EAEAEF;
    --text-secondary: #9A9AB0;
    --text-muted: #6B6B80;
    --accent: #4af0a0;
    --accent-dim: rgba(74, 240, 160, 0.1);
    --border: rgba(255, 255, 255, 0.06);
    --radius: 16px;
}
[data-theme="light"] {
    --bg-primary: #f5f7fa;
    --bg-secondary: #ffffff;
    --bg-card: #eef1f6;
    --text-primary: #1a1a2e;
    --text-secondary: #4a4a60;
    --text-muted: #6b7280;
    --accent: #059669;
    --accent-dim: rgba(5, 150, 105, 0.1);
    --border: rgba(0, 0, 0, 0.08);
}
[data-theme="light"] .top-nav a {
    background: linear-gradient(135deg, #059669, #0d9488);
    -webkit-background-clip: text;
}
[data-theme="light"] a {
    border-bottom-color: rgba(5, 150, 105, 0.3);
}
[data-theme="light"] a:hover {
    border-color: #059669;
}

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

body {
    font-family: 'Onest', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.page {
    max-width: 680px;
    margin: 0 auto;
    padding: 0 20px 64px;
}

.header {
    padding: 48px 0 32px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 32px;
}

.header h1 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.5px;
    margin-bottom: 8px;
}

.header .meta {
    font-size: 13px;
    color: var(--text-muted);
}

.header .subtitle {
    font-size: 15px;
    color: var(--text-secondary);
}

.section {
    margin-bottom: 28px;
}

.section h2 {
    font-size: 17px;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 12px;
    padding-left: 12px;
    border-left: 3px solid var(--accent);
}

.section p {
    font-size: 14.5px;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.section ul {
    list-style: none;
    padding: 0;
    margin: 8px 0;
}

.section ul li {
    font-size: 14.5px;
    color: var(--text-secondary);
    padding: 6px 0 6px 24px;
    position: relative;
}

.section ul li::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 14px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--accent);
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    margin: 16px 0;
}

.card p { margin-bottom: 0; }

.data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    border-radius: 12px;
    overflow: hidden;
}

.data-table th,
.data-table td {
    text-align: left;
    padding: 12px 16px;
    font-size: 14px;
    border-bottom: 1px solid var(--border);
}

.data-table th {
    background: var(--bg-card);
    color: var(--text-primary);
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.data-table td {
    color: var(--text-secondary);
    background: var(--bg-secondary);
}

.data-table tr:last-child td { border-bottom: none; }

a {
    color: var(--accent);
    text-decoration: none;
    border-bottom: 1px solid rgba(74, 240, 160, 0.3);
    transition: border-color 0.2s;
}

a:hover { border-color: var(--accent); }

.top-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    margin-bottom: 8px;
}
.top-nav a {
    font-family: 'Unbounded', sans-serif;
    font-weight: 900;
    font-size: 16px;
    background: linear-gradient(135deg, #4af0a0, #2dd4bf);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
    border-bottom: none;
}
.top-nav a:hover { border-bottom: none; }

.footer {
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
}
.footer a {
    color: var(--text-muted);
    border-bottom: none;
    margin: 0 8px;
}
.footer a:hover { color: var(--accent); border-bottom: none; }

.theme-toggle {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 50%;
    width: 34px; height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-primary);
    transition: color 0.3s, border-color 0.3s, background 0.3s, transform 0.3s;
}
.theme-toggle:hover {
    color: var(--accent);
    border-color: rgba(74,240,160,0.3);
    background: rgba(74,240,160,0.08);
    transform: rotate(30deg);
}
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
[data-theme="light"] .theme-toggle {
    background: rgba(0,0,0,0.04);
    border-color: rgba(0,0,0,0.1);
    color: #1a1a2e;
}
[data-theme="light"] .theme-toggle:hover {
    background: rgba(5,150,105,0.08);
    border-color: rgba(5,150,105,0.3);
    color: #059669;
}
[data-theme="light"] .theme-toggle .icon-sun { display: block; }
[data-theme="light"] .theme-toggle .icon-moon { display: none; }

[data-theme="light"] .data-table th { background: var(--bg-card); }
[data-theme="light"] .data-table td { background: var(--bg-secondary); }

/* Support page specific */
.contact-cards {
    display: flex;
    gap: 12px;
    margin: 24px 0;
}

.contact-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
}

.contact-card .tg-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 600;
    color: var(--accent);
    padding: 12px 24px;
    background: var(--accent-dim);
    border-radius: 12px;
    text-decoration: none;
    border: none;
    margin-top: 12px;
    transition: background 0.2s;
}

.contact-card .tg-link:hover {
    background: rgba(74, 240, 160, 0.18);
}

.contact-card .tg-link svg {
    width: 20px;
    height: 20px;
    fill: var(--accent);
    flex-shrink: 0;
}

.contact-card .label {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.faq-item {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 12px;
}

.faq-item .question {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.faq-item .answer {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.65;
}

.faq-item .path {
    display: inline-block;
    font-size: 12.5px;
    color: var(--accent);
    background: var(--accent-dim);
    padding: 3px 10px;
    border-radius: 6px;
    margin-top: 8px;
    font-weight: 500;
}
