* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Manrope', 'Inter', sans-serif;
    background-color: #050508;
    color: #e5e7eb;
    scroll-behavior: smooth;
    line-height: 1.5;
}

/* Адаптивная красная линия */
.red-line {
    position: fixed;
    left: 32px;
    top: 0;
    width: 3px;
    height: 100vh;
    background: #dc2626;
    z-index: 100;
    box-shadow: 0 0 10px rgba(220, 38, 38, 0.5);
}

@media (max-width: 768px) {
    .red-line { left: 16px; width: 2px; }
}
@media (max-width: 480px) {
    .red-line { display: none; }
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 48px 0 80px;
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .container { padding: 0 24px 0 40px; }
}
@media (max-width: 480px) {
    .container { padding: 0 16px; }
}

h1, h2, h3 {
    font-weight: 800;
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(1.6rem, 5vw, 2.2rem);
    margin-bottom: 1.5rem;
}

.accent {
    color: #dc2626;
}

/* Кнопки */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 14px 32px;
    border-radius: 40px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-family: inherit;
}

@media (max-width: 480px) {
    .btn { padding: 12px 24px; font-size: 0.9rem; }
}

.btn-primary {
    background: #dc2626;
    color: white;
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4);
}

.btn-primary:hover {
    background: #b91c1c;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(220, 38, 38, 0.5);
}

.btn-outline {
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(8px);
    border: 1.5px solid #dc2626;
    color: #dc2626;
}

.btn-outline:hover {
    background: rgba(220, 38, 38, 0.15);
    border-color: #ef4444;
    color: #ef4444;
}

/* Hero секция */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 120px 0;
    isolation: isolate;
    overflow: visible;
}

@media (max-width: 768px) {
    .hero { padding: 80px 0; min-height: auto; }
}

/* Премиальный фон */
.hero-premium-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -2;
    overflow: hidden;
}

.bg-single {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: brightness(0.35) contrast(1.05);
    transform: scale(1.02);
    transition: transform 0.4s ease;
}

/* Стиль для двух фотографий */
.bg-dual {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.bg-dual-left {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: brightness(0.4) contrast(1.05);
    clip-path: polygon(0 0, 100% 0, 85% 100%, 0 100%);
}
.bg-dual-right {
    position: absolute;
    top: 0;
    right: 0;
    width: 55%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: brightness(0.4) contrast(1.05);
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 0 100%);
}
.bg-dual-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        rgba(0,0,0,0.3) 0%, 
        rgba(0,0,0,0.1) 40%,
        rgba(0,0,0,0.1) 60%,
        rgba(0,0,0,0.3) 100%);
    pointer-events: none;
    z-index: 1;
}

/* Затемнение поверх фона */
.hero-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: radial-gradient(circle at 30% 50%, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.75) 100%);
    z-index: -1;
    pointer-events: none;
}

/* Декоративная текстура */
.hero-texture {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI4MCIgaGVpZ2h0PSI4MCIgdmlld0JveD0iMCAwIDQwIDQwIj48cGF0aCBkPSJNMCAwaDQwdjQwSDB6IiBmaWxsPSJub25lIi8+PHBhdGggZD0iTTggMmgydjJIOHpNMTIgMmwydjJIMTJ6TTE2IDJoMnYyaC0yek0yMCAyaDJ2MmgtMnpNMjQgMmwydjJoLTJ6TTI4IDJoMnYyaC0yek0zMiAyaDJ2MmgtMnpNNiA2aDJ2Mkg2ek0xMCA2aDJ2MmgtMnpNMzQgNmwydjJoLTJ6TTM4IDZoMnYyaC0yeiIgZmlsbD0icmdiYSgyNTUsMjU1LDI1NSwwLjAyKSIvPjwvc3ZnPg==');
    background-repeat: repeat;
    opacity: 0.3;
    pointer-events: none;
    z-index: 0;
}

.hero-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
    position: relative;
    z-index: 2;
    width: 100%;
}

@media (max-width: 860px) {
    .hero-grid { flex-direction: column; text-align: center; gap: 40px; }
}

.hero-content {
    flex: 1;
    min-width: 280px;
}

@media (max-width: 860px) {
    .hero-content { text-align: center; }
    .hero-desc { margin-left: auto; margin-right: auto; }
}

.hero-visual {
    flex: 1.2;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #dc2626;
    font-weight: 600;
    margin-bottom: 24px;
    padding: 6px 14px;
    border: 1px solid rgba(220, 38, 38, 0.5);
    border-radius: 40px;
    background: rgba(0,0,0,0.3);
    backdrop-filter: blur(4px);
}

.hero h1 {
    font-size: clamp(2.8rem, 8vw, 5.2rem);
    line-height: 1.08;
    margin-bottom: 1.2rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.speed-block {
    display: flex;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;
    margin: 24px 0 20px;
}

@media (max-width: 860px) {
    .speed-block { justify-content: center; }
}

.speed-number {
    font-size: clamp(2.8rem, 7vw, 4rem);
    font-weight: 800;
    color: #dc2626;
    text-shadow: 0 0 20px rgba(220,38,38,0.3);
}

.hero-desc {
    font-size: 1.05rem;
    color: #e5e7eb;
    max-width: 500px;
    margin: 20px 0 28px;
    line-height: 1.55;
    text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

/* Видео блок */
.video-wrapper {
    position: relative;
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 30px 50px -20px rgba(0,0,0,0.7), 0 0 0 1px rgba(220,38,38,0.3);
    background: #0a0a10;
    transition: transform 0.3s, box-shadow 0.3s;
}

.video-wrapper:hover {
    transform: translateY(-4px);
    box-shadow: 0 35px 55px -20px rgba(0,0,0,0.8), 0 0 0 1px rgba(220,38,38,0.5);
}

.video-wrapper video {
    width: 100%;
    display: block;
    aspect-ratio: 16 / 9;
}

/* Карточки характеристик */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
    margin: 50px 0;
}

@media (max-width: 560px) {
    .cards-grid { grid-template-columns: 1fr; gap: 20px; }
}

.feature-card {
    background: rgba(17, 17, 22, 0.9);
    backdrop-filter: blur(2px);
    border-radius: 28px;
    padding: 28px 24px;
    border: 1px solid rgba(34, 34, 42, 0.8);
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: #dc2626;
    transform: translateY(-6px);
    background: rgba(20, 20, 28, 0.95);
    box-shadow: 0 20px 30px -15px rgba(0,0,0,0.4);
}

.feature-card i {
    font-size: 2.2rem;
    color: #dc2626;
    margin-bottom: 18px;
}

.feature-card h3 {
    font-size: 1.35rem;
    margin-bottom: 12px;
}

.feature-card p {
    color: #a1a1aa;
    line-height: 1.5;
}

/* Блок цветов */
.color-selector-block {
    background: rgba(12, 12, 18, 0.9);
    backdrop-filter: blur(2px);
    border-radius: 36px;
    padding: 32px 28px;
    margin: 50px 0;
    border: 1px solid rgba(42, 42, 52, 0.8);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    transition: all 0.3s;
}

@media (max-width: 860px) {
    .color-selector-block { flex-direction: column; text-align: center; padding: 28px 20px; }
}

.color-desc {
    flex: 1;
    min-width: 200px;
}

.color-desc h3 {
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.color-desc p {
    color: #a1a1aa;
}

.color-carousel {
    flex: 2;
    min-width: 260px;
}

.glide__slide img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 20px;
    border: 2px solid rgba(44, 44, 58, 0.8);
    transition: all 0.25s;
}

.glide__slide img:hover {
    border-color: #dc2626;
    transform: scale(1.02);
}

.glide__arrow {
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(4px);
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
}

.color-label {
    text-align: center;
    margin-top: 12px;
    font-weight: 500;
    color: #dc2626;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

/* Цена */
.price-block {
    background: rgba(15,15,20,0.9);
    backdrop-filter: blur(2px);
    border-radius: 36px;
    padding: 28px 36px;
    margin: 40px 0;
    border-left: 4px solid #dc2626;
}

.price-value {
    font-size: clamp(2.2rem, 6vw, 3.2rem);
    font-weight: 800;
}

.price-caption {
    font-size: 0.7rem;
    color: #8a8faa;
    margin-top: 6px;
}

.price-note {
    font-size: 0.8rem;
    color: #8a8faa;
}

/* Комплектация */
.split-info {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    margin: 50px 0;
}

.info-tile {
    flex: 1;
    min-width: 240px;
    background: rgba(12,12,16,0.9);
    backdrop-filter: blur(2px);
    border-radius: 32px;
    padding: 28px;
    border: 1px solid rgba(32,32,42,0.8);
    transition: all 0.25s;
}

.info-tile:hover {
    border-color: rgba(220,38,38,0.4);
    transform: translateY(-3px);
}

.info-tile h4 {
    font-size: 1.25rem;
    margin-bottom: 18px;
    color: #dc2626;
}

.trust-banner {
    background: rgba(11,11,16,0.9);
    backdrop-filter: blur(2px);
    border-radius: 32px;
    padding: 36px;
    margin: 40px 0;
    border: 1px solid rgba(44,44,54,0.8);
    position: relative;
}

.trust-banner:before {
    content: '';
    position: absolute;
    left: 0;
    top: 20%;
    height: 60%;
    width: 4px;
    background: linear-gradient(180deg, #dc2626, #ef4444);
    border-radius: 0 4px 4px 0;
}

.warning-message {
    background: rgba(31,18,18,0.9);
    backdrop-filter: blur(2px);
    border-radius: 28px;
    padding: 22px 32px;
    margin: 35px 0;
    border: 1px solid rgba(220,38,38,0.4);
    font-weight: 500;
}

/* Форма */
.form-modern {
    background: rgba(14,14,20,0.95);
    backdrop-filter: blur(4px);
    border-radius: 40px;
    padding: 44px 40px;
    border: 1px solid rgba(40,40,50,0.8);
    margin: 50px 0;
}

@media (max-width: 560px) {
    .form-modern { padding: 28px 24px; }
}

.form-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

@media (max-width: 640px) {
    .form-2col { grid-template-columns: 1fr; gap: 0; }
}

.input-group {
    margin-bottom: 24px;
}

.input-group input, .input-group select {
    width: 100%;
    padding: 16px 22px;
    background: rgba(24,24,34,0.8);
    border: 1px solid rgba(42,42,52,0.8);
    border-radius: 40px;
    font-size: 0.95rem;
    color: #f3f4f6;
    font-family: inherit;
    transition: all 0.2s;
}

.input-group input:focus, .input-group select:focus {
    outline: none;
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220,38,38,0.15);
    background: rgba(30,30,42,0.9);
}

button[type="submit"] {
    width: 100%;
    background: #dc2626;
    padding: 16px;
    font-weight: 800;
    font-size: 1.05rem;
    border-radius: 50px;
    color: white;
    cursor: pointer;
    transition: all 0.25s;
    border: none;
    margin-top: 8px;
}

button[type="submit"]:hover {
    background: #b91c1c;
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(220,38,38,0.3);
}

footer {
    padding: 40px 0 32px;
    text-align: center;
    border-top: 1px solid rgba(32,32,42,0.6);
    margin-top: 20px;
    font-size: 0.8rem;
    color: #6c7283;
}

@media (max-width: 480px) {
    .trust-banner, .warning-message { padding: 24px; }
    .info-tile { padding: 22px; }
}

/* Анимация для загрузки */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

#formFeedback > div {
    animation: fadeIn 0.3s ease;
}

/* Стили для select (выпадающий список) */
.input-group select {
    width: 100%;
    padding: 16px 22px;
    background: rgba(24,24,34,0.8);
    border: 1px solid rgba(42,42,52,0.8);
    border-radius: 40px;
    font-size: 0.95rem;
    color: #f3f4f6;
    font-family: inherit;
    transition: all 0.2s;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23dc2626' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'></polyline></svg>");
    background-repeat: no-repeat;
    background-position: right 22px center;
}

.input-group select option {
    background: #1a1a2a;
    color: #e5e7eb;
    padding: 12px;
}

.input-group select:focus {
    outline: none;
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220,38,38,0.15);
}

/* Стили для поля телефона при ошибке */
.input-group input.error {
    border-color: #dc2626;
}

.phone-error {
    display: block;
    color: #dc2626;
    font-size: 0.7rem;
    margin-top: 5px;
    margin-left: 15px;
}

/* ========== АДАПТАЦИЯ КАРУСЕЛИ ЦВЕТОВ ========== */

.color-carousel {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    position: relative;
}

.glide {
    width: 100%;
}

.glide__track {
    overflow: visible;
}

.glide__slide {
    height: auto;
}

.glide__slide img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 20px;
    border: 2px solid rgba(44, 44, 58, 0.8);
}

.color-label {
    text-align: center;
    margin-top: 10px;
    font-weight: 500;
    color: #dc2626;
    font-size: 0.85rem;
}

/* Стрелки навигации */
.glide__arrow {
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(4px);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: absolute;
    top: 35%;
    z-index: 2;
}

.glide__arrow--left {
    left: -12px;
}

.glide__arrow--right {
    right: -12px;
}

.glide__arrow i {
    font-size: 1rem;
    color: white;
}

/* Буллеты */
.glide__bullets {
    position: relative;
    bottom: -10px;
    margin-top: 15px;
    text-align: center;
}

.glide__bullet {
    background: #4b5563;
    width: 8px;
    height: 8px;
    padding: 0;
    margin: 0 5px;
    border-radius: 50%;
    cursor: pointer;
}

.glide__bullet--active {
    background: #dc2626;
}

/* Мобильная адаптация */
@media (max-width: 768px) {
    .glide__arrow {
        width: 30px;
        height: 30px;
    }
    
    .glide__arrow--left {
        left: -8px;
    }
    
    .glide__arrow--right {
        right: -8px;
    }
    
    .glide__arrow i {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .glide__arrow {
        display: none;
    }
    
    .glide__bullets {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .color-label {
        font-size: 0.7rem;
    }
}

/* Общие мобильные улучшения */
@media (max-width: 640px) {
    .color-selector-block {
        padding: 20px 16px;
        gap: 20px;
    }
    
    .color-desc h3 {
        font-size: 1.4rem;
    }
    
    .color-desc p {
        font-size: 0.85rem;
    }
    
    .form-modern {
        padding: 20px 16px;
    }
    
    .input-group input, 
    .input-group select {
        padding: 12px 16px;
        font-size: 0.9rem;
    }
    
    button[type="submit"] {
        padding: 12px;
        font-size: 1rem;
    }
    
    .warning-message {
        padding: 14px 18px;
        font-size: 0.8rem;
    }
    
    .info-tile {
        padding: 18px;
    }
    
    .info-tile h4 {
        font-size: 1.1rem;
    }
    
    .trust-banner {
        padding: 20px;
    }
    
    .trust-banner h3 {
        font-size: 1.2rem !important;
    }
    
    .hero-desc {
        font-size: 0.95rem;
    }
    
    .speed-number {
        font-size: 2.2rem;
    }
}