:root {
    --primary: #ffffff;
    --accent: #FF5E7E; /* Modern, playful EdTech accent color */
    --accent-hover: #FF4267;
    --text-main: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.85);
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.15);
}

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

body, html {
    height: 100%;
    font-family: 'Outfit', sans-serif;
    background-color: #0f172a;
    overflow: hidden;
    color: var(--text-main);
}

/* Background Video Setup */
.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

#bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

/* Dark, slightly colorful overlay to ensure text is readable */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(30, 27, 75, 0.7) 100%);
}

/* Main Layout */
.content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    padding: 60px;
}

/* Hero Container */
.hero {
    text-align: right;
    max-width: 800px;
    padding: 20px 40px; /* Reduced top/bottom padding since there's no background box anymore */
    
    /* Animation */
    animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
    transform: translateY(40px);
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 30px;
    letter-spacing: -0.5px;
    text-transform: lowercase;
    opacity: 0.9;
}

.headline {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.subheadline {
    font-size: 1.25rem;
    font-weight: 300;
    color: var(--text-muted);
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
}

/* Quote Styling */
.quote {
    font-size: 1.2rem;
    font-weight: 300;
    font-style: italic;
    color: var(--primary);
    border-right: 4px solid var(--accent);
    padding-right: 20px;
    margin-top: 30px;
    opacity: 0.9;
    line-height: 1.5;
}

.quote footer {
    font-size: 1rem;
    font-weight: 600;
    font-style: normal;
    color: var(--accent);
    margin-top: 12px;
}

/* Keyframes */
@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero {
        padding: 40px 20px;
        border-radius: 24px;
    }
    .headline {
        font-size: 2.5rem;
    }
    .subheadline {
        font-size: 1.1rem;
    }
    .quote {
        font-size: 1.1rem;
    }
    
    body, html {
        /* Allow scrolling on very small devices if needed */
        overflow: auto;
    }
    .content {
        height: auto;
        min-height: 100%;
        padding: 40px 20px;
    }
    .video-container {
        position: fixed; /* Keep background fixed while content scrolls */
    }
}
