/* БАЗОВЫЕ ИСПРАВЛЕНИЯ И СТИЛИ */
html {
    scroll-behavior: smooth; /* Плавная прокрутка для всего сайта */
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; line-height: 1.6; color: #333; background: #f8fafc; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
/* ОБНОВЛЕННЫЙ ГРАДИЕНТ (Добавлен фиолетовый) */
.dark-section { background: linear-gradient(135deg, #1a237e 0%, #4a148c 100%); color: #fff; }
.section-title { font-size: 2.5rem; font-weight: 700; text-align: center; margin-bottom: 1rem; position: relative; }
.dark-section .section-title { color: #fff; }
.section-title::after { content: ''; display: block; width: 60px; height: 4px; background: #7e57c2; margin: 10px auto 30px; border-radius: 2px; } /* Фиолетовый акцент */
.section-subtitle { text-align: center; font-size: 1.1rem; color: #666; max-width: 700px; margin: 0 auto 50px; }
.dark-section .section-subtitle { color: #d1c4e9; } /* Светло-фиолетовый */
.text-center { text-align: center; }

/* НАВИГАЦИЯ */
.navbar { position: fixed; top: 0; width: 100%; background: rgba(255, 255, 255, 0.97); backdrop-filter: blur(10px); z-index: 1000; box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08); padding: 15px 0; }
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.8rem; font-weight: 700; color: #1a237e; text-decoration: none; }
.logo span { color: #7e57c2; } /* Фиолетовый */
.nav-menu { display: flex; list-style: none; }
.nav-menu li { margin-left: 2rem; }
.nav-menu a { text-decoration: none; color: #455a64; font-weight: 600; font-size: 1rem; transition: color 0.3s; position: relative; padding: 5px 0; }
.nav-menu a:hover { color: #1a237e; }
.nav-menu a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: #7e57c2; transition: width 0.3s; } /* Фиолетовый */
.nav-menu a:hover::after { width: 100%; }
.btn-nav { background: #7e57c2; color: white!important; padding: 8px 20px!important; border-radius: 50px; margin-left: 10px; transition: background 0.3s; } /* Фиолетовый */
.btn-nav:hover { background: #673ab7; } /* Темно-фиолетовый */
.menu-toggle { display: none; background: none; border: none; font-size: 1.5rem; color: #1a237e; cursor: pointer; }

/* ГЕРОЙ */
.hero { padding: 150px 0 100px; background: linear-gradient(120deg, #ede7f6 0%, #e3f2fd 100%); position: relative; } /* Добавлен фиолетовый оттенок */
.hero-container { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.hero-text { flex: 1; min-width: 300px; }
.glitch { font-size: 3.2rem; font-weight: 800; color: #311b92; margin-bottom: 1.5rem; line-height: 1.2; position: relative; } /* Темно-фиолетовый */
.glitch::before, .glitch::after { content: attr(data-text); position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.glitch::before { animation: glitch-1 5s infinite linear alternate-reverse; color: #ff4081; z-index: -1; }
.glitch::after { animation: glitch-2 3s infinite linear alternate-reverse; color: #7e57c2; z-index: -2; } /* Фиолетовый */
@keyframes glitch-1 { 0% { clip-path: inset(40% 0 61% 0); } 100% { clip-path: inset(10% 0 85% 0); } }
@keyframes glitch-2 { 0% { clip-path: inset(25% 0 30% 0); } 100% { clip-path: inset(50% 0 15% 0); } }
.subtitle { font-size: 1.2rem; color: #546e7a; margin-bottom: 2rem; max-width: 600px; }
.guarantee { color: #673ab7; font-weight: 800; } /* Стиль для акцента */
.cta-buttons { display: flex; gap: 20px; margin-bottom: 2rem; flex-wrap: wrap; }
.btn-primary, .btn-secondary { padding: 15px 30px; border-radius: 50px; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; transition: all 0.3s ease; }
.btn-primary { background: linear-gradient(90deg, #5e35b1, #7e57c2); color: white; box-shadow: 0 4px 15px rgba(126, 87, 194, 0.4); } /* Фиолетовый градиент */
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(126, 87, 194, 0.6); }
.btn-secondary { background: transparent; color: #5e35b1; border: 2px solid #5e35b1; } /* Фиолетовый */
.btn-secondary:hover { background: #5e35b1; color: white; }
.btn-large { padding: 18px 40px; font-size: 1.1rem; }
.btn-block { width: 100%; }
.hero-highlight { background: #f3e5f5; border-left: 4px solid #ba68c8; padding: 15px; border-radius: 0 8px 8px 0; margin-top: 20px; } /* Фиолетовый */
.hero-highlight p { margin: 0; color: #4a148c; font-size: 1rem; } /* Темно-фиолетовый */
.hero-highlight i { color: #ab47bc; }
.hero-image { flex: 1; min-width: 300px; display: flex; justify-content: center; }
.image-wrapper { position: relative; max-width: 400px; }
.image-wrapper img { width: 100%; border-radius: 20px; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); border: 8px solid white; }
.tech-icons { position: absolute; bottom: -20px; left: 50%; transform: translateX(-50%); background: white; padding: 15px 25px; border-radius: 50px; box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1); display: flex; gap: 20px; }
.tech-icons i { font-size: 1.8rem; color: #555; transition: color 0.3s, transform 0.3s; }
.tech-icons i:hover { color: #7e57c2; transform: scale(1.2); } /* Фиолетовый */
.scroll-indicator { text-align: center; margin-top: 40px; }
.scroll-indicator a { color: #5e35b1; font-size: 2rem; animation: bounce 2s infinite; display: inline-block; }

/* ОБО МНЕ */
.about-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; margin-top: 40px; }
.about-card { background: white; padding: 30px; border-radius: 15px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05); text-align: center; transition: transform 0.3s, box-shadow 0.3s; border-top: 5px solid #7e57c2; } /* Фиолетовый */
.about-card:hover { transform: translateY(-10px); box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1); }
.icon-box { font-size: 2.5rem; color: #7e57c2; margin-bottom: 20px; } /* Фиолетовый */
.about-card h3 { margin-bottom: 15px; color: #1a237e; }
.link-highlight { color: #7e57c2; font-weight: 600; text-decoration: none; }
.link-highlight:hover { text-decoration: underline; }
.rate-notice { background: #f3e5f5; border: 1px dashed #ab47bc; padding: 20px; border-radius: 10px; margin-top: 50px; text-align: center; } /* Фиолетовый фон и рамка */
.rate-notice i { color: #7b1fa2; }
.rate { font-size: 1.5rem; font-weight: 800; color: #4a148c; } /* Темно-фиолетовый */

/* ПРОГРАММА */
.timeline { position: relative; max-width: 900px; margin: 50px auto; }
.timeline::before { content: ''; position: absolute; left: 50px; top: 0; bottom: 0; width: 4px; background: rgba(255, 255, 255, 0.3); }
.timeline-item { display: flex; margin-bottom: 50px; position: relative; }
.timeline-marker { flex-shrink: 0; width: 60px; height: 60px; border-radius: 50%; background: #ba68c8; color: white; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.5rem; margin-right: 30px; box-shadow: 0 0 0 8px rgba(186, 104, 200, 0.2); z-index: 1; } /* Фиолетовый */
.timeline-content { background: rgba(255, 255, 255, 0.05); padding: 25px; border-radius: 15px; flex: 1; backdrop-filter: blur(5px); border: 1px solid rgba(255, 255, 255, 0.1); }
.timeline-content h3 { color: #e1bee7; margin-bottom: 10px; }
.timeline-content p { color: #f3e5f5; }

/* ДЛЯ КОГО */
.audience-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 40px; }
.audience-card { background: white; padding: 30px; border-radius: 15px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05); border-left: 5px solid #7e57c2; } /* Фиолетовый */
.audience-card h3 { color: #4527a0; margin-bottom: 20px; display: flex; align-items: center; }
.audience-card h3 i { margin-right: 10px; color: #7e57c2; }
.guarantee-text { color: #673ab7; } /* Стиль для текста о гарантии */
.audience-card ul { list-style: none; }
.audience-card li { margin-bottom: 10px; padding-left: 25px; position: relative; }
.audience-card li::before { content: '✓'; position: absolute; left: 0; color: #7e57c2; font-weight: bold; } /* Фиолетовый */

/* КОНТАКТЫ */
.contact-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 50px; margin-top: 40px; align-items: start; }
.contact-info h3 { margin-bottom: 25px; color: #e1bee7; }
.contact-info p { margin-bottom: 15px; color: #f3e5f5; display: flex; align-items: center; }
.contact-info i { width: 24px; margin-right: 10px; color: #ba68c8; }
.contact-info a { color: #bbdefb; text-decoration: none; }
.contact-info a:hover { color: white; text-decoration: underline; }
.social-links { display: flex; gap: 15px; margin-top: 30px; }
.social-links a { display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 50px; background: rgba(255, 255, 255, 0.1); border-radius: 50%; color: white; font-size: 1.2rem; transition: all 0.3s; }
.social-links a:hover { background: #ba68c8; transform: translateY(-3px); } /* Фиолетовый */

.contact-form .form-group { margin-bottom: 25px; }
.contact-form label { display: block; margin-bottom: 8px; color: #e1bee7; font-weight: 600; }
.contact-form input, .contact-form textarea { width: 100%; padding: 15px; border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 10px; background: rgba(255, 255, 255, 0.05); color: white; font-size: 1rem; font-family: 'Inter', sans-serif; transition: border 0.3s; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: #ba68c8; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: rgba(255, 255, 255, 0.5); }
.form-note { font-size: 0.9rem; color: #e1bee7; text-align: center; margin-top: 15px; }
.form-note i { margin-right: 5px; }

/* ФУТЕР */
.footer { background: #1a237e; color: #bbdefb; text-align: center; padding: 30px 0; }
.footer p { margin: 5px 0; }

/* АНИМАЦИИ */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* АДАПТИВНОСТЬ (без критичных изменений) */
@media (max-width: 992px) {
    .hero-container { flex-direction: column; text-align: center; }
    .glitch { font-size: 2.7rem; }
    .nav-menu { display: none; flex-direction: column; position: absolute; top: 70px; left: 0; width: 100%; background: white; padding: 20px; box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1); }
    .nav-menu.active { display: flex; }
    .nav-menu li { margin: 10px 0; }
    .menu-toggle { display: block; }
    .timeline::before { left: 30px; }
    .timeline-marker { width: 50px; height: 50px; font-size: 1.2rem; margin-right: 20px; }
}
@media (max-width: 768px) {
    .section { padding: 60px 0; }
    .section-title { font-size: 2rem; }
    .glitch { font-size: 2.2rem; }
    .cta-buttons { flex-direction: column; }
    .btn-primary, .btn-secondary { width: 100%; text-align: center; }
    .contact-container { grid-template-columns: 1fr; }
}

/* ... (предыдущие стили остаются без изменений) ... */

/* НОВАЯ КАРТОЧКА СЕРТИФИКАТА */
.certificate-card {
    text-align: center;
}
.certificate-image {
    margin-top: 15px;
}
.certificate-thumb {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    border: 2px solid #e1bee7;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}
.certificate-thumb:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 20px rgba(126, 87, 194, 0.3);
}
.certificate-note {
    font-size: 0.8rem;
    color: #7e57c2;
    margin-top: 8px;
}

/* НОВАЯ СЕКЦИЯ ZEFIR-IT */
.zefir-section {
    background: linear-gradient(135deg, #1a237e 0%, #4a148c 100%);
}
.zefir-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
    margin-top: 40px;
}
.zefir-content {
    flex: 2;
    min-width: 280px;
}
.zefir-stats {
    flex: 1;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.zefir-badge {
    display: inline-block;
    background: #ba68c8;
    color: white;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 600;
    margin-bottom: 25px;
}
.zefir-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #f3e5f5;
    margin-bottom: 25px;
}
.zefir-guarantee {
    background: rgba(255,255,255,0.1);
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid #ffd54f;
    color: white;
    margin-bottom: 30px;
}
.zefir-guarantee i {
    color: #ffd54f;
    margin-right: 8px;
}
.stat-item {
    background: rgba(255,255,255,0.05);
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    backdrop-filter: blur(5px);
}
.stat-number {
    display: block;
    font-size: 2.8rem;
    font-weight: 800;
    color: #ffd54f;
    line-height: 1.2;
}
.stat-label {
    font-size: 1rem;
    color: #e1bee7;
}

/* АДАПТИВНОСТЬ ДЛЯ ПЛАНШЕТОВ (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }
    .section-title {
        font-size: 2.2rem;
    }
    .glitch {
        font-size: 2.8rem;
    }
    .hero-container {
        gap: 30px;
    }
    .about-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .timeline::before {
        left: 30px;
    }
    .timeline-marker {
        width: 55px;
        height: 55px;
        font-size: 1.4rem;
        margin-right: 25px;
    }
    .zefir-container {
        flex-direction: column;
    }
    .zefir-stats {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    .stat-item {
        min-width: 180px;
    }
}

/* УЛУЧШЕНИЯ ДЛЯ МОБИЛЬНЫХ (до 768px) */
@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    .certificate-thumb {
        max-width: 80%;
    }
    .timeline::before {
        left: 20px;
    }
    .timeline-marker {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
        margin-right: 15px;
    }
    .zefir-stats {
        gap: 15px;
    }
    .stat-number {
        font-size: 2.2rem;
    }
    .btn-large {
        padding: 14px 25px;
    }
}

/* Остальные стили остаются прежними */

/* НОВАЯ СЕКЦИЯ ZEFIR-IT (с исправленными отступами) */
.zefir-section {
    background: linear-gradient(135deg, #1a237e 0%, #4a148c 100%);
}
.zefir-section .container {
    padding-left: 30px;   /* добавляем боковые отступы */
    padding-right: 30px;
}
.zefir-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
    margin-top: 40px;
    max-width: 1000px;      /* ограничиваем ширину, чтобы текст не растягивался на весь экран */
    margin-left: auto;
    margin-right: auto;
}
.zefir-content {
    flex: 2;
    min-width: 280px;
    text-align: left;       /* или center, если хотите полное центрирование, но лучше left с отступами */
}
.zefir-stats {
    flex: 1;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}
/* остальные стили (.zefir-badge, .zefir-description, .stat-item и т.д.) остаются без изменений */
.zefir-content {
    text-align: center;
}
.zefir-badge {
    margin-left: auto;
    margin-right: auto;
}

.zefir-content {
    text-align: center;
}
.zefir-badge {
    margin-left: auto;
    margin-right: auto;
}

/* ===== КОНТАКТЫ (центрирование и отступы) ===== */
#contacts {
    text-align: center; /* всё содержимое секции выравнивается по центру */
}
#contacts .section-title,
#contacts .section-subtitle {
    text-align: center;
}
.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
    margin-top: 40px;
    align-items: start;
    max-width: 1000px;        /* ограничиваем ширину */
    margin-left: auto;
    margin-right: auto;
    text-align: left;         /* внутри формы и контактов текст выровнен влево для читаемости */
}

/* Блок с контактами */
.contact-info {
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
}

/* Форма */
.contact-form {
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
}

/* Для мобильных устройств — контейнер почти на всю ширину с небольшими отступами */
@media (max-width: 768px) {
    .contact-container {
        max-width: 100%;
        padding: 0 10px;
        gap: 30px;
    }
    .contact-info,
    .contact-form {
        padding: 15px;
    }
}