:root {
    /* Цвета и шрифты — синхронизированы с главной */
    --bg-main: #0f1014;
    --bg-card: #18181b;

    --text-primary: #E5E7EB;
    --text-secondary: #9CA3AF;
    --text-muted: #6B7280;

    --accent-color: #f472b6;
    --accent-gradient: linear-gradient(135deg, #fb923c 0%, #db2777 100%);
    --font-main: 'Inter', sans-serif;
}

/* Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Базовая типографика и контейнер */
html, body { height: 100%; }
body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-main);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: opacity .2s ease, color .2s ease;
}
a:hover { opacity: .9; }

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* NAV */
.navbar {
    padding: 20px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}
.logo {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-primary);
    letter-spacing: -0.05em;
}
.logo-light { font-weight: 400; color: var(--text-secondary); }
.dot { color: var(--accent-color); }

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
}
.nav-link {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Page content */
.page-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 80px 20px;
}

/* Заголовки — белые, как на главной */
.page-content h1,
.page-content h2,
.faq-item h3 {
    color: #ffffff;
}

.page-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 40px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.page-content h2 {
    font-size: 1.5rem;
    margin-top: 40px;
    margin-bottom: 16px;
}

.page-content p {
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.last-updated {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.section-divider {
    border: none;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 40px;
}

/* FAQ */
.faq-section-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 50px;
    margin-bottom: 24px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.faq-section-title:first-of-type { margin-top: 0; }

.faq-item { margin-bottom: 32px; }
.faq-item h3 {
    font-size: 1.125rem;
    font-weight: 500;
    margin-bottom: 8px;
}
.faq-item p { font-size: 0.95rem; margin-bottom: 0; }

/* Подсветка блока поддержки */
.support-note {
    margin-top: 60px;
    text-align: center;
    font-size: 1rem;
    padding: 24px;
    background: var(--bg-card);
    border-radius: 8px;
    color: var(--text-secondary);
}

/* FOOTER */
footer {
    padding: 40px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}
.footer-col.links {
    display: flex;
    align-items: center;
    gap: 24px;
}
.footer-col.links a {
    color: #c5c7ce;
    font-size: 0.9rem;
}
.footer-col.links a:hover { color: var(--accent-color); }

copyright,
.copyright {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 5px;
}

/* Responsive: mobile-first adjustments grouped */
@media (max-width: 768px) {
    .nav-content {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    .logo { font-size: 1.5rem; }
    .nav-links { justify-content: center; gap: 12px; }
    .nav-link { white-space: nowrap; font-size: 1rem; }

    .page-content {
        padding: 40px 16px;
    }
    .page-content h1 { font-size: 2rem; word-break: break-word; }

    .footer-grid {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    .footer-col.links { flex-direction: column; gap: 15px; }
}

/* Reveal (тот же easing, чтобы анимации совпадали визуально) */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity .9s cubic-bezier(0.19, 1, 0.22, 1), transform .9s cubic-bezier(0.19, 1, 0.22, 1);
    will-change: opacity, transform;
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}