:root {
    --bg-color: #0b0b0b;
    --text-color: #f5f5f7;
    --accent-color: #0071e3;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    overflow-x: hidden;
    line-height: 1.5;
}

#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

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

.loader-text {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    font-family: 'Outfit', sans-serif;
    display: block;
    margin-bottom: 20px;
}

.progress-bar {
    width: 250px;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.progress {
    width: 0%;
    height: 100%;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 44px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: saturate(180%) blur(20px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-content {
    max-width: 1000px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo {
    font-weight: 600;
    font-size: 1.1rem;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.85rem;
    margin-left: 30px;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.nav-links a:hover {
    opacity: 1;
}

#hero {
    height: 600vh; /* Extremely tall for smooth scroll animation */
    background-color: black;
}

.sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

canvas {
    max-width: 100vw;
    max-height: 100vh;
    object-fit: contain;
}

.text-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 90%;
    max-width: 800px;
    opacity: 0;
    pointer-events: none;
}

.text-overlay h1, .text-overlay h2 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    font-family: 'Outfit', sans-serif;
    background: linear-gradient(135deg, #fff 0%, #aaa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-overlay p {
    font-size: clamp(1rem, 3vw, 1.5rem);
    color: #86868b;
    font-weight: 500;
}

.glass-section {
    padding: 100px 20px;
    background: #000;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
}

.spec-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.spec-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 60px 40px;
    border-radius: 20px;
    text-align: center;
    backdrop-filter: blur(20px);
}

.spec-item h3 {
    font-size: 3rem;
    margin-bottom: 10px;
    color: var(--accent-color);
}

.spec-item p {
    color: #86868b;
}

footer {
    padding: 50px 20px;
    text-align: center;
    color: #86868b;
    border-top: 1px solid #1d1d1f;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .text-overlay h1, .text-overlay h2 {
        font-size: 2.2rem;
    }
    .spec-item h3 {
        font-size: 2.2rem;
    }
}
