/* ===== ОСНОВНЫЕ ПЕРЕМЕННЫЕ ===== */
:root {
    /* Яркая цветовая палитра */
    --primary: #ff4d4d;
    --secondary: #ff8c42;
    --tertiary: #6c5ce7;
    --accent-gradient: linear-gradient(135deg, #ff4d4d, #ff8c42, #6c5ce7);
    --accent-gradient-reverse: linear-gradient(135deg, #6c5ce7, #ff8c42, #ff4d4d);
    
    /* Фоны */
    --bg-dark: #0a0a0a;
    --bg-darker: #050505;
    --bg-card: rgba(26, 26, 26, 0.8);
    --bg-card-solid: #1a1a1a;
    
    /* Текст */
    --text-light: #ffffff;
    --text-muted: #b0b0b0;
    --text-dark: #333333;
    
    /* Границы */
    --border: rgba(255, 255, 255, 0.1);
    --border-light: rgba(255, 255, 255, 0.05);
    
    /* Тени */
    --shadow-sm: 0 5px 20px rgba(255, 75, 75, 0.15);
    --shadow-md: 0 10px 30px rgba(255, 75, 75, 0.25);
    --shadow-lg: 0 20px 50px rgba(255, 75, 75, 0.35);
    
    /* Анимации */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== БАЗОВЫЕ СТИЛИ ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body.light-theme {
    --bg-dark: #f8f9fa;
    --bg-darker: #ffffff;
    --bg-card: rgba(255, 255, 255, 0.9);
    --bg-card-solid: #ffffff;
    --text-light: #212529;
    --text-muted: #6c757d;
    --border: rgba(0, 0, 0, 0.1);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===== ПРЕЛОАДЕР (БЫСТРЫЙ) ===== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-darker);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.3s, visibility 0.3s;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-logo {
    text-align: center;
}

.preloader-logo img {
    height: 60px;
    width: auto;
    margin-bottom: 1rem;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.preloader-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ===== ТИПОГРАФИКА ===== */
h1, h2, h3, h4 {
    font-weight: 800;
    line-height: 1.2;
}

.gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-subtitle {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--primary);
    margin-bottom: 1rem;
    position: relative;
}

.section-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2.5rem;
    }
}

/* ===== КНОПКИ ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
    font-size: 1rem;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: -1;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn--primary {
    background: var(--accent-gradient);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn--primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn--outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--text-light);
}

.btn--outline:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.btn--large {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
}

/* ===== ШАПКА ===== */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-img {
    height: 45px;
    width: auto;
    filter: drop-shadow(0 0 10px var(--primary));
    transition: var(--transition);
}

.logo:hover .logo-img {
    transform: rotate(5deg) scale(1.1);
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav__list {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav__link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    transition: var(--transition);
    border-radius: 2px;
}

.nav__link:hover::after,
.nav__link.active::after {
    width: 100%;
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.lang-switcher {
    display: flex;
    gap: 0.3rem;
}

.lang-btn {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-muted);
    padding: 0.4rem 1rem;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    font-size: 0.9rem;
}

.lang-btn.active,
.lang-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-2px);
}

.theme-toggle {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-muted);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.theme-toggle:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: rotate(180deg);
}

.burger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.burger span {
    width: 25px;
    height: 2px;
    background: var(--text-light);
    transition: var(--transition);
}

/* ===== HERO СЕКЦИЯ ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(255, 75, 75, 0.3), transparent 50%),
                radial-gradient(circle at 70% 30%, rgba(108, 92, 231, 0.3), transparent 50%),
                radial-gradient(circle at 50% 80%, rgba(255, 140, 66, 0.3), transparent 50%);
    filter: blur(60px);
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero__container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding-top: 2rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.5rem;
    background: rgba(255, 75, 75, 0.1);
    border: 1px solid rgba(255, 75, 75, 0.3);
    border-radius: 30px;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(5px);
}

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

.hero__title {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero__title span {
    display: block;
}

.hero__subtitle {
    font-size: 1.3rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
}

.stat-item {
    text-align: left;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-car-wrapper {
    position: relative;
}

.hero-car-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(255, 75, 75, 0.5), transparent 70%);
    filter: blur(50px);
    animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.2); }
}

.hero-car {
    width: 100%;
    height: auto;
    border-radius: 30px;
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 2;
    animation: carFloat 6s ease-in-out infinite;
}

@keyframes carFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.floating-badge {
    position: absolute;
    background: rgba(26, 26, 26, 0.9);
    backdrop-filter: blur(10px);
    padding: 0.7rem 1.5rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 75, 75, 0.3);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    font-weight: 600;
    animation: badgeFloat 4s ease-in-out infinite;
    z-index: 3;
    box-shadow: var(--shadow-sm);
}

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

.badge-1 {
    top: 20px;
    left: -30px;
    animation-delay: 0s;
}

.badge-2 {
    bottom: 30px;
    right: -30px;
    animation-delay: 1s;
}

.badge-3 {
    top: 50%;
    right: -40px;
    transform: translateY(-50%);
    animation-delay: 2s;
}

@keyframes badgeFloat {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-5px, -10px); }
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    animation: scrollBounce 2s infinite;
    z-index: 2;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* ===== FEATURES GRID ===== */
.features {
    padding: 6rem 0;
    background: var(--bg-darker);
    position: relative;
    overflow: hidden;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.feature-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    padding: 2.5rem 2rem;
    border-radius: 30px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--accent-gradient);
    opacity: 0;
    transition: var(--transition);
    z-index: 0;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.feature-card:hover::before {
    opacity: 0.1;
}

.feature-card > * {
    position: relative;
    z-index: 1;
}

.feature-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    transform: rotateY(180deg) scale(1.1);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.feature-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.feature-link:hover {
    gap: 1rem;
}

/* ===== MODELS CAROUSEL ===== */
.models-showcase {
    padding: 6rem 0;
}

.models-carousel {
    position: relative;
    margin: 0 -1rem;
}

.carousel-track {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 1rem;
    scrollbar-width: none;
}

.carousel-track::-webkit-scrollbar {
    display: none;
}

.carousel-item {
    flex: 0 0 calc(33.333% - 1.33rem);
    scroll-snap-align: start;
}

.model-card-horizontal {
    display: flex;
    flex-direction: column;
    background: var(--bg-card-solid);
    border-radius: 30px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.model-card-horizontal:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.model-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.model-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.model-card-horizontal:hover .model-image img {
    transform: scale(1.1);
}

.model-tags {
    position: absolute;
    top: 1rem;
    left: 1rem;
    display: flex;
    gap: 0.5rem;
    z-index: 2;
}

.tag {
    padding: 0.3rem 1rem;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-dark);
}

.tag-hit {
    background: var(--primary);
    color: white;
}

.tag-family {
    background: var(--secondary);
    color: white;
}

.tag-premium {
    background: var(--tertiary);
    color: white;
}

.tag-new {
    background: #28a745;
    color: white;
}

.model-info {
    padding: 2rem;
}

.model-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.model-specs {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.model-specs span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

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

.model-info p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.model-price {
    margin-bottom: 1.5rem;
}

.price {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.model-actions {
    display: flex;
    gap: 1rem;
}

.model-actions .btn {
    flex: 1;
}

.carousel-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.carousel-prev,
.carousel-next {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--bg-card-solid);
    border: 1px solid var(--border);
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
}

.carousel-prev:hover,
.carousel-next:hover {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
}

/* ===== HISTORY NUMBERS ===== */
.history-numbers {
    padding: 6rem 0;
    background: var(--bg-darker);
}

.history-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.history-content {
    padding-right: 2rem;
}

.history-title {
    font-size: 3rem;
    margin: 1rem 0 1.5rem;
    line-height: 1.2;
}

.history-text {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.history-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.stat-card-big {
    background: var(--bg-card-solid);
    padding: 2rem;
    border-radius: 30px;
    text-align: center;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.stat-card-big:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.stat-card-big .stat-number {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
}

.stat-card-big .stat-label {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ===== TECH HIGHLIGHT ===== */
.tech-highlight {
    padding: 6rem 0;
}

.tech-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.tech-visual {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
}

.tech-visual img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition-slow);
}

.tech-visual:hover img {
    transform: scale(1.05);
}

.tech-overlay {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    display: flex;
    gap: 1rem;
}

.tech-badge {
    background: rgba(26, 26, 26, 0.9);
    backdrop-filter: blur(10px);
    padding: 0.7rem 1.5rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid rgba(255, 75, 75, 0.3);
}

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

.tech-content {
    padding-left: 2rem;
}

.tech-title {
    font-size: 3rem;
    margin: 1rem 0 1.5rem;
    line-height: 1.2;
}

.tech-text {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.tech-features-mini {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.tech-mini-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.tech-mini-item i {
    font-size: 1.5rem;
    color: var(--primary);
}

.tech-mini-item span {
    font-weight: 600;
}

/* ===== OFFERS SECTION ===== */
.offers-section {
    padding: 6rem 0;
    background: var(--bg-darker);
}

.offers-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.offer-card-large {
    height: 400px;
    border-radius: 30px;
    overflow: hidden;
    position: relative;
    transition: var(--transition);
}

.offer-card-large:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.offer-card-large::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    z-index: 1;
}

.offer-content {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    z-index: 2;
}

.offer-badge {
    display: inline-block;
    padding: 0.3rem 1rem;
    background: var(--primary);
    color: white;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.offer-content h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.offer-content p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    padding: 6rem 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    background: var(--bg-card-solid);
    border-radius: 50px;
    padding: 4rem;
    border: 1px solid var(--border);
}

.contact-title {
    font-size: 3rem;
    margin: 1rem 0 1.5rem;
}

.contact-text {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.contact-detail i {
    width: 50px;
    height: 50px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.contact-detail h4 {
    margin-bottom: 0.3rem;
}

.contact-detail a,
.contact-detail p {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.contact-detail a:hover {
    color: var(--primary);
}

.contact-form {
    background: var(--bg-darker);
    padding: 3rem;
    border-radius: 30px;
    border: 1px solid var(--border);
}

/* ===== FORM STYLES ===== */
.form-group {
    position: relative;
    margin-bottom: 2rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem 0;
    background: transparent;
    border: none;
    border-bottom: 2px solid var(--border);
    color: var(--text-light);
    font-size: 1rem;
    transition: var(--transition);
    outline: none;
}

.form-group textarea {
    min-height: 100px;
    resize: vertical;
}

.form-group label {
    position: absolute;
    left: 0;
    top: 1rem;
    color: var(--text-muted);
    transition: var(--transition);
    pointer-events: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group input:not(:placeholder-shown),
.form-group textarea:not(:placeholder-shown) {
    border-bottom-color: var(--primary);
}

.form-group input:focus ~ label,
.form-group textarea:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
    top: -0.5rem;
    font-size: 0.8rem;
    color: var(--primary);
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    display: none;
}

.form-message.success {
    display: block;
    background: rgba(40, 167, 69, 0.1);
    border: 1px solid #28a745;
    color: #28a745;
}

.form-message.error {
    display: block;
    background: rgba(220, 53, 69, 0.1);
    border: 1px solid #dc3545;
    color: #dc3545;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--bg-darker);
    border-top: 1px solid var(--border);
    padding: 4rem 0 2rem;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand img {
    height: 50px;
    width: auto;
    margin-bottom: 1.5rem;
}

.footer-brand p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    max-width: 300px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: var(--bg-card-solid);
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-3px);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.footer-col h4 {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--primary);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-payments {
    display: flex;
    gap: 1.5rem;
    font-size: 1.5rem;
    color: var(--text-muted);
}

.footer-payments i {
    transition: var(--transition);
}

.footer-payments i:hover {
    color: var(--primary);
    transform: scale(1.1);
}

/* ===== SCROLL TOP ===== */
.scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 55px;
    height: 55px;
    background: var(--accent-gradient);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 99;
    box-shadow: var(--shadow-lg);
}

.scroll-top:hover {
    transform: translateY(-5px) scale(1.1);
}

.scroll-top.show {
    display: flex;
    animation: fadeInUp 0.3s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== MEDIA QUERIES ===== */
@media (max-width: 1200px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .carousel-item {
        flex: 0 0 calc(50% - 1rem);
    }
}

@media (max-width: 992px) {
    .hero__container,
    .history-grid,
    .tech-showcase,
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero__content {
        text-align: center;
    }
    
    .hero__subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .nav.active {
        display: block;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--bg-darker);
        border-bottom: 1px solid var(--border);
        padding: 2rem;
        backdrop-filter: blur(10px);
    }
    
    .nav.active .nav__list {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    
    .burger {
        display: flex;
    }
    
    .burger.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }
    
    .burger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .burger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    .carousel-item {
        flex: 0 0 100%;
    }
    
    .offers-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .hero__title {
        font-size: 3rem;
    }
    
    .floating-badge {
        display: none;
    }
}

@media (max-width: 576px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .history-stats {
        grid-template-columns: 1fr;
    }
    
    .model-actions {
        flex-direction: column;
    }
    
    .contact-wrapper {
        padding: 2rem;
    }
    
    .contact-form {
        padding: 2rem;
    }
}