:root {
    --deep: #0A0F0C;
    --dark: #141E16;
    --green: #1E3A28;
    --gold: #C4A052;
    --gold-light: #D4B572;
    --cream: #F8F6F0;
    --text: #E8E4DC;
    --text-muted: #9A958A;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'DM Sans', sans-serif;
    background: var(--deep);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3 { font-family: 'Playfair Display', serif; font-weight: 400; }

/* Navigation - Floating Minimal */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 28px 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
nav.scrolled {
    padding: 18px 60px;
    background: rgba(10, 15, 12, 0.85);
    backdrop-filter: blur(20px);
}
.nav-logo { display: flex; align-items: center; gap: 16px; }
.nav-logo img { height: 32px; width: auto; }
.nav-links { display: flex; gap: 48px; list-style: none; }
.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    padding: 4px 0;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-links a:hover::after { width: 100%; }
.nav-right { display: flex; align-items: center; gap: 24px; }
.nav-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    transition: color 0.3s;
}
.nav-icon:hover { color: var(--gold); }

/* Hero - Full Immersive */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    animation: heroZoom 20s ease-in-out infinite alternate;
}
@keyframes heroZoom {
    from { transform: scale(1.1); }
    to { transform: scale(1.2); }
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(10, 15, 12, 0.4) 0%, rgba(10, 15, 12, 0.2) 50%, rgba(10, 15, 12, 0.6) 100%);
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 0 40px;
}
.hero-eyebrow {
    font-size: 11px;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 32px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}
.hero-title {
    font-size: clamp(48px, 8vw, 96px);
    font-weight: 400;
    color: var(--cream);
    line-height: 1.1;
    margin-bottom: 24px;
    opacity: 0;
    transform: translateY(40px);
    animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards;
}
.hero-subtitle {
    font-size: 18px;
    color: var(--text-muted);
    font-weight: 300;
    max-width: 500px;
    margin: 0 auto 48px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.7s forwards;
}
.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.9s forwards;
}
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

.btn {
    padding: 16px 40px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-primary { background: var(--gold); color: var(--deep); }
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); }
.btn-secondary { background: transparent; color: var(--cream); border: 1px solid rgba(248, 246, 240, 0.3); }
.btn-secondary:hover { border-color: var(--cream); background: rgba(248, 246, 240, 0.1); }

.scroll-indicator {
    position: absolute;
    bottom: 48px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    opacity: 0;
    animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 1.2s forwards;
}
.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
    0%, 100% { transform: scaleY(1); opacity: 1; }
    50% { transform: scaleY(0.6); opacity: 0.5; }
}

/* Products Section */
.products { padding: 160px 60px; background: var(--deep); }
.section-header { text-align: center; margin-bottom: 80px; }
.section-eyebrow { font-size: 11px; letter-spacing: 4px; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
.section-title { font-size: clamp(36px, 5vw, 56px); color: var(--cream); margin-bottom: 16px; }
.section-subtitle { font-size: 16px; color: var(--text-muted); max-width: 500px; margin: 0 auto; font-weight: 300; }
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; max-width: 1400px; margin: 0 auto; }
.product-card { position: relative; overflow: hidden; cursor: pointer; text-decoration: none; display: block; }
.product-image { position: relative; aspect-ratio: 3/4; overflow: hidden; }
.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.product-card:hover .product-image img { transform: scale(1.08); }
.product-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 15, 12, 0.9) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.5s;
}
.product-card:hover .product-overlay { opacity: 1; }
.product-explore {
    position: absolute;
    bottom: 24px;
    left: 24px;
    right: 24px;
    padding: 14px;
    background: var(--gold);
    color: var(--deep);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-align: center;
    border: none;
    cursor: pointer;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.product-card:hover .product-explore { transform: translateY(0); opacity: 1; }
.product-info { padding: 28px 0; }
.product-name { font-family: 'Playfair Display', serif; font-size: 24px; color: var(--cream); margin-bottom: 8px; }
.product-desc { font-size: 14px; color: var(--text-muted); margin-bottom: 12px; }
.product-price { font-family: 'Space Mono', monospace; font-size: 16px; color: var(--gold); }

/* Philosophy Section */
.philosophy { padding: 160px 60px; background: var(--dark); }
.philosophy-header { text-align: center; margin-bottom: 100px; }
.philosophy-title { font-size: clamp(32px, 4vw, 48px); color: var(--cream); }
.philosophy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 80px; max-width: 1200px; margin: 0 auto; }
.philosophy-item { text-align: center; }
.philosophy-icon { width: 80px; height: 80px; margin: 0 auto 32px; display: flex; align-items: center; justify-content: center; color: var(--gold); }
.philosophy-icon svg { width: 32px; height: 32px; }
.philosophy-item h3 { font-size: 22px; color: var(--cream); margin-bottom: 16px; }
.philosophy-item p { font-size: 14px; color: var(--text-muted); line-height: 1.8; }

/* Feature Banner */
.feature-banner { height: 70vh; position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.feature-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature-banner-overlay { position: absolute; inset: 0; background: rgba(10, 15, 12, 0.5); }
.feature-banner-content { position: relative; z-index: 1; text-align: center; max-width: 700px; padding: 0 40px; }
.feature-banner h2 { font-size: clamp(32px, 5vw, 56px); color: var(--cream); margin-bottom: 24px; }
.feature-banner p { font-size: 16px; color: var(--text-muted); margin-bottom: 40px; }

/* Test Ride */
.testride { padding: 160px 60px; background: var(--deep); }
.testride-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; max-width: 1200px; margin: 0 auto; align-items: center; }
.testride-info h2 { font-size: clamp(32px, 4vw, 48px); color: var(--cream); margin-bottom: 24px; }
.testride-info p { font-size: 16px; color: var(--text-muted); line-height: 1.8; margin-bottom: 40px; }
.testride-features { display: flex; flex-direction: column; gap: 16px; }
.testride-feature { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--text); }
.testride-feature i { color: var(--gold); }
.testride-form { background: var(--dark); padding: 48px; }
.form-title { font-family: 'Playfair Display', serif; font-size: 24px; color: var(--cream); margin-bottom: 32px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; }
.form-group input, .form-group select { width: 100%; padding: 14px; background: transparent; border: 1px solid rgba(196, 160, 82, 0.3); color: var(--text); font-family: inherit; font-size: 14px; outline: none; transition: border-color 0.3s; }
.form-group input:focus, .form-group select:focus { border-color: var(--gold); }
.form-group select { cursor: pointer; }

/* Footer */
footer { padding: 100px 60px 40px; background: var(--dark); border-top: 1px solid rgba(196, 160, 82, 0.1); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px; max-width: 1200px; margin: 0 auto 60px; }
.footer-brand .logo { display: block; margin-bottom: 20px; }
.footer-brand .logo img { height: 28px; }
.footer-brand p { font-size: 14px; color: var(--text-muted); max-width: 280px; line-height: 1.7; }
.footer-title { font-family: 'Playfair Display', serif; font-size: 14px; color: var(--cream); margin-bottom: 24px; letter-spacing: 1px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-links a { font-size: 14px; color: var(--text-muted); text-decoration: none; transition: color 0.3s; }
.footer-links a:hover { color: var(--gold); }
.footer-bottom { text-align: center; padding-top: 40px; border-top: 1px solid rgba(255, 255, 255, 0.05); font-size: 12px; color: var(--text-muted); }

.mobile-menu-btn { display: none; background: none; border: none; color: var(--cream); cursor: pointer; }

/* Mobile Menu Overlay */
.mobile-menu { display: none; position: fixed; inset: 0; background: var(--deep); z-index: 999; padding: 100px 40px 40px; opacity: 0; visibility: hidden; transition: all 0.4s ease; }
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu-close { position: absolute; top: 24px; right: 24px; background: none; border: none; color: var(--cream); cursor: pointer; }
.mobile-nav { list-style: none; }
.mobile-nav a { display: block; padding: 20px 0; font-size: 24px; color: var(--text); text-decoration: none; border-bottom: 1px solid rgba(196, 160, 82, 0.1); }
.mobile-nav a:hover { color: var(--gold); }

/* Back to Top */
.back-to-top { position: fixed; bottom: 32px; right: 32px; width: 48px; height: 48px; background: var(--gold); color: var(--deep); border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: all 0.4s ease; z-index: 998; }
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { transform: translateY(-4px); }

img[loading="lazy"] { opacity: 0; transition: opacity 0.4s ease; }
img[loading="lazy"].loaded { opacity: 1; }

@media (max-width: 1024px) {
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .philosophy-grid { grid-template-columns: 1fr; gap: 60px; }
    .testride-wrapper { grid-template-columns: 1fr; gap: 60px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    nav { padding: 20px 24px; }
    .nav-links, .nav-right { display: none; }
    .mobile-menu-btn { display: block; }
    .products { padding: 100px 24px; }
    .products-grid { grid-template-columns: 1fr; }
    .philosophy { padding: 100px 24px; }
    .section-header { margin-bottom: 48px; }
    .testride { padding: 100px 24px; }
    .testride-form { padding: 32px; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    footer { padding: 60px 24px 30px; }
    .hero-actions { flex-direction: column; align-items: center; }
}
