/* ===================================
   BMW 540 Landing Page - Modern Design
   =================================== */

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a1a1a;
    --secondary-color: #ff6b00;
    --accent-color: #ff6b00;
    --text-dark: #1a1a1a;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --gradient-primary: linear-gradient(135deg, #ff6b00 0%, #ff8800 50%, #ff5500 100%);
    --gradient-accent: linear-gradient(135deg, #ff6b00 0%, #ff8800 50%, #ffaa00 100%);
    --gradient-gold: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
    --gradient-purple: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 50%, #6d28d9 100%);
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 5px 20px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 0 30px rgba(255, 107, 0, 0.4);
    --shadow-glow-accent: 0 0 40px rgba(255, 107, 0, 0.5);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 107, 0, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 136, 0, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

body > * {
    position: relative;
    z-index: 1;
}

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

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s, visibility 0.5s;
}

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

.loader {
    width: 80px;
    height: 80px;
    position: relative;
}

.loader-inner {
    width: 100%;
    height: 100%;
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--secondary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Floating CTA Button */
.floating-cta {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    animation: fadeInUp 0.6s ease-out 1s both;
}

.floating-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--gradient-accent);
    color: var(--white);
    padding: 15px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.floating-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(255, 107, 0, 0.4);
}

.floating-btn.pulse {
    animation: pulse 2s infinite;
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 
        0 2px 20px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(0, 0, 0, 0.05) inset;
    z-index: 1000;
    transition: var(--transition-smooth);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header.scrolled {
    box-shadow: 
        0 5px 30px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(0, 0, 0, 0.05) inset;
    background: rgba(255, 255, 255, 0.99);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo img {
    height: 50px;
    transition: var(--transition);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

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

.nav-link:hover {
    color: var(--secondary-color);
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

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

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 80px;
}

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

.hero-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    animation: zoomIn 20s ease-in-out infinite alternate;
}

@keyframes zoomIn {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.1);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.75) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 40px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(30px) saturate(180%);
    border-radius: 30px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset,
        0 0 100px rgba(255, 107, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.hero-content::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 107, 0, 0.1) 0%, transparent 70%);
    animation: rotateGlow 20s linear infinite;
    pointer-events: none;
}

@keyframes rotateGlow {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.hero-badge {
    display: inline-block;
    background: var(--gradient-accent);
    padding: 10px 25px;
    border-radius: 30px;
    margin-bottom: 20px;
    animation: fadeInDown 0.8s ease-out;
}

.badge-text {
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.2;
    animation: fadeInUp 0.8s ease-out 0.2s both;
    color: #ffffff;
    text-shadow: 
        2px 2px 8px rgba(0, 0, 0, 0.9),
        0 0 20px rgba(0, 0, 0, 0.7),
        0 0 40px rgba(0, 0, 0, 0.5),
        0 0 60px rgba(0, 0, 0, 0.3);
    position: relative;
    letter-spacing: -1px;
}

.hero-title::after {
    display: none;
}

.hero-title .highlight {
    color: #ffffff;
    display: block;
    text-shadow: 
        2px 2px 8px rgba(0, 0, 0, 0.9),
        0 0 20px rgba(0, 0, 0, 0.7),
        0 0 40px rgba(255, 107, 0, 0.4),
        0 0 60px rgba(255, 107, 0, 0.2);
    position: relative;
}

.hero-title .highlight::after {
    display: none;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 30px;
    font-weight: 300;
    animation: fadeInUp 0.8s ease-out 0.4s both;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.8);
    color: rgba(255, 255, 255, 0.95);
}

.hero-price {
    margin: 30px 0;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.price-old {
    font-size: 2.2rem;
    text-decoration: line-through;
    color: #ffffff;
    font-weight: 700;
    margin-right: 15px;
    text-shadow: 
        2px 2px 8px rgba(0, 0, 0, 0.9),
        0 0 15px rgba(0, 0, 0, 0.7),
        0 0 30px rgba(0, 0, 0, 0.5);
    opacity: 0.95;
    letter-spacing: 1px;
    position: relative;
}

.price-old::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(255, 255, 255, 0.8);
    transform: translateY(-50%);
}

.price-new {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--accent-color);
    margin-right: 15px;
}

.price-save {
    display: block;
    margin-top: 10px;
    font-size: 1.1rem;
    color: var(--accent-color);
    font-weight: 600;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 40px 0;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px) saturate(180%);
    padding: 12px 20px;
    border-radius: 30px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.2),
        0 0 20px rgba(255, 107, 0, 0.1) inset;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.feature-item:hover::before {
    left: 100%;
}

.feature-item:hover {
    transform: translateY(-3px) scale(1.05);
    border-color: rgba(255, 107, 0, 0.6);
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(255, 107, 0, 0.3) inset;
}

.feature-item i {
    font-size: 1.2rem;
    color: var(--accent-color);
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 1s both;
}

.btn-cta-primary {
    background: var(--white);
    color: var(--accent-color);
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition-smooth);
    box-shadow: 
        0 10px 40px rgba(255, 107, 0, 0.2),
        0 0 0 2px rgba(255, 107, 0, 0.3);
    position: relative;
    overflow: hidden;
    border: 2px solid var(--accent-color);
}

.btn-cta-primary i {
    color: var(--accent-color);
    transition: var(--transition);
}

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

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

.btn-cta-primary:hover {
    transform: translateY(-5px) scale(1.05);
    background: var(--accent-color);
    color: var(--white);
    box-shadow: 
        0 20px 60px rgba(255, 107, 0, 0.4),
        0 0 0 8px rgba(255, 107, 0, 0.15);
    animation: buttonPulse 1s ease-in-out infinite;
}

.btn-cta-primary:hover i {
    color: var(--white);
}

@keyframes buttonPulse {
    0%, 100% {
        box-shadow: 
            0 20px 60px rgba(255, 107, 0, 0.4),
            0 0 0 8px rgba(255, 107, 0, 0.15);
    }
    50% {
        box-shadow: 
            0 20px 60px rgba(255, 107, 0, 0.5),
            0 0 0 12px rgba(255, 107, 0, 0.2);
    }
}

.btn-cta-secondary {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: var(--white);
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: var(--transition);
}

.btn-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.hero-scroll {
    margin-top: 60px;
    animation: fadeInUp 0.8s ease-out 1.2s both;
}

.scroll-indicator {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--white);
    text-decoration: none;
    animation: bounce 2s infinite;
}

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

.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 107, 0, 0.15) 0%, rgba(255, 107, 0, 0) 70%);
    animation: float 20s infinite ease-in-out;
    filter: blur(40px);
}

.shape::before {
    content: '';
    position: absolute;
    inset: -20px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 107, 0, 0.1) 0%, transparent 70%);
    animation: shapePulse 4s ease-in-out infinite;
}

@keyframes shapePulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    top: 60%;
    right: 10%;
    animation-delay: 5s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    bottom: 20%;
    left: 20%;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(30px, -30px) rotate(120deg);
    }
    66% {
        transform: translate(-20px, 20px) rotate(240deg);
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Urgency Banner */
.urgency-banner {
    background: var(--gradient-accent);
    color: var(--white);
    padding: 20px 0;
    position: relative;
    overflow: hidden;
}

.urgency-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

.urgency-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.urgency-content i {
    font-size: 2rem;
    animation: pulse 2s infinite;
}

.urgency-text {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.urgency-text strong {
    font-size: 1.2rem;
    font-weight: 700;
}

.btn-urgency {
    background: var(--white);
    color: var(--accent-color);
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
}

.btn-urgency:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
}

/* Section Styles */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 20px;
}

/* Key Features */
.key-features {
    background: var(--bg-light);
}

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

.feature-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 25px;
    text-align: center;
    transition: var(--transition-smooth);
    box-shadow: 
        0 5px 20px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(0, 0, 0, 0.05) inset;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    background-clip: padding-box;
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 25px;
    padding: 2px;
    background: var(--gradient-primary);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: var(--transition-smooth);
}

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

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

.feature-card:hover::before {
    left: 0;
}

.feature-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 20px 60px rgba(255, 107, 0, 0.3);
}

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

.feature-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 20px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: var(--white);
    transition: var(--transition-smooth);
    position: relative;
    animation: iconPulse 2s ease-in-out infinite;
    box-shadow: 
        0 10px 30px rgba(255, 107, 0, 0.4),
        0 0 0 4px rgba(255, 255, 255, 0.1) inset;
}

.feature-icon::after {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    background: var(--gradient-primary);
    opacity: 0.3;
    animation: iconRipple 2s ease-out infinite;
    z-index: -1;
}

@keyframes iconRipple {
    0% {
        transform: scale(0.8);
        opacity: 0.3;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.feature-icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--gradient-primary);
    opacity: 0.5;
    animation: ripple 2s ease-out infinite;
}

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

@keyframes ripple {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.feature-card:hover .feature-icon {
    transform: scale(1.2) rotate(360deg);
    animation: iconSpin 0.6s ease-out;
}

@keyframes iconSpin {
    from {
        transform: scale(1) rotate(0deg);
    }
    to {
        transform: scale(1.2) rotate(360deg);
    }
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Gallery */
.gallery-section {
    background: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    aspect-ratio: 16/9;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 3px solid transparent;
    background-clip: padding-box;
}

.gallery-item::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 20px;
    padding: 3px;
    background: var(--gradient-primary);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: var(--transition-smooth);
    z-index: 1;
}

.gallery-item:hover::before {
    opacity: 1;
}

.gallery-item.main-image {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
    filter: brightness(0.9) contrast(1.1);
    transform: scale(1);
}

.gallery-item:hover img {
    filter: brightness(1.1) contrast(1.2) saturate(1.2);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.9) 0%, rgba(255, 136, 0, 0.9) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-smooth);
    backdrop-filter: blur(5px);
    z-index: 2;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover img {
    transform: scale(1.15) rotate(2deg);
    filter: brightness(1.1);
}

.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.gallery-overlay i {
    font-size: 3rem;
    color: var(--white);
    animation: zoomInOut 1.5s ease-in-out infinite;
}

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

/* Specifications */
.specifications-section {
    background: var(--bg-light);
}

.specs-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.specs-grid {
    display: grid;
    gap: 25px;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--white);
    padding: 25px;
    border-radius: 20px;
    box-shadow: 
        0 5px 20px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(0, 0, 0, 0.05) inset;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.spec-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-primary);
    transform: scaleY(0);
    transition: var(--transition-smooth);
    border-radius: 0 4px 4px 0;
}

.spec-item:hover::after {
    transform: scaleY(1);
}

.spec-item:hover {
    transform: translateX(15px) scale(1.03);
    box-shadow: 
        0 15px 40px rgba(255, 107, 0, 0.25),
        0 0 0 1px rgba(255, 107, 0, 0.1) inset;
    border-color: rgba(255, 107, 0, 0.2);
}

.spec-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.6rem;
    flex-shrink: 0;
    box-shadow: 
        0 8px 25px rgba(255, 107, 0, 0.3),
        0 0 0 3px rgba(255, 255, 255, 0.1) inset;
    transition: var(--transition-smooth);
    position: relative;
}

.spec-icon::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 15px;
    background: var(--gradient-primary);
    opacity: 0.3;
    animation: specIconGlow 2s ease-in-out infinite;
    z-index: -1;
}

@keyframes specIconGlow {
    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.5;
    }
}

.spec-item:hover .spec-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 
        0 12px 35px rgba(255, 107, 0, 0.4),
        0 0 0 3px rgba(255, 255, 255, 0.2) inset;
}

.spec-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.spec-label {
    color: var(--text-light);
    font-size: 0.9rem;
}

.spec-value {
    color: var(--text-dark);
    font-weight: 700;
    font-size: 1.2rem;
}

.price-box {
    background: var(--white);
    padding: 40px;
    border-radius: 25px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(0, 0, 0, 0.05) inset;
    text-align: center;
    position: sticky;
    top: 100px;
    border: 3px solid transparent;
    background-clip: padding-box;
    position: relative;
    overflow: hidden;
}

.price-box::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 107, 0, 0.1) 0%, transparent 70%);
    animation: priceBoxGlow 8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes priceBoxGlow {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    50% {
        transform: translate(-20px, -20px) rotate(180deg);
    }
}

.price-box::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 20px;
    padding: 3px;
    background: var(--gradient-primary);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: var(--transition);
}

.price-box:hover::before {
    opacity: 1;
}

.price-header {
    margin-bottom: 30px;
}

.price-label {
    color: var(--text-light);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.price-main {
    margin: 30px 0;
}

.price-box .price-old {
    display: block;
    font-size: 1.8rem;
    text-decoration: line-through;
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 10px;
    opacity: 0.8;
    position: relative;
}

.price-box .price-old::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--text-light);
    transform: translateY(-50%);
}

.price-new {
    display: block;
    font-size: 3.5rem;
    font-weight: 900;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    animation: pricePulse 2s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(255, 107, 0, 0.6));
    position: relative;
}

.price-new::after {
    content: attr(data-price);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
    animation: priceShimmer 3s ease-in-out infinite;
    z-index: -1;
}

@keyframes priceShimmer {
    0%, 100% {
        opacity: 0;
    }
    50% {
        opacity: 0.5;
    }
}

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

.price-savings {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--gradient-accent);
    color: var(--white);
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 30px;
    font-weight: 700;
}

.price-features {
    text-align: left;
    margin-bottom: 30px;
}

.price-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.price-feature i {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.btn-price-cta {
    display: block;
    width: 100%;
    background: var(--white);
    color: var(--accent-color);
    padding: 18px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition);
    margin-bottom: 15px;
    border: 2px solid var(--accent-color);
    box-shadow: 
        0 5px 20px rgba(255, 107, 0, 0.2),
        0 0 0 1px rgba(255, 107, 0, 0.2);
}

.btn-price-cta i {
    color: var(--accent-color);
    transition: var(--transition);
}

.btn-price-cta:hover {
    transform: translateY(-3px);
    background: var(--accent-color);
    color: var(--white);
    box-shadow: 
        0 10px 30px rgba(255, 107, 0, 0.3),
        0 0 0 2px rgba(255, 107, 0, 0.2);
}

.btn-price-cta:hover i {
    color: var(--white);
}

/* CARFAX Buttons */
.btn-carfax {
    display: block;
    width: 100%;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: var(--white);
    padding: 18px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition);
    box-shadow: 0 5px 20px rgba(231, 76, 60, 0.3);
    position: relative;
    overflow: hidden;
}

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

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

.btn-carfax:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(231, 76, 60, 0.5);
}

.btn-carfax i {
    font-size: 1.3rem;
    animation: carfaxPulse 2s ease-in-out infinite;
}

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

.btn-carfax-hero {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: var(--white);
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    box-shadow: 0 5px 20px rgba(231, 76, 60, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-carfax-hero:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(231, 76, 60, 0.6);
}

.btn-carfax-hero i {
    animation: carfaxPulse 2s ease-in-out infinite;
}

/* CARFAX Banner */
.carfax-banner {
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.1) 0%, rgba(192, 57, 43, 0.1) 100%);
    border: 2px solid rgba(231, 76, 60, 0.3);
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 40px;
    animation: carfaxBannerGlow 3s ease-in-out infinite;
}

@keyframes carfaxBannerGlow {
    0%, 100% {
        box-shadow: 0 0 0 rgba(231, 76, 60, 0);
    }
    50% {
        box-shadow: 0 0 30px rgba(231, 76, 60, 0.3);
    }
}

.carfax-content {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.carfax-content i {
    font-size: 3rem;
    color: #e74c3c;
    animation: carfaxIconFloat 3s ease-in-out infinite;
}

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

.carfax-text {
    flex: 1;
    min-width: 200px;
}

.carfax-text h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.carfax-text p {
    color: var(--text-light);
    margin: 0;
    font-size: 0.95rem;
}

.btn-carfax-banner {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: var(--white);
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    box-shadow: 0 5px 20px rgba(231, 76, 60, 0.3);
    white-space: nowrap;
}

.btn-carfax-banner:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(231, 76, 60, 0.5);
}

.btn-carfax-banner i {
    animation: carfaxPulse 2s ease-in-out infinite;
}

/* Description */
.description-section {
    background: var(--white);
}

.description-content {
    max-width: 900px;
    margin: 0 auto;
}

.description-text {
    margin-bottom: 40px;
}

.description-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 20px;
}

.description-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: var(--bg-light);
    border-radius: 10px;
}

.highlight-item i {
    color: var(--secondary-color);
    font-size: 1.5rem;
}

/* Trust Section */
.trust-section {
    background: var(--gradient-primary);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.trust-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: trustGlow 10s ease-in-out infinite;
}

.trust-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 107, 0, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: trustGlow 8s ease-in-out infinite reverse;
}

@keyframes trustGlow {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(20px, 20px) scale(1.1);
    }
}

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

.trust-item {
    text-align: center;
    padding: 30px;
    position: relative;
    z-index: 1;
    transition: var(--transition-smooth);
}

.trust-item:hover {
    transform: translateY(-10px);
}

.trust-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    transition: var(--transition);
    position: relative;
    animation: trustIconFloat 3s ease-in-out infinite;
}

.trust-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    animation: trustIconPulse 2s ease-out infinite;
}

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

@keyframes trustIconPulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

.trust-item:hover .trust-icon {
    transform: scale(1.2) rotate(360deg);
    background: rgba(255, 255, 255, 0.3);
    animation: trustIconSpin 0.6s ease-out;
}

@keyframes trustIconSpin {
    from {
        transform: scale(1) rotate(0deg);
    }
    to {
        transform: scale(1.2) rotate(360deg);
    }
}

.trust-item h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.trust-item p {
    opacity: 0.9;
    line-height: 1.6;
}

/* Contact Section */
.contact-section {
    background: var(--bg-light);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-details {
    margin: 40px 0;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    align-items: flex-start;
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateX(10px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-text h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.contact-text p {
    color: var(--text-light);
    line-height: 1.6;
}

.contact-text a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: var(--transition);
}

.contact-text a:hover {
    color: var(--accent-color);
}

.contact-social {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-link {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.contact-form-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.contact-form-box h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--text-dark);
}

/* CTA Section */
.cta-section {
    background: var(--gradient-primary);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(255, 107, 0, 0.1) 0%, transparent 50%);
    animation: ctaBackgroundMove 15s ease-in-out infinite;
}

@keyframes ctaBackgroundMove {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(20px, -20px) scale(1.1);
    }
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 20px;
    animation: ctaTitlePulse 2s ease-in-out infinite;
    text-shadow: 
        2px 2px 10px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(255, 255, 255, 0.2);
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-buttons .btn-cta-primary,
.cta-buttons .btn-cta-secondary {
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.cta-buttons .btn-cta-primary {
    background: var(--white);
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
    box-shadow: 
        0 10px 40px rgba(255, 107, 0, 0.2),
        0 0 0 2px rgba(255, 107, 0, 0.3);
}

.cta-buttons .btn-cta-secondary {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
}

.cta-buttons .btn-cta-primary:hover {
    background: var(--accent-color);
    color: var(--white);
    transform: translateY(-5px);
    box-shadow: 
        0 20px 60px rgba(255, 107, 0, 0.4),
        0 0 0 8px rgba(255, 107, 0, 0.15);
}

.cta-buttons .btn-cta-primary:hover i {
    color: var(--white);
}

.cta-buttons .btn-cta-secondary:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Footer */
.footer {
    background: linear-gradient(180deg, #1a1a1a 0%, #0f0f0f 100%);
    color: var(--white);
    padding: 60px 0 20px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 107, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 107, 0, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

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

.footer-logo img {
    height: 50px;
    margin-bottom: 20px;
}

.footer-section p {
    opacity: 0.8;
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

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

.footer-contact {
    list-style: none;
}

.footer-contact li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0.8;
}

.footer-contact i {
    color: var(--accent-color);
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-contact a:hover {
    color: var(--accent-color);
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition-smooth);
    border: 2px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.footer-social a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: var(--gradient-accent);
    transform: translate(-50%, -50%);
    transition: width 0.4s, height 0.4s;
}

.footer-social a:hover::before {
    width: 100%;
    height: 100%;
}

.footer-social a:hover {
    border-color: var(--accent-color);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 30px rgba(255, 107, 0, 0.4);
}

.footer-social a i {
    position: relative;
    z-index: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.8;
}

/* Scroll to Top */
.scroll-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    z-index: 1000;
    box-shadow: 
        0 10px 30px rgba(255, 107, 0, 0.4),
        0 0 0 3px rgba(255, 255, 255, 0.1) inset;
    position: relative;
    overflow: hidden;
}

.scroll-top::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    background: var(--gradient-primary);
    opacity: 0.5;
    animation: scrollTopPulse 2s ease-in-out infinite;
    z-index: -1;
}

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

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-8px) scale(1.1);
    box-shadow: 
        0 15px 40px rgba(255, 107, 0, 0.5),
        0 0 0 3px rgba(255, 255, 255, 0.2) inset;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    color: var(--white);
    font-size: 3rem;
    cursor: pointer;
    z-index: 10001;
    transition: var(--transition);
}

.lightbox-close:hover {
    transform: rotate(90deg);
}

#lightbox-img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: var(--white);
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10001;
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .specs-wrapper {
        grid-template-columns: 1fr;
    }
    
    .price-box {
        position: static;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .gallery-item.main-image {
        grid-column: span 1;
        grid-row: span 1;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .price-new {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .floating-cta {
        bottom: 20px;
        right: 20px;
    }
    
    .floating-btn span {
        display: none;
    }
    
    .carfax-content {
        flex-direction: column;
        text-align: center;
    }
    
    .carfax-banner {
        padding: 20px;
    }
    
    .btn-carfax-banner {
        width: 100%;
        justify-content: center;
    }
    
    .carfax-notification {
        right: 20px;
        left: 20px;
        transform: translateY(-100px);
    }
    
    .carfax-notification.show {
        transform: translateY(0);
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 15px;
    }
    
    .price-new {
        font-size: 2rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .hero-image {
        background-attachment: scroll;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .urgency-content {
        flex-direction: column;
        text-align: center;
    }
}

/* Performance optimizations */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* CARFAX Notification */
.carfax-notification {
    position: fixed;
    top: 100px;
    right: 30px;
    background: linear-gradient(135deg, #27ae60 0%, #229954 100%);
    color: var(--white);
    padding: 20px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(39, 174, 96, 0.4);
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 10000;
    transform: translateX(400px);
    opacity: 0;
    transition: all 0.3s ease-out;
}

.carfax-notification.show {
    transform: translateX(0);
    opacity: 1;
}

.carfax-notification i {
    font-size: 1.5rem;
    animation: checkBounce 0.6s ease-out;
}

@keyframes checkBounce {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

.carfax-notification span {
    font-weight: 600;
    font-size: 1rem;
}

/* Optional Section */
.optional-section {
    background: var(--white);
    padding: 100px 0;
}

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

.optional-item {
    background: var(--bg-light);
    padding: 20px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: var(--transition-smooth);
    border: 2px solid transparent;
}

.optional-item:hover {
    background: var(--white);
    border-color: var(--secondary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.optional-item i {
    font-size: 1.5rem;
    color: var(--secondary-color);
    width: 30px;
    text-align: center;
}

.optional-item span {
    color: var(--text-dark);
    font-weight: 500;
    line-height: 1.5;
}

/* Print styles */
@media print {
    .header,
    .floating-cta,
    .scroll-top,
    .hero-scroll {
        display: none;
    }
}

