/* Полный сброс дефолтных стилей браузера */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: #334155; /* Мягкий графитовый текст */
    background-color: #f0fdf4; /* Свежий мятно-зеленый фон */
    line-height: 1.65;
}

.container {
    width: 90%;
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Настройки разделов и типографики */
.section-subtitle {
    display: block;
    color: #0d9488; /* Бирюзово-аквамариновый акцент */
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
    margin-bottom: 12px;
}

.section-title {
    font-family: 'Space Grotesk', sans-serif; /* Уникальный геометричный шрифт */
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    color: #0f172a; /* Темный сланец */
    margin-bottom: 60px;
    letter-spacing: -0.5px;
}

/* 1. Навигация (Header) */
header {
    background-color: rgba(240, 253, 244, 0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(13, 148, 136, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #0f172a;
    text-decoration: none;
}

.logo span {
    color: #0d9488;
}

.nav-menu {
    display: flex;
    gap: 35px;
}

.nav-menu a {
    color: #475569;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.nav-menu a:hover {
    color: #0d9488;
}

.phone-btn {
    background-color: #0f172a;
    color: #ffffff;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: background 0.2s;
}

.phone-btn:hover {
    background-color: #0d9488;
}

/* 2. Главный баннер (Hero Section) */
.hero {
    background: linear-gradient(rgba(240, 253, 244, 0.85), rgba(240, 253, 244, 0.95)), url('https://images.unsplash.com/photo-1508873535684-277a3cbcc4e8?q=80&w=1200') no-repeat center center/cover;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
}

.hero-content {
    max-width: 900px;
}

.badge {
    background-color: rgba(13, 148, 136, 0.08);
    color: #0d9488;
    padding: 6px 16px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 25px;
    border: 1px solid rgba(13, 148, 136, 0.15);
}

.hero-content h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 25px;
    color: #0f172a;
    letter-spacing: -1px;
}

.hero-content p {
    font-size: 1.25rem;
    color: #475569;
    margin-bottom: 40px;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.cta-btn {
    padding: 16px 36px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.primary-btn {
    background-color: #0d9488;
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(13, 148, 136, 0.25);
}

.primary-btn:hover {
    background-color: #0f172a;
    box-shadow: none;
}

.secondary-btn {
    background-color: #ffffff;
    color: #0f172a;
    border: 1px solid rgba(15, 23, 42, 0.1);
}

.secondary-btn:hover {
    background-color: rgba(15, 23, 42, 0.04);
}

/* 3. Stats Section */
.stats-section {
    padding: 60px 0;
    background-color: #0f172a;
    color: #ffffff;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    text-align: center;
    gap: 30px;
}

.stat-item h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.6rem;
    font-weight: 700;
    color: #0d9488;
    margin-bottom: 6px;
}

.stat-item p {
    color: #94a3b8;
    font-size: 0.95rem;
}

/* 4. Tech Grid Section */
.tech-section {
    padding: 100px 0;
    background-color: #ffffff;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.tech-card {
    background: #f0fdf4;
    padding: 40px 30px;
    border-radius: 6px;
    border: 1px solid rgba(13, 148, 136, 0.05);
    position: relative;
}

.card-num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: rgba(13, 148, 136, 0.15);
    position: absolute;
    top: 20px;
    right: 30px;
}

.tech-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.35rem;
    color: #0f172a;
    margin-bottom: 15px;
}

.tech-card p {
    color: #475569;
    font-size: 0.95rem;
}

/* 5. Fases Timeline Section */
.fases-section {
    padding: 100px 0;
}

.fases-timeline {
    max-width: 850px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.fase-item {
    background-color: #ffffff;
    padding: 35px;
    border-radius: 6px;
    border-left: 4px solid #0d9488;
}

.fase-badge {
    background-color: rgba(13, 148, 136, 0.1);
    color: #0d9488;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 12px;
}

.fase-item h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.4rem;
    color: #0f172a;
    margin-bottom: 10px;
}

.fase-item p {
    color: #475569;
}

/* 6. ROI Section */
.roi-section {
    padding: 100px 0;
    background-color: #ffffff;
}

.roi-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.roi-text h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.2rem;
    margin-bottom: 25px;
    color: #0f172a;
}

.roi-text p {
    color: #475569;
    margin-bottom: 20px;
}

.roi-box {
    background-color: #0f172a;
    color: #ffffff;
    padding: 45px 35px;
    border-radius: 6px;
    text-align: center;
}

.drop-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.roi-box h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.3rem;
    color: #ffffff;
    margin-bottom: 10px;
}

.roi-box p {
    color: #94a3b8;
    font-size: 0.95rem;
}

/* 7. Contact Section */
.contact-section {
    padding: 100px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 50px;
}

.contact-form {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 6px;
    border: 1px solid rgba(15, 23, 42, 0.05);
}

.form-group {
    margin-bottom: 20px;
    width: 100%;
}

.form-group-row {
    display: flex;
    gap: 20px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #475569;
}

.form-group input, .form-group select {
    width: 100%;
    padding: 12px 16px;
    background-color: #f0fdf4;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 4px;
    font-size: 1rem;
    color: #0f172a;
}

.form-group input:focus, .form-group select:focus {
    outline: none;
    border-color: #0d9488;
}

.form-privacy {
    font-size: 0.8rem;
    color: #64748b;
    margin-bottom: 25px;
}

.form-privacy a {
    color: #0d9488;
    text-decoration: underline;
}

.submit-btn {
    background-color: #0d9488;
    color: #ffffff;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    border: none;
    padding: 16px;
    font-size: 1rem;
    border-radius: 4px;
    width: 100%;
    cursor: pointer;
    transition: background 0.2s;
}

.submit-btn:hover {
    background-color: #0f172a;
}

/* Contact Info */
.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.info-item {
    margin-bottom: 35px;
}

.info-item h3 {
    color: #0d9488;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.info-item p, .info-item a {
    font-size: 1.2rem;
    color: #334155;
    text-decoration: none;
}

/* 8. Footer */
footer {
    background-color: #090d16;
    padding: 60px 0 30px 0;
    text-align: center;
    font-size: 0.85rem;
    color: #94a3b8;
    border-top: 4px solid #0d9488;
}

.footer-links {
    margin-bottom: 25px;
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    margin: 0 15px;
    font-weight: 500;
}

.footer-links a:hover {
    color: #0d9488;
}

.legal-text {
    font-size: 0.75rem;
    line-height: 1.6;
    margin-top: 25px;
    max-width: 950px;
    margin-left: auto;
    margin-right: auto;
    text-align: justify;
    color: #475569;
}

/* Мобильная адаптивность */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    .hero-content h1 {
        font-size: 2.3rem;
    }
    .roi-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .form-group-row {
        flex-direction: column;
        gap: 0;
    }
    .header-container {
        flex-direction: column;
        gap: 15px;
    }
}