@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

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

html, body {
    height: 100%;
    width: 100%;
    background-color: #000;
    font-family: 'Space Grotesk', sans-serif;
    cursor: none;
}

#cursor {
    height: 20px;
    width: 20px;
    background-color: #fff;
    border-radius: 50%;
    position: fixed;
    mix-blend-mode: difference;
    pointer-events: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
    z-index: 9999;
    display: grid;
    place-items: center;
}

#cursor .label {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.cursor--link {
    transform: scale(1.6);
}

.cursor--view .label {
    opacity: 1;
}

#main {
    background-color: #000;
}

[data-scroll-section] {
    min-height: 100vh;
    width: 100%;
    padding: 0 5vw;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #333;
}

nav {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2vw 5vw;
    z-index: 100;
    background: rgba(0,0,0,0.2);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.logo {
    font-size: 1.5vw;
    font-weight: 600;
    letter-spacing: -1px;
}

.nav-links a {
    text-decoration: none;
    margin-left: 2vw;
    font-size: 1.1vw;
    font-weight: 400;
}

.hero-media {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: -1;
}

.hero-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.9) contrast(1.05);
    transform: scale(1.04);
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(60% 60% at 50% 20%, rgba(0,0,0,0) 0%, rgba(0,0,0,0.35) 60%, rgba(0,0,0,0.75) 100%),
                linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.9) 100%);
}

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 80px 80px, 80px 80px;
    mix-blend-mode: overlay;
    opacity: 0.25;
    pointer-events: none;
}

.hero-content {
    text-align: center;
    padding-top: 12vh;
    padding-bottom: 14vh;
}

.hero-content .headline {
    font-size: clamp(40px, 8vw, 120px);
    font-weight: 500;
    line-height: 1;
    text-transform: uppercase;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

#page2 .page2-content h2 {
    font-size: 4vw;
    font-weight: 400;
    text-align: center;
    max-width: 40em;
    line-height: 1.3;
}

.pill-strip {
    margin: 2rem auto 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.pill {
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 12px;
    color: #ddd;
}

.feature-grid {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
    width: min(1100px, 90vw);
}

.feature-card {
    background: #0b0b0b;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 1.25rem;
}

.feature-card h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.feature-card p { color: #bdbdbd; font-size: 0.95rem; line-height: 1.5; }

#page2 .video-container {
    width: 80%;
    margin-top: 5vh;
    height: 70vh;
    border-radius: 1vw;
    overflow: hidden;
}

#page2 .video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.section-title {
    font-size: 4vw;
    font-weight: 500;
    margin-bottom: 5vh;
    text-align: center;
}

#page3 {
    min-height: 100vh;
    padding: 5vw 5vw;
    background: #000;
}

.page3-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2vw;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.panel {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 1vw;
    overflow: hidden;
    background: #000;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.panel:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255,255,255,0.1);
}

.panel video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: #000;
    transition: transform 0.6s ease;
}

.panel:hover video { 
    transform: scale(1.06); 
}

.panel span {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    font-size: 1rem;
    background: rgba(0,0,0,0.6);
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

@media (max-width: 900px) {
    .page3-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3vw;
    }
    .hero-content .headline { font-size: clamp(36px, 10vw, 72px); }
    .feature-grid { grid-template-columns: 1fr; }
    .cta-button { font-size: 14px; padding: 12px 18px; }
}

@media (max-width: 600px) {
    .page3-grid {
        grid-template-columns: 1fr;
        gap: 4vw;
    }
}#page4 .page4-content {
    text-align: center;
}

#page4 h2 {
    font-size: 5vw;
    font-weight: 500;
    margin-bottom: 3vh;
}

.cta-button {
    font-size: 1.2vw;
    padding: 1.2vw 2.5vw;
    background-color: #fff;
    color: #000;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: #ccc;
    color: #000;
}

.cta-button.ghost {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.25);
}

.cta-button.ghost:hover {
    border-color: rgba(255,255,255,0.5);
    background: rgba(255,255,255,0.06);
}

footer {
    text-align: center;
    padding: 2vw 0;
    font-size: 0.9vw;
    color: #aaa;
}

/* Lightbox */
#lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

#lightbox.open { display: flex; }

#lightbox video {
    width: min(90vw, 1200px);
    height: auto;
    max-height: 85vh;
    border-radius: 10px;
    background: #000;
}

#lightbox .close {
    position: absolute;
    top: 24px;
    right: 28px;
    font-size: 28px;
    color: #fff;
    background: transparent;
    border: none;
    cursor: pointer;
}

