/* Общие стили для всех страниц */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    background-color: #f8f9fa;
    color: #212529;
}

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

/* Шапка */
.header {
    background-color: #fff;
    border-bottom: 1px solid #dee2e6;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5em;
    font-weight: bold;
    color: #0d6efd;
}

.nav a {
    color: #495057;
    text-decoration: none;
    margin-left: 20px;
    font-size: 1em;
    padding-bottom: 5px;
    transition: color 0.3s, border-bottom-color 0.3s;
}

.nav a:hover {
    color: #0d6efd;
}

.nav a.active {
    color: #0d6efd;
    font-weight: bold;
    border-bottom: 2px solid #0d6efd;
}

/* Основной контент */
.main {
    padding: 40px 0;
}

section {
    margin-bottom: 50px;
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

h1, h2, h3, h4 {
    color: #212529;
    margin-top: 0;
}

h1 {
    font-size: 2.5em;
    line-height: 1.2;
    margin-bottom: 15px;
    text-align: center;
}

h2 {
    font-size: 2em;
    border-bottom: 2px solid #0d6efd;
    padding-bottom: 10px;
    margin-bottom: 25px;
}

.hero {
    text-align: center;
}

.subtitle {
    font-size: 1.2em;
    color: #6c757d;
    margin-bottom: 25px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(45deg, #0d6efd, #6f42c1);
    color: #fff;
    padding: 15px 30px;
    font-size: 1.2em;
    font-weight: bold;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.4);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.5);
}

.small-text {
    font-size: 0.9em;
    color: #6c757d;
    margin-top: 10px;
}

/* Шаги */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.step {
    text-align: center;
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: #e7f1ff;
    color: #0d6efd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    font-weight: bold;
    margin: 0 auto 15px;
}

.step h3 {
    font-size: 1.3em;
    margin-bottom: 10px;
}

/* Преимущества */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.feature {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #0d6efd;
}

.feature p {
    margin: 5px 0 0;
    font-size: 0.95em;
    color: #495057;
}

/* FAQ */
.faq-item {
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}
.faq-item:last-child {
    border-bottom: none;
}

.faq-item h3 {
    font-size: 1.2em;
    margin-bottom: 5px;
}

/* Футер */
.footer {
    background-color: #343a40;
    color: #f8f9fa;
    padding: 30px 0;
    text-align: center;
}

.footer p {
    margin: 5px 0;
    font-size: 0.9em;
}

.footer a {
    color: #8cb8ff;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

/* Адаптивность */
@media (max-width: 768px) {
    h1 {
        font-size: 2em;
    }
    h2 {
        font-size: 1.7em;
    }
    .header .container {
        flex-direction: column;
        gap: 15px;
    }
    .nav {
        width: 100%;
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 5px;
    }
    .nav a {
        margin: 0 10px;
    }
}
