/* Core Design System: Kinetic Curator */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@200;300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #FF6B00;
    --primary-light: #FFB693;
    --bg-dark: #0A0A0A;
    --surface: #131313;
    --surface-low: #201F1F;
    --surface-high: #353534;
    --on-surface: #E5E2E1;
    --text-muted: #8E8B8A;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--on-surface);
    overflow-x: hidden;
    margin: 0;
    line-height: 1.6;
}

h1, h2, h3, h4, .font-headline {
    font-family: 'Plus Jakarta Sans', sans-serif;
    letter-spacing: -0.02em;
}

/* Glassmorphism */
.nav-blur {
    backdrop-filter: blur(20px);
    background: rgba(10, 10, 10, 0.4);
}

.glass-card {
    background: rgba(32, 31, 31, 0.2);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 107, 0, 0.05); /* Ghost Border */
}

/* Ambient Glow Shadow */
.ambient-glow {
    box-shadow: 0 40px 60px -20px rgba(255, 107, 0, 0.04);
}

.ambient-glow:hover {
    box-shadow: 0 60px 80px -20px rgba(255, 107, 0, 0.08);
    transition: box-shadow 0.5s ease-in-out;
}

/* No-Line Rule Utilities */
.no-line-section {
    border: none !important;
}

.bg-shift-low { background-color: var(--surface-low); }
.bg-shift-high { background-color: var(--surface-high); }

/* Liquid Gradient Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    color: #000;
    font-weight: 800;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 107, 0, 0.2);
}

/* Navigation & Back to Top Improvements */
#back-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    z-index: 100;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

#back-to-top:hover {
    background: var(--primary);
    transform: translateY(-5px);
    border-color: transparent;
}

/* Feature Ribbon / Specs List */
.feature-ribbon {
    display: flex;
    overflow-x: auto;
    gap: 4rem;
    padding: 2rem 0;
    scrollbar-width: none;
}

.feature-ribbon::-webkit-scrollbar {
    display: none;
}

.feature-item {
    flex-shrink: 0;
    text-align: left;
}

.feature-value {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    display: block;
    margin-bottom: 0.5rem;
}

.feature-label {
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* Kinetic Showroom Utilities */
.glass-tile {
    @apply bg-zinc-900/40 backdrop-blur-xl border border-white/5 rounded-[32px] p-6 transition-all duration-500 hover:bg-zinc-900/60;
}

.ambient-glow-orange {
    box-shadow: 0 0 50px -10px rgba(255, 107, 0, 0.15);
}

.ambient-glow-sky {
    box-shadow: 0 0 50px -10px rgba(14, 165, 233, 0.15);
}

.text-stroke {
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.1);
    color: transparent;
}

/* Page Transition & Reveal Animations */
.reveal-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal-up.active {
    opacity: 1;
    transform: translateY(0);
}

@keyframes pulse-slow {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.02); }
}

.animate-pulse-slow {
    animation: pulse-slow 8s infinite ease-in-out;
}

/* Marquee Animation */
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.animate-marquee {
    animation: marquee 30s linear infinite;
    display: flex;
    white-space: nowrap;
}

.animate-marquee:hover {
    animation-play-state: paused;
}

/* Custom Range Input Styling (Kinetic Sliders) */
input[type='range'].kinetic-slider {
    -webkit-appearance: none;
    background: rgba(255, 255, 255, 0.05);
    height: 6px;
    border-radius: 10px;
}

input[type='range'].kinetic-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 24px;
    width: 24px;
    border-radius: 50%;
    background: #FF6B00;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(255, 107, 0, 0.4);
    transition: all 0.3s ease;
}

input[type='range'].kinetic-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 0 30px rgba(255, 107, 0, 0.6);
}

/* --- Kinetic Curator: Luxury Showcase & Gallery Utilities --- */

.glass-pane {
    background: rgba(10, 10, 10, 0.4);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.8);
}

.kinetic-bento {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(12, 1fr);
    gap: 1.5rem;
}

.panoramic-bg {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

.ambient-glow-orange {
    position: relative;
}

.ambient-glow-orange::after {
    content: '';
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle at center, rgba(255, 107, 0, 0.1) 0%, transparent 70%);
    z-index: -1;
    filter: blur(30px);
    opacity: 0;
    transition: opacity 0.7s ease;
}

.group:hover .ambient-glow-orange::after {
    opacity: 1;
}

/* --- Entrance Animations --- */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-up.active {
    opacity: 1;
    transform: translateY(0);
}

/* Hero & Section Specifics */
.hero-gradient-bottom {
    background: linear-gradient(to bottom, transparent, var(--bg-dark));
}

.text-stroke {
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.1);
    color: transparent;
}

/* Elite Comparison Engine Styles */
#compare-bar {
    position: fixed;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 800px;
    height: 90px;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(40px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 45px;
    z-index: 1000;
    transition: all 0.8s cubic-bezier(0.19, 1, 0.22, 1);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.8), 0 0 40px rgba(255, 107, 0, 0.1);
}

#compare-bar.active {
    bottom: 40px;
}

#compare-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(50px);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.7s cubic-bezier(0.19, 1, 0.22, 1);
    padding: 60px 40px;
}

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

.compare-thumbnail {
    width: 60px;
    height: 40px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.5s;
}

.compare-thumbnail:hover {
    border-color: #FF6B00;
    transform: scale(1.1);
}

.compare-card-mini {
    position: relative;
    padding-right: 0px;
}

.remove-compare {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 20px;
    height: 20px;
    background: #ef4444;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(239, 68, 68, 0.4);
    transition: all 0.3s;
}

.remove-compare:hover {
    transform: scale(1.2) rotate(90deg);
}

.compare-row {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.3s;
}

.compare-row:hover {
    background: rgba(255, 255, 255, 0.02);
}

.compare-header {
    background: linear-gradient(to right, rgba(255, 107, 0, 0.1), transparent);
    padding: 10px 15px;
    border-radius: 8px;
}
