:root {
    --bg-color: #ffffff;
    --text-color: #000000;
    --accent-color: #000000;
}

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

body, html {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'TASA Explorer', system-ui, -apple-system, sans-serif;
    width: 100%;
    margin: 0;
    overflow-x: hidden;
}

/* Loader */
#loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    flex-direction: column;
    transition: opacity 0.8s ease;
    will-change: opacity;
}

.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.preloader-logo-wrapper {
    position: relative;
    width: 150px;
    height: auto;
    overflow: hidden;
}

.preloader-logo {
    width: 100%;
    height: auto;
    display: block;
    /* Invert colors assuming the original logo is white/light for dark mode.
       If original is black, remove this. Verified original seems light based on usage on dark bg. */
    /* filter: invert(1); REMOVED per user request */ 
    
    /* Initial state for specialized GSAP masking */
    /* Start completely hidden (masked) */
    opacity: 1; 
    clip-path: polygon(0% 100%, 100% 100%, 100% 100%, 0% 100%);
}

/* Sticky Container for Canvas */
.sticky-wrapper {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 1;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

#hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    /* transition: filter 0.5s ease;  GSAP will handle this but good to have base */
}

/* Blur Class (GSAP will toggle/tween this or filter directly) */
.video-blurred {
    filter: blur(10px);
    transform: scale(1.1); /* Scale up slightly to avoid blurred edges */
}

.hero-content-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 20;
    pointer-events: none; /* Let scrolls pass through if needed, but buttons need events */
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    opacity: 0; /* Hidden by default, GSAP controls this */
    /* background: rgba(0,0,0,0.2); Optional overlay for readability */
}

/* Slide 1 is visible initially (handled by JS or default CSS if JS fails) */
.slide-1 {
    opacity: 1; 
    pointer-events: auto; /* CTAs need clicks */
}

.cta-group {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}

@media (min-width: 768px) {
    .cta-group {
        flex-direction: row;
        gap: 2rem;
    }
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.8rem 1.5rem;
    background: rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--text-color);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.hero-cta:hover {
    background: var(--text-color);
    color: var(--bg-color);
    border-color: var(--text-color);
}

.hero-cta img {
    height: 1.2em;
    width: auto;
    filter: none; /* Icons should be black by default for light theme */
    transition: all 0.3s ease;
}

.hero-cta:hover img {
    filter: invert(1); /* White icon on black hover */
}

.hero-slide h1 {
    font-size: 80px;
    font-weight: 500;
    color: #000000;
    width: 100%;
    max-width: 800px;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.hero-slide p {
    font-size: 16px;
    font-weight: 400;
    color: #000000;
    max-width: 600px;
    line-height: 1.6;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    opacity: 0.9;
}

/* Removed .branding and .logo as they are replaced by slides */

/* Spacer for ScrollTrigger removed - GSAP handles pin spacing */

/* Content after video */
.content-end {
    position: relative;
    z-index: 10;
    background: var(--bg-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
}

.content-end h2 {
    font-size: 2rem;
    font-weight: 200;
    letter-spacing: 0.2rem;
    margin-bottom: 2rem;
}

.cta-btn {
    display: inline-block;
    padding: 1rem 2rem;
    border: 1px solid var(--text-color);
    color: var(--text-color);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 2px;
    transition: all 0.3s ease;
}

.cta-btn:hover {
    background: var(--text-color);
    color: var(--bg-color);
}
