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

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

body {
    /* Keeps a black background just in case the video takes a second to load */
    background-color: #000000;
    color: #ffffff;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    padding: 6vw;
    /* Prevents unwanted horizontal scrolling from the video */
    overflow-x: hidden; 
}

/* --- Video Background Styling --- */
.bg-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover; /* Fills the screen without stretching */
    z-index: -1; /* Pushes video to the very back */
    opacity: 0.4; /* Dims the video so white text is legible */
    pointer-events: none; /* Prevents users from accidentally clicking or pausing it */
}

/* --- Main Content Layering --- */
.container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative; /* Crucial: Allows z-index to work */
    z-index: 1; /* Pulls all your text on top of the video */
}

header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 120px;
}

h1 {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 3px;
}

.tagline {
    font-size: 0.85rem;
    color: #888888;
    letter-spacing: 1px;
}

.intro {
    margin-bottom: 140px;
}

.intro h2 {
    font-size: 3.2rem;
    font-weight: 400;
    line-height: 1.25;
    max-width: 1100px;
    letter-spacing: -0.02em;
}

.grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 80px;
    margin-bottom: 140px;
}

.list-section h3 {
    font-size: 0.75rem;
    letter-spacing: 2px;
    color: #888888;
    margin-bottom: 30px;
    font-weight: 500;
}

ul {
    list-style: none;
}

ul li {
    font-size: 1.35rem;
    margin-bottom: 12px;
    font-weight: 400;
    color: #e5e5e5;
}

footer {
    margin-top: 120px;
    padding-top: 60px;
}

footer a {
    color: #ffffff;
    text-decoration: none;
    font-size: 2.2rem;
    font-weight: 400;
    letter-spacing: -0.01em;
    transition: color 0.2s ease;
}

footer a:hover {
    color: #888888;
}

/* --- Responsive Scaling for Tablets and Mobile --- */
@media (max-width: 1024px) {
    .intro h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    body {
        padding: 8vw;
    }
    header {
        margin-bottom: 80px;
    }
    .intro {
        margin-bottom: 80px;
    }
    .intro h2 {
        font-size: 1.85rem;
    }
    .grid-layout {
        gap: 50px;
        margin-bottom: 80px;
    }
    footer a {
        font-size: 1.5rem;
    }
}