/* Общие стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Roboto Mono", monospace;
}

body {
    background: #0d0d0d;
    color: #eee;
    overflow-x: hidden;
    position: relative;
    scroll-behavior: smooth;
}

/* Canvas фон */
#bgCanvas {
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
}

/* DropDown меню */
.dropdown {
    margin: 1rem 0;
}

.dropdown label {
    display: block;
    margin-bottom: 0.5rem;
    color: #ccc;
    font-weight: 500;
}

.dropdown-select {
    width: 100%;
    padding: 12px 15px;
    background: rgba(25, 25, 25, 0.9);
    border: 2px solid rgba(230, 57, 70, 0.3);
    border-radius: 10px;
    color: #eee;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23e63946'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
}

.dropdown-select:hover {
    border-color: #e63946;
    box-shadow: 0 0 15px rgba(230, 57, 70, 0.2);
}

.dropdown-select:focus {
    outline: none;
    border-color: #e63946;
    box-shadow: 0 0 20px rgba(230, 57, 70, 0.4);
}

.dropdown-select option {
    background: #1a1a1a;
    color: #eee;
    padding: 10px;
}

/* Модальное окно */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: rgba(20, 20, 20, 0.95);
    margin: auto;
    padding: 40px;
    border-radius: 20px;
    border: 2px solid rgba(230, 57, 70, 0.3);
    width: 90%;
    max-width: 500px;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    box-shadow: 0 20px 60px rgba(230, 57, 70, 0.3);
}

.modal.active .modal-content {
    transform: scale(1);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    color: #e63946;
    cursor: pointer;
    transition: all 0.3s ease;
    background: none;
    border: none;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-modal:hover {
    color: #ff6b6b;
    transform: rotate(90deg);
}

.modal-title {
    color: #e63946;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 30px;
    text-shadow: 0 0 20px rgba(230, 57, 70, 0.5);
}

.modal-buttons {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

.modal-btn {
    padding: 15px 30px;
    border: 2px solid #e63946;
    background: rgba(230, 57, 70, 0.1);
    color: #e63946;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
}

.modal-btn:hover {
    background: #e63946;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(230, 57, 70, 0.4);
}

.modal-btn.telegram {
    background: linear-gradient(45deg, #0088cc, #00a8ff);
    border-color: #0088cc;
    color: white;
}

.modal-btn.telegram:hover {
    background: linear-gradient(45deg, #00a8ff, #0088cc);
    box-shadow: 0 10px 25px rgba(0, 168, 255, 0.4);
}

/* Адаптивность для модального окна */
@media (max-width: 768px) {
    .modal-content {
        padding: 30px 20px;
        margin: 20px;
    }

    .modal-title {
        font-size: 1.5rem;
    }

    .modal-btn {
        padding: 12px 20px;
        font-size: 1rem;
    }
}

.btn-account {
    background: linear-gradient(45deg, #e63946, #ff6b6b) !important;
    color: white !important;
    padding: 10px 20px !important;
    border-radius: 25px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    text-decoration: none;
}

.btn-account:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 15px rgba(230, 57, 70, 0.4) !important;
    background: linear-gradient(45deg, #ff6b6b, #e63946) !important;
    cursor: pointer;
}

/* Карусель отзывов - стрелки внутри */
.reviews-carousel {
    position: relative;
    max-width: 800px;
    margin: 50px auto;
    overflow: hidden;
}

.reviews-container {
    display: flex;
    transition: transform 0.5s ease;
}

.review-card {
    flex: 0 0 100%;
    background: rgba(25, 25, 25, 0.95);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(230, 57, 70, 0.2);
    text-align: center;
    transition: all 0.3s ease;
    opacity: 0;
    position: absolute;
    width: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.review-card.active {
    opacity: 1;
    position: relative;
}

.carousel-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    z-index: 10;
    padding: 0 10px;
}

.carousel-btn {
    background: rgba(230, 57, 70, 0.9);
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 1.3rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.carousel-btn:hover {
    background: #e63946;
    transform: scale(1.1);
    box-shadow:
        0 6px 18px rgba(230, 57, 70, 0.6),
        0 0 20px rgba(230, 57, 70, 0.3);
}

.carousel-btn:active {
    transform: scale(0.95);
}

.logo img {
    height: 40px;
    width: auto;
    min-width: 120px;
    max-width: 160px;
}

/* Hero на полный экран */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 0 20px;
    text-align: center;
}

.hero-content {
    z-index: 2;
}

.neon-text {
    font-size: 5rem;
    color: #e63946;
    text-shadow:
        0 0 5px #e63946,
        0 0 10px #e63946,
        0 0 20px #ff6b6b;
    margin-bottom: 20px;
    animation: neonPulse 3s infinite alternate;
}

@keyframes neonPulse {
    from {
        text-shadow:
            0 0 5px #e63946,
            0 0 10px #e63946,
            0 0 20px #ff6b6b;
    }

    to {
        text-shadow:
            0 0 8px #e63946,
            0 0 15px #e63946,
            0 0 30px #ff6b6b;
    }
}

.tagline {
    font-size: 1.5rem;
    color: #ccc;
    margin-bottom: 40px;
    line-height: 1.6;
}

.btn-neon {
    display: inline-block;
    padding: 15px 40px;
    border: 2px solid #e63946;
    color: #e63946;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: rgba(230, 57, 70, 0.1);
}

.btn-neon:hover {
    background: #e63946;
    color: #fff;
    box-shadow:
        0 0 20px #e63946,
        0 0 40px #ff6b6b,
        0 0 60px #ff6b6b;
    transform: translateY(-2px);
}

/* Анимированная стрелка прокрутки */
.scroll-down {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border-right: 3px solid #e63946;
    border-bottom: 3px solid #e63946;
    transform: rotate(45deg);
    animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {

    0%,
    100% {
        transform: rotate(45deg) translate(0, 0);
        opacity: 1;
    }

    50% {
        transform: rotate(45deg) translate(-10px, -10px);
        opacity: 0.7;
    }
}

/* Секции */
.section {
    padding: 100px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 50px;
    color: #fff;
    text-align: center;
    text-shadow: 0 0 20px rgba(230, 57, 70, 0.5);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #e63946, transparent);
}

.highlight {
    color: #e63946;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(230, 57, 70, 0.5);
}

/* О компании */
.about-description {
    max-width: 800px;
    margin: 0 auto 60px;
    font-size: 1.3rem;
    line-height: 1.8;
    text-align: center;
    color: #ccc;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.feature-card {
    background: rgba(20, 20, 20, 0.95);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 0 30px rgba(230, 57, 70, 0.2);
    transition: all 0.3s ease;
    border: 1px solid rgba(230, 57, 70, 0.3);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(230, 57, 70, 0.1), transparent);
    transition: left 0.5s ease;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow:
        0 20px 40px rgba(230, 57, 70, 0.4),
        0 0 60px rgba(230, 57, 70, 0.1);
}

.feature-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    display: block;
    filter: drop-shadow(0 0 10px rgba(230, 57, 70, 0.5));
}

.feature-card h3 {
    color: #e63946;
    font-size: 1.5rem;
    margin-bottom: 15px;
    text-shadow: 0 0 10px rgba(230, 57, 70, 0.3);
}

.feature-card p {
    color: #ccc;
    line-height: 1.6;
}

/* Услуги */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.service-card {
    background: rgba(25, 25, 25, 0.95);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(230, 57, 70, 0.2);
    position: relative;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow:
        0 15px 35px rgba(230, 57, 70, 0.4),
        0 0 40px rgba(230, 57, 70, 0.1);
}

.service-image {
    height: 200px;
    /* Уменьшаем высоту баннера */
    overflow: hidden;
    position: relative;
}

.service-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(230, 57, 70, 0.2), transparent);
    z-index: 1;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-content {
    padding: 30px;
}

.service-category {
    color: #e63946;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 10px;
}

.service-card h3 {
    color: #fff;
    font-size: 1.4rem;
    margin-bottom: 15px;
    text-shadow: 0 0 10px rgba(230, 57, 70, 0.3);
}

.service-card p {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 20px;
}

.service-price {
    font-size: 1.5rem;
    color: #e63946;
    font-weight: bold;
    margin: 20px 0;
    text-shadow: 0 0 10px rgba(230, 57, 70, 0.3);
    text-align: center;
    /* Центрируем цену */
    display: block;
}

.service-btn {
    width: 100%;
    text-align: center;
    margin-top: 20px;
    padding: 12px;
    font-size: 1rem;
}

/* Отзывы */

.review-card {
    background: rgba(25, 25, 25, 0.95);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(230, 57, 70, 0.2);
    text-align: center;
    transition: all 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(230, 57, 70, 0.3);
}

.review-card .stars {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: gold;
    filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.5));
}

.review-card p {
    color: #eee;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.review-author {
    color: #e63946;
    font-weight: 600;
    display: block;
    margin-top: 15px;
}

/* Контакты */
.contact-form {
    max-width: 600px;
    margin: 50px auto 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input,
.contact-form textarea {
    padding: 15px 20px;
    border: 2px solid rgba(230, 57, 70, 0.3);
    border-radius: 10px;
    background: rgba(25, 25, 25, 0.95);
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #e63946;
    box-shadow: 0 0 20px rgba(230, 57, 70, 0.3);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #666;
}

.contact-form button {
    align-self: center;
    margin-top: 20px;
    padding: 15px 50px;
}

/* Футер */
footer {
    text-align: center;
    padding: 40px 20px;
    background: rgba(10, 10, 10, 0.95);
    border-top: 1px solid rgba(230, 57, 70, 0.3);
    margin-top: 80px;
}

footer p {
    color: #666;
    font-size: 0.9rem;
}

/* Адаптивность */
@media (max-width: 768px) {
    .navbar {
        padding: 15px 20px;
    }

    .navbar ul {
        gap: 15px;
    }

    .neon-text {
        font-size: 3rem;
    }

    .tagline {
        font-size: 1.2rem;
    }

    .section {
        padding: 60px 20px;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .features {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .navbar {
        flex-direction: column;
        gap: 15px;
    }

    .neon-text {
        font-size: 2.5rem;
    }

    .btn-neon {
        padding: 12px 30px;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .review-card {
        padding: 30px 20px;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}