/* ================================================
   MANARA AUTO - Modern Electric Vehicle Website
   Premium CSS Styles
   ================================================ */

/* CSS Variables */
:root {
    /* Primary Colors */
    --primary: #00d4ff;
    --primary-dark: #00a8cc;
    --primary-light: #5ce1ff;
    
    /* Accent Colors */
    --accent-orange: #ff6b35;
    --accent-purple: #a855f7;
    --accent-green: #22c55e;
    --accent-yellow: #fbbf24;
    
    /* Neutral Colors */
    --dark-900: #0a0a0f;
    --dark-800: #0f0f1a;
    --dark-700: #1a1a2e;
    --dark-600: #252542;
    --dark-500: #3a3a5c;
    
    --light-100: #ffffff;
    --light-200: #f8f9fa;
    --light-300: #e9ecef;
    --light-400: #ced4da;
    --light-500: #adb5bd;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #00d4ff 0%, #a855f7 100%);
    --gradient-dark: linear-gradient(180deg, #0f0f1a 0%, #1a1a2e 100%);
    --gradient-card: linear-gradient(145deg, rgba(26, 26, 46, 0.9) 0%, rgba(15, 15, 26, 0.95) 100%);
    --gradient-glow: radial-gradient(circle, rgba(0, 212, 255, 0.15) 0%, transparent 70%);
    
    /* Typography */
    --font-primary: 'Space Grotesk', sans-serif;
    --font-secondary: 'Inter', sans-serif;
    
    /* Spacing */
    --section-padding: 100px 0;
    --container-padding: 0 24px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    --radius-full: 50%;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 0 40px rgba(0, 212, 255, 0.3);
}

/* Light Theme */
[data-theme="light"] {
    --dark-900: #e8eaed;
    --dark-800: #f0f2f5;
    --dark-700: #e1e4e8;
    --dark-600: #d1d5db;
    --dark-500: #c4c9cf;
    
    --light-100: #1a1a2e;
    --light-200: #2d2d44;
    --light-300: #3a3a5c;
    --light-400: #6c757d;
    --light-500: #8b939c;
    
    --gradient-dark: linear-gradient(180deg, #e8eaed 0%, #dde0e4 100%);
    --gradient-card: linear-gradient(145deg, rgba(240, 242, 245, 0.95) 0%, rgba(232, 234, 237, 0.98) 100%);
    --gradient-glow: radial-gradient(circle, rgba(0, 180, 220, 0.1) 0%, transparent 70%);
    
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
}

[data-theme="light"] .navbar {
    background: rgba(232, 234, 237, 0.95);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .model-card,
[data-theme="light"] .feature-card,
[data-theme="light"] .step-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .model-card:hover,
[data-theme="light"] .feature-card:hover {
    border-color: var(--primary);
}

[data-theme="light"] .footer {
    background: #f1f3f5;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .ecobonus-section {
    background: linear-gradient(135deg, #e8fdf5 0%, #f0f9ff 100%);
}

[data-theme="light"] .form-group input,
[data-theme="light"] .form-group select,
[data-theme="light"] .form-group textarea {
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--light-100);
}

[data-theme="light"] .form-group select option {
    background: #ffffff;
    color: #1a1a2e;
}

[data-theme="light"] .preloader,
[data-theme="light"] #preloader {
    background: #ffffff;
}

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

*::before, *::after {
    pointer-events: none;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: clip;
}

body {
    font-family: var(--font-secondary);
    background: var(--dark-800);
    color: var(--light-100);
    line-height: 1.6;
    overflow-x: clip;
    max-width: 100vw;
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark-900);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    pointer-events: none;
}

#preloader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    display: none;
}

.loader {
    position: relative;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid transparent;
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1.5s linear infinite;
}

.loader-ring:nth-child(2) {
    width: 80%;
    height: 80%;
    border-top-color: var(--accent-purple);
    animation-delay: 0.2s;
    animation-direction: reverse;
}

.loader-ring:nth-child(3) {
    width: 60%;
    height: 60%;
    border-top-color: var(--accent-orange);
    animation-delay: 0.4s;
}

.loader-text {
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--primary);
}

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

/* Theme Toggle Button */
.theme-toggle {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.theme-toggle:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: var(--primary);
    transform: rotate(15deg);
}

.theme-toggle i {
    position: absolute;
    font-size: 18px;
    transition: all var(--transition-medium);
}

.theme-toggle .fa-sun {
    color: var(--accent-yellow);
    opacity: 0;
    transform: scale(0.5) rotate(-180deg);
}

.theme-toggle .fa-moon {
    color: var(--primary);
    opacity: 1;
    transform: scale(1) rotate(0);
}

[data-theme="light"] .theme-toggle {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .theme-toggle:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: var(--primary);
}

[data-theme="light"] .theme-toggle .fa-sun {
    opacity: 1;
    transform: scale(1) rotate(0);
}

[data-theme="light"] .theme-toggle .fa-moon {
    opacity: 0;
    transform: scale(0.5) rotate(180deg);
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--container-padding);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.2;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-family: var(--font-primary);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: var(--radius-xl);
    cursor: pointer;
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--dark-900);
}

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

.btn-primary i {
    transition: transform var(--transition-medium);
}

.btn-primary:hover i {
    transform: translateX(5px);
}

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

.btn-outline:hover {
    background: var(--primary);
    color: var(--dark-900);
}

.btn-ghost {
    background: transparent;
    color: var(--light-400);
    padding: 10px 20px;
}

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

.btn-large {
    padding: 18px 36px;
    font-size: 16px;
}

.btn-full {
    width: 100%;
}

.btn-configure {
    background: rgba(0, 212, 255, 0.9);
    color: var(--dark-900);
    padding: 12px 24px;
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    padding: 20px 0;
    transition: all var(--transition-medium);
    background: rgb(10, 10, 15);
    pointer-events: auto;
    isolation: isolate;
}

.navbar,
.navbar *,
.nav-container,
.nav-container *,
.nav-actions,
.nav-actions *,
.theme-toggle,
.btn {
    pointer-events: auto !important;
}

.navbar.scrolled {
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    padding: 15px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 max(24px, calc((100% - 1400px) / 2 + 24px));
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    gap: 30px;
}

/* Nav Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
    flex-shrink: 0;
    margin-left: auto;;
    z-index: 10;
}

.nav-actions * {
    pointer-events: auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex: 0 0 auto;
}

.logo-icon {
    font-size: 28px;
    animation: pulse 2s ease-in-out infinite;
}

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

.logo-img {
    height: 45px;
    width: auto;
}

.logo-dark {
    display: block;
}

.logo-light {
    display: none;
}

[data-theme="light"] .logo-dark {
    display: none;
}

[data-theme="light"] .logo-light {
    display: block;
}

.logo-text {
    font-family: var(--font-primary);
    font-size: 24px;
    font-weight: 700;
    color: var(--light-100);
    letter-spacing: 1px;
}

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

.nav-menu {
    display: flex;
    align-items: center;
    gap: 40px;
    list-style: none;
    flex: 0 0 auto;
    justify-content: center;
    overflow: visible;
    max-width: fit-content;
    pointer-events: none;
}

.nav-menu li {
    flex: 0 0 auto;
    position: relative;
    overflow: visible;
    pointer-events: auto;
}

.nav-link {
    font-family: var(--font-primary);
    font-size: 15px;
    font-weight: 500;
    color: var(--light-300);
    text-decoration: none;
    position: relative;
    transition: color var(--transition-fast);
    display: inline-block;
    white-space: nowrap;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width var(--transition-medium);
    pointer-events: none;
    max-width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 10px;
}

.hamburger span {
    width: 28px;
    height: 2px;
    background: var(--light-100);
    transition: all var(--transition-medium);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 120px 24px 80px;
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    pointer-events: auto;
}

.hero-content * {
    pointer-events: auto;
}

.hero-bg {
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    pointer-events: none;
}

.hero-bg * {
    pointer-events: none;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(168, 85, 247, 0.1) 0%, transparent 50%),
        var(--gradient-dark);
}

.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.5;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: rgba(0, 212, 255, 0.15);
    top: 10%;
    left: -10%;
    animation: float 20s ease-in-out infinite;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: rgba(168, 85, 247, 0.15);
    top: 60%;
    right: -5%;
    animation: float 25s ease-in-out infinite reverse;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: rgba(255, 107, 53, 0.1);
    bottom: 20%;
    left: 30%;
    animation: float 15s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(30px, -30px) rotate(5deg); }
    50% { transform: translate(-20px, 20px) rotate(-5deg); }
    75% { transform: translate(20px, 30px) rotate(3deg); }
}

.hero-content {
    flex: 1;
    max-width: 650px;
    z-index: 1;
    pointer-events: auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: var(--radius-xl);
    margin-bottom: 30px;
}

.hero-badge i {
    color: var(--primary);
    font-size: 14px;
}

.hero-badge span {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero-title {
    font-size: clamp(42px, 6vw, 72px);
    margin-bottom: 24px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--light-400);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 50px;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat {
    display: flex;
    align-items: center;
    gap: 15px;
}

.stat-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 212, 255, 0.1);
    border-radius: var(--radius-md);
    color: var(--primary);
    font-size: 20px;
}

.stat-content {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-family: var(--font-primary);
    font-size: 20px;
    font-weight: 700;
    color: var(--light-100);
}

.stat-label {
    font-size: 13px;
    color: var(--light-500);
}

.hero-image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    pointer-events: none;
}

.car-showcase {
    position: relative;
    max-width: 700px;
}

.hero-car-img {
    width: 100%;
    height: auto;
    border-radius: 30px;
    filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.5));
    animation: carFloat 6s ease-in-out infinite;
}

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

.car-glow {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 100px;
    background: radial-gradient(ellipse, rgba(0, 212, 255, 0.3) 0%, transparent 70%);
    filter: blur(30px);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--light-500);
    font-size: 12px;
    animation: bounce 2s ease-in-out infinite;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--light-500);
    border-radius: 13px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--primary);
    border-radius: 2px;
    animation: scroll 2s ease-in-out infinite;
}

@keyframes scroll {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(6px); opacity: 0.5; }
}

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

/* Ecobonus Section */
.ecobonus-section {
    padding: 80px 24px;
    position: relative;
}

.ecobonus-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(0, 212, 255, 0.1) 100%);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: var(--radius-lg);
    padding: 60px;
    gap: 60px;
    position: relative;
    overflow: hidden;
}

.ecobonus-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.2) 0%, transparent 70%);
    filter: blur(60px);
}

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

.ecobonus-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(34, 197, 94, 0.2);
    border-radius: var(--radius-xl);
    margin-bottom: 20px;
}

.ecobonus-badge i {
    color: var(--accent-green);
}

.ecobonus-badge span {
    font-size: 12px;
    font-weight: 700;
    color: var(--accent-green);
    letter-spacing: 1px;
}

.ecobonus-content h2 {
    font-size: 36px;
    margin-bottom: 16px;
}

.ecobonus-content p {
    font-size: 18px;
    color: var(--light-400);
    max-width: 500px;
}

.ecobonus-content strong {
    color: var(--accent-green);
}

.ecobonus-features {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

.eco-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--light-300);
}

.eco-feature i {
    color: var(--accent-green);
    font-size: 18px;
}

.ecobonus-visual {
    position: relative;
    z-index: 1;
}

.eco-amount {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 50px;
    background: rgba(34, 197, 94, 0.15);
    border: 2px solid var(--accent-green);
    border-radius: var(--radius-lg);
    text-align: center;
}

.eco-label {
    font-size: 14px;
    color: var(--light-400);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.eco-value {
    font-family: var(--font-primary);
    font-size: 56px;
    font-weight: 700;
    color: var(--accent-green);
    line-height: 1;
    margin: 10px 0;
}

.eco-sub {
    font-size: 14px;
    color: var(--light-400);
}

/* Section Styles */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: var(--radius-xl);
    margin-bottom: 20px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-badge i {
    font-size: 14px;
}

.section-title {
    font-size: clamp(32px, 4vw, 48px);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--light-400);
}

/* Models Section */
.models-section {
    padding: var(--section-padding);
    background: var(--dark-900);
}

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

.model-card {
    background: var(--gradient-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    transition: all var(--transition-medium);
}

.model-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 212, 255, 0.3);
    box-shadow: var(--shadow-glow);
}

.model-card.featured {
    border-color: rgba(255, 107, 53, 0.3);
}

.model-card.featured:hover {
    box-shadow: 0 0 40px rgba(255, 107, 53, 0.3);
}

.model-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 10px 18px;
    background: rgba(0, 212, 255, 0.9);
    border: 2px solid var(--primary);
    border-radius: var(--radius-xl);
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    z-index: 10;
    backdrop-filter: blur(10px);
}

.model-badge.popular {
    background: rgba(255, 107, 53, 0.2);
    border-color: var(--accent-orange);
    color: var(--accent-orange);
}

.model-badge.new {
    background: rgba(168, 85, 247, 0.2);
    border-color: var(--accent-purple);
    color: var(--accent-purple);
}

.model-image {
    position: relative;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    overflow: hidden;
}

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

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

.model-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(10, 10, 15, 0.8);
    opacity: 0;
    transition: opacity var(--transition-medium);
}

.model-card:hover .model-overlay {
    opacity: 1;
}

.model-content {
    padding: 30px;
}

.model-name {
    font-size: 28px;
    margin-bottom: 5px;
}

.model-type {
    font-size: 14px;
    color: var(--primary);
    margin-bottom: 20px;
}

.model-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 25px;
}

.spec {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
    font-size: 13px;
    color: var(--light-300);
}

.spec i {
    color: var(--primary);
    font-size: 14px;
}

.model-price {
    display: flex;
    flex-direction: column;
    margin-bottom: 25px;
}

.price-label {
    font-size: 13px;
    color: var(--light-500);
}

.price-value {
    font-family: var(--font-primary);
    font-size: 32px;
    font-weight: 700;
    color: var(--light-100);
}

.price-note {
    font-size: 12px;
    color: var(--light-500);
}

.model-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Features Section */
.features-section {
    padding: var(--section-padding);
    background: var(--dark-800);
}

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

@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

.feature-card {
    padding: 40px;
    background: var(--gradient-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    transition: all var(--transition-medium);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 212, 255, 0.2);
}

.feature-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 212, 255, 0.1);
    border-radius: var(--radius-md);
    margin-bottom: 25px;
    font-size: 28px;
    color: var(--primary);
    transition: all var(--transition-medium);
}

.feature-card:hover .feature-icon {
    background: var(--primary);
    color: var(--dark-900);
    transform: scale(1.1);
}

.feature-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

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

/* How It Works */
.how-it-works {
    padding: var(--section-padding);
    background: var(--dark-900);
}

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

.step {
    flex: 1;
    min-width: 200px;
    max-width: 280px;
    text-align: center;
    padding: 30px;
    position: relative;
}

.step-number {
    position: absolute;
    top: 0;
    right: 20px;
    font-family: var(--font-primary);
    font-size: 72px;
    font-weight: 700;
    color: rgba(0, 212, 255, 0.1);
    line-height: 1;
}

.step-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 212, 255, 0.1);
    border: 2px solid var(--primary);
    border-radius: var(--radius-full);
    margin: 0 auto 25px;
    font-size: 32px;
    color: var(--primary);
}

.step h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.step p {
    color: var(--light-400);
    font-size: 14px;
}

.step-connector {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), transparent);
    align-self: center;
    margin-top: 40px;
}

/* Contact Section */
.contact-section {
    padding: var(--section-padding);
    background: var(--dark-800);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    background: var(--gradient-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: 60px;
}

.contact-info h2 {
    font-size: 36px;
    margin-bottom: 16px;
}

.contact-info > p {
    color: var(--light-400);
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-item i {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 212, 255, 0.1);
    border-radius: var(--radius-md);
    color: var(--primary);
    font-size: 20px;
}

.contact-item div {
    display: flex;
    flex-direction: column;
}

.contact-item .label {
    font-size: 13px;
    color: var(--light-500);
}

.contact-item a,
.contact-item span {
    color: var(--light-100);
    text-decoration: none;
    font-size: 16px;
}

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

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

.social-link {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    color: var(--light-300);
    font-size: 20px;
    transition: all var(--transition-medium);
}

.social-link:hover {
    background: var(--primary);
    color: var(--dark-900);
    transform: translateY(-3px);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: var(--light-300);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: var(--light-100);
    font-family: var(--font-secondary);
    font-size: 15px;
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(0, 212, 255, 0.05);
}

.form-group select {
    cursor: pointer;
}

.form-group select option {
    background: var(--dark-800);
    color: var(--light-100);
    padding: 10px;
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Checkbox Privacy */
.form-checkbox {
    margin-top: 10px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 13px;
    line-height: 1.5;
    color: var(--light-400);
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    min-width: 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    margin-top: 2px;
}

.checkmark::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 11px;
    color: white;
    opacity: 0;
    transform: scale(0);
    transition: all 0.2s ease;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: var(--primary);
    border-color: var(--primary);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    opacity: 1;
    transform: scale(1);
}

.checkbox-text {
    flex: 1;
}

.checkbox-text a {
    color: var(--primary);
    text-decoration: underline;
}

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

/* Light Theme - Checkbox */
[data-theme="light"] .checkbox-label {
    color: #64748b;
}

[data-theme="light"] .checkmark {
    border-color: rgba(0, 0, 0, 0.2);
}

/* Footer */
.footer {
    background: var(--dark-900);
    padding: 80px 24px 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand p {
    color: var(--light-400);
    margin-top: 20px;
    max-width: 300px;
}

.footer-links h4 {
    font-size: 16px;
    margin-bottom: 25px;
    color: var(--light-100);
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-links a {
    color: var(--light-400);
    text-decoration: none;
    font-size: 14px;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.footer-bottom p {
    color: var(--light-500);
    font-size: 13px;
    margin-bottom: 5px;
}

/* Responsive */
@media (max-width: 1200px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 140px;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-subtitle {
        margin: 0 auto 40px;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-image {
        margin-top: 60px;
    }
    
    .car-showcase {
        max-width: 500px;
    }
}

@media (max-width: 992px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: var(--dark-900);
        flex-direction: column;
        justify-content: center;
        padding: 60px 40px;
        transition: right var(--transition-medium);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .hamburger {
        display: flex;
        z-index: 1001;
        margin-right: 5px;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    
    .nav-actions {
        display: flex;
    }
    
    .nav-actions .btn {
        display: none;
    }
    
    .ecobonus-card {
        flex-direction: column;
        text-align: center;
        padding: 40px;
    }
    
    .ecobonus-features {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
        padding: 40px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .logo-img {
        height: 25px;
        max-width: 120px;
        object-fit: contain;
    }
    
    .nav-container {
        padding: 0 15px;
        gap: 10px;
    }
    
    .navbar {
        padding: 10px 0;
    }
    
    .theme-toggle {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .stat {
        justify-content: center;
    }
    
    .models-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .step-connector {
        display: none;
    }
    
    .steps-container {
        flex-direction: column;
        align-items: center;
    }
    
    .step {
        max-width: 100%;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-brand p {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 120px 16px 60px;
    }
    
    .scroll-indicator {
        position: relative;
        left: auto;
        bottom: auto;
        transform: none;
        margin: 40px auto 0;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .btn-large {
        width: 100%;
    }
    
    .ecobonus-card {
        padding: 30px 20px;
    }
    
    .eco-value {
        font-size: 42px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .model-content {
        padding: 20px;
    }
    
    /* Fix overflow mobile */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .feature-card {
        padding: 25px 20px;
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 22px;
    }
    
    .feature-card h3 {
        font-size: 18px;
    }
    
    .feature-card p {
        font-size: 14px;
    }
    
    .container {
        padding: 0 16px;
    }
    
    .section-header {
        padding: 0 10px;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px 15px;
    }
    
    .contact-info,
    .contact-form-wrapper {
        width: 100%;
        padding: 0;
    }
    
    .contact-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .contact-item i {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .contact-item a,
    .contact-item span {
        font-size: 14px;
        word-break: break-all;
    }
    
    .contact-details {
        gap: 15px;
    }
    
    .contact-info h2 {
        font-size: 24px;
    }
    
    /* Form mobile fix */
    .contact-form {
        gap: 15px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px 15px;
        font-size: 14px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .contact-form .btn {
        width: 100%;
        padding: 15px;
    }
    
    /* Ecobonus mobile fix */
    .ecobonus-card {
        margin: 0 -16px;
        border-radius: 0;
    }
    
    .ecobonus-features {
        flex-direction: column;
        gap: 15px;
    }
    
    .eco-feature {
        font-size: 14px;
    }
    
    /* Footer mobile fix */
    .footer {
        padding: 40px 16px 30px;
    }
    
    .footer-grid {
        gap: 30px;
    }
    
    .footer-links h4 {
        font-size: 16px;
    }
    
    .footer-links a {
        font-size: 14px;
    }
    
    /* Social links mobile */
    .social-links {
        justify-content: center;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
    }
    
    .step {
        padding: 20px 15px;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    /* Hero mobile fix */
    .hero-subtitle {
        font-size: 14px;
    }
    
    .hero-badge {
        font-size: 12px;
        padding: 8px 15px;
    }
    
    /* Model cards mobile */
    .model-card {
        margin: 0;
    }
    
    .model-name {
        font-size: 20px;
    }
    
    .model-price {
        font-size: 22px;
    }
}

/* FIX - Click sulla navbar */
.navbar {
    position: fixed !important;
    z-index: 9999 !important;
    pointer-events: auto !important;
}

.nav-container,
.nav-actions,
.theme-toggle {
    position: relative;
    z-index: 10000 !important;
    pointer-events: auto !important;
}

.btn {
    position: relative;
    z-index: 10 !important;
    pointer-events: auto !important;
}

.hero,
.hero *,
.hero-bg,
.hero-bg *,
.hero-content,
.hero-image {
    z-index: 1 !important;
    pointer-events: none !important;
}

.hero-content a,
.hero-content button,
.hero-content .btn {
    pointer-events: auto !important;
}
