/* ============================================ */
/* KOENIGSEGG AGERA RS — AURA Design System     */
/* Ultra-Premium Landing Page                    */
/* ============================================ */

:root {
    /* Colors */
    --bg-dark: #0A0A0A;
    --bg-darker: #050505;
    --bg-card: #111111;
    --bg-surface: #1a1a1a;

    --gold: #D4A84B;
    --gold-dim: rgba(212, 168, 75, 0.15);
    --gold-bright: #E8C36A;
    --gold-glow: rgba(212, 168, 75, 0.3);
    --red-accent: #CC0000;
    --silver: #C0C0C0;

    --text-primary: #F0F0F0;
    --text-secondary: rgba(255, 255, 255, 0.6);
    --text-tertiary: rgba(255, 255, 255, 0.35);
    --text-gold: #D4A84B;

    /* Glass */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-hover: rgba(255, 255, 255, 0.06);

    /* Typography */
    --font-display: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --section-padding: 120px 0;
    --container-max: 1280px;

    /* Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-elastic: cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --transition-fast: 0.2s var(--ease-out);
    --transition-base: 0.4s var(--ease-out);
    --transition-slow: 0.8s var(--ease-out);
}

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

html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
}

html.lenis,
html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

body {
    font-family: var(--font-body);
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    cursor: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    cursor: none;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 32px;
}

/* ============================================ */
/* CUSTOM CURSOR                                */
/* ============================================ */
.cursor-dot {
    position: fixed;
    width: 6px;
    height: 6px;
    background: var(--gold);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, background 0.2s;
}

.cursor-ring {
    position: fixed;
    width: 36px;
    height: 36px;
    border: 1.5px solid rgba(212, 168, 75, 0.4);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99998;
    transform: translate(-50%, -50%);
    transition: width 0.3s var(--ease-out), height 0.3s var(--ease-out), border-color 0.3s;
}

.cursor-dot.hover {
    width: 12px;
    height: 12px;
    background: rgba(212, 168, 75, 0.6);
}

.cursor-ring.hover {
    width: 50px;
    height: 50px;
    border-color: rgba(212, 168, 75, 0.6);
}

/* ---- Utilities ---- */
.gold {
    color: var(--gold);
}

.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.section-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    background: var(--gold-dim);
    border: 1px solid rgba(212, 168, 75, 0.2);
    padding: 8px 20px;
    border-radius: 100px;
    margin-bottom: 20px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 16px 32px;
    border-radius: 0;
    border: none;
    cursor: none;
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

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

.btn:hover::before {
    left: 100%;
}

.btn-gold {
    background: var(--gold);
    color: #000;
}

.btn-gold:hover {
    background: var(--gold-bright);
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(212, 168, 75, 0.3);
}

.btn-ghost {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
}

.btn-ghost:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: var(--gold-dim);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ============================================ */
/* PRELOADER                                    */
/* ============================================ */
.preloader {
    position: fixed;
    inset: 0;
    z-index: 100000;
    background: var(--bg-darker);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

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

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

.preloader-ghost-shield {
    width: 80px;
    height: 100px;
    margin: 0 auto 24px;
    animation: shield-pulse 2s ease-in-out infinite;
}

.preloader-ghost-shield svg {
    width: 100%;
    height: 100%;
}

@keyframes shield-pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.6;
        transform: scale(0.95);
    }
}

.preloader-logo {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 12px;
    color: var(--gold);
    margin-bottom: 40px;
}

.preloader-bar {
    width: 200px;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0 auto 16px;
    overflow: hidden;
    border-radius: 2px;
}

.preloader-fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--gold), var(--gold-bright));
    transition: width 0.3s ease;
    border-radius: 2px;
}

.preloader-text {
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-tertiary);
    transition: var(--transition-base);
}

/* ============================================ */
/* NAVIGATION                                   */
/* ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition-base);
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 14px 0;
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-mark {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--gold);
    line-height: 1;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 6px;
    color: var(--text-primary);
}

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

.nav-link {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-secondary);
    transition: var(--transition-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.3s var(--ease-out);
}

.nav-link:hover {
    color: var(--gold);
}

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

.nav-cta {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 12px 28px;
    background: var(--gold);
    color: #000;
    transition: var(--transition-base);
}

.nav-cta:hover {
    background: var(--gold-bright);
    box-shadow: 0 4px 20px rgba(212, 168, 75, 0.3);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: 4px;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 1.5px;
    background: var(--text-primary);
    transition: var(--transition-base);
}

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

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

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

/* ============================================ */
/* HERO                                         */
/* ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to bottom, rgba(10, 10, 10, 0.5) 0%, rgba(10, 10, 10, 0.15) 40%, rgba(10, 10, 10, 0.85) 100%),
        radial-gradient(ellipse at 30% 60%, rgba(212, 168, 75, 0.05) 0%, transparent 50%);
}

.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 24px;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 32px;
    opacity: 0;
}

.tag-line {
    display: inline-block;
    width: 40px;
    height: 1px;
    background: var(--gold);
}

.hero-title {
    font-family: var(--font-display);
    line-height: 1.05;
    margin-bottom: 24px;
}

.title-line {
    display: block;
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    opacity: 0;
    transform: translateY(40px);
}

.title-line.gold {
    color: var(--gold);
    font-size: clamp(3.2rem, 8.5vw, 6.5rem);
    text-shadow: 0 0 80px rgba(212, 168, 75, 0.15);
}

.hero-subtitle {
    font-size: clamp(0.95rem, 1.5vw, 1.15rem);
    color: var(--text-secondary);
    letter-spacing: 2px;
    margin-bottom: 48px;
    opacity: 0;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 2;
}

.scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {

    0%,
    100% {
        opacity: 1;
        transform: scaleY(1);
    }

    50% {
        opacity: 0.4;
        transform: scaleY(0.6);
    }
}

.hero-scroll-indicator span {
    font-size: 9px;
    letter-spacing: 3px;
    color: var(--text-tertiary);
}

/* Speed Badge */
.hero-speed-badge {
    position: absolute;
    right: 48px;
    bottom: 120px;
    z-index: 3;
    text-align: right;
    opacity: 0;
    animation: badge-enter 1.5s 2s ease forwards;
}

@keyframes badge-enter {
    to {
        opacity: 1;
    }
}

.speed-number {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 800;
    color: var(--gold);
    line-height: 1;
    text-shadow: 0 0 60px rgba(212, 168, 75, 0.3);
}

.speed-unit {
    display: block;
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 6px;
    color: var(--text-primary);
    margin-top: 2px;
}

.speed-label {
    display: block;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 4px;
    color: var(--text-tertiary);
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid var(--glass-border);
}

/* ============================================ */
/* STATS STRIP                                  */
/* ============================================ */
.stats-strip {
    padding: 48px 0;
    background: var(--bg-darker);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    overflow: hidden;
}

.stats-track {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 32px;
    flex-wrap: wrap;
}

.stat-block {
    text-align: center;
}

.stat-value,
.stat-value-decimal {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
}

.stat-unit {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 2px;
    margin-left: 4px;
}

.stat-label {
    display: block;
    font-size: 11px;
    color: var(--text-tertiary);
    letter-spacing: 1px;
    margin-top: 4px;
}

.stat-sep {
    color: var(--gold);
    font-size: 8px;
    opacity: 0.4;
}

/* ============================================ */
/* STORY                                        */
/* ============================================ */
.story-section {
    padding: var(--section-padding);
    background: var(--bg-dark);
    position: relative;
}

.story-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: radial-gradient(ellipse at 80% 50%, rgba(212, 168, 75, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.story-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 64px;
    align-items: center;
}

.story-images {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 16px;
}

.story-img-main {
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 3/4;
}

.story-img-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease-out);
}

.story-img-main:hover img {
    transform: scale(1.05);
}

.story-img-secondary {
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 3/4;
    margin-top: 48px;
}

.story-img-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease-out);
}

.story-img-secondary:hover img {
    transform: scale(1.05);
}

.story-content {
    max-width: 520px;
}

.story-text {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
}

.story-specs {
    display: flex;
    gap: 32px;
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid var(--glass-border);
}

.spec-value {
    display: block;
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 4px;
}

.spec-label {
    font-size: 12px;
    color: var(--text-tertiary);
    letter-spacing: 1px;
}

/* ============================================ */
/* PERFORMANCE                                  */
/* ============================================ */
.perf-section {
    padding: var(--section-padding);
    background: var(--bg-darker);
    position: relative;
}

.perf-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 60%;
    background: radial-gradient(ellipse, rgba(212, 168, 75, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.perf-video-container {
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-bottom: 64px;
    overflow: hidden;
}

.perf-video {
    width: 100%;
    height: 70vh;
    display: block;
    object-fit: cover;
}

.perf-video-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(to bottom, rgba(5, 5, 5, 0.3) 0%, rgba(5, 5, 5, 0.1) 40%, rgba(5, 5, 5, 0.6) 100%);
    padding: 40px 24px;
    pointer-events: none;
}

.pvo-tag {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
}

.pvo-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--text-primary);
    margin-bottom: 24px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.pvo-stats {
    display: flex;
    align-items: center;
    gap: 20px;
}

.pvo-stat {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 2px;
}

.pvo-stat span {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--gold);
    margin-right: 4px;
}

.pvo-stat-sep {
    color: rgba(255, 255, 255, 0.15);
    font-size: 1.2rem;
}

.perf-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.perf-card {
    padding: 36px 28px;
    position: relative;
    overflow: hidden;
    transition: var(--transition-base);
    border-radius: var(--radius-lg);
}

.perf-card:hover {
    transform: translateY(-6px);
    border-color: rgba(212, 168, 75, 0.25);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 30px rgba(212, 168, 75, 0.05);
}

.perf-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), transparent);
    opacity: 0;
    transition: var(--transition-base);
}

.perf-card:hover::after {
    opacity: 1;
}

.perf-card-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 800;
    color: var(--gold);
    opacity: 0.08;
    line-height: 1;
    margin-bottom: 16px;
}

.perf-card-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
}

.perf-card-icon svg {
    width: 100%;
    height: 100%;
}

.perf-card h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.perf-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.perf-card-stat {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.pcs-number {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--gold);
}

.pcs-unit {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--text-tertiary);
}

/* ============================================ */
/* CONFIGURATOR                                 */
/* ============================================ */
.configurator-section {
    padding: 80px 0 0;
    background: var(--bg-dark);
    min-height: 100vh;
    position: relative;
}

.config-header {
    text-align: center;
    margin-bottom: 32px;
    padding: 0 32px;
}

.config-subtitle {
    font-size: 0.95rem;
    color: var(--text-tertiary);
    margin-top: 12px;
    letter-spacing: 1px;
}

.config-layout {
    display: grid;
    grid-template-columns: 280px 1fr 300px;
    gap: 0;
    height: calc(100vh - 160px);
    min-height: 600px;
}

/* Config Panels */
.config-panel {
    overflow-y: auto;
    padding: 24px;
    scrollbar-width: thin;
    scrollbar-color: var(--gold-dim) transparent;
}

.config-panel::-webkit-scrollbar {
    width: 4px;
}

.config-panel::-webkit-scrollbar-track {
    background: transparent;
}

.config-panel::-webkit-scrollbar-thumb {
    background: var(--gold-dim);
    border-radius: 4px;
}

.config-left {
    background: rgba(0, 0, 0, 0.4);
    border-right: 1px solid var(--glass-border);
}

.config-right {
    background: rgba(0, 0, 0, 0.4);
    border-left: 1px solid var(--glass-border);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.config-group {
    margin-bottom: 28px;
}

.config-group-title {
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.config-group-title svg {
    color: var(--gold);
    width: 16px;
    height: 16px;
}

/* Accordion */
.config-accordion .config-group-title {
    cursor: pointer;
    user-select: none;
    padding: 10px 0;
    border-bottom: 1px solid transparent;
    transition: var(--transition-fast);
}

.config-accordion .config-group-title:hover {
    color: var(--gold);
}

.accordion-chevron {
    margin-left: auto;
    transition: transform 0.3s var(--ease-out);
    flex-shrink: 0;
}

.config-accordion.open .accordion-chevron {
    transform: rotate(180deg);
}

.config-accordion .config-options {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s var(--ease-out), opacity 0.3s ease, padding 0.3s ease;
    padding-top: 0;
    padding-bottom: 0;
}

.config-accordion.open .config-options {
    max-height: 600px;
    opacity: 1;
    padding-top: 8px;
    padding-bottom: 8px;
}

.config-options {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.scene-options {
    flex-direction: row;
    gap: 8px;
}

.config-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: transparent;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-size: 13px;
    cursor: none;
    transition: var(--transition-fast);
    text-align: left;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.config-option::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(212, 168, 75, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.config-option:hover::before {
    opacity: 1;
}

.config-option:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: var(--glass-border);
    color: var(--text-primary);
}

.config-option.active {
    background: var(--gold-dim);
    border-color: rgba(212, 168, 75, 0.3);
    color: var(--gold);
}

.config-option.active::before {
    opacity: 0;
}

.scene-options .config-option {
    flex: 1;
    flex-direction: column;
    text-align: center;
    padding: 12px;
}

.option-preview {
    width: 100%;
    height: 40px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--glass-border);
}

.option-swatch {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    flex-shrink: 0;
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-fast);
}

.config-option:hover .option-swatch {
    transform: scale(1.1);
    border-color: rgba(255, 255, 255, 0.3);
}

.config-option.active .option-swatch {
    border-color: var(--gold);
    box-shadow: 0 0 12px rgba(212, 168, 75, 0.4);
    transform: scale(1.15);
}

.option-price {
    margin-left: auto;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-tertiary);
    white-space: nowrap;
}

.config-option.active .option-price {
    color: var(--gold);
}

/* Viewport */
.config-viewport {
    position: relative;
    background: var(--bg-darker);
    overflow: hidden;
}

#configuratorCanvas {
    width: 100%;
    height: 100%;
    display: block;
}

.config-loading {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    z-index: 5;
    background: var(--bg-darker);
    color: var(--text-secondary);
    font-size: 13px;
    letter-spacing: 2px;
}

.loading-spinner {
    width: 32px;
    height: 32px;
    border: 2px solid var(--glass-border);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

.viewport-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    padding: 6px;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    backdrop-filter: blur(10px);
}

.view-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.view-btn:hover,
.view-btn.active {
    background: var(--gold-dim);
    color: var(--gold);
}

.viewport-hint {
    position: absolute;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    backdrop-filter: blur(8px);
    font-size: 11px;
    color: var(--text-tertiary);
    letter-spacing: 0.5px;
    opacity: 0.6;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.viewport-hint svg {
    color: var(--gold);
    flex-shrink: 0;
}

/* Price Card */
.price-card {
    padding: 24px;
}

.price-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.price-model {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 4px;
}

.price-tag {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    background: var(--gold-dim);
    padding: 4px 12px;
    border-radius: 100px;
}

.price-base {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--glass-border);
}

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

.price-amount {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
}

.price-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.price-option-item {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-secondary);
    padding: 4px 0;
    animation: option-slide-in 0.3s ease;
}

@keyframes option-slide-in {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.price-option-item .poi-price {
    font-weight: 600;
    color: var(--gold);
}

.price-divider {
    height: 1px;
    background: var(--glass-border);
    margin: 16px 0;
}

.price-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.price-total-label {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
}

.price-total-amount {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--gold);
    transition: var(--transition-fast);
}

.price-note {
    font-size: 10px;
    color: var(--text-tertiary);
    text-align: center;
    margin-top: 12px;
    letter-spacing: 0.5px;
}

/* Config Summary */
.config-summary {
    padding: 20px;
}

.config-summary h4 {
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 14px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    transition: var(--transition-fast);
}

.summary-item:hover {
    border-bottom-color: rgba(212, 168, 75, 0.1);
}

.summary-label {
    color: var(--text-tertiary);
}

.summary-value {
    color: var(--text-primary);
    font-weight: 500;
    transition: color 0.3s ease;
}

/* Delivery Card */
.config-delivery {
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.delivery-icon {
    flex-shrink: 0;
}

.delivery-title {
    display: block;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-tertiary);
}

.delivery-time {
    display: block;
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    margin-top: 2px;
}

/* ============================================ */
/* QUOTE POPUP MODAL                            */
/* ============================================ */
.quote-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    padding: 24px;
}

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

.quote-modal {
    position: relative;
    max-width: 480px;
    width: 100%;
    padding: 40px;
    border-radius: var(--radius-xl);
    background: rgba(18, 18, 18, 0.95);
    border: 1px solid rgba(212, 168, 75, 0.15);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6), 0 0 60px rgba(212, 168, 75, 0.06);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.5s var(--ease-out);
    max-height: 90vh;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--gold-dim) transparent;
}

.quote-overlay.active .quote-modal {
    transform: scale(1) translateY(0);
}

.quote-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition-fast);
}

.quote-close:hover {
    background: rgba(212, 168, 75, 0.15);
    color: var(--gold);
    border-color: rgba(212, 168, 75, 0.3);
}

.quote-header {
    text-align: center;
    margin-bottom: 8px;
}

.quote-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--gold);
    background: var(--gold-dim);
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 16px;
}

.quote-title {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 6px;
}

.quote-subtitle {
    font-size: 13px;
    color: var(--text-tertiary);
    letter-spacing: 1px;
}

.quote-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
    margin: 20px 0;
}

.quote-details {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.quote-detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    animation: quote-row-in 0.4s ease both;
}

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

@keyframes quote-row-in {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.quote-detail-row .qd-label {
    font-size: 12px;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.quote-detail-row .qd-value {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary);
}

.quote-detail-row .qd-price {
    font-size: 12px;
    font-weight: 600;
    color: var(--gold);
    margin-left: 12px;
}

.quote-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0 20px;
}

.quote-total-label {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.quote-total-price {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    color: var(--gold);
    text-shadow: 0 0 30px rgba(212, 168, 75, 0.2);
}

.quote-disclaimer {
    font-size: 11px;
    color: var(--text-tertiary);
    line-height: 1.6;
    margin-bottom: 24px;
    text-align: center;
    padding: 0 8px;
}

.quote-reserve-btn {
    padding: 18px 32px;
    font-size: 15px;
    letter-spacing: 3px;
}

.quote-reserve-btn.reserved {
    background: #00CC66;
    pointer-events: none;
}

.quote-note {
    font-size: 11px;
    color: var(--text-tertiary);
    text-align: center;
    margin-top: 16px;
    letter-spacing: 0.5px;
    opacity: 0.6;
}

/* ============================================ */
/* GALLERY                                      */
/* ============================================ */
.gallery-section {
    padding: var(--section-padding);
    background: var(--bg-dark);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 280px;
    gap: 16px;
}

.gallery-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    cursor: none;
}

.gallery-large {
    grid-row: span 2;
}

.gallery-wide {
    grid-column: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease-out), filter 0.8s var(--ease-out);
}

.gallery-item:hover img {
    transform: scale(1.08);
    filter: brightness(1.1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent 50%);
    display: flex;
    align-items: flex-end;
    padding: 24px;
    opacity: 0;
    transition: var(--transition-base);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
}

/* ============================================ */
/* RESERVE CTA                                  */
/* ============================================ */
.reserve-section {
    position: relative;
    padding: 160px 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
}

.reserve-bg {
    position: absolute;
    inset: 0;
}

.reserve-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.reserve-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to top, rgba(5, 5, 5, 1) 0%, rgba(5, 5, 5, 0.6) 40%, rgba(5, 5, 5, 0.8) 100%),
        radial-gradient(ellipse at center, rgba(212, 168, 75, 0.08) 0%, transparent 60%);
}

.reserve-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    padding: 0 32px;
}

.reserve-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

.reserve-text {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 40px;
}

.reserve-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 64px;
}

.reserve-badges {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.reserve-badge {
    text-align: center;
}

.badge-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 6px;
}

.badge-label {
    font-size: 11px;
    color: var(--text-tertiary);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.reserve-badge-sep {
    width: 1px;
    height: 40px;
    background: var(--glass-border);
}

/* ============================================ */
/* FOOTER                                       */
/* ============================================ */
.footer {
    padding: 80px 0 40px;
    background: var(--bg-darker);
    border-top: 1px solid var(--glass-border);
}

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

.footer-logo {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 8px;
    color: var(--gold);
    display: block;
    margin-bottom: 16px;
}

.footer-tagline {
    font-size: 14px;
    color: var(--text-tertiary);
    line-height: 1.7;
    margin-bottom: 24px;
    font-style: italic;
}

.footer-socials {
    display: flex;
    gap: 16px;
}

.footer-socials a {
    color: var(--text-tertiary);
    transition: var(--transition-fast);
}

.footer-socials a:hover {
    color: var(--gold);
    transform: translateY(-2px);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links h4 {
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.footer-links a {
    font-size: 13px;
    color: var(--text-tertiary);
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--gold);
    padding-left: 4px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    border-top: 1px solid var(--glass-border);
}

.footer-bottom p {
    font-size: 12px;
    color: var(--text-tertiary);
    letter-spacing: 0.5px;
}

.footer-credit {
    color: var(--gold) !important;
    opacity: 0.5;
}

/* ============================================ */
/* RESPONSIVE                                   */
/* ============================================ */
@media (max-width: 1200px) {
    .config-layout {
        grid-template-columns: 260px 1fr 260px;
    }

    .hero-speed-badge {
        right: 32px;
        bottom: 80px;
    }
}

@media (max-width: 1024px) {
    :root {
        --section-padding: 80px 0;
    }

    .cursor-dot,
    .cursor-ring {
        display: none;
    }

    body {
        cursor: auto;
    }

    .btn,
    button,
    .config-option {
        cursor: pointer;
    }

    .perf-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .config-layout {
        grid-template-columns: 1fr;
        height: auto;
        min-height: auto;
    }

    .config-left {
        order: 2;
        border-right: none;
        border-top: 1px solid var(--glass-border);
    }

    .config-viewport {
        order: 1;
        height: 500px;
    }

    .config-right {
        order: 3;
        border-left: none;
        border-top: 1px solid var(--glass-border);
    }

    .config-options {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .config-option {
        width: auto;
        flex: 1;
        min-width: 120px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .hero-speed-badge {
        display: none;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 64px 0;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(10, 10, 10, 0.95);
        backdrop-filter: blur(20px);
        padding: 24px 32px;
        gap: 20px;
        border-bottom: 1px solid var(--glass-border);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-cta {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .story-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .story-images {
        grid-template-columns: 1fr 1fr;
    }

    .perf-grid {
        grid-template-columns: 1fr;
    }

    .stats-track {
        gap: 24px;
    }

    .stat-sep {
        display: none;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 200px;
    }

    .gallery-large {
        grid-row: span 1;
    }

    .gallery-wide {
        grid-column: span 1;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .reserve-section {
        padding: 100px 0;
        min-height: auto;
    }

    .reserve-badges {
        gap: 24px;
    }

    .reserve-badge-sep {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .title-line {
        font-size: 2.5rem !important;
    }

    .title-line.gold {
        font-size: 2.8rem !important;
    }

    .config-viewport {
        height: 380px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .reserve-actions {
        flex-direction: column;
    }

    .reserve-actions .btn {
        width: 100%;
        justify-content: center;
    }
}