/* Discover Page Styles - Light Theme to Match CarsiFly */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body.discover-page {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #f5f5f7;
    min-height: 100vh;
    overflow-x: hidden;
    color: #1d1d1f;
}

/* Navigation - Match site style */
.nav {
    background: white;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
    margin-bottom: 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 700;
    color: #667eea;
    text-decoration: none;
}

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

.nav-links a {
    color: #1d1d1f;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: #667eea;
}

.nav-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
    font-size: 18px;
    transition: transform 0.2s;
}

.nav-links a:hover .nav-icon {
    transform: scale(1.15);
}

/* Unified Hero Section */
.hero-section {
    background: linear-gradient(180deg, white 0%, #f5f5f7 100%);
    padding: 40px 20px;
    border-bottom: 1px solid #e8e8e8;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.hero-content h1 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 12px;
    color: #1d1d1f;
    letter-spacing: -0.02em;
}

.hero-content p {
    font-size: 16px;
    color: #6e6e73;
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Inline Price Selector */
.price-selector-inline {
    background: white;
    border: 2px solid #e8e8e8;
    border-radius: 16px;
    padding: 20px 24px;
    margin: 0 auto 24px;
    max-width: 700px;
}

.price-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 16px;
}

.price-icon {
    font-size: 20px;
}

.price-title {
    font-size: 16px;
    font-weight: 700;
    color: #1d1d1f;
}

.selection-count {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 20px;
    background: white;
    border: 2px solid #e8e8e8;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    color: #1d1d1f;
    transition: all 0.3s;
}

.selection-count .count {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 18px;
    font-weight: 700;
    transition: transform 0.3s;
}

.selection-count .count.pulse {
    animation: countPulse 0.5s ease-out;
}

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

.price-display-row {
    text-align: center;
    margin-bottom: 20px;
}

.price-value {
    font-size: 24px;
    font-weight: 700;
    color: #667eea;
}

.price-slider-wrapper {
    position: relative;
    height: 40px; /* Increased to accommodate thumb */
    margin: 0 20px 24px;
    display: flex;
    align-items: center;
}

.price-track {
    position: absolute;
    width: 100%;
    height: 8px;
    background: #e8e8e8;
    border-radius: 4px;
    top: 50%;
    transform: translateY(-50%);
}

.price-fill {
    position: absolute;
    height: 8px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-radius: 4px;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    width: 100%;
    transition: left 0.15s ease, width 0.15s ease;
    pointer-events: none;
}

.price-range-input {
    position: absolute;
    width: 100%;
    height: 40px;
    top: 0;
    left: 0;
    margin: 0;
    padding: 0;
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    cursor: pointer;
    pointer-events: none;
}

.price-range-input.min-slider {
    z-index: 3;
}

.price-range-input.max-slider {
    z-index: 4;
}

/* Remove default track styling */
.price-range-input::-webkit-slider-track {
    background: transparent;
    border: none;
    height: 8px;
}

.price-range-input::-moz-range-track {
    background: transparent;
    border: none;
    height: 8px;
}

.price-range-input::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    background: white;
    border: 3px solid #667eea;
    border-radius: 50%;
    cursor: grab;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
    transition: all 0.2s;
    margin-top: 0;
    pointer-events: all; /* Make thumbs clickable */
}

.price-range-input::-webkit-slider-thumb:hover {
    transform: scale(1.15);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.5);
}

.price-range-input::-webkit-slider-thumb:active {
    cursor: grabbing;
    transform: scale(1.1);
}

.price-range-input::-moz-range-thumb {
    width: 24px;
    height: 24px;
    background: white;
    border: 3px solid #667eea;
    border-radius: 50%;
    cursor: grab;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
    transition: all 0.2s;
    border: none;
    pointer-events: all; /* Make thumbs clickable */
}

.price-range-input::-moz-range-thumb:hover {
    transform: scale(1.15);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.5);
}

.price-presets {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 16px;
}

.preset-btn {
    padding: 6px 14px;
    border: 1px solid #e8e8e8;
    border-radius: 16px;
    background: white;
    cursor: pointer;
    font-weight: 600;
    font-size: 12px;
    color: #1d1d1f;
    transition: all 0.2s;
    white-space: nowrap;
}

.preset-btn span {
    display: none; /* Hide detailed price to save space */
}

.preset-btn:hover {
    border-color: #667eea;
    background: rgba(102, 126, 234, 0.05);
    transform: translateY(-1px);
}

.preset-btn.active {
    border-color: #667eea;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.preset-btn.active span {
    color: rgba(255, 255, 255, 0.9);
}

/* Nebula Criteria Cloud Section */
.nebula-section {
    background: #f5f5f7;
    padding: 40px 20px 60px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.nebula-title {
    text-align: center;
    font-size: 48px;
    font-weight: 900;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.nebula-subtitle {
    text-align: center;
    font-size: 18px;
    color: #6e6e73;
    margin-bottom: 40px;
    font-weight: 500;
}

.nebula-sphere-container {
    position: relative;
    width: 95vw;
    max-width: 1800px;
    height: calc(100vh - 200px);
    min-height: 700px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.nebula-sphere {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Bubbles will use JavaScript physics simulation */

.criterion {
    position: absolute;
    left: 0;
    top: 0;
    padding: 12px 20px;
    border-radius: 50px;
    cursor: pointer;
    transition: border-color 0.3s,
                background 0.3s,
                box-shadow 0.3s;
    backdrop-filter: blur(4px);
    border: 2px solid #e8e8e8;
    background: white;
    font-weight: 600;
    user-select: none;
    color: #1d1d1f;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    white-space: nowrap;
}

/* No CSS animations - using JavaScript physics simulation for bouncing */

/* Core size - Largest, at front */
.criterion.core {
    font-size: 16px;
    padding: 14px 24px;
    border-width: 2px;
    font-weight: 700;
}

/* Important size - Medium */
.criterion.important {
    font-size: 14px;
    padding: 12px 20px;
}

/* Lifestyle size - Small */
.criterion.lifestyle {
    font-size: 13px;
    padding: 10px 16px;
}

/* Niche size - Smallest, furthest */
.criterion.niche {
    font-size: 12px;
    padding: 9px 14px;
}

.criterion:hover {
    border-color: #667eea !important;
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.3) !important;
    z-index: 100 !important;
    opacity: 1 !important;
}

.criterion.selected {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    border-color: #667eea !important;
    color: white !important;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5) !important;
    opacity: 1 !important;
    z-index: 50 !important;
}

.criterion.selected:hover {
    box-shadow: 0 10px 28px rgba(102, 126, 234, 0.6) !important;
}

.criterion-icon {
    display: inline-block;
    margin-right: 8px;
    font-size: 1.2em;
}

/* Central Discover Button (in nebula center) */
.btn-discover-central {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 60px;
    padding: 24px 40px;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 12px 32px rgba(102, 126, 234, 0.5);
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 2000;
    transition: all 0.3s;
    animation: pulse 3s ease-in-out infinite;
    min-width: 250px;
    justify-content: center;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 12px 32px rgba(102, 126, 234, 0.5);
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        box-shadow: 0 16px 48px rgba(102, 126, 234, 0.7);
        transform: translate(-50%, -50%) scale(1.05);
    }
}

.btn-discover-central:hover {
    transform: translate(-50%, -50%) scale(1.08);
    box-shadow: 0 16px 48px rgba(102, 126, 234, 0.7);
}

.btn-discover-central:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: translate(-50%, -50%) scale(1);
    background: #cbd5e1;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    animation: none;
}

.btn-discover-central.loading {
    pointer-events: none;
    animation: none;
}

.btn-spinner {
    width: 24px;
    height: 24px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

.btn-icon {
    font-size: 28px;
}

.btn-text {
    font-size: 20px;
}

.btn-count {
    background: white;
    color: #667eea;
    padding: 6px 14px;
    border-radius: 24px;
    font-size: 18px;
    font-weight: 700;
    min-width: 36px;
    text-align: center;
}

/* Results Section */
.results-section {
    display: none;
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px 120px;
}

.results-section.active {
    display: block;
    animation: fadeIn 0.5s ease-out;
}

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

.results-header {
    text-align: center;
    margin-bottom: 60px;
    padding-top: 20px;
}

.results-header h2 {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 12px;
    color: #1d1d1f;
}

.results-header p {
    color: #6e6e73;
    font-size: 18px;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px 240px;
    align-items: flex-start;
    position: relative;
}


.car-card {
    background: white;
    border: 3px solid #e8e8e8;
    border-radius: 24px;
    overflow: visible;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    animation: slideUp 0.6s ease-out backwards;
}

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

/* 1st Place - WINNER! (Center position) */
.car-card:nth-child(1) {
    order: 2;
    border: 4px solid #FFD700;
    box-shadow: 0 20px 60px rgba(255, 215, 0, 0.4), 0 0 0 10px rgba(255, 215, 0, 0.15);
    animation-delay: 0.2s;
    position: relative;
    transform: scale(1.1);
    z-index: 3;
}

/* Podium block for 1st place */
.car-card:nth-child(1)::after {
    content: '🥇';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(180deg, #FFD700 0%, #FFA500 100%);
    border-radius: 24px 24px 24px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.3);
    z-index: -1;
}

.car-card:nth-child(1):hover {
    transform: scale(1.12) translateY(-8px);
    box-shadow: 0 24px 72px rgba(255, 215, 0, 0.5), 0 0 0 15px rgba(255, 215, 0, 0.2);
}

/* 2nd Place - Runner-Up (Left position) */
.car-card:nth-child(2) {
    order: 1;
    border: 3px solid #C0C0C0;
    box-shadow: 0 12px 32px rgba(192, 192, 192, 0.3);
    animation-delay: 0.1s;
    position: relative;
    z-index: 2;
}

/* Podium block for 2nd place */
.car-card:nth-child(2)::after {
    content: '🥈';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(180deg, #E8E8E8 0%, #C0C0C0 100%);
    border-radius: 24px 24px 24px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    box-shadow: 0 4px 20px rgba(192, 192, 192, 0.3);
    z-index: -1;
}

.car-card:nth-child(2):hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(192, 192, 192, 0.4);
}

/* 3rd Place (Right position) */
.car-card:nth-child(3) {
    order: 3;
    border: 3px solid #CD7F32;
    box-shadow: 0 8px 24px rgba(205, 127, 50, 0.3);
    animation-delay: 0.3s;
    position: relative;
    z-index: 1;
}

/* Podium block for 3rd place */
.car-card:nth-child(3)::after {
    content: '🥉';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 50px;
    background: linear-gradient(180deg, #CD7F32 0%, #8B4513 100%);
    border-radius: 24px 24px 24px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 4px 20px rgba(205, 127, 50, 0.3);
    z-index: -1;
}

.car-card:nth-child(3):hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(205, 127, 50, 0.4);
}

.car-rank {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 12px 20px;
    border-radius: 30px;
    font-weight: 800;
    font-size: 16px;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* 1st Place Badge */
.car-card:nth-child(1) .car-rank {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #1d1d1f;
    font-size: 20px;
    padding: 14px 24px;
}

/* 2nd Place Badge */
.car-card:nth-child(2) .car-rank {
    background: linear-gradient(135deg, #E8E8E8 0%, #C0C0C0 100%);
    color: #1d1d1f;
    font-size: 18px;
}

/* 3rd Place Badge */
.car-card:nth-child(3) .car-rank {
    background: linear-gradient(135deg, #CD7F32 0%, #8B4513 100%);
    color: white;
    font-size: 16px;
}

.car-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    background: #f5f5f7;
    border-radius: 24px 24px 0 0;
}

.car-image-placeholder {
    width: 100%;
    height: 180px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border-radius: 24px 24px 0 0;
    position: relative;
    z-index: 1;
}

.placeholder-icon {
    font-size: 48px;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.placeholder-text {
    font-size: 20px;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.car-content {
    padding: 20px;
}

.car-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #1d1d1f;
}

.car-reason {
    font-size: 14px;
    line-height: 1.6;
    color: #6e6e73;
    margin-bottom: 20px;
}

.car-specs {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #1d1d1f;
    padding: 8px 12px;
    background: #f5f5f7;
    border-radius: 8px;
}

.spec-icon {
    font-size: 16px;
}

.car-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.car-action {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

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

.car-action.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(102, 126, 234, 0.4);
}

.car-action.secondary {
    background: #f5f5f7;
    color: #1d1d1f;
}

.car-action.secondary:hover {
    background: #e8e8e8;
    transform: translateY(-2px);
}

/* Loading State - Hidden (using button loading instead) */
.loading-overlay {
    display: none !important;
}

.loading-content {
    text-align: center;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 4px solid #f5f5f7;
    border-top-color: #667eea;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 24px;
}

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

.loading-text {
    font-size: 18px;
    font-weight: 600;
    color: #1d1d1f;
}

/* Toast Notifications */
.toast {
    position: fixed;
    bottom: 32px;
    right: 32px;
    background: white;
    padding: 16px 24px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    border: 2px solid #e8e8e8;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 10001;
    animation: slideInRight 0.3s ease-out;
    color: #1d1d1f;
}

@keyframes slideInRight {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.toast.toast-error {
    border-color: #ef4444;
}

.toast.toast-warning {
    border-color: #f59e0b;
}

.toast.toast-info {
    border-color: #667eea;
}

.toast-icon {
    font-size: 20px;
}

.toast-message {
    font-size: 14px;
    font-weight: 500;
}

/* Criteria Footer */
.criteria-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.95) 0%, rgba(118, 75, 162, 0.95) 100%);
    backdrop-filter: blur(10px);
    border-top: 2px solid rgba(255, 255, 255, 0.2);
    padding: 12px 20px;
    z-index: 1000;
    display: none;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
}

.criteria-footer.visible {
    display: block;
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.criteria-footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.criteria-footer-label {
    font-size: 13px;
    font-weight: 600;
    color: white;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.criteria-chips {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    flex: 1;
}

.criteria-chip {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 500;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    backdrop-filter: blur(5px);
}

.criteria-chip:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-1px);
}

.criteria-chip-icon {
    font-size: 14px;
}

.criteria-chip-remove {
    font-size: 16px;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.criteria-chip:hover .criteria-chip-remove {
    opacity: 1;
}

.btn-refine {
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 24px;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 600;
    color: #667eea;
    display: none;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-left: auto;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-refine:hover {
    background: white;
    border-color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-refine.visible {
    display: flex;
}

.btn-refine-icon {
    font-size: 16px;
}

/* Tablet/Medium screens */
@media (max-width: 1024px) and (min-width: 769px) {
    .results-grid {
        max-width: 900px;
        gap: 20px;
        padding-bottom: 180px;
    }
    
    .car-card:nth-child(1) {
        transform: scale(1.05);
    }
    
    .car-card:nth-child(1)::after {
        height: 150px;
        font-size: 40px;
    }
    
    .car-card:nth-child(2)::after {
        height: 75px;
        font-size: 32px;
    }
    
    .car-card:nth-child(3)::after {
        height: 40px;
        font-size: 28px;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        padding: 30px 15px;
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
    
    .hero-content p {
        font-size: 15px;
        margin-bottom: 24px;
    }
    
    .price-selector-inline {
        padding: 16px 20px;
        max-width: 100%;
    }
    
    .price-dropdowns {
        flex-wrap: wrap;
        gap: 12px;
    }
    
    .price-select {
        min-width: 100px;
        font-size: 14px;
        padding: 8px 12px;
    }
    
    .price-select-group label {
        font-size: 11px;
    }
    
    .price-presets {
        gap: 6px;
        flex-wrap: wrap;
        margin-top: 12px;
    }
    
    .preset-btn {
        padding: 5px 12px;
        font-size: 11px;
    }
    
    .selection-count {
        font-size: 14px;
        padding: 8px 16px;
    }
    
    .nebula-section {
        padding: 40px 15px 120px;
        min-height: 600px;
    }
    
    .nebula-title {
        font-size: 20px;
    }
    
    .nebula-subtitle {
        font-size: 13px;
    }
    
    .nebula-sphere-container {
        height: 500px;
    }
    
    .criterion {
        font-size: 12px !important;
        padding: 8px 14px !important;
    }
    
    .criterion.core {
        font-size: 14px !important;
        padding: 12px 20px !important;
    }
    
    .action-bar {
        flex-direction: column;
        gap: 12px;
        padding: 16px 20px;
    }
    
    .selected-criteria-list {
        max-width: 100%;
        justify-content: center;
    }
    
    .results-grid {
        grid-template-columns: 1fr;
        align-items: stretch;
        gap: 24px;
        padding: 20px 15px 40px;
    }
    
    /* Reset podium ordering for mobile */
    .car-card:nth-child(1),
    .car-card:nth-child(2),
    .car-card:nth-child(3) {
        order: 0;
        transform: scale(1) !important;
    }
    
    /* Hide podiums on mobile (vertical stack) */
    .car-card:nth-child(1)::after,
    .car-card:nth-child(2)::after,
    .car-card:nth-child(3)::after {
        display: none;
    }
    
    .nav {
        padding: 15px 20px;
    }
    
    .criteria-layer {
        padding: 20px 15px;
    }
}
