/* Hero Section Styles - Light Theme */

/* Main Scene Container */
#main-scene {
    height: 100vh;
    position: relative;
    font-family: 'Satoshi', sans-serif;
    background: var(--bg-secondary);
    overflow: hidden;
}

.sticky-container {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    background: var(--bg-secondary);
}

/* UI Overlay Elements */
.scene-ui {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem 0;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    pointer-events: none;
}

.scene-ui.is-active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* Hero emerge styles */
.hero-emerge {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.95);
    transition: none;
    z-index: 10;
    pointer-events: none;
}

.hero-emerge.emerging {
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.hero-emerge.visible {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

/* Desktop: Add top padding to clear fixed navigation */
@media (min-width: 769px) {
    .hero-emerge {
        padding-top: 5rem;
    }
}

/* Hero Typography - Clean and confident */
.hero-emerge h1,
#hero-content h1 {
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: var(--text-primary);
}

/* Remove text glow effect */
.text-glow {
    text-shadow: none;
}

/* Hero description text */
.hero-emerge p,
#hero-content p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Scroll indicator */
.scroll-indicator {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    opacity: 0;
    transition: opacity 0.5s ease;
    color: var(--text-muted);
}

.scroll-indicator.visible {
    opacity: 1;
}

.scroll-indicator svg {
    width: 24px;
    height: 24px;
    animation: bounce 2s infinite;
}

/* Research validation - Elegant inline */
.research-update-container {
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.6s ease-out;
}

.research-update-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hero Customer Logos */
.hero-logos-container {
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.6s ease-out;
    margin-top: 2rem;
}

.hero-logos-visible {
    opacity: 1;
    transform: translateY(0);
}

.hero-logos-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.hero-logos-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.25rem;
}

.hero-logo {
    height: 36px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
}

.hero-logo--msu {
    height: 44px;
    max-width: 140px;
}

.hero-logo--psu {
    height: 40px;
    max-width: 135px;
}

/* Responsive adjustments for hero logos */
@media (max-width: 1023px) {
    .hero-logos-row {
        gap: 1rem;
    }

    .hero-logo {
        height: 28px;
        max-width: 95px;
    }

    .hero-logo--msu {
        height: 36px;
        max-width: 115px;
    }

    .hero-logo--psu {
        height: 34px;
        max-width: 110px;
    }
}

@media (max-width: 639px) {
    .hero-logos-row {
        gap: 0.75rem;
    }

    .hero-logo {
        height: 22px;
        max-width: 75px;
    }

    .hero-logo--msu {
        height: 30px;
        max-width: 95px;
    }

    .hero-logo--psu {
        height: 28px;
        max-width: 90px;
    }
}

/* Hero Animation Styles */
#hero-animation-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: transparent;
}

.hero-animation-window {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    right: 0;
    width: auto;
    height: 380px;
    max-height: calc(100% - 20px);
    background: var(--bg-elevated);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-default);
    border-radius: 12px;
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.6s ease-out;
}

.hero-animation-window.visible {
    opacity: 1;
}

.hero-animation-inner {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-animation-content {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

/* Global animation content constraints */
.hero-animation-inner > * {
    max-width: 100%;
    box-sizing: border-box;
}

.hero-animation-content > div {
    max-width: 100%;
    overflow: hidden;
}

/* Responsive hero animation window */
@media (min-width: 640px) {
    .hero-animation-window {
        height: 480px;
    }
}

@media (min-width: 1024px) {
    .hero-animation-window {
        height: 630px;
        max-height: calc(100% - 20px);
    }
}

@media (min-width: 1536px) {
    .hero-animation-window {
        height: 630px;
        max-height: calc(100% - 20px);
    }
}
