/* ========================================
   Nissan Pathfinder - Premium Automotive Theme
   ======================================== */

/* CSS Variables */
:root {
    --primary-dark: #0a0a0a;
    --secondary-dark: #111111;
    --charcoal: #1a1a1a;
    --charcoal-light: #252525;
    --metallic-silver: #c0c0c0;
    --silver-light: #e0e0e0;
    --accent-red: #e63946;
    --accent-blue: #00d4ff;
    --accent-gradient: linear-gradient(135deg, #e63946 0%, #ff6b6b 100%);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.5);
    --shadow-soft: 0 8px 32px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 40px rgba(230, 57, 70, 0.3);
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--primary-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Selection */
::selection {
    background: var(--accent-red);
    color: white;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--primary-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--charcoal-light);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-red);
}

/* Container */
.section-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
}

/* Typography */
.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent-red);
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.section-title .highlight {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header .section-desc {
    margin: 0 auto;
}

/* Glass Card */
.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.btn svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.btn-primary {
    background: var(--accent-gradient);
    color: white;
    box-shadow: 0 4px 20px rgba(230, 57, 70, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(230, 57, 70, 0.5);
}

.btn-primary:hover svg {
    transform: translateX(4px);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--glass-border);
}

.btn-secondary:hover {
    background: var(--glass-bg);
    border-color: var(--accent-red);
    color: var(--accent-red);
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1rem;
}

/* ========================================
   Navigation
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 5%;
    background: transparent;
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    padding: 1rem 5%;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-logo {
    width: 120px;
    color: var(--text-primary);
}

.nissan-logo {
    width: 100%;
    height: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition-smooth);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-red);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    padding: 0.75rem 1.5rem;
    background: var(--accent-gradient);
    color: white;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition-smooth);
}

.nav-cta:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-glow);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition-smooth);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0f0f0f 100%);
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 50% at 50% 50%, rgba(230, 57, 70, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 70% 60%, rgba(0, 212, 255, 0.1) 0%, transparent 50%);
}

.hero-particles {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255,255,255,0.03) 1px, transparent 1px),
        radial-gradient(circle at 80% 70%, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 100px 100px;
}

.hero-car {
    position: absolute;
    right: 5%;
    bottom: 10%;
    width: 55%;
    max-width: 800px;
    z-index: 2;
}

.hero-car-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.5));
    transform: translateX(50px);
    opacity: 0;
    animation: carSlideIn 1.2s ease-out 0.5s forwards;
}

@keyframes carSlideIn {
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.car-glow {
    position: absolute;
    bottom: -20%;
    left: 10%;
    width: 80%;
    height: 40%;
    background: radial-gradient(ellipse, rgba(230, 57, 70, 0.2) 0%, transparent 70%);
    filter: blur(40px);
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 600px;
    padding-left: 5%;
    margin-right: auto;
}

.hero-title {
    margin-bottom: 1.5rem;
}

.title-line {
    display: block;
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 800;
    letter-spacing: -2px;
    line-height: 1;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

.title-accent {
    display: block;
    font-size: clamp(1.2rem, 3vw, 2rem);
    font-weight: 300;
    color: var(--text-secondary);
    margin-top: 0.5rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out 0.4s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.6s forwards;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.8s forwards;
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0;
    animation: fadeIn 1s ease-out 1.5s forwards;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

.scroll-mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--glass-border);
    border-radius: 12px;
    position: relative;
}

.scroll-wheel {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--accent-red);
    border-radius: 2px;
    animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollWheel {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
    50% { transform: translateX(-50%) translateY(12px); opacity: 0; }
}

/* ========================================
   Overview Section
   ======================================== */
.overview {
    padding: 8rem 0;
    background: var(--secondary-dark);
    position: relative;
}

.overview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to bottom, var(--primary-dark), transparent);
}

.overview-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.overview-text {
    opacity: 0;
    transform: translateX(-30px);
}

.overview-text.animate {
    animation: slideInLeft 0.8s ease-out forwards;
}

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.overview-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    padding: 1.5rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    text-align: center;
    transition: var(--transition-smooth);
}

.stat-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent-red);
    box-shadow: var(--shadow-glow);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.stat-unit {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-left: 0.25rem;
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

.overview-visual {
    position: relative;
    opacity: 0;
    transform: translateX(30px);
}

.overview-visual.animate {
    animation: slideInRight 0.8s ease-out forwards;
}

@keyframes slideInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.car-showcase {
    position: relative;
    padding: 2rem;
}

.showcase-ring {
    position: absolute;
    inset: 0;
    border: 2px dashed var(--glass-border);
    border-radius: 50%;
    animation: rotate 30s linear infinite;
}

@keyframes rotate {
    to { transform: rotate(360deg); }
}

.showcase-car {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.4));
    transition: transform 0.5s ease;
}

.car-showcase:hover .showcase-car {
    transform: scale(1.05) rotateY(5deg);
}

/* ========================================
   Exterior Section
   ======================================== */
.exterior {
    padding: 8rem 0;
    background: var(--primary-dark);
}

.exterior-showcase {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.exterior-gallery {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.gallery-main {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.gallery-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-main:hover .gallery-main-img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 10, 10, 0.6) 0%, transparent 50%);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.feature-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.75rem;
    background: linear-gradient(to top, rgba(10, 10, 10, 0.9), transparent);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition-smooth);
}

.gallery-item:hover .feature-label {
    opacity: 1;
    transform: translateY(0);
}

.exterior-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-card {
    padding: 1.5rem;
    transition: var(--transition-smooth);
}

.feature-card:hover {
    transform: translateX(10px);
    border-color: var(--accent-red);
}

.feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-gradient);
    border-radius: 12px;
    margin-bottom: 1rem;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

.feature-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.feature-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ========================================
   Interior Section
   ======================================== */
.interior {
    position: relative;
    padding: 8rem 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.interior-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.interior-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.interior-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.95) 0%, rgba(10, 10, 10, 0.7) 100%);
}

.interior-content {
    position: relative;
    z-index: 1;
}

.interior-header {
    text-align: center;
    margin-bottom: 4rem;
}

.interior-header .section-desc {
    margin: 0 auto;
}

.interior-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.interior-feature {
    text-align: center;
    padding: 2rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    backdrop-filter: blur(20px);
    transition: var(--transition-smooth);
    opacity: 0;
    transform: translateY(30px);
}

.interior-feature.animate {
    animation: fadeInUp 0.6s ease-out forwards;
}

.interior-feature:nth-child(2).animate { animation-delay: 0.1s; }
.interior-feature:nth-child(3).animate { animation-delay: 0.2s; }
.interior-feature:nth-child(4).animate { animation-delay: 0.3s; }

.interior-feature:hover {
    transform: translateY(-10px);
    border-color: var(--accent-red);
    box-shadow: 0 20px 40px rgba(230, 57, 70, 0.2);
}

.interior-feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--charcoal);
    border-radius: 50%;
    position: relative;
}

.interior-feature-icon::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: var(--accent-gradient);
    z-index: -1;
    opacity: 0;
    transition: var(--transition-smooth);
}

.interior-feature:hover .interior-feature-icon::after {
    opacity: 1;
}

.interior-feature-icon svg {
    width: 32px;
    height: 32px;
    color: var(--accent-red);
}

.interior-feature h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.interior-feature p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* ========================================
   Performance Section
   ======================================== */
.performance {
    padding: 8rem 0;
    background: linear-gradient(180deg, var(--primary-dark) 0%, var(--secondary-dark) 100%);
}

.drive-modes {
    margin-bottom: 4rem;
}

.mode-selector {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.mode-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.mode-btn:hover {
    border-color: var(--accent-red);
    color: var(--text-primary);
}

.mode-btn.active {
    background: var(--accent-gradient);
    border-color: transparent;
    color: white;
}

.mode-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mode-icon svg {
    width: 24px;
    height: 24px;
}

.mode-name {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mode-display {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 2rem;
    align-items: center;
}

.mode-visual {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.terrain-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--charcoal) 0%, var(--primary-dark) 100%);
    transition: background 0.6s ease;
}

.mode-car-container {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mode-car {
    width: 80%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5));
    transition: transform 0.5s ease;
}

.mode-visual:hover .mode-car {
    transform: scale(1.05);
}

.mode-info {
    padding: 2rem;
}

.mode-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mode-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.mode-specs {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.spec-bar {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.spec-bar span {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.bar-track {
    height: 6px;
    background: var(--charcoal);
    border-radius: 3px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: var(--accent-gradient);
    border-radius: 3px;
    transition: width 0.6s ease;
}

.performance-specs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.spec-card {
    padding: 2rem;
    text-align: center;
    transition: var(--transition-smooth);
}

.spec-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-red);
}

.spec-value {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.spec-name {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ========================================
   Technology Section
   ======================================== */
.technology {
    padding: 8rem 0;
    background: var(--primary-dark);
    position: relative;
}

.technology::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.tech-card {
    padding: 2.5rem;
    text-align: center;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.tech-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transition: left 0.6s ease;
}

.tech-card:hover::before {
    left: 100%;
}

.tech-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-blue);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.15);
}

.tech-icon-wrap {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
}

.tech-icon {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--charcoal);
    border-radius: 20px;
    position: relative;
    z-index: 1;
    transition: var(--transition-smooth);
}

.tech-card:hover .tech-icon {
    background: linear-gradient(135deg, var(--accent-blue), #0099cc);
}

.tech-icon svg {
    width: 32px;
    height: 32px;
    color: var(--accent-blue);
    transition: var(--transition-smooth);
}

.tech-card:hover .tech-icon svg {
    color: white;
    transform: scale(1.1);
}

.tech-glow {
    position: absolute;
    inset: -10px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.3) 0%, transparent 70%);
    opacity: 0;
    transition: var(--transition-smooth);
}

.tech-card:hover .tech-glow {
    opacity: 1;
}

.tech-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.tech-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ========================================
   Lifestyle Section
   ======================================== */
.lifestyle {
    padding: 8rem 0;
    background: var(--secondary-dark);
    overflow: hidden;
}

.lifestyle .section-container {
    margin-bottom: 3rem;
}

.lifestyle-gallery {
    position: relative;
    overflow: hidden;
    padding: 2rem 0;
}

.lifestyle-track {
    display: flex;
    gap: 2rem;
    transition: transform 0.5s ease;
    padding: 0 5%;
}

.lifestyle-card {
    flex: 0 0 350px;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 4/5;
    cursor: pointer;
}

.lifestyle-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.lifestyle-card:hover img {
    transform: scale(1.1);
}

.lifestyle-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 10, 10, 0.9) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    opacity: 0;
    transition: var(--transition-smooth);
}

.lifestyle-card:hover .lifestyle-overlay {
    opacity: 1;
}

.lifestyle-overlay h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.lifestyle-card:hover .lifestyle-overlay h3 {
    transform: translateY(0);
}

.lifestyle-overlay p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    transform: translateY(20px);
    transition: transform 0.4s ease 0.1s;
}

.lifestyle-card:hover .lifestyle-overlay p {
    transform: translateY(0);
}

.lifestyle-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
}

.lifestyle-nav-btn {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.lifestyle-nav-btn:hover {
    background: var(--accent-red);
    border-color: var(--accent-red);
}

.lifestyle-nav-btn svg {
    width: 20px;
    height: 20px;
}

.lifestyle-dots {
    display: flex;
    gap: 0.5rem;
}

.lifestyle-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--glass-border);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.lifestyle-dots .dot.active {
    background: var(--accent-red);
    transform: scale(1.2);
}

/* ========================================
   CTA Section
   ======================================== */
.cta {
    position: relative;
    padding: 10rem 0;
    text-align: center;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    background: var(--primary-dark);
}

.cta-gradient {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 100% 80% at 50% 100%, rgba(230, 57, 70, 0.2) 0%, transparent 60%),
        linear-gradient(180deg, var(--secondary-dark) 0%, var(--primary-dark) 100%);
    animation: gradientPulse 4s ease-in-out infinite;
}

@keyframes gradientPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.cta-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cta .btn-primary {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(230, 57, 70, 0.4); }
    50% { box-shadow: 0 4px 40px rgba(230, 57, 70, 0.6); }
}

/* ========================================
   Footer
   ======================================== */
.footer {
    padding: 4rem 0 2rem;
    background: var(--primary-dark);
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 2fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand {
    max-width: 250px;
}

.footer-logo {
    width: 120px;
    height: auto;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.footer-column a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
    transition: var(--transition-smooth);
}

.footer-column a:hover {
    color: var(--accent-red);
    transform: translateX(5px);
}

.footer-social h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    color: var(--text-secondary);
    transition: var(--transition-smooth);
}

.social-icons a:hover {
    background: var(--accent-red);
    border-color: var(--accent-red);
    color: white;
    transform: translateY(-3px);
}

.social-icons svg {
    width: 18px;
    height: 18px;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1200px) {
    .overview-content {
        gap: 2rem;
    }
    
    .exterior-showcase {
        grid-template-columns: 1fr;
    }
    
    .exterior-features {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .feature-card {
        flex: 1 1 calc(33.333% - 1rem);
        min-width: 200px;
    }
}

@media (max-width: 992px) {
    .nav-links, .nav-cta {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .overview-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .overview-text .section-desc {
        margin: 0 auto;
    }
    
    .interior-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .mode-display {
        grid-template-columns: 1fr;
    }
    
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .performance-specs {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-links {
        justify-items: center;
    }
    
    .social-icons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    .hero-car {
        position: relative;
        right: auto;
        bottom: auto;
        width: 100%;
        margin-top: 2rem;
    }
    
    .hero-content {
        text-align: center;
        padding: 0 5%;
        margin: 0 auto;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .overview-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .interior-features-grid {
        grid-template-columns: 1fr;
    }
    
    .mode-selector {
        gap: 0.5rem;
    }
    
    .mode-btn {
        padding: 0.75rem 1rem;
    }
    
    .tech-grid {
        grid-template-columns: 1fr;
    }
    
    .lifestyle-card {
        flex: 0 0 280px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .section-container {
        padding: 0 4%;
    }
    
    .overview-stats {
        grid-template-columns: 1fr;
    }
    
    .feature-card {
        flex: 1 1 100%;
    }
    
    .performance-specs {
        grid-template-columns: 1fr;
    }
    
    .btn-large {
        padding: 1rem 2rem;
        width: 100%;
        justify-content: center;
    }
}

/* ========================================
   Animation Classes
   ======================================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}
