:root {
    --primary-color: #f97709;
    --primary-color-dark: #d46508;
    --primary-color-light: #ffa553;
    --text-color: #333333;
    --text-color-light: #777777;
    --background-color: #ffffff;
    --background-color-dark: #f5f5f5;
    --accent-color: #000000;
    --max-width: 1400px;
    --header-height: 80px;
}

/* Reset & Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-color);
    background-color: var(--background-color);
    width: 100%;
    height: 100%;
    overflow-y: scroll; /* Allow scrolling */
    -ms-overflow-style: none; /* IE/Edge */
    scrollbar-width: none; /* Firefox */
    scroll-behavior: smooth; /* Native smooth scroll as backup */
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-color);
    background-color: var(--background-color);
    width: 100%;
    min-height: 100%;
    /* Don't set overflow:hidden here as it might block scrolling */
}

/* Hide scrollbar */
html::-webkit-scrollbar { 
    width: 0; 
    height: 0;
    display: none; 
}

h1, h2, h3, h4 {
    font-weight: 600;
    line-height: 1.2;
}

h1 {
    font-size: 4rem;
    margin-bottom: 0.5rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

p {
    font-size: 1.1rem;
    line-height: 1.6;
    /* margin-bottom: 1rem; */
    font-weight: 300;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-color);
}

ul {
    list-style: none;
}

button {
    cursor: pointer;
    font-family: inherit;
    border: none;
    outline: none;
    transition: all 0.3s ease;
}

/* Layout */
#smooth-wrapper { 
    position: relative; 
    width: 100%;
    height: 100%;
    overflow-x: hidden; /* Prevent horizontal scrolling */
}

#smooth-content { 
    width: 100%;
    height: 100%;
    min-height: 100vh;
    scroll-snap-type: y mandatory; /* Enable native scroll snap as backup */
    overflow-x: hidden; /* Prevent horizontal scrolling */
}

.section {
    position: relative;
    height: 100vh; /* Full viewport height */
    min-height: 100vh; /* Ensure minimum height is full viewport */
    width: 100%;
    display: flex;
    align-items: center;
    padding: 0 5%;
    overflow: hidden;
    scroll-snap-align: start; /* For native scroll snap as backup */
    scroll-snap-stop: always; /* Force stopping at each section */
}

/* Small disclaimer at the bottom of each section */
.section-disclaimer {
    position: absolute;
    left: 5%;
    right: 5%;
    bottom: 12px;
    z-index: 2;
    color: var(--text-color-light);
    font-size: 0.8rem;
    line-height: 1.3;
    opacity: 0.85;
    pointer-events: none;
    text-align: left;
}

.content-container {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.content-container.right {
    margin-left: auto;
}

.content-container.left {
    margin-right: auto;
}

.content-container.center {
    margin: 0 auto;
    text-align: center;
}

.content-container.interior {
    translate: none;
    rotate: none;
    scale: none;
    transform: translate(0px, 0px);
    background-color: rgb(249, 119, 9);
    padding: 33px;
    opacity: 0.95;
}

.content-container.interior h3 {
    color: white;
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 1rem 2rem;
    transition: background-color 0.3s ease;
}

header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--max-width);
    margin: 0 auto;
}

.logo {
    width: 60px;
    height: auto;
}

.logo img {
    width: 100%;
    height: auto;
    display: block;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.cta-button button {
    background-color: var(--primary-color);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.cta-button button:hover {
    background-color: var(--primary-color-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(249, 119, 9, 0.3);
}

/* Hero Section */
#hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-top: var(--header-height);
}

#hero h1 {
    color: var(--primary-color);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.scroll-indicator:hover {
    opacity: 1;
}

.scroll-indicator span {
    font-size: 0.9rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.arrow-down {
    width: 30px;
    height: 30px;
    border-right: 2px solid var(--text-color);
    border-bottom: 2px solid var(--text-color);
    transform: rotate(45deg);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) rotate(45deg);
    }
    40% {
        transform: translateY(-10px) rotate(45deg);
    }
    60% {
        transform: translateY(-5px) rotate(45deg);
    }
}

/* Sections Styling */
.specs {
    display: flex;
    gap: 3rem;
    margin-top: 2rem;
}

.specs li {
    display: flex;
    flex-direction: column;
}

.specs .value {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
}

.specs .label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.features {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.feature h3 {
    color: var(--primary-color);
}

.cta-button-large {
    background-color: var(--primary-color);
    color: white;
    padding: 1rem 3rem;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1rem;
    margin-top: 1rem;
}

.cta-button-large:hover {
    background-color: var(--primary-color-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(249, 119, 9, 0.4);
}

/* Footer */
footer {
    background-color: var(--accent-color);
    color: white;
    padding: 4rem 5% 2rem;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    max-width: var(--max-width);
    margin: 0 auto;
    flex-wrap: wrap;
}

.footer-logo {
    width: 80px;
    margin-bottom: 2rem;
}

.footer-logo img {
    width: 100%;
    height: auto;
    display: block;
    filter: brightness(0) invert(1); /* Make logo white in footer */
}

.footer-links {
    display: flex;
    gap: 4rem;
    flex-wrap: wrap;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-column h3 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-column a {
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.footer-column a:hover {
    opacity: 1;
    color: var(--primary-color);
}

.copyright {
    max-width: var(--max-width);
    margin: 4rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.copyright p {
    font-size: 0.8rem;
    opacity: 0.5;
}

/* Section Indicators */
.section-indicators {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.section-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid var(--primary-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.section-indicator.active {
    background-color: var(--primary-color);
    transform: scale(1.3);
}

/* 3D Model Container */
#model-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; /* behind content but above page bg */
    pointer-events: none;
}

/* Loading Overlay */
#loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--background-color);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease;
}

.loading-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.loading-logo {
    width: 100px;
    height: auto;
    animation: pulse 1.5s infinite alternate;
}

@keyframes pulse {
    from {
        transform: scale(1);
        opacity: 0.8;
    }
    to {
        transform: scale(1.1);
        opacity: 1;
    }
}

.progress-bar {
    width: 200px;
    height: 5px;
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    overflow: hidden;
    margin-top: 1rem;
}

.progress {
    height: 100%;
    background-color: var(--primary-color);
    width: 0%;
    transition: width 0.3s ease-in-out;
}

/* Pre-Order split: top half shows 3D, bottom half shows content */
#pre-order.section {
    position: relative;
    display: grid;
    grid-template-rows: 1fr 1fr;
    align-items: center;
    background: transparent; /* show 3D in the upper half */
    overflow: hidden;
}
/* Bottom-half white panel */
#pre-order.section::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 50%;
    background: #ffffff;
    border-top: 2px solid #f97709;
    pointer-events: none;
    z-index: 0;
}
/* Place existing content into the lower half */
#pre-order .content-container {
    grid-row: 2;
    z-index: 1;
}
#pre-order h2, #pre-order p {
    color: #333333;
}
#pre-order .cta-button-large {
    background: #f97709;
    color: #ffffff;
    border: none;
    padding: 14px 28px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
}
#pre-order .cta-button-large:hover {
    filter: brightness(0.95);
}

/* Media Queries */
@media (max-width: 992px) {
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .specs {
        flex-direction: column;
        gap: 1.25rem;
    }
    .specs .value { font-size: 2.2rem; }
    .specs .label { font-size: 0.85rem; }
    
    .footer-container {
        flex-direction: column;
    }
    
    .footer-links {
        gap: 2rem;
    }

    /* Make sections start below header and keep content readable atop 3D */
    .section {
        align-items: flex-start;
        padding: calc(var(--header-height) + 16px) 16px 24px;
    }
    .content-container {
        max-width: 92vw;
        width: 100%;
        margin: 0 auto;
        text-align: left;
        background: rgba(255, 255, 255, 0.92);
        backdrop-filter: saturate(120%) blur(2px);
        border-radius: 12px;
        padding: 16px 18px;
        box-shadow: 0 6px 24px rgba(0,0,0,0.12);
    }
    /* Keep interior custom panel styling */
    .content-container.interior {
        background: var(--primary-color);
        color: #fff;
        box-shadow: 0 8px 28px rgba(249,119,9,0.25);
    }
    .content-container.center { text-align: center; }

    /* Smaller, closer indicators on phones */
    .section-indicators { right: 12px; gap: 10px; }
    .section-indicator { width: 10px; height: 10px; }

    .section-disclaimer {
        left: 16px;
        right: 16px;
        bottom: 10px;
        font-size: 0.72rem;
        opacity: 0.9;
    }
}

/* Ultra-small phones: hide indicators to avoid overlap */
@media (max-width: 380px) {
    .section-indicators { display: none; }
}

