:root {
    --primary: #8b00ff;
    --secondary: #4CAF50;
    --accent: #2196F3;
    --danger: #f44336;
    --light: #f8f9fa;
    --dark: #212529;
}

body {
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
    background-color: #f5f7fa;
}

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

.glass-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    max-width: 100%; /* Увеличено для адаптивности */
    width: 100%;
    overflow: hidden;
    padding: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #6a00f4 100%);
    box-shadow: 0 4px 15px rgba(139, 0, 255, 0.3);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 0, 255, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary) 0%, #3d8b40 100%);
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

/* Стиль для кнопки "Видеообзор" */
.btn-video {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--primary);
    border-radius: 8px;
    color: var(--primary);
    background: transparent;
    text-align: center;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-video:hover {
    background: var(--primary);
    color: var(--light);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(139, 0, 255, 0.3);
}

.feature-card {
    transition: all 0.3s ease;
    transform: perspective(1000px) rotateX(0deg);
}

.feature-card:hover {
    transform: perspective(1000px) rotateX(5deg);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.1);
}

.timeline-step {
    position: relative;
}

.timeline-step:not(:last-child):after {
    content: '';
    position: absolute;
    top: 32px;
    left: 50%;
    height: 60px;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary), var(--accent));
}

.price-card {
    transition: all 0.3s ease;
}

.price-card:hover {
    transform: scale(1.03);
}

.price-card.popular {
    border: 2px solid var(--primary);
    position: relative;
}

.popular-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background-color: var(--primary);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

/* Стили для аккордеона */
.accordion {
    width: 100%;
}

.accordion-toggle {
    display: none;
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 1rem;
    font-weight: 500;
    background-color: var(--light);
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.accordion-header:hover {
    background-color: rgba(139, 0, 255, 0.05);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 1rem;
}

.accordion-toggle:checked ~ .accordion-content {
    max-height: 300px;
    padding: 1rem;
}

.accordion-toggle:checked + .accordion-header .fas {
    transform: rotate(180deg);
}

.fas.fa-chevron-down {
    transition: transform 0.3s ease;
}

/* Медиа-запросы для адаптивности */
@media (max-width: 767px) {
    .container {
        padding: 0 0.5rem;
    }

    .accordion-header {
        font-size: 0.9rem;
        padding: 0.75rem;
    }

    .accordion-content {
        font-size: 0.85rem;
    }

    .swiper-container {
        max-width: 100%;
        aspect-ratio: 4 / 3;
    }

    .glass-card {
        max-width: 100%;
        padding: 0.75rem;
    }
}

/* Стили для мобильного меню */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: right 0.3s ease-in-out;
    z-index: 50;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu a {
    font-size: 1.5rem;
    color: #4b5563;
    margin: 1rem 0;
    font-weight: 500;
    transition: color 0.3s ease;
}

.mobile-menu a:hover {
    color: var(--primary);
}

/* Стили для карусели */
.swiper-container {
    width: 100%;
    height: auto; /* Адаптивная высота */
    overflow: hidden;
    border-radius: 12px;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100% !important;
    height: auto !important;
}

.swiper-slide img {
    width: 100%; /* Изображение занимает всю ширину */
    height: auto; /* Сохраняет пропорции */
    object-fit: contain; /* Полное отображение без обрезки */
    max-height: 400px; /* Ограничение высоты для контроля (настраиваемо) */
    border-radius: 0.5rem; /* Сохраняем закругление */
    transition: transform 0.3s ease;
}

.swiper-slide img:hover {
    transform: scale(1.05);
}

.swiper-pagination {
    position: absolute;
    bottom: 10px;
    z-index: 10;
}

.swiper-pagination-bullet {
    background: var(--primary);
    opacity: 0.7;
}

.swiper-pagination-bullet-active {
    opacity: 1;
}