* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #fff;
    color: #333;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow-x: hidden;
}

section {
    width: 100%;
    padding: 60px 20px;
}

.section-light {
    background-color: #fff;
}

.section-gray {
    background-color: #f8f9fa;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-bottom: 2px solid #2748e6;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-area a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-area img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2748e6;
    line-height: 1.2;
}

.logo-subtitle {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

/* Стили для навигации в шапке */
.header-nav {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-right: 20px;
}

.header-nav a {
    color: #555;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    padding: 5px 0;
    position: relative;
}

.header-nav a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #2748e6;
    transition: all 0.2s ease;
}

.header-nav a:hover,
.header-nav a.active {
    color: #2748e6;
}

.header-nav a:hover:after,
.header-nav a.active:after {
    width: 100%;
}

.header-button {
    background-color: #2748e6;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.header-button:hover {
    background-color: #1a39c2;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(39, 72, 230, 0.3);
}

.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    position: relative;
}

.hero-text {
    flex: 1;
    padding-right: 40px;
    min-width: 300px;
    max-width: 600px;
}

.hero-text h1 {
    font-size: 3.2rem;
    line-height: 1.2;
    margin-bottom: 30px;
    font-weight: 700;
    color: #333;
    position: relative;
}

.hero-text h1::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #2748e6;
    margin-top: 15px;
    border-radius: 2px;
}

.hero-text p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.phone-mockup {
    flex: 1;
    min-width: 320px;
    max-width: 380px;
    position: relative;
    transition: transform 0.5s ease;
}

.phone-mockup:hover {
    transform: translateY(-10px);
}

.phone {
    background: #111;
    border-radius: 40px;
    padding: 15px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.phone::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 20px;
    background-color: #000;
    border-radius: 0 0 15px 15px;
    z-index: 2;
}

.phone-screen {
    background: #fff;
    border-radius: 30px;
    overflow: hidden;
    position: relative;
}

.phone-content {
    width: 100%;
    display: block;
}

.cta-button {
    display: inline-block;
    background-color: #2748e6;
    color: white;
    text-align: center;
    padding: 15px 25px;
    border-radius: 50px;
    margin: 30px 0;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(39, 72, 230, 0.3);
}

.cta-button:hover {
    background-color: #1a39c2;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(39, 72, 230, 0.4);
}

.features-section {
    text-align: center;
    padding: 80px 20px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: #2748e6;
    margin: 15px auto;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto 50px;
    line-height: 1.7;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-block {
    padding: 30px;
    border-radius: 15px;
    background-color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.feature-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.feature-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #333;
}

.feature-text {
    color: #666;
    line-height: 1.7;
}

.features-list {
    text-align: left;
    max-width: 600px;
    margin: 0 auto;
}

.features-list h3 {
    font-size: 1.5rem;
    color: #333;
    margin: 30px 0 20px;
    text-align: left;
}

.features-list ul {
    list-style: none;
    padding: 0;
}

.features-list li {
    font-size: 1.1rem;
    color: #555;
    padding: 10px 0;
    position: relative;
    padding-left: 30px;
}

.features-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-color: #2748e6;
    border-radius: 50%;
}

.target-audience {
    margin-top: 40px;
}

/* Стили для блока со статьями на главной странице */
.blog-section {
    padding: 80px 20px;
}

.blog-section .container {
    flex-direction: column;
    align-items: center;
}

.blog-preview {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    width: 100%;
    margin-bottom: 40px;
}

.blog-item {
    padding: 25px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.blog-item h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: #333;
    line-height: 1.4;
    flex-grow: 1;
}

.read-more {
    color: #2748e6;
    font-weight: 500;
    margin-top: 15px;
    display: inline-block;
    transition: all 0.2s ease;
}

.blog-item:hover .read-more {
    margin-left: 5px;
}

.blog-all {
    margin-top: 20px;
    text-align: center;
}

.blog-all-link {
    font-size: 1.2rem;
    color: #2748e6;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    border-bottom: 2px solid transparent;
    padding-bottom: 3px;
}

.blog-all-link:hover {
    border-bottom-color: #2748e6;
}

footer {
    background-color: #f8f9fa;
    padding: 40px 20px;
    margin-top: auto;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.copyright {
    color: #777;
    font-size: 0.95rem;
    margin-bottom: 10px;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: #555;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #2748e6;
}

.section-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    width: 100%;
}

.features-info {
    flex: 1;
    min-width: 300px;
    text-align: left;
}

.cat-image-container {
    flex: 0 0 auto;
    max-width: 300px;
    position: relative;
    margin: 0 auto;
    transition: all 0.5s ease;
}

.cat-image {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.5s ease;
}

.cat-image:hover {
    transform: translateY(-10px) rotate(2deg);
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
        padding: 0 10px;
    }
    
    .section-content {
        flex-direction: column;
    }
    
    .cat-image-container {
        margin-top: 40px;
        order: -1;
    }
    
    .hero-text {
        padding-right: 0;
        padding-top: 40px;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-text h1::after {
        margin-top: 10px;
    }
    
    .header-button {
        padding: 8px 15px;
        font-size: 0.95rem;
    }
    
    .header-nav {
        margin-right: 10px;
        gap: 10px;
    }
    
    .logo-area {
        gap: 8px;
    }
    
    .logo-area img {
        width: 40px;
        height: 40px;
    }
    
    .logo-title {
        font-size: 1.2rem;
    }
    
    .logo-subtitle {
        font-size: 0.8rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .features-list li {
        font-size: 1rem;
    }
    
    .features-list h3 {
        font-size: 1.3rem;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        margin-top: 10px;
    }
    
    /* Адаптив для блока блога */
    .blog-preview {
        grid-template-columns: 1fr;
    }
    
    header {
        flex-wrap: wrap;
    }
    
    .header-nav {
        order: 3;
        width: 100%;
        margin-top: 15px;
        justify-content: center;
    }
    
    .header-button {
        order: 2;
    }
} 