/* stylesFaq.css */
:root {
    --primary: #7C3AED;       /* Новый основной цвет - фиолетовый */
    --primary-dark: #6D28D9;
    --primary-light: #8B5CF6;
    --light-bg: #f8fafc;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --white: #ffffff;
    --border-color: #e2e8f0;
}

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

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header - обновлённый стиль из index.html */
.header {
    padding: 1.5rem 0;
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo:hover {
    color: var(--primary-dark);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
}

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

/* Page Content */
.page-content {
    padding: 4rem 0;
    min-height: 60vh;
}

.page-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--text-dark);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1.5rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    background: var(--light-bg);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    padding: 1.5rem;
    background: var(--white);
    border-top: 1px solid var(--border-color);
}

/* CTA Section для FAQ */
.faq-cta {
    text-align: center;
    margin: 3rem 0 1rem;
    padding: 2rem 0;
}

.big-btn {
    padding: 1.25rem 2rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
    text-align: center;
    min-width: 200px;
}

.big-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4);
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 2rem 0;
    margin-top: auto;
    text-align: center;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.footer-links a {
    color: #D1D5DB;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.copyright {
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Большая кнопка для FAQ */
.big-btn {
    padding: 1.25rem 2rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
    text-align: center;
    min-width: 220px;
    margin: 20px 0;
}


/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    .header {
        padding: 1rem 0;
    }

    .header-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .logo {
        font-size: 1.5rem;
    }

    .nav-links {
        flex-wrap: wrap;
        gap: 0.75rem 1.5rem;
        width: 100%;
    }

    .nav-links li {
        flex: 1 1 auto;
        text-align: center;
    }

    .nav-links a {
        padding: 0.5rem;
        font-size: 0.9rem;
    }

    .page-content {
        padding: 2rem 0;
    }

    .page-title {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }

    .page-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .faq-container {
        gap: 2rem;
    }

    .faq-category {
        margin: 2rem 0 1rem;
    }

    .faq-category h2 {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }

    .faq-category p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .faq-item {
        padding: 1.25rem;
        margin-bottom: 0.75rem;
        border-radius: 8px;
    }

    .faq-question {
        font-size: 1rem;
        margin-bottom: 0.75rem;
        line-height: 1.4;
        cursor: pointer;
    }

    .faq-answer {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .faq-cta {
        margin-top: 2rem;
        text-align: center;
    }

    .faq-cta .cta-button {
        font-size: 1rem;
        padding: 0.75rem 2rem;
    }

    .footer {
        padding: 1.5rem 0;
    }

    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .footer-links a {
        font-size: 0.9rem;
    }
}
