body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    background-attachment: fixed;
    background-size: cover;
    color: white;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Герой-секция */
.hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 100px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    margin: 20px;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: white;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #ddd;
}

.hero .cta-button {
    background: white;
    color: #6a11cb;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    transition: background 0.3s ease, color 0.3s ease;
}

.hero .cta-button:hover {
    background: #ffcc00;
    color: white;
}

/* Секция с преимуществами */
.features {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    margin: 20px;
}

.feature {
    text-align: center;
    max-width: 250px;
    margin: 20px;
}

.feature img {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    color: white;
}

.feature h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: white;
}

.feature p {
    font-size: 1rem;
    color: #ddd;
}

/* Секция с отзывами */
.testimonials {
    text-align: center;
    padding: 60px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    margin: 20px;
}

.testimonials h2 {
    font-size: 2rem;
    margin-bottom: 40px;
    color: white;
}

.testimonial {
    background: rgba(255, 255, 255, 0.2);
    padding: 20px;
    border-radius: 10px;
    margin: 20px auto;
    max-width: 600px;
}

.testimonial p {
    font-size: 1.1rem;
    font-style: italic;
    color: white;
}

/* Секция с призывом к действию */
.cta {
    text-align: center;
    padding: 80px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    margin: 20px;
}

.cta h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: white;
}

.cta .cta-button {
    background: white;
    color: #6a11cb;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    transition: background 0.3s ease, color 0.3s ease;
}

.cta .cta-button:hover {
    background: #ffcc00;
    color: white;
}

/* Стили для блока статистики */
.user-stats {
    display: flex;
    justify-content: space-around;
    margin: 30px 0;
    gap: 20px;
}

.user-stats .stat {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    width: 30%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.user-stats .stat:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.user-stats .stat h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: white;
}

.user-stats .stat p {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ffcc00;
}


/* Адаптивность */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .features {
        flex-direction: column;
        align-items: center;
    }

    .testimonials h2 {
        font-size: 1.8rem;
    }

    .cta h2 {
        font-size: 1.8rem;
    }

    .user-stats {
        flex-direction: column;
        align-items: center;
    }

    .user-stats .stat {
        width: 80%;
        margin-bottom: 20px;
    }
}

/* Стили для формы добавления отзыва */
.add-testimonial {
    background: rgba(255, 255, 255, 0.2);
    padding: 20px;
    border-radius: 10px;
    margin: 20px auto;
    max-width: 600px;
}

.add-testimonial h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: white;
}

.add-testimonial textarea {
    width: 100%;
    padding: 10px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
    resize: vertical;
    min-height: 100px;
    margin-bottom: 15px;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
}

.add-testimonial button {
    background: white;
    color: #6a11cb;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease;
}

.add-testimonial button:hover {
    background: #ffcc00;
    color: white;
}

/* Main Content Container */
.main-content-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Section Styles */
.section {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.section:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.section-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 40px;
    color: white;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #ffcc00, #ffaa00);
}

/* Hero Section */
.hero-section {
    text-align: center;
    padding: 60px 20px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(106, 17, 203, 0.7), rgba(37, 117, 252, 0.7));
}

.hero-title {
    font-size: 2.8rem;
    margin-bottom: 20px;
    background: linear-gradient(90deg, #fff, #ffcc00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto 30px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    gap: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, #ffcc00, #ffaa00);
    color: #6a11cb;
    box-shadow: 0 4px 15px rgba(255, 204, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 204, 0, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

.btn-large {
    padding: 15px 35px;
    font-size: 1.1rem;
}

/* Stats Container */
.stats-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin: 40px 0 0;
}

.stat-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    min-width: 160px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.stat-value {
    font-size: 2.2rem;
    font-weight: 700;
    color: #ffcc00;
    margin-bottom: 5px;
    line-height: 1;
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.feature-card {
    text-align: center;
    padding: 30px 20px;
    border-radius: 12px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.07);
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2.5rem;
    color: #ffcc00;
    margin-bottom: 20px;
}

.feature-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: white;
}

.feature-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* Testimonials Section */
.testimonials-slider {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding: 20px 0;
    scrollbar-width: none;
}

.testimonials-slider::-webkit-scrollbar {
    display: none;
}

.testimonial-card {
    min-width: 300px;
    background: rgba(255, 255, 255, 0.07);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.testimonial-content {
    font-style: italic;
    color: white;
    margin-bottom: 15px;
    line-height: 1.6;
}

.testimonial-author {
    font-weight: 600;
    color: #ffcc00;
}

.add-testimonial {
    text-align: center;
    margin-top: 30px;
}

/* CTA Section */
.cta-section {
    text-align: center;
    background: linear-gradient(135deg, rgba(106, 17, 203, 0.7), rgba(37, 117, 252, 0.7));
}

.cta-title {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: white;
}

.cta-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-actions {
    display: flex;
    justify-content: center;
}

/* Back to Top Button */
#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffcc00, #ffaa00);
    color: #6a11cb;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
}

#back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section {
        padding: 30px 20px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .stats-container {
        flex-direction: column;
        align-items: center;
    }

    .stat-card {
        width: 100%;
        max-width: 250px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 250px;
    }

    .btn-secondary {
        margin-left: 0;
        margin-top: 15px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .feature-card {
        padding: 25px 15px;
    }
}