/* AutoShop Premium - Stili Principali */

/* ===== VARIABILI CSS MODERNE ===== */
:root {
    /* Colori principali */
    --primary-gradient: linear-gradient(135deg, #00ff88 0%, #00cc6a 100%);
    --secondary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --accent-gradient: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
    --dark-gradient: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    
    /* Colori solidi */
    --primary-color: #00ff88;
    --secondary-color: #667eea;
    --accent-color: #ff6b6b;
    --dark-color: #0f172a;
    --light-color: #ffffff;
    --gray-color: #64748b;
    
    /* Variabili per pulsante animato */
    --accent_first_project: #F19E1E;
    --accent_four_project: #333333;
    
    /* Ombre moderne */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);
    --shadow-xl: 0 16px 64px rgba(0, 0, 0, 0.25);
    --shadow-glow: 0 0 32px rgba(0, 255, 136, 0.3);
    
    /* Bordi */
    --border-radius: 16px;
    --border-radius-lg: 24px;
    --border-radius-xl: 32px;
    
    /* Transizioni */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Spaziatura */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    
    /* Font */
    --font-family-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-family-accent: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Glass effect */
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* ===== RESET MODERNO ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-family-primary);
    background: var(--dark-gradient);
    color: var(--light-color);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===== GLASS MORPHISM EFFECTS ===== */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

.glass-strong {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 16px 64px rgba(0, 0, 0, 0.2);
}

/* ===== HEADER & NAVIGAZIONE MODERNA ===== */

/* ===== PULSANTI ULTRA-MODERNI ===== */
.btn-auth-unified.ultra-modern {
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 20px;
    padding: 12px 24px;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 8px 25px rgba(102, 126, 234, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-auth-unified.ultra-modern:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 
        0 15px 35px rgba(102, 126, 234, 0.6),
        0 0 0 1px rgba(255, 255, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-auth-unified.ultra-modern:active {
    transform: translateY(0) scale(0.98);
}

.auth-button-content {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 2;
}

.auth-icon {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.btn-auth-unified.ultra-modern:hover .auth-icon {
    transform: rotate(360deg) scale(1.1);
}

.auth-text {
    font-weight: 600;
    letter-spacing: 0.5px;
}

.auth-button-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.btn-auth-unified.ultra-modern:hover .auth-button-glow {
    transform: translateX(100%);
}

.auth-button-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

/* ===== PAGINA MACCHINE ULTRA-MODERNA ===== */

/* Hero Section Macchine */
.cars-hero-section {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    margin-top: 70px;
}

.cars-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.cars-hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    padding: 0 var(--space-lg);
    text-align: center;
}

.cars-hero-text {
    margin-bottom: var(--space-xl);
}

.cars-hero-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--space-lg);
    color: var(--color-text);
}

.cars-hero-subtitle {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--color-text-muted);
    margin-bottom: var(--space-xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Filtri Avanzati */
.advanced-filters {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    max-width: 1200px;
    margin: 0 auto var(--space-xl);
    padding: var(--space-xl);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.filter-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
    align-items: end;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.filter-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--space-xs);
}

.glass-select {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 12px;
    padding: var(--space-sm) var(--space-md);
    color: var(--color-text);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    cursor: pointer;
}

.glass-select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(0, 209, 178, 0.1);
    transform: translateY(-2px);
}

.glass-select option {
    background: var(--color-bg);
    color: var(--color-text);
    padding: var(--space-sm);
}

.glass-input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 12px;
    padding: var(--space-sm) var(--space-md);
    color: var(--color-text);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    width: 100%;
}

.glass-input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(0, 209, 178, 0.1);
    transform: translateY(-2px);
}

.glass-input::placeholder {
    color: var(--color-text-muted);
    opacity: 0.6;
}

/* Price Filter */
.price-filter {
    grid-column: span 1;
}

.price-slider-container {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: var(--space-sm);
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.glass-slider {
    flex: 1;
    height: 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.1);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
}

.glass-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--color-primary);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 209, 178, 0.3);
    transition: all 0.3s ease;
}

.glass-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 4px 12px rgba(0, 209, 178, 0.4);
}

.glass-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--color-primary);
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 209, 178, 0.3);
    transition: all 0.3s ease;
}

.glass-slider::-moz-range-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 4px 12px rgba(0, 209, 178, 0.4);
}

.price-value {
    color: var(--color-primary);
    font-weight: 600;
    font-size: 0.9rem;
    min-width: 80px;
    text-align: center;
}

/* Features Filter */
.features-filter {
    grid-column: span 2;
}

.features-checkboxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--space-sm);
    max-height: 120px;
    overflow-y: auto;
    padding: var(--space-sm);
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    cursor: pointer;
    padding: var(--space-xs);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.checkbox-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.checkbox-item input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--color-primary);
    cursor: pointer;
}

.checkbox-item span {
    font-size: 0.85rem;
    color: var(--color-text);
    font-weight: 500;
}

/* View Toggle */
.view-toggle {
    grid-column: span 1;
}

.view-buttons {
    display: flex;
    gap: var(--space-xs);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: var(--space-xs);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.view-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--color-text-muted);
}

.view-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-text);
}

.view-btn.active {
    background: var(--color-primary);
    color: white;
    box-shadow: 0 2px 8px rgba(0, 209, 178, 0.3);
}

.view-btn .icon {
    width: 18px;
    height: 18px;
}

/* Filter Actions */
.filter-actions {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    padding-top: var(--space-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive */
@media (max-width: 768px) {
    .advanced-filters {
        padding: var(--space-lg);
        margin: 0 var(--space-sm) var(--space-lg);
    }
    
    .filter-row {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
    
    .features-filter {
        grid-column: span 1;
    }
    
    .features-checkboxes {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        max-height: 100px;
    }
    
    .filter-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .price-slider-container {
        flex-direction: column;
        gap: var(--space-sm);
    }
}

/* ===== TOAST NOTIFICATIONS ===== */
.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--color-surface);
    color: var(--color-text);
    padding: var(--space-md) var(--space-lg);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    font-weight: 500;
    max-width: 300px;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.toast.show {
    opacity: 1;
    transform: translateX(0);
}

.toast-success {
    border-left: 4px solid var(--color-success);
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(16, 185, 129, 0.05) 100%);
}

.toast-error {
    border-left: 4px solid var(--color-error);
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(239, 68, 68, 0.05) 100%);
}

.toast-warning {
    border-left: 4px solid var(--color-warning);
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(245, 158, 11, 0.05) 100%);
}

.toast-info {
    border-left: 4px solid var(--color-primary);
    background: linear-gradient(135deg, rgba(0, 209, 178, 0.1) 0%, rgba(0, 209, 178, 0.05) 100%);
}

/* ===== CONTEGGIO RISULTATI ===== */
.results-count {
    text-align: center;
    margin-bottom: var(--space-lg);
    padding: var(--space-md);
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.results-count span {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    font-weight: 500;
}

/* ===== STILI CARD AUTO ===== */
.car-card-content {
    padding: var(--space-lg);
}

.card-header {
    margin-bottom: var(--space-md);
}

.car-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: var(--space-xs);
}

.car-brand {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.car-specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.spec-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-xs);
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
}

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

.spec-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text);
}

.car-location {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    color: var(--color-text-muted);
    font-size: 0.85rem;
    margin-bottom: var(--space-md);
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.car-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
}

.card-actions {
    display: flex;
    gap: var(--space-xs);
}

.action-btn {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-text);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.action-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.action-btn.active {
    background: var(--color-primary);
    color: white;
}

.action-btn svg {
    width: 18px;
    height: 18px;
}

.premium-car-card:hover .car-overlay {
    opacity: 1;
}

/* Sezione Auto Premium */
.premium-cars-section {
    padding: var(--space-xl) 0;
    background: var(--color-bg);
}

/* ===== MODAL DETTAGLI AUTO ===== */
.car-details-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.car-details-modal.show {
    opacity: 1;
}

.car-details-modal .modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    background: var(--color-bg);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    overflow-y: auto;
    transition: transform 0.3s ease;
}

.car-details-modal.show .modal-content {
    transform: translate(-50%, -50%) scale(1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-lg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-header h2 {
    color: var(--color-text);
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    color: var(--color-text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    padding: var(--space-xs);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-text);
}

.modal-body {
    padding: var(--space-lg);
}

.car-details-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.car-details-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: start;
}

.main-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.car-details-specs {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.spec-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-sm);
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
}

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

.spec-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text);
}

.spec-value.price {
    color: var(--color-primary);
    font-size: 1.1rem;
}

.car-description h3,
.car-features h3 {
    color: var(--color-text);
    margin-bottom: var(--space-md);
    font-size: 1.2rem;
}

.car-description p {
    color: var(--color-text-muted);
    line-height: 1.6;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-sm);
}

.feature-item {
    padding: var(--space-sm);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    color: var(--color-text);
    font-size: 0.9rem;
    text-align: center;
}

.car-actions {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .car-details-modal .modal-content {
        width: 95%;
        max-height: 95vh;
    }
    
    .car-details-images {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
    
    .main-image {
        height: 250px;
    }
    
    .car-actions {
        flex-direction: column;
        align-items: center;
    }
}

.premium-cars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
    transition: all 0.3s ease;
}

.premium-cars-grid.list-view {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}

.premium-cars-grid.list-view .premium-car-card {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: var(--space-lg);
    align-items: center;
}

.premium-cars-grid.list-view .car-card-image {
    height: 200px;
}

.premium-cars-grid.list-view .car-card-content {
    padding: var(--space-lg);
}

@media (max-width: 768px) {
    .premium-cars-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .premium-cars-grid.list-view .premium-car-card {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
    
    .premium-cars-grid.list-view .car-card-image {
        height: 250px;
    }
}

/* Card Auto Premium */
.premium-car-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(59, 130, 246, 0.1);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    backdrop-filter: blur(20px);
    transform-style: preserve-3d;
}

.premium-car-card:hover {
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(59, 130, 246, 0.2);
}

.car-card-image {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.car-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.premium-car-card:hover .car-card-image img {
    transform: scale(1.1);
}

.car-badge {
    position: absolute;
    top: var(--space-sm);
    right: var(--space-sm);
    background: linear-gradient(135deg, #f093fb, #f5576c);
    color: white;
    padding: var(--space-xs) var(--space-sm);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.car-overlay {
    position: absolute;
    top: var(--space-sm);
    left: var(--space-sm);
    display: flex;
    gap: var(--space-xs);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.premium-car-card:hover .car-overlay {
    opacity: 1;
}

.overlay-btn {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.overlay-btn:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.1);
}

.overlay-btn.favorite.active {
    background: var(--color-primary);
    color: white;
}

.overlay-btn svg {
    width: 20px;
    height: 20px;
}

.car-card-content {
    padding: var(--space-lg);
}

.car-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--space-md);
}

.car-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-text);
    margin: 0;
}

.car-price {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--color-primary);
    text-shadow: 0 0 20px rgba(0, 209, 178, 0.5);
}

.car-specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
}

.spec-item {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.spec-item svg {
    width: 16px;
    height: 16px;
    color: var(--color-primary);
    flex-shrink: 0;
}

.car-actions {
    display: flex;
    gap: var(--space-sm);
}

.car-btn {
    flex: 1;
    padding: var(--space-sm) var(--space-md);
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
}

.car-btn.primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.car-btn.primary.in-cart {
    background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
}

.car-btn.secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-text);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.car-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.car-btn svg {
    width: 18px;
    height: 18px;
}

.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    border-radius: 24px;
}

/* Paginazione */
.cars-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.pagination-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 12px;
    padding: var(--space-sm) var(--space-md);
    color: var(--color-text);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.pagination-btn:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--color-primary);
    transform: translateY(-2px);
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-btn svg {
    width: 18px;
    height: 18px;
}

.page-info {
    color: var(--color-text-muted);
    font-weight: 500;
    padding: var(--space-sm) var(--space-md);
}

/* Modal Dettagli Auto */
.car-details-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(20px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.car-details-modal.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 24px;
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.8);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.car-details-modal.active .modal-content {
    transform: scale(1);
}

.modal-header {
    padding: var(--space-xl);
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-text);
    margin: 0;
}

.modal-close {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.modal-close svg {
    width: 20px;
    height: 20px;
    color: var(--color-text);
}

.modal-body {
    padding: var(--space-xl);
}

.modal-car-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
}

@media (max-width: 768px) {
    .modal-car-details {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
}

.modal-car-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
}

.modal-car-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.modal-car-badge {
    position: absolute;
    top: var(--space-sm);
    right: var(--space-sm);
    background: linear-gradient(135deg, #f093fb, #f5576c);
    color: white;
    padding: var(--space-xs) var(--space-sm);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modal-car-info h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: var(--space-md);
    margin-top: var(--space-lg);
}

.modal-car-info h4:first-of-type {
    margin-top: 0;
}

.modal-car-price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: var(--space-md);
    text-shadow: 0 0 20px rgba(0, 209, 178, 0.5);
}

.modal-car-description {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-text-muted);
    margin-bottom: var(--space-lg);
}

.specs-grid {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.spec-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-sm);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.spec-label {
    font-weight: 600;
    color: var(--color-text-muted);
}

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

.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-sm);
}

.features-list li {
    padding: var(--space-sm);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-text-muted);
    position: relative;
    padding-left: var(--space-lg);
}

.features-list li::before {
    content: '✓';
    position: absolute;
    left: var(--space-sm);
    color: var(--color-primary);
    font-weight: bold;
}

.modal-car-actions {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.modal-btn {
    flex: 1;
    padding: var(--space-md) var(--space-lg);
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
}

.modal-btn.primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.modal-btn.secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-text);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.modal-btn svg {
    width: 20px;
    height: 20px;
}

/* Toast Notifications */
.toast {
    position: fixed;
    top: 100px;
    right: var(--space-lg);
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 12px;
    padding: var(--space-md);
    color: var(--color-text);
    font-weight: 600;
    z-index: 10001;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.toast.show {
    transform: translateX(0);
}

.toast-content {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.toast-icon {
    width: 20px;
    height: 20px;
    color: var(--color-primary);
}

.toast-success {
    border-color: rgba(34, 197, 94, 0.3);
}

.toast-success .toast-icon {
    color: #22c55e;
}

.toast-info {
    border-color: rgba(59, 130, 246, 0.3);
}

.toast-info .toast-icon {
    color: #3b82f6;
}

/* ===== PROFILO ULTRA-MODERNO ===== */
.user-profile.ultra-modern {
    position: relative;
}

.avatar-container {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.avatar-container:hover {
    transform: scale(1.1);
}

.avatar-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.avatar-glow {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #667eea, #764ba2, #f093fb);
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.avatar-container:hover .avatar-glow {
    opacity: 1;
}

.avatar-pulse {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid rgba(102, 126, 234, 0.5);
    border-radius: 50%;
    animation: avatarPulse 2s infinite;
}

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

.user-menu.ultra-modern {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 16px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(59, 130, 246, 0.1);
}

/* Statistiche Utente */
.user-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
    margin: var(--space-md) 0;
    padding: var(--space-md);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.user-stats .stat-item {
    text-align: center;
}

.user-stats .stat-value {
    display: block;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--color-primary);
    text-shadow: 0 0 10px rgba(0, 209, 178, 0.5);
}

.user-stats .stat-label {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Status Utente */
.user-status {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--color-bg);
    background: #22c55e;
}

.user-status.online {
    background: #22c55e;
    animation: statusPulse 2s infinite;
}

.user-status.offline {
    background: #6b7280;
}

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

/* Menu Items Ultra-Moderni */
.menu-item.ultra-modern {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: var(--space-sm) var(--space-md);
    margin-bottom: var(--space-xs);
    transition: all 0.3s ease;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.menu-item.ultra-modern:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.menu-item.ultra-modern svg {
    width: 18px;
    height: 18px;
    color: var(--color-primary);
    transition: transform 0.3s ease;
}

.menu-item.ultra-modern:hover svg {
    transform: scale(1.1);
}

.menu-item.ultra-modern span {
    font-weight: 500;
    color: var(--color-text);
}

.menu-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(59, 130, 246, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.menu-item.ultra-modern:hover .menu-glow {
    transform: translateX(100%);
}
.header-glass {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: rgba(11, 18, 32, 0.85);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-bottom: 1px solid rgba(0, 209, 178, 0.2);
    transition: all var(--transition-normal);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.header-glass.scrolled {
    background: rgba(11, 18, 32, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-md) var(--space-lg);
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    min-height: 70px;
}

@media (max-width: 1400px) {
    .nav-container {
        max-width: 100%;
        padding: var(--space-md) var(--space-md);
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: var(--space-sm) var(--space-md);
    }
}

.nav-brand {
    display: flex;
    align-items: center;
}

.logo-glow {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
}

.logo-text {
    color: var(--color-text);
    text-shadow: 0 0 10px rgba(230, 241, 255, 0.3);
}

.logo-accent {
    color: var(--color-primary);
    text-shadow: 0 0 20px rgba(0, 209, 178, 0.5);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    z-index: 10000;
    position: relative;
    flex-wrap: wrap;
    max-width: 100%;
    overflow: visible;
}

.nav-menu li {
    list-style: none;
    position: relative;
    z-index: 10001;
}

.nav-link {
    position: relative;
    color: var(--color-text-muted);
    font-weight: 600;
    font-size: 0.9rem;
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
    cursor: pointer;
    text-decoration: none;
    display: block;
    z-index: 10001;
    white-space: nowrap;
    /* Ensure clickability */
    pointer-events: auto;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    /* Modern glassmorphism effect */
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}



.nav-link:hover,
.nav-link.active {
    color: var(--color-text);
    background: linear-gradient(135deg, 
        rgba(0, 209, 178, 0.1) 0%, 
        rgba(139, 92, 246, 0.1) 100%);
    border-color: rgba(0, 209, 178, 0.4);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 
        0 8px 25px rgba(0, 209, 178, 0.3),
        0 0 20px rgba(0, 209, 178, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    text-shadow: 0 0 10px rgba(0, 209, 178, 0.5);
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(0, 209, 178, 0.1), 
        transparent);
    transition: left 0.5s ease;
    border-radius: var(--radius-md);
}

.nav-link:hover::before {
    left: 100%;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    transition: all var(--transition-normal);
    transform: translateX(-50%);
    border-radius: 1px;
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    z-index: 10000;
    position: relative;
    flex-shrink: 0;
}

/* Responsive Navigation */
@media (max-width: 1200px) {
    .nav-menu {
        gap: var(--space-xs);
    }
    
    .nav-link {
        font-size: 0.85rem;
        padding: var(--space-xs);
    }
}

@media (max-width: 992px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(11, 18, 32, 0.95);
        backdrop-filter: blur(20px);
        border-radius: 0 0 var(--radius-lg) var(--radius-lg);
        padding: var(--space-lg);
        flex-direction: column;
    gap: var(--space-md);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-top: none;
    }
    
    .nav-menu.mobile-open {
        display: flex;
    }
    
    .nav-menu li {
        width: 100%;
    }
    
    .nav-link {
        width: 100%;
        text-align: center;
        padding: var(--space-md);
        font-size: 1rem;
    }
    
    .mobile-menu-toggle {
        display: flex !important;
    }
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-sm);
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--color-text);
    border-radius: 2px;
    transition: all var(--transition-normal);
}

.mobile-menu-toggle:hover span {
    background: var(--color-primary);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ===== AUTENTICAZIONE UNIFICATA ===== */
.auth-container {
    position: relative;
}

.btn-auth-unified {
    position: relative;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-lg);
    background: linear-gradient(135deg, 
        rgba(0, 209, 178, 0.1) 0%, 
        rgba(139, 92, 246, 0.1) 100%);
    border: 1px solid rgba(0, 209, 178, 0.3);
    border-radius: var(--radius-lg);
    color: var(--color-text);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all var(--transition-normal);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    overflow: hidden;
}

.btn-auth-unified::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(0, 209, 178, 0.2), 
        transparent);
    transition: left 0.6s ease;
}

.btn-auth-unified:hover::before {
    left: 100%;
}

.btn-auth-unified:hover {
    background: linear-gradient(135deg, 
        rgba(0, 209, 178, 0.2) 0%, 
        rgba(139, 92, 246, 0.2) 100%);
    border-color: rgba(0, 209, 178, 0.6);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 
        0 8px 25px rgba(0, 209, 178, 0.3),
        0 0 20px rgba(0, 209, 178, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.btn-auth-unified:active {
    transform: translateY(0) scale(0.98);
}

.auth-icon {
    width: 20px;
    height: 20px;
    color: var(--color-primary);
    transition: all var(--transition-normal);
}

.btn-auth-unified:hover .auth-icon {
    color: var(--color-accent);
    transform: rotate(360deg) scale(1.1);
}

.btn-auth-unified span {
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Responsive auth button */
@media (max-width: 768px) {
    .btn-auth-unified {
        padding: var(--space-xs) var(--space-md);
        font-size: 0.85rem;
    }
    
    .btn-auth-unified span {
        display: none;
    }
    
    .auth-icon {
        width: 24px;
        height: 24px;
    }
}

.user-profile {
    position: relative;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.user-avatar {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    overflow: hidden;
    border: 2px solid var(--color-primary);
    cursor: pointer;
    transition: all var(--transition-normal);
}

.user-avatar:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(0, 209, 178, 0.5);
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-status {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 12px;
    height: 12px;
    background: var(--color-success);
    border: 2px solid var(--color-surface);
    border-radius: var(--radius-full);
}

/* ===== EFFETTI INTERATTIVI NAVIGAZIONE ===== */
@keyframes navLinkPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes navGlow {
    0%, 100% { box-shadow: 0 0 5px rgba(0, 209, 178, 0.3); }
    50% { box-shadow: 0 0 20px rgba(0, 209, 178, 0.6); }
}

.nav-link.active {
    animation: navGlow 2s ease-in-out infinite;
}

.nav-link:active {
    animation: navLinkPulse 0.2s ease-in-out;
}

/* Effetto particelle per hover */
.nav-link:hover {
    position: relative;
    overflow: hidden;
}

.nav-link:hover::after {
    animation: shimmer 1.5s ease-in-out infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-50%) scaleX(0); }
    50% { transform: translateX(-50%) scaleX(1); }
    100% { transform: translateX(-50%) scaleX(0); }
}

/* ===== HERO STATS E TRUST INDICATORS ===== */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: var(--space-xl);
    margin: var(--space-xl) 0;
    padding: var(--space-lg) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    animation: statFadeIn 0.6s ease-out forwards;
}

.stat-item:nth-child(2) { animation-delay: 0.2s; }
.stat-item:nth-child(3) { animation-delay: 0.4s; }

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: var(--space-xs);
    text-shadow: 0 0 20px rgba(0, 209, 178, 0.5);
}

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

.trust-indicators {
    display: flex;
    justify-content: center;
    gap: var(--space-lg);
    margin-top: var(--space-xl);
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all var(--transition-normal);
}

.trust-item:hover {
    background: rgba(0, 209, 178, 0.1);
    border-color: rgba(0, 209, 178, 0.3);
    transform: translateY(-2px);
}

.trust-icon {
    width: 20px;
    height: 20px;
    color: var(--color-primary);
}

.trust-item span {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    white-space: nowrap;
}

.animated-gradient {
    background: linear-gradient(45deg, 
        var(--color-primary), 
        var(--color-accent), 
        var(--color-primary));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientFlow 3s ease-in-out infinite;
}

.button-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
    border-radius: inherit;
}

/* ===== CATEGORIES GRID ===== */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
    margin: var(--space-xl) 0;
}

.category-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-normal);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        transparent,
        rgba(0, 209, 178, 0.1),
        transparent
    );
    animation: rotate 4s linear infinite;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

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

.category-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 209, 178, 0.4);
    transform: translateY(-10px) rotateX(5deg);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(0, 209, 178, 0.2);
}

.category-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto var(--space-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, 
        rgba(0, 209, 178, 0.2), 
        rgba(139, 92, 246, 0.2));
    border-radius: var(--radius-full);
    transition: all var(--transition-normal);
}

.category-card:hover .category-icon {
    transform: scale(1.1) rotateY(360deg);
    background: linear-gradient(135deg, 
        rgba(0, 209, 178, 0.4), 
        rgba(139, 92, 246, 0.4));
}

.category-icon svg {
    width: 30px;
    height: 30px;
    color: var(--color-primary);
}

.category-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: var(--space-sm);
}

.category-card p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-bottom: var(--space-md);
}

.category-count {
    font-size: 0.8rem;
    color: var(--color-primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===== FINANCING SECTION ===== */
.section-financing {
    padding: var(--space-section) 0;
    background: linear-gradient(135deg, 
        rgba(11, 18, 32, 0.95) 0%, 
        rgba(15, 23, 42, 0.95) 100%);
    position: relative;
}

.financing-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
    margin: var(--space-xl) 0;
}

.financing-option {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    text-align: center;
    position: relative;
    transition: all var(--transition-normal);
    backdrop-filter: blur(15px);
}

.financing-option.featured {
    border-color: var(--color-primary);
    background: rgba(0, 209, 178, 0.05);
    transform: scale(1.05);
}

.financing-option:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(0, 209, 178, 0.4);
}

.option-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(45deg, var(--color-primary), var(--color-accent));
    color: white;
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.option-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto var(--space-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, 
        rgba(0, 209, 178, 0.2), 
        rgba(139, 92, 246, 0.2));
    border-radius: var(--radius-full);
    transition: all var(--transition-normal);
}

.option-icon svg {
    width: 30px;
    height: 30px;
    color: var(--color-primary);
}

.financing-option h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: var(--space-sm);
}

.option-rate {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--space-lg);
    text-shadow: 0 0 20px rgba(0, 209, 178, 0.3);
}

.option-features {
    list-style: none;
    padding: 0;
    margin: var(--space-lg) 0;
    text-align: left;
}

.option-features li {
    padding: var(--space-xs) 0;
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.financing-calculator {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    margin: var(--space-xl) 0;
    backdrop-filter: blur(20px);
}

.calculator-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.calculator-header h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: var(--space-sm);
}

.calculator-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: start;
}

.calculator-form {
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
}

.glass-input {
    position: relative;
    margin-bottom: var(--space-md);
}

.glass-field, .glass-select {
    width: 100%;
    padding: var(--space-md);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: var(--color-text);
    font-size: 1rem;
    transition: all var(--transition-normal);
    backdrop-filter: blur(10px);
}

.glass-field:focus, .glass-select:focus {
    outline: none;
    border-color: var(--color-primary);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 20px rgba(0, 209, 178, 0.2);
}

.range-slider {
    width: 100%;
    margin: var(--space-sm) 0;
    -webkit-appearance: none;
    appearance: none;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    outline: none;
}

.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: var(--color-primary);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(0, 209, 178, 0.5);
}

.range-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.calculator-results {
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
}

.main-result {
    background: linear-gradient(135deg, 
        rgba(0, 209, 178, 0.1), 
        rgba(139, 92, 246, 0.1));
    border: 1px solid rgba(0, 209, 178, 0.3);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    text-align: center;
    margin-bottom: var(--space-lg);
}

.result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-md);
}

.result-badge {
    background: var(--color-primary);
    color: white;
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
}

.result-amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-primary);
    text-shadow: 0 0 30px rgba(0, 209, 178, 0.5);
    margin-bottom: var(--space-sm);
}

.result-progress {
    margin-top: var(--space-md);
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: var(--space-xs);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    border-radius: 4px;
    transition: width var(--transition-normal);
    width: 75%;
}

.progress-label {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.result-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.detail-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md);
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
}

.detail-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(5px);
}

.detail-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 209, 178, 0.2);
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.detail-icon svg {
    width: 20px;
    height: 20px;
    color: var(--color-primary);
}

.detail-content {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.detail-value {
    color: var(--color-text);
    font-weight: 600;
    font-size: 1.1rem;
}

.result-actions {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.result-actions button {
    flex: 1;
}

.financing-benefits {
    margin-top: var(--space-xl);
    text-align: center;
}

.financing-benefits h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: var(--space-xl);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
}

.benefit-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    text-align: center;
    transition: all var(--transition-normal);
    backdrop-filter: blur(10px);
}

.benefit-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 209, 178, 0.3);
    transform: translateY(-5px);
}

.benefit-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto var(--space-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, 
        rgba(0, 209, 178, 0.2), 
        rgba(139, 92, 246, 0.2));
    border-radius: var(--radius-full);
}

.benefit-icon svg {
    width: 25px;
    height: 25px;
    color: var(--color-primary);
}

.benefit-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: var(--space-sm);
}

.benefit-item p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* ===== ANIMAZIONI ===== */
@keyframes statFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes gradientFlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

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

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero-stats {
        flex-direction: column;
        gap: var(--space-lg);
    }
    
    .trust-indicators {
        flex-direction: column;
        align-items: center;
        gap: var(--space-md);
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
    
    .financing-options {
        grid-template-columns: 1fr;
    }
    
    .calculator-content {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .result-actions {
        flex-direction: column;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .result-amount {
        font-size: 2.5rem;
    }
}

/* ===== CARRRELLO ===== */
.cart-container {
    position: relative;
}

.cart-btn {
    position: relative;
    width: 45px;
    height: 45px;
    border-radius: var(--radius-full);
    background: var(--color-surface);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
    backdrop-filter: blur(15px);
}

.cart-btn:hover {
    background: var(--color-surface-light);
    transform: scale(1.05);
    box-shadow: var(--shadow-glow);
}

.cart-icon {
    width: 20px;
    height: 20px;
    color: var(--color-text);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--color-accent);
    color: var(--color-bg);
    font-size: 0.75rem;
    font-weight: 600;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--color-bg);
}

/* ===== NOTIFICHE ===== */
.notifications-btn {
    position: relative;
    width: 45px;
    height: 45px;
    border-radius: var(--radius-full);
    background: var(--color-surface);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
    backdrop-filter: blur(15px);
}

.notifications-btn:hover {
    background: var(--color-surface-light);
    transform: scale(1.05);
    box-shadow: var(--shadow-glow);
}

.notifications-icon {
    width: 20px;
    height: 20px;
    color: var(--color-text);
}

.notifications-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--color-primary);
    color: var(--color-bg);
    font-size: 0.75rem;
    font-weight: 600;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--color-bg);
}

/* ===== AUTENTICAZIONE ===== */
.auth-container {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.auth-buttons {
    display: flex;
    gap: var(--space-sm);
}

.btn-auth-unified {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: var(--color-bg);
    border-radius: var(--radius-full);
    font-weight: 500;
    font-size: 0.9rem;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-glow);
    position: relative;
    overflow: hidden;
}

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

.btn-auth-unified:hover::before {
    left: 100%;
}

.btn-auth-unified:hover {
    background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow-intense);
}

.auth-icon {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* ===== PROFILO UTENTE ===== */
.user-profile {
    position: relative;
    display: flex;
    align-items: center;
}

.user-avatar {
    position: relative;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
    transition: all var(--transition-normal);
    border: 2px solid transparent;
}

.user-avatar:hover {
    border-color: var(--color-primary);
    transform: scale(1.05);
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-status {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 12px;
    height: 12px;
    background: var(--color-success);
    border-radius: 50%;
    border: 2px solid var(--color-bg);
}

.user-menu {
    position: absolute;
    top: 100%;
    right: 0;
    width: 280px;
    background: var(--color-surface);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    padding: var(--space-md);
    margin-top: var(--space-sm);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-normal);
    z-index: var(--z-dropdown);
}

.user-profile:hover .user-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-info {
    padding-bottom: var(--space-md);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: var(--space-md);
}

.user-name {
    display: block;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: var(--space-xs);
}

.user-email {
    display: block;
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.user-actions {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.menu-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    background: transparent;
    color: var(--color-text);
    border-radius: var(--radius-md);
    font-weight: 500;
    transition: all var(--transition-normal);
    text-align: left;
    width: 100%;
}

.menu-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-primary);
}

.menu-item svg {
    width: 18px;
    height: 18px;
}

.menu-item.logout {
    color: var(--color-error);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: var(--space-sm);
    padding-top: var(--space-md);
}

.menu-item.logout:hover {
    background: rgba(239, 68, 68, 0.1);
}

/* ===== CARRRELLO SIDEBAR ===== */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: var(--color-surface);
    backdrop-filter: blur(25px);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-xl);
    transition: right var(--transition-slow);
    z-index: var(--z-modal);
    display: flex;
    flex-direction: column;
}

.cart-sidebar.open {
    right: 0;
}

.cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-lg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cart-header h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--color-text);
}

.cart-close {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
}

.cart-close:hover {
    background: var(--color-error);
    transform: scale(1.1);
}

.cart-close svg {
    width: 18px;
    height: 18px;
    color: var(--color-text);
}

.cart-content {
    flex: 1;
    overflow-y: auto;
    padding: var(--space-lg);
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.cart-item {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-md);
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cart-item-image {
    width: 80px;
    height: 60px;
    border-radius: var(--radius-md);
    overflow: hidden;
    flex-shrink: 0;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.cart-item-title {
    font-weight: 600;
    color: var(--color-text);
    font-size: 0.95rem;
}

.cart-item-price {
    color: var(--color-primary);
    font-weight: 600;
}

.cart-item-remove {
    background: none;
    border: none;
    color: var(--color-error);
    cursor: pointer;
    padding: var(--space-xs);
    border-radius: var(--radius-sm);
    transition: all var(--transition-normal);
}

.cart-item-remove:hover {
    background: rgba(239, 68, 68, 0.1);
}

.cart-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--space-3xl) var(--space-lg);
    color: var(--color-text-muted);
}

.cart-empty-icon {
    width: 80px;
    height: 80px;
    color: var(--color-text-muted);
    margin-bottom: var(--space-lg);
    opacity: 0.5;
}

.cart-empty p {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: var(--space-sm);
}

.cart-empty span {
    font-size: 0.9rem;
    opacity: 0.7;
}

.cart-footer {
    padding: var(--space-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.02);
}

.cart-summary {
    margin-bottom: var(--space-lg);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-sm);
    font-size: 1.1rem;
    font-weight: 600;
}

.cart-total-price {
    color: var(--color-primary);
    font-size: 1.3rem;
}

.cart-savings {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: var(--color-success);
}

.cart-actions {
    display: flex;
    gap: var(--space-md);
}

.btn-cart-secondary {
    flex: 1;
    padding: var(--space-md);
    background: transparent;
    color: var(--color-text-muted);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    font-weight: 500;
    transition: all var(--transition-normal);
}

.btn-cart-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--color-error);
    color: var(--color-error);
}

.btn-cart-primary {
    flex: 2;
    padding: var(--space-md);
    background: var(--color-primary);
    color: var(--color-bg);
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-glow);
}

.btn-cart-primary:hover:not(:disabled) {
    background: var(--color-primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow-intense);
}

.btn-cart-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    z-index: var(--z-modal-backdrop);
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ===== MODALI ===== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    z-index: var(--z-modal-backdrop);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.auth-modal,
.checkout-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: var(--color-surface);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    z-index: var(--z-modal);
    max-width: 90vw;
    max-height: 90vh;
    overflow: hidden;
}

.auth-modal.active,
.checkout-modal.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.auth-modal-content,
.checkout-modal-content {
    width: 450px;
    max-height: 600px;
    overflow-y: auto;
}

.checkout-modal-content {
    width: 600px;
    max-height: 700px;
}

.auth-modal-header,
.checkout-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-lg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.auth-modal-header h2,
.checkout-modal-header h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-text);
}

.auth-modal-close,
.checkout-modal-close {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
}

.auth-modal-close:hover,
.checkout-modal-close:hover {
    background: var(--color-error);
    transform: scale(1.1);
}

.auth-modal-close svg,
.checkout-modal-close svg {
    width: 18px;
    height: 18px;
    color: var(--color-text);
}

.auth-modal-body,
.checkout-modal-body {
    padding: var(--space-lg);
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.form-group label {
    font-weight: 500;
    color: var(--color-text);
    font-size: 0.9rem;
}

.form-group input {
    padding: var(--space-md);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: var(--color-text);
    font-size: 1rem;
    transition: all var(--transition-normal);
}

.form-group input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(0, 209, 178, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.btn-auth-primary {
    padding: var(--space-md);
    background: var(--color-primary);
    color: var(--color-bg);
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-glow);
}

.btn-auth-primary:hover {
    background: var(--color-primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow-intense);
}

.auth-divider {
    text-align: center;
    margin: var(--space-lg) 0;
    position: relative;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.auth-divider span {
    background: var(--color-surface);
    padding: 0 var(--space-md);
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.btn-google-auth {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    width: 100%;
    padding: var(--space-md);
    background: #4285f4;
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 500;
    font-size: 1rem;
    transition: all var(--transition-normal);
}

.btn-google-auth:hover {
    background: #3367d6;
    transform: translateY(-2px);
}

.auth-modal-footer {
    padding: var(--space-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.auth-switch {
    background: none;
    border: none;
    color: var(--color-primary);
    text-decoration: underline;
    cursor: pointer;
    font-weight: 500;
}

.auth-switch:hover {
    color: var(--color-primary-light);
}

/* ===== CHECKOUT STEPS ===== */
.checkout-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--space-xl);
    padding: 0 var(--space-lg);
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    flex: 1;
    position: relative;
}

.step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    z-index: -1;
}

.step.active::after {
    background: var(--color-primary);
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--color-text-muted);
    transition: all var(--transition-normal);
}

.step.active .step-number {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-bg);
}

.step-title {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    text-align: center;
}

.step.active .step-title {
    color: var(--color-primary);
    font-weight: 500;
}

.checkout-step-content {
    min-height: 300px;
}

.checkout-step-content.hidden {
    display: none;
}

.payment-methods {
    margin-bottom: var(--space-lg);
}

.payment-method {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-sm);
    cursor: pointer;
    transition: all var(--transition-normal);
}

.payment-method:hover {
    background: rgba(255, 255, 255, 0.08);
}

.payment-method.active {
    border-color: var(--color-primary);
    background: rgba(0, 209, 178, 0.1);
}

.payment-method input[type="radio"] {
    margin: 0;
}

.payment-method label {
    margin: 0;
    cursor: pointer;
}

.payment-form {
    padding: var(--space-lg);
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.order-summary {
    padding: var(--space-lg);
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.order-summary h3 {
    margin-bottom: var(--space-lg);
    color: var(--color-text);
    font-weight: 600;
}

.order-items {
    margin-bottom: var(--space-lg);
}

.order-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-sm) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.order-item:last-child {
    border-bottom: none;
}

.order-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-md);
    border-top: 2px solid rgba(255, 255, 255, 0.1);
    font-weight: 600;
    font-size: 1.1rem;
}

.checkout-modal-footer {
    padding: var(--space-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-checkout-secondary {
    padding: var(--space-md) var(--space-lg);
    background: transparent;
    color: var(--color-text-muted);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    font-weight: 500;
    transition: all var(--transition-normal);
}

.btn-checkout-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--color-text);
    color: var(--color-text);
}

.btn-checkout-primary,
.btn-checkout-confirm {
    padding: var(--space-md) var(--space-lg);
    background: var(--color-primary);
    color: var(--color-bg);
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-glow);
}

.btn-checkout-primary:hover,
.btn-checkout-confirm:hover {
    background: var(--color-primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow-intense);
}

/* ===== UTILITY CLASSES ===== */
.hidden {
    display: none !important;
}

/* ===== TEMA TOGGLE ===== */
.theme-toggle {
    width: 45px;
    height: 45px;
    border-radius: var(--radius-full);
    background: var(--color-surface);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(15px);
}

.theme-toggle:hover {
    background: var(--color-surface-light);
    transform: scale(1.05);
    box-shadow: var(--shadow-glow);
}

.theme-icon {
    width: 20px;
    height: 20px;
    color: var(--color-text);
    transition: all var(--transition-normal);
}

.theme-toggle:hover .theme-icon {
    color: var(--color-primary);
}

/* ===== MOBILE MENU ===== */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    width: 30px;
    height: 30px;
    padding: 0;
    background: none;
    border: none;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 2px;
    background: var(--color-text);
    border-radius: 1px;
    transition: all var(--transition-normal);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* ===== HERO SECTION ===== */

/* ===== HERO ULTRA-MODERNO ===== */
.hero-glass {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.parallax-layer {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.bokeh-lights {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(102, 126, 234, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(118, 75, 162, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(240, 147, 251, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 90% 20%, rgba(0, 209, 178, 0.3) 0%, transparent 50%);
    animation: bokehFloat 20s ease-in-out infinite;
}

@keyframes bokehFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-20px) rotate(90deg); }
    50% { transform: translateY(0px) rotate(180deg); }
    75% { transform: translateY(20px) rotate(270deg); }
}

.aurora-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        transparent 0%, 
        rgba(102, 126, 234, 0.1) 25%, 
        rgba(118, 75, 162, 0.1) 50%, 
        rgba(240, 147, 251, 0.1) 75%, 
        transparent 100%);
    animation: auroraWave 15s ease-in-out infinite;
}

@keyframes auroraWave {
    0%, 100% { transform: translateX(-100%) skewX(-15deg); }
    50% { transform: translateX(100%) skewX(-15deg); }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1200px;
    padding: 0 var(--space-lg);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
}

.hero-text {
    text-align: left;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--space-lg);
    color: var(--color-text);
}

.title-line {
    display: block;
    opacity: 0.9;
    margin-bottom: var(--space-sm);
}

.title-accent {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
}

.title-accent::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left;
    animation: titleUnderline 2s ease-out 1s forwards;
}

@keyframes titleUnderline {
    to { transform: scaleX(1); }
}

.hero-subtitle {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--color-text-muted);
    margin-bottom: var(--space-xl);
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.5s forwards;
}

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

/* ===== STATISTICHE HERO ULTRA-MODERNE ===== */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
    opacity: 0;
    animation: fadeInUp 1s ease-out 1s forwards;
}

@media (max-width: 768px) {
    .hero-stats {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
}

.stat-item {
    text-align: center;
    padding: var(--space-md);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.stat-item:hover {
    transform: translateY(-5px);
    border-color: rgba(102, 126, 234, 0.3);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.2);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: var(--space-xs);
    text-shadow: 0 0 20px rgba(0, 209, 178, 0.5);
}

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

/* ===== PULSANTI CTA ULTRA-MODERNI ===== */
.hero-cta-group {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
    margin-bottom: var(--space-xl);
    opacity: 0;
    animation: fadeInUp 1s ease-out 1.5s forwards;
}

@media (max-width: 768px) {
    .hero-cta-group {
        flex-direction: column;
        align-items: center;
    }
}

/* Pulsante Hero principale con effetto bordo animato */
/* Animate Border */
a.btn_animate_border {
    position: relative;
    background-color: var(--accent_four_project);
    padding: 18px 40px;
    font-size: 1.1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .5);
    overflow: hidden;
    display: inline-block;
    font-family: var(--font-family-primary);
    font-weight: 600;
    cursor: pointer;
    z-index: 1;
}

a.btn_animate_border .btn-text {
    position: relative;
    z-index: 3;
    background: linear-gradient(to right, #FF8C00, #FFD700, #FF8C00);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    animation: textGradient 3s linear infinite;
}

@keyframes textGradient {
    0% {
        background-position: 0% center;
    }
    100% {
        background-position: 200% center;
    }
}

a.btn_animate_border::before {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    bottom: 2px;
    width: 50%;
    background-color: rgba(200, 200, 200, .15);
    z-index: -1;
}

a.btn_animate_border span:nth-child(1) {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, var(--accent_four_project), var(--accent_first_project));
    animation: animate1 2s linear infinite;
    animation-delay: 1s;
    z-index: 2;
}

a.btn_animate_border span:nth-child(2) {
    position: absolute;
    top: 0;
    right: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(to bottom, var(--accent_four_project), var(--accent_first_project));
    animation: animate2 2s linear infinite;
    z-index: 2;
}

a.btn_animate_border span:nth-child(3) {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to left, var(--accent_four_project), var(--accent_first_project));
    animation: animate3 2s linear infinite;
    animation-delay: 1s;
    z-index: 2;
}

a.btn_animate_border span:nth-child(4) {
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(to top, var(--accent_four_project), var(--accent_first_project));
    animation: animate4 2s linear infinite;
    z-index: 2;
}

@keyframes animate1 {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

@keyframes animate2 {
    0% {
        transform: translateY(-100%);
    }
    100% {
        transform: translateY(100%);
    }
}

@keyframes animate3 {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

@keyframes animate4 {
    0% {
        transform: translateY(100%);
    }
    100% {
        transform: translateY(-100%);
    }
}

@media (max-width: 768px) {
    a.btn_animate_border {
        padding: 16px 32px;
        font-size: 1rem;
    }
}

.glass-button.primary.ultra-modern {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 25px;
    padding: 16px 32px;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 10px 30px rgba(102, 126, 234, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
}

.glass-button.primary.ultra-modern:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 20px 40px rgba(102, 126, 234, 0.6),
        0 0 0 1px rgba(255, 255, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.glass-button.primary.ultra-modern:active {
    transform: translateY(-1px) scale(1.02);
}

.glass-button.secondary.ultra-modern {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    border: none;
    border-radius: 25px;
    padding: 16px 32px;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 10px 30px rgba(240, 147, 251, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
}

.glass-button.secondary.ultra-modern:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 20px 40px rgba(240, 147, 251, 0.6),
        0 0 0 1px rgba(255, 255, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.glass-button.accent.ultra-modern {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    border: none;
    border-radius: 25px;
    padding: 16px 32px;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 10px 30px rgba(79, 172, 254, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
}

.glass-button.accent.ultra-modern:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 20px 40px rgba(79, 172, 254, 0.6),
        0 0 0 1px rgba(255, 255, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* ===== INDICATORI DI FIDUCIA ULTRA-MODERNI ===== */
.trust-indicators {
    display: flex;
    gap: var(--space-lg);
    justify-content: flex-start;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 1s ease-out 2s forwards;
}

@media (max-width: 768px) {
    .trust-indicators {
        justify-content: center;
        gap: var(--space-md);
    }
}

.trust-item {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-md);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.trust-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 209, 178, 0.1), rgba(102, 126, 234, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.trust-item:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 209, 178, 0.3);
    box-shadow: 0 8px 25px rgba(0, 209, 178, 0.2);
}

.trust-icon {
    width: 20px;
    height: 20px;
    color: var(--color-primary);
    filter: drop-shadow(0 0 10px rgba(0, 209, 178, 0.5));
}

.trust-item span {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    font-weight: 500;
    white-space: nowrap;
}

/* ===== HERO VISUAL ULTRA-MODERNO ===== */
.hero-visual {
    position: relative;
    z-index: 2;
}

.hero-car-showcase {
    position: relative;
    width: 100%;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.car-3d-container {
    position: relative;
    width: 300px;
    height: 200px;
    perspective: 1000px;
}

.car-model {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    animation: carFloat 6s ease-in-out infinite;
}

@keyframes carFloat {
    0%, 100% { transform: translateY(0px) rotateY(0deg); }
    25% { transform: translateY(-10px) rotateY(5deg); }
    50% { transform: translateY(0px) rotateY(0deg); }
    75% { transform: translateY(10px) rotateY(-5deg); }
}

.car-body {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200px;
    height: 80px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 40px;
    transform: translate(-50%, -50%);
    box-shadow: 
        0 10px 30px rgba(102, 126, 234, 0.3),
        inset 0 2px 0 rgba(255, 255, 255, 0.2);
}

.car-wheels {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 220px;
    height: 100px;
    transform: translate(-50%, -50%);
}

.car-wheels::before,
.car-wheels::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40px;
    height: 40px;
    background: #333;
    border-radius: 50%;
    border: 3px solid #666;
    transform: translateY(-50%);
}

.car-wheels::before {
    left: 0;
}

.car-wheels::after {
    right: 0;
}

.car-lights {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200px;
    height: 80px;
    transform: translate(-50%, -50%);
}

.car-lights::before,
.car-lights::after {
    content: '';
    position: absolute;
    top: 20%;
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
    animation: carLightBlink 2s ease-in-out infinite;
}

.car-lights::before {
    left: 20px;
}

.car-lights::after {
    right: 20px;
}

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

/* ===== SCROLL INDICATOR ULTRA-MODERNO ===== */
.hero-scroll-indicator {
    position: absolute;
    bottom: var(--space-lg);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    opacity: 0;
    animation: fadeInUp 1s ease-out 2.5s forwards;
    z-index: 3;
}

.scroll-arrow {
    width: 2px;
    height: 30px;
    background: linear-gradient(to bottom, transparent, var(--color-primary), transparent);
    animation: scrollBounce 2s ease-in-out infinite;
}

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

.hero-scroll-indicator span {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.hero-glass {
    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;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.parallax-layer {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.bokeh-lights {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(0, 209, 178, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 209, 178, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(0, 209, 178, 0.06) 0%, transparent 50%);
    animation: bokeh-float 20s ease-in-out infinite;
}

.aurora-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(0, 209, 178, 0.05) 0%,
        rgba(0, 209, 178, 0.02) 50%,
        rgba(0, 209, 178, 0.05) 100%);
    filter: blur(100px);
    animation: aurora-shift 15s ease-in-out infinite;
}

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

@keyframes aurora-shift {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.1); }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    z-index: 1;
}

.hero-text {
    max-width: 500px;
}

.hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: var(--space-lg);
}

.title-line {
    display: block;
    color: var(--color-text);
    margin-bottom: var(--space-sm);
}

.title-accent {
    display: block;
    color: var(--color-primary);
    text-shadow: 0 0 30px rgba(0, 209, 178, 0.5);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    margin-bottom: var(--space-2xl);
    line-height: 1.6;
}

.hero-cta-group {
    display: flex;
    gap: var(--space-lg);
    flex-wrap: wrap;
}

.btn-primary-glass {
    position: relative;
    padding: var(--space-md) var(--space-2xl);
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    color: var(--color-bg);
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: var(--radius-full);
    overflow: hidden;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-glow);
}

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

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

.btn-primary-glass:active .btn-ripple {
    width: 300px;
    height: 300px;
}

.btn-secondary-glass {
    padding: var(--space-md) var(--space-2xl);
    background: transparent;
    color: var(--color-text);
    font-weight: 600;
    font-size: 1.1rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    transition: all var(--transition-normal);
    backdrop-filter: blur(10px);
}

.btn-secondary-glass:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-car-showcase {
    position: relative;
    width: 400px;
    height: 300px;
}

.car-3d-container {
    position: relative;
    width: 100%;
    height: 100%;
    perspective: 1000px;
}

.car-model {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotateY(15deg);
    width: 200px;
    height: 80px;
    transition: all var(--transition-slow);
}

.car-body {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2A3442, #1A2332);
    border-radius: 40px 40px 20px 20px;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.3),
        inset 0 2px 0 rgba(255, 255, 255, 0.1);
    position: relative;
}

.car-body::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 30px;
    right: 30px;
    height: 20px;
    background: linear-gradient(90deg, transparent, rgba(0, 209, 178, 0.3), transparent);
    border-radius: 10px;
}

.car-wheels {
    position: absolute;
    bottom: -10px;
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.car-wheels::before,
.car-wheels::after {
    content: '';
    width: 30px;
    height: 30px;
    background: #1A2332;
    border-radius: 50%;
    border: 3px solid var(--color-primary);
    box-shadow: 0 0 10px rgba(0, 209, 178, 0.5);
}

.car-lights {
    position: absolute;
    top: 15px;
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.car-lights::before,
.car-lights::after {
    content: '';
    width: 15px;
    height: 15px;
    background: var(--color-primary);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(0, 209, 178, 0.8);
    animation: light-pulse 2s ease-in-out infinite;
}

@keyframes light-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

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

.scroll-arrow {
    width: 20px;
    height: 20px;
    border: 2px solid var(--color-text-muted);
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
}

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

/* ===== SEZIONI CONTENUTO ===== */
.section-novita,
.section-categorie,
.section-brands {
    padding: var(--space-3xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.section-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: var(--space-md);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== GRIGLIA AUTO ===== */
.cars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-xl);
    margin-bottom: var(--space-2xl);
}

.car-card {
    position: relative;
    background: var(--color-surface);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all var(--transition-normal);
    transform-style: preserve-3d;
}

.car-card:hover {
    transform: translateY(-10px) rotateX(5deg) rotateY(5deg);
    box-shadow: var(--shadow-glow-intense);
}

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

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

.car-card:hover .car-image {
    transform: scale(1.1);
}

.car-badge {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    padding: var(--space-xs) var(--space-sm);
    background: var(--color-primary);
    color: var(--color-bg);
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.car-favorite {
    position: absolute;
    top: var(--space-md);
    left: var(--space-md);
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-normal);
    backdrop-filter: blur(10px);
}

.car-favorite:hover {
    background: var(--color-accent);
    transform: scale(1.1);
}

.car-favorite svg {
    width: 20px;
    height: 20px;
    color: white;
    transition: all var(--transition-normal);
}

.car-favorite.active svg {
    color: var(--color-accent);
    animation: heart-beat 0.6s ease-in-out;
}

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

.car-content {
    padding: var(--space-lg);
}

.car-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: var(--space-sm);
}

.car-specs {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.car-spec {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.car-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--space-lg);
}

.car-actions {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.btn-details {
    flex: 1;
    padding: var(--space-sm) var(--space-md);
    background: transparent;
    color: var(--color-text);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    font-weight: 500;
    transition: all var(--transition-normal);
}

.btn-details:hover {
    background: var(--color-primary);
    color: var(--color-bg);
    border-color: var(--color-primary);
}

.btn-compare {
    padding: var(--space-sm) var(--space-md);
    background: var(--color-surface-light);
    color: var(--color-text);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    font-weight: 500;
    transition: all var(--transition-normal);
}

.btn-compare:hover {
    background: var(--color-primary);
    color: var(--color-bg);
}

.btn-add-to-cart {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-md);
    background: var(--color-primary);
    color: var(--color-bg);
    border: none;
    border-radius: var(--radius-md);
    font-weight: 500;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-glow);
}

.btn-add-to-cart:hover {
    background: var(--color-primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow-intense);
}

.cart-icon-small {
    width: 16px;
    height: 16px;
}

/* ===== CATEGORIE PILLS ===== */
.category-pills {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
    margin-bottom: var(--space-2xl);
}

.glass-pill {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-lg);
    background: var(--color-surface);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-normal);
    font-weight: 500;
}

.glass-pill:hover {
    background: var(--color-surface-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.glass-pill.active {
    background: var(--color-primary);
    color: var(--color-bg);
    box-shadow: var(--shadow-glow);
}

.pill-icon {
    font-size: 1.2rem;
}

/* ===== BANNER TEST DRIVE ===== */
.banner-test-drive {
    padding: var(--space-3xl) 0;
    background: linear-gradient(135deg, 
        rgba(0, 209, 178, 0.1) 0%,
        rgba(0, 209, 178, 0.05) 100%);
}

.banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-2xl);
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.banner-text h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: var(--space-md);
}

.banner-text p {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    max-width: 500px;
}

.btn-cta-large {
    position: relative;
    padding: var(--space-lg) var(--space-2xl);
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    color: var(--color-bg);
    font-weight: 600;
    font-size: 1.2rem;
    border-radius: var(--radius-full);
    overflow: hidden;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-glow);
}

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

.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left var(--transition-slow);
}

.btn-cta-large:hover .btn-shine {
    left: 100%;
}

/* ===== BRANDS SECTION ===== */
.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--space-xl);
    max-width: 800px;
    margin: 0 auto;
}

.brand-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    transition: all var(--transition-normal);
}

.brand-logo:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

.brand-logo img {
    max-width: 80px;
    max-height: 60px;
    filter: grayscale(100%) brightness(0.7);
    transition: all var(--transition-normal);
}

.brand-logo:hover img {
    filter: grayscale(0%) brightness(1);
}

/* ===== FOOTER ===== */
.footer-glass {
    background: var(--color-bg-light);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: var(--space-3xl) 0 var(--space-xl);
    margin-top: var(--space-3xl);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

.footer-section h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: var(--space-md);
}

.footer-section p,
.footer-section li {
    color: var(--color-text-muted);
    margin-bottom: var(--space-sm);
    line-height: 1.6;
}

.footer-section ul li {
    margin-bottom: var(--space-sm);
}

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

.social-links {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-md);
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--color-surface);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
}

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

.social-link svg {
    width: 20px;
    height: 20px;
    color: var(--color-text);
}

.social-link:hover svg {
    color: var(--color-bg);
}

.newsletter-form {
    display: flex;
    gap: var(--space-sm);
    margin-top: var(--space-md);
}

.newsletter-form input {
    flex: 1;
    padding: var(--space-sm) var(--space-md);
    background: var(--color-surface);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: var(--color-text);
}

.newsletter-form button {
    padding: var(--space-sm) var(--space-md);
    background: var(--color-primary);
    color: var(--color-bg);
    border-radius: var(--radius-md);
    font-weight: 500;
    transition: all var(--transition-normal);
}

.newsletter-form button:hover {
    background: var(--color-primary-light);
    transform: translateY(-2px);
}

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

.footer-links {
    display: flex;
    gap: var(--space-lg);
}

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

/* ===== COOKIE BANNER ===== */
.cookie-banner {
    position: fixed;
    bottom: var(--space-lg);
    left: var(--space-lg);
    right: var(--space-lg);
    max-width: 500px;
    z-index: var(--z-toast);
    padding: var(--space-lg);
    border-radius: var(--radius-xl);
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
}

.cookie-content p {
    color: var(--color-text);
    font-size: 0.9rem;
    line-height: 1.5;
}

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

.btn-accept {
    padding: var(--space-sm) var(--space-md);
    background: var(--color-primary);
    color: var(--color-bg);
    border-radius: var(--radius-md);
    font-weight: 500;
    white-space: nowrap;
    transition: all var(--transition-normal);
}

.btn-accept:hover {
    background: var(--color-primary-light);
    transform: translateY(-2px);
}

/* ===== TOAST NOTIFICATIONS ===== */
.toast-container {
    position: fixed;
    top: 100px;
    right: var(--space-lg);
    z-index: var(--z-toast);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.toast {
    background: var(--color-surface);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--space-md) var(--space-lg);
    color: var(--color-text);
    box-shadow: var(--shadow-lg);
    transform: translateX(100%);
    transition: all var(--transition-normal);
    max-width: 350px;
}

.toast.show {
    transform: translateX(0);
}

.toast.success {
    border-left: 4px solid var(--color-success);
}

.toast.error {
    border-left: 4px solid var(--color-error);
}

.toast.warning {
    border-left: 4px solid var(--color-warning);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--space-2xl);
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-car-showcase {
        width: 300px;
        height: 200px;
    }
    
    .car-model {
        width: 150px;
        height: 60px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-cta-group {
        flex-direction: column;
        align-items: center;
    }
    
    .banner-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }
    
    .cookie-banner {
        left: var(--space-sm);
        right: var(--space-sm);
        bottom: var(--space-sm);
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-sm);
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cars-grid {
        grid-template-columns: 1fr;
    }
    
    .category-pills {
        gap: var(--space-sm);
    }
    
    .glass-pill {
        padding: var(--space-xs) var(--space-md);
        font-size: 0.9rem;
    }
}

/* ===== RESPONSIVE DESIGN PER CARRRELLO E MODALI ===== */
@media (max-width: 768px) {
    .cart-sidebar {
        width: 100%;
        right: -100%;
    }
    
    .auth-modal-content,
    .checkout-modal-content {
        width: 95vw;
        margin: var(--space-sm);
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .checkout-steps {
        flex-direction: column;
        gap: var(--space-md);
    }
    
    .step::after {
        display: none;
    }
    
    .nav-actions {
        gap: var(--space-sm);
    }
    
    .auth-buttons {
        flex-direction: column;
        gap: var(--space-xs);
    }
    
    .btn-login,
    .btn-register {
        font-size: 0.8rem;
        padding: var(--space-xs) var(--space-sm);
    }
}

/* ===== SEZIONE FILTRI AVANZATI ===== */
.advanced-filters {
    background: var(--color-surface);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 3rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.filter-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.filter-group {
    display: flex;
    flex-direction: column;
}

.filter-group label {
    color: var(--color-text);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.filter-select {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    color: var(--color-text);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.filter-select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(0, 209, 178, 0.1);
}

.filter-select option {
    background: var(--color-bg);
    color: var(--color-text);
}

.filter-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn-filter-primary,
.btn-filter-secondary {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-filter-primary {
    background: var(--color-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 209, 178, 0.3);
}

.btn-filter-primary:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 209, 178, 0.4);
}

.btn-filter-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-text);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

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

/* ===== SEZIONE FINANZIAMENTO ===== */
.section-financing {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(0, 209, 178, 0.05) 0%, rgba(102, 126, 234, 0.05) 100%);
}

.financing-calculator {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
}

.calculator-form {
    background: var(--color-surface);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.calculator-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.calculator-form .form-group {
    display: flex;
    flex-direction: column;
}

.calculator-form label {
    color: var(--color-text);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 1rem;
    color: var(--color-primary);
    font-weight: 600;
    font-size: 1.1rem;
}

.input-with-icon input {
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    color: var(--color-text);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.input-with-icon input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(0, 209, 178, 0.1);
}

.form-select {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    color: var(--color-text);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(0, 209, 178, 0.1);
}

.btn-calculate {
    width: 100%;
    background: var(--color-primary);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(0, 209, 178, 0.3);
}

.btn-calculate:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 209, 178, 0.4);
}

.calculator-results {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.result-card {
    background: var(--color-surface);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.result-card h3 {
    color: var(--color-text);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.result-amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
    text-shadow: 0 0 20px rgba(0, 209, 178, 0.3);
}

.result-card p {
    color: var(--color-text);
    opacity: 0.7;
    font-size: 0.95rem;
}

.result-details {
    background: var(--color-surface);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-item span:first-child {
    color: var(--color-text);
    opacity: 0.7;
}

.detail-item span:last-child {
    color: var(--color-text);
    font-weight: 600;
    font-size: 1.1rem;
}

/* ===== SEZIONE CONFRONTO AUTO ===== */
.section-compare {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.05) 0%, rgba(102, 126, 234, 0.05) 100%);
}

.compare-container {
    max-width: 1400px;
    margin: 0 auto;
}

.compare-cars {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.compare-card {
    background: var(--color-surface);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.compare-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.compare-card-header {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.compare-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.compare-remove-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 107, 107, 0.9);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
}

.compare-remove-btn:hover {
    background: rgba(255, 107, 107, 1);
    transform: scale(1.1);
}

.compare-remove-btn svg {
    width: 18px;
    height: 18px;
}

.compare-card-content {
    padding: 1.5rem;
}

.compare-card-title {
    color: var(--color-text);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.compare-card-specs {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.spec-item:last-child {
    border-bottom: none;
}

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

.spec-value {
    color: var(--color-text);
    font-weight: 600;
    font-size: 0.95rem;
}

.compare-actions {
    display: flex;
    justify-content: center;
}

.btn-compare-clear {
    background: rgba(255, 107, 107, 0.1);
    color: var(--color-accent);
    border: 1px solid rgba(255, 107, 107, 0.3);
    border-radius: 12px;
    padding: 1rem 2rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-compare-clear:hover {
    background: rgba(255, 107, 107, 0.2);
    transform: translateY(-2px);
}

/* ===== STATO NESSUN RISULTATO ===== */
.no-results {
    text-align: center;
    padding: 4rem 2rem;
    grid-column: 1 / -1;
}

.no-results-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.no-results h3 {
    color: var(--color-text);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.no-results p {
    color: var(--color-text);
    opacity: 0.6;
    font-size: 1rem;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .filter-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .filter-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .financing-calculator {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .calculator-form .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .compare-cars {
        grid-template-columns: 1fr;
    }
}

/* ===== PULSANTI HEADER ===== */
.cart-container,
.notifications-btn,
.compare-btn,
.theme-toggle {
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.cart-container:hover,
.notifications-btn:hover,
.compare-btn:hover,
.theme-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cart-icon,
.notifications-icon,
.compare-icon,
.theme-icon {
    width: 24px;
    height: 24px;
    fill: var(--color-text);
    transition: all 0.3s ease;
}

.cart-count,
.notifications-badge,
.compare-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--color-primary);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 209, 178, 0.3);
}

.compare-count {
    background: var(--color-accent);
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.3);
}

/* ===== NAVIGAZIONE INTERATTIVA ===== */
.nav-link-3d {
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.nav-link-3d::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 209, 178, 0.2), transparent);
    transition: left 0.5s ease;
}

.nav-link-3d:hover::before {
    left: 100%;
}

/* Animazioni per particelle fluttuanti */
@keyframes float-particle {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
    50% {
        transform: translateY(-20px) scale(1.2);
        opacity: 0.7;
    }
}

/* Animazione ripple */
@keyframes ripple-animation {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    100% {
        transform: scale(4);
        opacity: 0;
    }
}

/* Menu mobile responsive */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(11, 18, 32, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: var(--space-lg);
        gap: var(--space-md);
        transform: translateY(-100%);
        transition: transform 0.3s ease;
        z-index: 9998;
    }

    .nav-menu.mobile-open {
        transform: translateY(0);
    }

    .mobile-menu-toggle {
        display: block;
    }

    .nav-link {
        width: 100%;
        text-align: center;
        padding: var(--space-md);
        border-radius: var(--radius-lg);
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-link:hover {
        background: rgba(0, 209, 178, 0.1);
        border-color: var(--color-primary);
    }
}

@media (min-width: 769px) {
    .mobile-menu-toggle {
        display: none;
    }
}

/* Effetti hover avanzati per desktop */
@media (min-width: 769px) {
    .nav-link:hover {
        transform: translateY(-3px) scale(1.05);
        box-shadow: 0 8px 25px rgba(0, 209, 178, 0.4);
        text-shadow: 0 0 20px rgba(0, 209, 178, 0.8);
    }

    .nav-link.active {
        background: linear-gradient(135deg, rgba(0, 209, 178, 0.1), rgba(0, 209, 178, 0.05));
        border: 1px solid rgba(0, 209, 178, 0.3);
        box-shadow: 0 4px 20px rgba(0, 209, 178, 0.2);
    }
}

/* ===== PAGINE SPECIFICHE ===== */

/* === CATALOGO === */
.hero-catalog {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    padding: 120px 0 80px;
    text-align: center;
    color: white;
}

.filters-section {
    padding: 60px 0;
    background: rgba(255, 255, 255, 0.02);
}

.cars-grid-section {
    padding: 80px 0;
}

/* === CHI SIAMO === */
.hero-about {
    background: linear-gradient(135deg, var(--color-secondary), var(--color-primary));
    padding: 120px 0 80px;
    text-align: center;
    color: white;
}

.about-section {
    padding: 80px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.about-content h2 {
    margin-bottom: var(--space-lg);
    color: var(--color-text);
}

.about-text {
    margin-bottom: var(--space-md);
    line-height: 1.6;
    color: var(--color-text-muted);
}

.about-image-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.about-image {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.about-image:hover {
    transform: scale(1.05);
}

.values-section {
    padding: 80px 0;
    background: rgba(255, 255, 255, 0.02);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.value-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    text-align: center;
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: var(--color-primary);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: var(--space-md);
}

.value-card h3 {
    color: var(--color-text);
    margin-bottom: var(--space-sm);
}

.value-card p {
    color: var(--color-text-muted);
    line-height: 1.6;
}

.team-section {
    padding: 80px 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
    margin-top: var(--space-xl);
}

.team-member {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    text-align: center;
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.member-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto var(--space-md);
    border: 3px solid var(--color-primary);
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member h3 {
    color: var(--color-text);
    margin-bottom: var(--space-xs);
}

.member-role {
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

.member-desc {
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* === FINANZIAMENTO === */
.hero-financing {
    background: linear-gradient(135deg, var(--color-accent), var(--color-primary));
    padding: 120px 0 80px;
    text-align: center;
    color: white;
}

.calculator-section {
    padding: 80px 0;
}

.calculator-container {
    max-width: 800px;
    margin: 0 auto;
}

.calculator-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    margin-top: var(--space-xl);
}

.calculator-form {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
}

.form-group {
    margin-bottom: var(--space-md);
}

.form-group label {
    display: block;
    margin-bottom: var(--space-xs);
    color: var(--color-text);
    font-weight: 500;
}

.form-input,
.form-select {
    width: 100%;
    padding: var(--space-sm);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-text);
    transition: all 0.3s ease;
}

.form-input:focus,
.form-select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(0, 209, 178, 0.1);
}

.calculator-results {
    background: rgba(0, 209, 178, 0.1);
    border: 1px solid var(--color-primary);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
}

.calculator-results h3 {
    color: var(--color-primary);
    margin-bottom: var(--space-lg);
    text-align: center;
}

.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-sm) 0;
    border-bottom: 1px solid rgba(0, 209, 178, 0.2);
}

.result-item:last-child {
    border-bottom: none;
}

.result-label {
    color: var(--color-text-muted);
}

.result-value {
    color: var(--color-primary);
    font-weight: 700;
    font-size: 1.1rem;
}

.solutions-section {
    padding: 80px 0;
    background: rgba(255, 255, 255, 0.02);
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
    margin-top: var(--space-xl);
}

.solution-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    transition: all 0.3s ease;
}

.solution-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: var(--color-primary);
}

.solution-icon {
    font-size: 3rem;
    margin-bottom: var(--space-md);
}

.solution-card h3 {
    color: var(--color-text);
    margin-bottom: var(--space-sm);
}

.solution-card p {
    color: var(--color-text-muted);
    margin-bottom: var(--space-md);
    line-height: 1.6;
}

.solution-card ul {
    list-style: none;
    padding: 0;
}

.solution-card li {
    color: var(--color-text-muted);
    padding: var(--space-xs) 0;
    position: relative;
    padding-left: var(--space-md);
}

.solution-card li::before {
    content: '✓';
    color: var(--color-primary);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.quote-section {
    padding: 80px 0;
}

.quote-container {
    max-width: 600px;
    margin: 0 auto;
}

.quote-form {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    margin-top: var(--space-xl);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

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

/* === CONTATTI === */
.hero-contact {
    background: linear-gradient(135deg, var(--color-secondary), var(--color-accent));
    padding: 120px 0 80px;
    text-align: center;
    color: white;
}

.contact-info-section {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.contact-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    text-align: center;
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: var(--color-primary);
}

.contact-icon {
    font-size: 3rem;
    margin-bottom: var(--space-md);
}

.contact-card h3 {
    color: var(--color-text);
    margin-bottom: var(--space-sm);
}

.contact-card p {
    color: var(--color-text-muted);
    margin-bottom: var(--space-xs);
}

.contact-time {
    color: var(--color-primary);
    font-size: 0.9rem;
}

.contact-form-section {
    padding: 80px 0;
    background: rgba(255, 255, 255, 0.02);
}

.contact-form-container {
    max-width: 800px;
    margin: 0 auto;
}

.contact-form {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    margin-top: var(--space-xl);
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    color: var(--color-text-muted);
}

.checkbox-label input[type="checkbox"] {
    margin-right: var(--space-sm);
}

.privacy-link {
    color: var(--color-primary);
    text-decoration: none;
}

.privacy-link:hover {
    text-decoration: underline;
}

.map-section {
    padding: 80px 0;
}

.map-container {
    max-width: 800px;
    margin: 0 auto;
}

.map-placeholder {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    text-align: center;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-icon {
    font-size: 4rem;
    margin-bottom: var(--space-md);
}

.map-content h3 {
    color: var(--color-text);
    margin-bottom: var(--space-sm);
}

.map-content p {
    color: var(--color-text-muted);
    margin-bottom: var(--space-xs);
}

.faq-section {
    padding: 80px 0;
    background: rgba(255, 255, 255, 0.02);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-md);
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-lg);
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.05);
}

.faq-question h3 {
    color: var(--color-text);
    margin: 0;
    font-size: 1.1rem;
}

.faq-toggle {
    color: var(--color-primary);
    font-size: 1.5rem;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 var(--space-lg);
}

.faq-answer p {
    color: var(--color-text-muted);
    line-height: 1.6;
    padding-bottom: var(--space-lg);
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-grid,
    .calculator-grid,
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .values-grid,
    .team-grid,
    .solutions-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-catalog,
    .hero-about,
    .hero-financing,
    .hero-contact {
        padding: 100px 0 60px;
    }
    
    .about-section,
    .values-section,
    .team-section,
    .calculator-section,
    .solutions-section,
    .quote-section,
    .contact-info-section,
    .contact-form-section,
    .map-section,
    .faq-section {
        padding: 60px 0;
    }
}

.glass-button.warning {
    background: linear-gradient(135deg, #ffc107, #ff9800);
    color: #212529;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.glass-button.warning:hover {
    background: linear-gradient(135deg, #ff9800, #f57c00);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.4);
}

/* ===== MODALI PROFILO DINAMICI ===== */

/* Modale Profilo Utente */
.profile-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.profile-modal.show {
    opacity: 1;
    visibility: visible;
}

.profile-modal-content {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 0;
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    transform: scale(0.9) translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.profile-modal.show .profile-modal-content {
    transform: scale(1) translateY(0);
}

.profile-modal-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 20px 30px;
    border-radius: 20px 20px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 10;
}

.profile-modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.profile-modal-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.profile-modal-body {
    padding: 30px;
}

.profile-section {
    margin-bottom: 40px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.profile-section h3 {
    margin: 0 0 20px 0;
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.profile-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.form-group label {
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.9rem;
}

.form-group input,
.form-group select {
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-color);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

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

.btn-profile-save {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.btn-profile-save:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 123, 255, 0.3);
}

/* Preferenze */
.profile-preferences {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.preference-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.preference-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    color: var(--text-color);
    font-size: 1rem;
}

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

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid var(--primary-color);
    border-radius: 4px;
    position: relative;
    transition: all 0.3s ease;
}

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

.preference-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 14px;
    font-weight: bold;
}

/* Sicurezza */
.profile-security {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.security-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.security-label {
    color: var(--text-color);
    font-weight: 500;
}

.btn-change-password,
.btn-toggle-2fa,
.btn-logout-all {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-color);
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.btn-change-password:hover,
.btn-toggle-2fa:hover,
.btn-logout-all:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

/* Attività Recenti */
.profile-activity {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.activity-icon {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.activity-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.activity-text {
    color: var(--text-color);
    font-weight: 500;
}

.activity-time {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

/* Modale Password */
.password-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.password-modal-content {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 0;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.password-modal-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 20px 30px;
    border-radius: 20px 20px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.password-modal-header h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
}

.password-modal-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.password-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.password-modal-body {
    padding: 30px;
}

.password-strength {
    margin: 20px 0;
}

.strength-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
}

.strength-fill {
    height: 100%;
    background: linear-gradient(90deg, #ff4444, #ffaa00, #44ff44);
    width: 0%;
    transition: width 0.3s ease;
}

.strength-text {
    color: var(--text-color);
    font-size: 0.9rem;
}

.btn-change-password-confirm {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 20px;
}

.btn-change-password-confirm:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 123, 255, 0.3);
}

/* Modale Impostazioni */
.settings-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.settings-modal-content {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 0;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.settings-modal-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 20px 30px;
    border-radius: 20px 20px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 10;
}

.settings-modal-header h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
}

.settings-modal-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.settings-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.settings-modal-body {
    padding: 30px;
}

.settings-section {
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.settings-section h4 {
    margin: 0 0 15px 0;
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 600;
}

.setting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.setting-item:last-child {
    border-bottom: none;
}

.setting-item label {
    color: var(--text-color);
    font-weight: 500;
}

.setting-item select {
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-color);
    font-size: 0.9rem;
}

.setting-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
}

.btn-save-settings {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 20px;
}

.btn-save-settings:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 123, 255, 0.3);
}

/* Notifiche Toast */
.toast-notification {
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .profile-modal-content,
    .password-modal-content,
    .settings-modal-content {
        width: 95%;
        margin: 20px;
    }
    
    .profile-modal-body,
    .password-modal-body,
    .settings-modal-body {
        padding: 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .profile-section {
        padding: 20px;
        margin-bottom: 25px;
    }
    
    .security-item {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
}
