/* Главный блок */
.hero {
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(150deg, #efe8ca 0%, #a35b5b 100%);
    color: white;
    border-radius: 8px;
    margin-bottom: 50px;
    margin-top: 30px;
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
}

.hero-subtitle {
    font-size: 1.5rem;
    max-width: 600px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

.auth-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.about-content {
    background: white;
    padding: 35px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.text-section {
    flex: 1;
    font-size: 1.3rem;
}

.flex-container {
    display: flex;
    flex-direction: row;
}

.image-section {
    width: 30%;
}

.image-section img {
    width: 90%;
    height: auto;
    display: block;
    margin: auto;
}

/* Секция о сервисе */
.about-section {
    margin-bottom: 60px;
}

.about-section h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
    font-size: 2.2rem;
}

.about-section h3 {
    color: #444;
    margin: 25px 0 15px;
    font-size: 1.6rem;
}

.about-content {
    background: white;
    padding: 35px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.features-list {
    list-style: none;
    padding-left: 0;
    margin: 25px 0;
}

.features-list li {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    padding-left: 20px;
}

.features-list li:before {
    content: "✓";
    color: #28a745;
    position: absolute;
    left: 0;
}

@media (max-width: 768px) {
    .hero {
        padding: 50px 15px;
    }

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

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

    .auth-buttons {
        flex-direction: column;
    }

    .text-section {
        font-size: 1rem;
    }

    .image-section {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .image-section img {
        width: 70%;
    }

    .flex-container {
        flex-direction: column; /* элементы идут друг под другом */
    }

    .image-section {
        flex: 0 0 auto; /* снимает фиксированную ширину */
        max-width: 100%;
    }
}
