* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

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

header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #2c3e50;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #34495e;
    font-weight: 500;
}

.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 100px 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease-out;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.btn {
    display: inline-block;
    background: #ff6b6b;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.section {
    padding: 80px 0;
    background: white;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #2c3e50;
}

.content-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-subtitle {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #34495e;
    border-left: 4px solid #667eea;
    padding-left: 15px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.benefit-card {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.benefit-card h3 {
    color: #2c3e50;
    margin-bottom: 15px;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.comparison-table th, .comparison-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.comparison-table th {
    background: #667eea;
    color: white;
}

.comparison-table tr:nth-child(even) {
    background: #f8f9fa;
}

.examples-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.example-card {
    background: #f0f7ff;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #667eea;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.service-card {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.service-card h3 {
    color: #2c3e50;
    margin-bottom: 15px;
}

.testimonials {
    padding: 80px 0;
    background: #f8f9fa;
}

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

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.testimonial-card::before {
    content: """;
    position: absolute;
    top: -20px;
    left: 10px;
    font-size: 4rem;
    color: #667eea;
    opacity: 0.2;
}

.testimonial-text {
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    font-weight: bold;
    color: #2c3e50;
}

.cta {
    padding: 100px 0;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: white;
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

footer {
    background: #2c3e50;
    color: white;
    padding: 40px 0;
    text-align: center;
}

.highlight {
    background-color: #fffacd;
    padding: 2px 5px;
    border-radius: 3px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Адаптация под мобильные устройства */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .nav-links {
        display: none;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero {
        padding: 60px 0;
    }

    .section {
        padding: 50px 0;
    }

    .content-container {
        padding: 0 15px;
    }

    .benefits-grid,
    .services-grid,
    .testimonial-grid,
    .examples-grid {
        grid-template-columns: 1fr; /* Одна колонка на мобильных */
        gap: 20px;
    }

    .benefit-card,
    .service-card,
    .testimonial-card,
    .example-card {
        padding: 20px;
    }

    .comparison-table {
        font-size: 0.9rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 10px 8px;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    .section-subtitle {
        font-size: 1.5rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .container {
        padding: 0 15px;
    }
}

/* Дополнительные стили для очень маленьких экранов */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .hero {
        padding: 40px 0;
    }

    .section {
        padding: 40px 0;
    }

    .benefit-card,
    .service-card,
    .testimonial-card,
    .example-card {
        padding: 15px;
    }

    .comparison-table {
        font-size: 0.8rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 8px 5px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }

    .section-subtitle {
        font-size: 1.3rem;
    }

    nav {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }

    .logo {
        font-size: 20px;
    }
}

/* Улучшенная адаптация для планшетов */
@media (max-width: 1024px) and (min-width: 769px) {
    .benefits-grid,
    .services-grid,
    .testimonial-grid {
        grid-template-columns: repeat(2, 1fr); /* Две колонки на планшетах */
    }

    .examples-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2.2rem;
    }
}