/* Базовые стили */
:root {
    --primary-color: #2ecc71;
    --primary-dark: #27ae60;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --dark-color: #2c3e50;
    --light-color: #ecf0f1;
    --gray-color: #95a5a6;
    --text-color: #333;
    --text-light: #7f8c8d;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #f9f9f9;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Хедер */
.new-header {
    background-color: white;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 22px;
    color: #2ecc71;
}

.logo-icon {
    color: var(--primary-color);
    margin-right: 10px;
    font-size: 24px;
}

.logo-text span {
    color: var(--primary-color);
}

.phone-link {
    color: var(--dark-color);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.phone-link:hover {
    color: var(--primary-color);
}

/* Герой секция */
.hero-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 40px 0;
}

.hero-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 30px;
}

.hero-text {
    flex: 1;
    min-width: 300px;
}

.hero-image {
    flex: 1;
    min-width: 300px;
    position: relative;
}

.discount-badge {
    background-color: var(--accent-color);
    color: white;
    display: inline-flex;
    align-items: center;
    padding: 5px 15px;
    border-radius: 30px;
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 14px;
}

.discount-badge span {
    font-size: 18px;
    font-weight: 700;
    margin-right: 5px;
}

.hero-section h1 {
    font-size: 36px;
    margin-bottom: 15px;
    color: var(--dark-color);
    line-height: 1.2;
}

.hero-section h1 span {
    color: var(--primary-color);
}

.subtitle {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 25px;
}

.features-list {
    list-style: none;
    margin-bottom: 30px;
}

.features-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    font-size: 16px;
}

.features-list i {
    color: var(--primary-color);
    margin-right: 10px;
    font-size: 18px;
}

.price-block {
    margin: 25px 0;
}

.old-price {
    font-size: 22px;
    color: var(--gray-color);
    text-decoration: line-through;
    display: inline-block;
    margin-right: 15px;
}

.new-price {
    font-size: 36px;
    font-weight: 700;
    color: var(--accent-color);
    display: inline-block;
}

.timer {
    margin: 25px 0;
}

.timer p {
    margin-bottom: 10px;
    font-size: 16px;
}

.timer-digits {
    font-size: 32px;
    font-weight: 700;
    color: var(--dark-color);
    display: flex;
    gap: 5px;
}

.timer-digits span {
    background-color: white;
    padding: 5px 10px;
    border-radius: 5px;
    box-shadow: var(--shadow);
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to right, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.4);
    transition: var(--transition);
    margin-top: 20px;
    width: 100%;
    max-width: 350px;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(46, 204, 113, 0.6);
}

.cta-button i {
    margin-right: 10px;
}

.main-product-image {
    width: 100%;
    max-width: 500px;
    display: block;
    margin: 0 auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.main-product-image:hover {
    transform: scale(1.03);
}

.badges {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.badge {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 5px 15px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: var(--shadow);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    gap: 5px;
}

.badge i {
    color: var(--primary-color);
}

/* Секция преимуществ */
.benefits-section {
    padding: 60px 0;
    background-color: white;
}

.section-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 15px;
    color: var(--dark-color);
    position: relative;
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 15px auto 30px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 40px;
    font-size: 18px;
}

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

.benefit-card {
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 30px 20px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid #eee;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 30px;
    color: white;
}

.power-icon { background-color: #e74c3c; }
.weight-icon { background-color: #3498db; }
.universal-icon { background-color: #9b59b6; }
.safe-icon { background-color: #2ecc71; }

.benefit-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.benefit-card p {
    color: var(--text-light);
    font-size: 15px;
}

/* Галерея */
.gallery-section {
    padding: 60px 0;
    background-color: #f5f7fa;
}

.gallery-swiper {
    width: 50%;
    height: 100%;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 30px;
}

.swiper-slide {
    position: relative;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 15px;
    font-size: 18px;
}

.swiper-button-prev, 
.swiper-button-next {
    color: white;
    background: rgba(0, 0, 0, 0.5);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    backdrop-filter: blur(5px);
}

.swiper-button-prev:after, 
.swiper-button-next:after {
    font-size: 24px;
    font-weight: bold;
}

.swiper-pagination-bullet {
    background: white;
    opacity: 0.7;
    width: 12px;
    height: 12px;
}

.swiper-pagination-bullet-active {
    background: var(--primary-color);
    opacity: 1;
}

/* Характеристики */
.specs-section {
    padding: 60px 0;
    background-color: white;
}

.specs-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
}

.specs-image {
    flex: 1;
    min-width: 300px;
}

.specs-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.specs-table {
    flex: 1;
    min-width: 300px;
}

.specs-table table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table tr {
    border-bottom: 1px solid #eee;
}

.specs-table tr:last-child {
    border-bottom: none;
}

.specs-table td {
    padding: 15px 0;
    vertical-align: top;
}

.specs-table td:first-child {
    font-weight: 600;
    color: var(--dark-color);
    display: flex;
    align-items: center;
    gap: 10px;
    width: 60%;
}

.specs-table td:first-child i {
    color: var(--primary-color);
    font-size: 18px;
    width: 25px;
    text-align: center;
}

.specs-table td:last-child {
    color: var(--text-light);
}

/* Отзывы */
.reviews-section {
    padding: 60px 0;
    background-color: #f5f7fa;
}

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

.review-card {
    background-color: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: var(--shadow);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.review-author {
    font-weight: 600;
    color: var(--dark-color);
}

.review-rating {
    color: #f1c40f;
}

.review-text {
    font-style: italic;
    color: var(--text-color);
    margin-bottom: 15px;
    line-height: 1.7;
}

.review-date {
    font-size: 14px;
    color: var(--gray-color);
    text-align: right;
}

/* Форма заказа */
.order-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #2c3e50 0%, #4ca1af 100%);
    color: white;
}

.order-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.order-image {
    flex: 1;
    min-width: 300px;
    position: relative;
}

.order-image img {
    width: 100%;
    display: block;
}

.price-box {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.9);
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    backdrop-filter: blur(5px);
    box-shadow: var(--shadow);
}

.old-price {
    font-size: 20px;
    color: var(--gray-color);
    text-decoration: line-through;
}

.new-price {
    font-size: 32px;
    font-weight: 700;
    color: var(--accent-color);
    margin: 5px 0;
}

.economy {
    font-size: 14px;
    color: var(--dark-color);
    font-weight: 600;
}

.order-form {
    flex: 1;
    min-width: 300px;
    padding: 40px;
    color: var(--dark-color);
}

.order-form h2 {
    font-size: 28px;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.form-subtitle {
    color: var(--text-light);
    margin-bottom: 30px;
    font-size: 16px;
}

.form-group {
    position: relative;
    margin-bottom: 20px;
}

.form-group i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-color);
}

.order-form input {
    width: 100%;
    padding: 15px 15px 15px 45px;
    border: 1px solid #ddd;
    border-radius: 50px;
    font-size: 16px;
    transition: var(--transition);
}

.order-form input:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.2);
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(to right, var(--primary-color), var(--primary-dark));
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.4);
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(46, 204, 113, 0.6);
}

.form-footer {
    margin-top: 20px;
    font-size: 14px;
}

.stock-info {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 15px;
}

.stock-info i {
    font-size: 18px;
}

.privacy-policy {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
}

.privacy-policy input {
    width: auto;
    margin: 0;
}

.privacy-policy label {
    cursor: pointer;
}

/* FAQ */
.faq-section {
    padding: 60px 0;
    background-color: white;
}

.faq-accordion {
    max-width: 800px;
    margin: 40px auto 0;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
}

.faq-question {
    padding: 20px;
    background-color: #f9f9f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.faq-question:hover {
    background-color: #f1f1f1;
}

.faq-question i {
    transition: var(--transition);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: white;
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 300px;
}

/* Футер */
.new-footer {
    background-color: var(--dark-color);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo .logo {
    font-size: 24px;
    margin-bottom: 15px;
}

.footer-logo p {
    color: #bdc3c7;
    line-height: 1.7;
}

.footer-contacts h3,
.footer-links h3 {
    font-size: 20px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-contacts h3:after,
.footer-links h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-contacts p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #bdc3c7;
}

.footer-contacts i {
    width: 20px;
    color: var(--primary-color);
}

.footer-links {
    display: flex;
    flex-direction: column;
}

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    margin-bottom: 12px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #bdc3c7;
    font-size: 14px;
}

.footer-bottom p {
    margin-bottom: 5px;
}

/* Адаптивность */
@media (max-width: 768px) {
    .hero-content,
    .specs-content,
    .order-content {
        flex-direction: column;
    }
    
    .hero-text,
    .hero-image,
    .specs-image,
    .specs-table,
    .order-image,
    .order-form {
        min-width: 100%;
    }
    
    .hero-section h1 {
        font-size: 28px;
    }
    
    .section-title {
        font-size: 26px;
    }
    
    .new-price {
        font-size: 28px;
    }
    
    .order-form {
        padding: 30px 20px;
    }
    
    .gallery-swiper {
        height: 100%;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .header-content {
        flex-direction: column;
        gap: 10px;
    }
    
    .discount-badge {
        font-size: 12px;
    }
    
    .features-list li {
        font-size: 14px;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .timer-digits {
        font-size: 24px;
    }

    .gallery-swiper {
        width: 100%;
    }
}

/* Стили для видео-секции */
.video-wrapper {
    display: flex;
    justify-content: center; /* Центрирование по горизонтали */
    align-items: center; /* Центрирование по вертикали */
    width: 100%;
    margin: 0 auto;
    padding: 20px 0;
}

.video-container {
    position: relative;
    width: 50%; /* Можно регулировать ширину контейнера */
    max-width: 800px; /* Максимальная ширина */
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.video-container video {
    width: 100%;
    height: auto;
    display: block;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .video-container {
        width: 95%;
    }
}