/* Общие стили для статических страниц */

/* Контейнер страницы */
.page-container {
    max-width: 1280px;
    margin: 0px auto;
    padding: 24px 24px;
}
/* Заголовок страницы */
.page-title {
    font-size: 32px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.page-subtitle {
    font-size: 16px;
    color: #4b5563;
    line-height: 1.6;
    margin: 0;
}

.page-meta {
    color: #6b7280;
    font-size: 16px;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 12px;
}

/* Контент страницы */
.page-content {
    line-height: 1.8;
    color: #374151;
    font-size: 18px;
    margin: 0 auto;
}

.page-content.with-margin {
    margin-top: 16px;
}

.page-content h2 {
    font-size: 36px;
    font-weight: 700;
    color: #1f2937;
    margin-top: 40px;
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}

.page-content h2:first-of-type {
    margin-top: 0;
}

.page-content h2.with-border {
    padding-top: 24px;
    border-top: 1px solid #e5e7eb;
}

.page-content h2.with-border:first-of-type {
    border-top: none;
    padding-top: 0;
}

.page-content h3 {
    font-size: 26px;
    font-weight: 600;
    color: #1f2937;
    margin-top: 32px;
    margin-bottom: 12px;
}

.page-content p {
    margin-bottom: 16px;
    line-height: 1.8;
}

.page-content p.tight {
    margin-bottom: 20px;
    line-height: 1.9;
}

.page-content ul,
.page-content ol {
    margin-bottom: 24px;
    padding-left: 28px;
}

.page-content li {
    margin-bottom: 12px;
    line-height: 1.7;
    position: relative;
}

.page-content li.tight {
    line-height: 1.8;
}

.page-content ul li::marker {
    color: #667eea;
    font-weight: 700;
}

.page-content strong {
    color: #1f2937;
    font-weight: 600;
}

.page-content a {
    color: #4F46E5;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
    border-bottom: 2px solid transparent;
}

.page-content a:hover {
    color: #4338ca;
    border-bottom-color: #4338ca;
}

/* Секция с выделением */
.section-highlight {
    background: #f9fafb;
    border-left: 4px solid #667eea;
    padding: 16px 20px;
    border-radius: 8px;
    margin: 20px 0;
}

/* CTA секция */
.cta-section {
    background: #f9fafb;
    border-radius: 24px;
    padding: 48px 32px;
    margin: 48px 0;
    text-align: center;
}

.cta-section.gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.cta-title {
    font-size: 36px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 16px;
}

.cta-section.gradient .cta-title {
    color: white;
}

.cta-text {
    font-size: 18px;
    color: #6b7280;
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-section.gradient .cta-text {
    color: white;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    background: #4F46E5;
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.cta-button:hover {
    background: #4338ca;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.4);
}

.cta-button.secondary {
    background: white;
    color: #4F46E5;
    border: 2px solid #4F46E5;
    box-shadow: none;
}

.cta-button.secondary:hover {
    background: #f3f4f6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.cta-section.gradient .cta-button {
    background: white;
    color: #4F46E5;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.cta-section.gradient .cta-button:hover {
    background: #f9fafb;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Карточки с общим стилем */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin: 32px 0;
}

.card {
    background: white;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border-color: #667eea;
}

.card:hover::before {
    transform: scaleX(1);
}

.card-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.card-title {
    font-size: 24px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 12px;
}

.card-description {
    color: #6b7280;
    line-height: 1.7;
    font-size: 16px;
}

/* Статистика */
.stats-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 24px;
    padding: 48px 32px;
    margin: 48px 0;
    color: white;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    margin-top: 32px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 8px;
    line-height: 1;
}

.stat-label {
    font-size: 18px;
    opacity: 0.9;
    font-weight: 500;
}

/* Секция с шагами */
.steps-section {
    background: #f9fafb;
    border-radius: 24px;
    padding: 48px 32px;
    margin: 48px 0;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.step-item {
    text-align: center;
}

.step-number {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 28px;
    font-weight: 800;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.step-title {
    font-size: 20px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 8px;
}

.step-description {
    color: #6b7280;
    font-size: 16px;
    line-height: 1.6;
}

/* Адаптивность */
@media (max-width: 768px) {
    .page-title {
        font-size: 28px;
    }

    .page-subtitle {
        font-size: 15px;
    }

    .page-content {
        font-size: 16px;
    }

    .page-content h2 {
        font-size: 28px;
        margin-top: 32px;
    }

    .page-content h3 {
        font-size: 22px;
    }

    .card-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    .stat-number {
        font-size: 40px;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-button {
        width: 100%;
        justify-content: center;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

