/* Tesla Premium Theme */
:root {
    --tesla-red: #e82127;
    --tesla-dark: #171a20;
    --glass-bg: rgba(23, 26, 32, 0.8);
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Gotham', 'Inter', sans-serif;
    background-color: var(--tesla-dark);
    color: #fff;
    overflow-x: hidden;
}

/* Scroll Snap */
main {
    height: 100vh;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
}

section {
    height: 100vh;
    width: 100%;
    scroll-snap-align: start;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

/* Backgrounds */
.bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    transition: transform 0.5s ease-out;
}

/* Typography */
.model-header {
    text-align: center;
    padding-top: 15vh;
    opacity: 0;
    animation: fadeInDown 1s forwards;
}

.model-header h1 {
    font-size: 3.5rem;
    font-weight: 600;
    margin: 0;
    letter-spacing: 2px;
}

.model-header p {
    font-size: 1.2rem;
    margin-top: 10px;
    font-weight: 300;
}

/* Footer Info */
.model-footer {
    padding-bottom: 5vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
}

.stats-grid {
    display: flex;
    gap: 5vw;
    text-align: center;
}

.stat-item h3 {
    font-size: 1.8rem;
    margin: 0;
    font-weight: 600;
}

.stat-item p {
    font-size: 0.9rem;
    margin-top: 5px;
    opacity: 0.8;
}

/* Buttons */
.btn-group {
    display: flex;
    gap: 20px;
}

.btn {
    padding: 12px 40px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s;
    width: 200px;
    text-align: center;
}

.btn-primary {
    background: #fff;
    color: #000;
}

.btn-secondary {
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    backdrop-filter: blur(10px);
}

.btn:hover {
    transform: scale(1.02);
}

/* Navigation */
.tesla-nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    box-sizing: border-box;
}

.logo {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 5px;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    margin-left: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #ddd;
}

/* Animations */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Placeholders for missing images */
.placeholder-x { background: linear-gradient(135deg, #2c3e50, #000); }
.placeholder-y { background: linear-gradient(135deg, #16222a, #3a6073); }
.placeholder-cyber { background: linear-gradient(135deg, #2b32b2, #1488cc); }
