/* style.css */

/* Базовые сбросы */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    width: 100%;
    overflow-x: hidden;
}

/* Контейнеры */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-header {
    text-align: center;
    padding: 60px 20px 40px;
    width: 100%;
}

.page-header h1 {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #000;
    width: 100%;
}

.page-content {
    width: 100%;
    padding: 0 20px;
}

/* Колонки на десктопе, вертикально на мобильных */
.columns {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    width: 100%;
    margin: 40px 0;
}

.column {
    flex: 1;
    min-width: 300px;
    width: 100%;
}

/* Карточки-блоки */
.card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
    border: 1px solid #e9ecef;
    width: 100%;
}

.card.red {
    background: #fff5f5;
    border-color: #ffcccc;
}

.card.blue {
    background: #f0f8ff;
    border-color: #cce5ff;
}

.card.yellow {
    background: #fff9e6;
    border-color: #ffe680;
}

.card-header {
    display: flex;
    align-items: flex-start;
    margin-bottom: 16px;
    width: 100%;
}

.card-icon {
    width: 48px;
    height: 48px;
    margin-right: 16px;
    flex-shrink: 0;
}

.card-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.card-title {
    font-size: 24px;
    font-weight: 600;
    color: #000;
    margin: 0;
    width: 100%;
}

.card-content {
    font-size: 18px;
    color: #555;
    line-height: 1.5;
    width: 100%;
}

/* Изображения */
.image-container {
    width: 100%;
    margin: 30px 0;
}

.image-container img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

/* Секции с текстом и изображением */
.section {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    margin: 60px 0;
    width: 100%;
}

.section-text {
    flex: 1;
    min-width: 300px;
    width: 100%;
}

.section-image {
    flex: 1;
    min-width: 300px;
    width: 100%;
}

.section-title {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #000;
    width: 100%;
}

.section-description {
    font-size: 20px;
    color: #555;
    margin-bottom: 24px;
    width: 100%;
}

.section-link {
    font-size: 18px;
    color: #0066cc;
    text-decoration: none;
    font-weight: 500;
}

.section-link:hover {
    text-decoration: underline;
}

/* Разделители */
.divider {
    height: 1px;
    background: #e9ecef;
    margin: 40px 0;
    width: 100%;
}

/* Кнопка-ссылка */
.cta-button {
    display: inline-block;
    background: #0066cc;
    color: white;
    text-decoration: none;
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 20px;
    font-weight: 600;
    text-align: center;
    transition: background 0.3s;
    margin: 20px 0;
    width: auto;
}

.cta-button:hover {
    background: #0052a3;
}

/* Мобильная адаптация */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .page-header {
        padding: 40px 15px 30px;
    }
    
    .page-header h1 {
        font-size: 32px;
    }
    
    .page-content {
        padding: 0 15px;
    }
    
    .columns {
        flex-direction: column;
        gap: 20px;
        margin: 30px 0;
    }
    
    .column {
        min-width: 100%;
    }
    
    .card {
        padding: 20px;
        margin-bottom: 15px;
    }
    
    .card-title {
        font-size: 20px;
    }
    
    .card-content {
        font-size: 16px;
    }
    
    .card-icon {
        width: 40px;
        height: 40px;
        margin-right: 12px;
    }
    
    .section {
        flex-direction: column;
        margin: 40px 0;
        gap: 30px;
    }
    
    .section-text,
    .section-image {
        min-width: 100%;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .section-description {
        font-size: 18px;
    }
    
    .cta-button {
        width: 100%;
        padding: 14px 24px;
        font-size: 18px;
    }
    
    .divider {
        margin: 30px 0;
    }
}

.section.featured {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 24px;
    padding: 40px;
    color: white;
    margin: 60px 0;
    position: relative;
    overflow: hidden;
}

.section.featured .section-title {
    color: white;
    font-size: 38px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    margin-bottom: 25px;
}

.section.featured .section-description {
    color: rgba(255,255,255,0.95);
    font-size: 22px;
    line-height: 1.6;
    font-weight: 400;
}

.section.featured .section-image img {
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.3s ease;
    border-radius: 16px;
}

.section.featured .section-image img:hover {
    transform: perspective(1000px) rotateY(0deg);
}

/* Иконки для секций */
.section.featured::before {
    content: "✨";
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 40px;
    opacity: 0.3;
}

/* Альтернативный цвет для второй секции */
.section.featured.blue {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.section.featured.green {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
}

.section.featured .section-image {
    z-index: 2;
    position: relative;
}

/* Медиазапросы для featured секций */
@media (max-width: 768px) {
    .section.featured {
        padding: 30px 20px;
        margin: 40px 0;
    }
    
    .section.featured .section-title {
        font-size: 28px;
    }
    
    .section.featured .section-description {
        font-size: 18px;
    }
    
    .section.featured .section-image img {
        transform: none;
        margin-top: 20px;
    }
    
    .section.featured::before {
        font-size: 30px;
        top: 15px;
        right: 15px;
    }
}

@media (max-width: 480px) {
    .section.featured {
        padding: 25px 15px;
        margin: 30px 0;
    }
    
    .section.featured .section-title {
        font-size: 24px;
    }
    
    .section.featured .section-description {
        font-size: 16px;
    }
}

.features-section {
    padding: 60px 0;
    width: 100%;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    width: 100%;
}

.feature-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    border-top: 5px solid;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}

.feature-card.red {
    border-top-color: #ff6b6b;
}

.feature-card.blue {
    border-top-color: #4d96ff;
}

.feature-card.yellow {
    border-top-color: #ffd166;
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: rgba(0,0,0,0.05);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.feature-icon img {
    width: 40px;
    height: 40px;
}

.feature-title {
    font-size: 24px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 20px;
    line-height: 1.3;
}

.feature-description {
    font-size: 17px;
    color: #4a5568;
    line-height: 1.6;
    margin: 0;
}

/* Новый цвет для секции */
.section.featured.purple {
    background: linear-gradient(135deg, #9f7aea 0%, #805ad5 100%);
}

/* Медиазапросы для новых элементов */
@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .features-section {
        padding: 40px 0;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .feature-card {
        padding: 30px 25px;
    }
    
    .feature-title {
        font-size: 22px;
    }
    
    .feature-description {
        font-size: 16px;
    }
    
    .cta-section {
        margin: 50px 0 30px;
    }
    
    .cta-section .section-title {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .feature-card {
        padding: 25px 20px;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 20px;
    }
    
    .feature-icon img {
        width: 35px;
        height: 35px;
    }
    
    .feature-title {
        font-size: 20px;
    }
}


.cta-section {
    text-align: center;
    margin: 100px 0 60px;
    width: 100%;
    padding: 70px 40px;
    background: #f8fafc;
    border-radius: 30px;
    border: 2px solid #e2e8f0;
    position: relative;
}

.cta-section::before,
.cta-section::after {
    content: "✨";
    position: absolute;
    font-size: 40px;
    opacity: 0.3;
}

.cta-section::before {
    top: 20px;
    left: 20px;
}

.cta-section::after {
    bottom: 20px;
    right: 20px;
}

.cta-section .section-title {
    margin-bottom: 15px;
    font-size: 40px;
    color: #2d3748;
    position: relative;
    display: inline-block;
}

.cta-section .section-title::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(to right, #667eea, #764ba2);
    border-radius: 2px;
}

.cta-section p {
    font-size: 20px;
    color: #4a5568;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    padding: 0 20px;
}

.stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 36px;
    font-weight: 800;
    color: #667eea;
    display: block;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 16px;
    color: #718096;
    font-weight: 500;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    padding: 20px 50px;
    border-radius: 15px;
    font-size: 22px;
    font-weight: 700;
    text-align: center;
    transition: all 0.3s ease;
    margin: 20px 0;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
    border: none;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: "➜";
    font-size: 24px;
    transition: transform 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
}

.cta-button:hover::before {
    transform: translateX(5px);
}



@media (max-width: 480px) {
    .page-header h1 {
        font-size: 28px;
    }
    
    .container {
        padding: 0 10px;
    }
    
    .page-content {
        padding: 0 10px;
    }
    
    .card {
        padding: 16px;
    }
    
    .card-title {
        font-size: 18px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .section-description {
        font-size: 16px;
    }
}

/* Добавьте эти стили в конец файла style.css */

/* Стили для одного блока преимущества */
.features-section {
    padding: 40px 0;
    width: 100%;
}

.features-grid.single-feature {
    display: flex;
    justify-content: center;
    max-width: 800px;
    margin: 0 auto;
}

.features-grid.single-feature .feature-card {
    width: 100%;
    max-width: 600px;
    text-align: center;
    padding: 50px 40px;
}

.features-grid.single-feature .feature-icon {
    margin: 0 auto 25px;
}

.features-grid.single-feature .feature-title {
    font-size: 28px;
    margin-bottom: 25px;
}

.features-grid.single-feature .feature-description {
    font-size: 18px;
    line-height: 1.7;
}

/* Упрощенный CTA блок */
.cta-section {
    text-align: center;
    margin: 80px 0 60px;
    width: 100%;
    padding: 60px 30px;
    background: #f8fafc;
    border-radius: 25px;
    border: 2px solid #e2e8f0;
}

.cta-section .section-title {
    margin-bottom: 20px;
    font-size: 36px;
    color: #2d3748;
}

.cta-section p {
    font-size: 18px;
    color: #4a5568;
    margin-bottom: 35px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Медиазапросы для адаптации */
@media (max-width: 768px) {
    .features-grid.single-feature .feature-card {
        padding: 40px 25px;
    }
    
    .features-grid.single-feature .feature-title {
        font-size: 24px;
    }
    
    .features-grid.single-feature .feature-description {
        font-size: 16px;
    }
    
    .cta-section {
        padding: 50px 20px;
        margin: 60px 0 40px;
    }
    
    .cta-section .section-title {
        font-size: 30px;
    }
    
    .cta-section p {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .features-grid.single-feature .feature-card {
        padding: 30px 20px;
    }
    
    .cta-section {
        padding: 40px 15px;
    }
    
    .cta-section .section-title {
        font-size: 26px;
    }
}