/* GENERAL RESET AND BODY STYLES */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    overflow-x: hidden;
    color: white;
}

/* ROOT HERO CONTAINER */
.hero-container {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    font-family: "Montserrat", serif;
}

/* Remove scroll pusher */
.scroll-pusher {
    display: none !important;
}

/* Make hero container NOT fullscreen */
.hero-container {
    height: auto !important;
    min-height: 100vh !important;
    overflow: visible !important;
}

/* Content section - position it differently */
.content-section {
    position: relative !important;
    height: auto !important;
    min-height: 100vh !important;
    z-index: 2;
}

/* Adjust body to allow scrolling */
body {
    overflow-x: hidden !important;
    overflow-y: auto !important;
}

/* Remove scroll arrow functionality since we're not scrolling */
.scroll-down {
    display: none !important;
}

/* Adjust bottom positioning for logos and buttons */
.bottom-left,
.bottom-right {
    position: fixed !important;
    bottom: 30px;
    z-index: 10;
}

/* FULLSCREEN VIDEO BACKGROUND */
.video-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    pointer-events: none;
}

/* SOCIAL ICONS TOP RIGHT */
.social-icons {
    position: absolute;
    top: 30px;
    right: 30px;
    display: flex;
    gap: 15px;
    z-index: 10;
}

/* Style for social media icons (WITH border) */
.social-icons a {
    width: 42px;
    height: 42px;
    border: 2px solid white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    background: transparent;
    cursor: pointer;
    padding: 0;
}

/* Style for audio toggle (WITHOUT border) */
.audio-toggle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    background: transparent;
    cursor: pointer;
    padding: 0;
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
}

/* Default: icons appear white */
.social-icons a img,
.audio-icon {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
    transition: filter 0.3s ease;
}

/* On hover: show original icon colors */
.social-icons a:hover img,
.audio-toggle:hover .audio-icon {
    filter: none;
}

.social-icons a:hover {
    transform: scale(1.2);
    border: 2.5px solid #ffdf94;
}

.audio-toggle:hover {
    transform: scale(1.2);
}

/* Remove default button styles */
.audio-toggle:focus,
.audio-toggle:active {
    background: transparent !important;
    outline: none !important;
    box-shadow: none !important;
}

/* CENTER TEXT */
.center-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 5;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    color: white;
    font-size: 4rem;
    font-weight: 300;
    letter-spacing: 3px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    font-family: "Plus Jakarta Sans", sans-serif;
    animation: fadeIn 1.5s ease-out;
}

/* CTA Shared Styles (Buttons/Links) */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: white;
    text-decoration: none;
    padding: 12px 25px;
    border: 1px solid white;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

/* CTA Shared Styles (Overriding .btn for specific look) */
.cta-btn {
    padding: 12px 28px;
    background: white;
    color: black;
    border: 2px solid white;
    font-size: 24px;
    border-radius: 40px;
    cursor: pointer;
    transition: 0.3s ease;
    font-family: Montserrat !important; 
}

.cta-btn:hover {
    background: white;
    color: black;
}

/* BOTTOM LEFT & RIGHT CTA CONTAINERS (FOR CENTERING) */
.bottom-left,
.bottom-right {
    position: absolute;
    bottom: 30px;
    z-index: 5;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 12px !important;
}

.bottom-left {
    left: 30px;
}

.bottom-right {
    right: 30px;
}

/* INITIAL HIDDEN STATES */
.left-logo-container {
    opacity: 0;
    transform: translateX(-100px);
    width: 600px;
}

.right-logo-container {
    opacity: 0;
    transform: translateX(100px);
}

.left-cta-button,
.right-cta-button {
    opacity: 0;
    transform: translateY(50px);
    font-family: 'Montserrat' !important;
}

.left-cta-button:hover,
.right-cta-button:hover {
    background-color: white;
    color: black;
}

/* Increase width for left and right CTA buttons */
.bottom-left .btn,
.bottom-right .btn {
    min-width: 230px;
    justify-content: center;
}

.left-cta-button,
.right-cta-button {
    min-width: 200px;
    justify-content: center;
}

/* Custom Speaker Cursor */
#speakerCursor {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 60px;
    height: 60px;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 1000;
    transition: transform 0.1s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Show cursor when enabled */
#speakerCursor.cursor-enabled {
    display: flex;
}

/* Circle around the speaker */
#speakerCursor::before {
    content: '';
    position: absolute;
    width: 35px;
    height: 35px;
    border: 0.5px solid white;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

/* Speaker icon container */
#speakerCursor::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    background: white;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 9v6h4l5 5V4L7 9H3zm13.5 3c0-1.77-1.02-3.29-2.5-4.03v8.05c1.48-.73 2.5-2.25 2.5-4.02zM14 3.23v2.06c2.89.86 5 3.54 5 6.71s-2.11 5.85-5 6.71v2.06c4.01-.91 7-4.49 7-8.77s-2.99-7.86-7-8.77z'/%3E%3C/svg%3E") no-repeat center;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 9v6h4l5 5V4L7 9H3zm13.5 3c0-1.77-1.02-3.29-2.5-4.03v8.05c1.48-.73 2.5-2.25 2.5-4.02zM14 3.23v2.06c2.89.86 5 3.54 5 6.71s-2.11 5.85-5 6.71v2.06c4.01-.91 7-4.49 7-8.77s-2.99-7.86-7-8.77z'/%3E%3C/svg%3E") no-repeat center;
    transition: all 0.3s ease;
}

/* Muted state - speaker with slash */
#speakerCursor.muted::after {
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M16.5 12c0-1.77-1.02-3.29-2.5-4.03v8.05c1.48-.73 2.5-2.25 2.5-4.02zM12 4v16l-5-5H3V9h4l5-5zm6.01 15.99L4.01 3l-1.42 1.42 16 16 1.42-1.42z'/%3E%3C/svg%3E") no-repeat center;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M16.5 12c0-1.77-1.02-3.29-2.5-4.03v8.05c1.48-.73 2.5-2.25 2.5-4.02zM12 4v16l-5-5H3V9h4l5-5zm6.01 15.99L4.01 3l-1.42 1.42 16 16 1.42-1.42z'/%3E%3C/svg%3E") no-repeat center;
    background: white;
}

/* Hover effect on circle */
#speakerCursor:hover::before {
    border-color: #ff0055;
    transform: scale(1.1);
}

/* Muted state with different circle color */
#speakerCursor.muted::before {
    border-color: #ff4444;
    background: rgba(255, 68, 68, 0.1);
}

/* Click animation */
#speakerCursor.clicked::before {
    transform: scale(0.9);
    border-color: #ff0055;
}

/* Pulse animation when music is playing */
#speakerCursor:not(.muted)::before {
    animation: pulseCircle 2s infinite;
}

@keyframes pulseCircle {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 5px rgba(255, 255, 255, 0);
    }
}

/* Remove pulse when muted */
#speakerCursor.muted::before {
    animation: none;
}

/* LOGO STYLES */
.logo-container {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 320px;
}

.logo {
    width: 100% !important;
    height: auto;
    max-width: 280px;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.1);
}

/* SCROLL DOWN ARROW */
.scroll-down {
    position: fixed; 
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 5;
    animation: bounce 2s infinite;
    cursor: pointer;
    transition: all 0.3s ease;
}

.scroll-down.inverted {
    flex-direction: column-reverse;
}

.scroll-text {
    font-size: 0.8rem;
    letter-spacing: 2px;
    margin-bottom: 10px;
    text-transform: uppercase;
    color: white;
    transition: margin 0.3s ease;
    font-family: 'Montserrat' !important;
}

.scroll-down.inverted .scroll-text {
    margin-bottom: 0;
    margin-top: 10px;
    font-family: 'Montserrat' !important;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid white;
    border-bottom: 2px solid white;
    transform: rotate(45deg);
    animation: pulse 1.5s infinite;
    transition: transform 0.3s ease;
}

.scroll-down.inverted .scroll-arrow {
    transform: rotate(225deg);
    animation: pulseUp 1.5s infinite;
}

@keyframes pulseUp {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* CONTENT SECTION & SCROLL PUSHER */
.content-section {
    height: 100vh;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px;
}

.content-section h2 {
    font-size: 3rem;
    font-weight: 300;
    text-align: center;
}

.scroll-pusher {
    height: 10vh; 
    opacity: 0;
    pointer-events: none;
}

/* ANIMATIONS */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

.scroll-down.inverted {
    animation: bounceUp 2s infinite;
}

@keyframes bounceUp {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(10px); }
    60% { transform: translateX(-50%) translateY(5px); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* --- RESPONSIVE ADJUSTMENTS --- */

/* 1. Universal Logo Scaling */
.logo-container {
    width: 100%;
    max-width: 320px; 
}

.logo {
    width: 100% !important;
    height: auto;
    max-width: 280px;
}

/* 2. Responsive Side Blocks */
.bottom-left,
.bottom-right {
    position: absolute;
    bottom: 5vh;
    width: 40%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    transition: all 0.5s ease;
}

.bottom-left { left: 5%; }
.bottom-right { right: 5%; }

/* 3. Media Query for Tablets/Small Laptops */
@media (max-width: 1024px) {
    .logo {
        max-width: 200px;
    }
    .bottom-left .btn, 
    .bottom-right .btn {
        min-width: 180px;
        font-size: 0.9rem;
    }
}

/* 4. Media Query for Mobile (The "Stack" Layout) */
@media (max-width: 768px) {
    .hero-container {
        height: 100vh !important;
        min-height: 100vh !important;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 20px 0;
        overflow: hidden;
    }
    
    .mobile-bottom-wrapper {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 28px;
        width: 100%;
        max-height: 90vh;
    }
    
    .bottom-left,
    .bottom-right {
        position: relative !important;
        width: 100%;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
        margin: 0;
    }
    
    .logo {
        max-width: 150px !important;
        height: auto;
    }

    .left-cta-button,
    .right-cta-button {
        min-width: 160px !important;
        padding: 10px 18px;
        font-size: 14px;
    }

    .social-icons {
        top: 20px;
        right: 20px;
    }

    .social-icons a,
    .audio-toggle {
        width: 35px;
        height: 35px;
    }

    .social-icons a img,
    .audio-icon {
        width: 18px;
        height: 18px;
    }

    #speakerCursor {
        display: none !important;
    }
}

/* 5. Fix for very short screens (Landscape phones) */
@media (max-height: 500px) {
    .logo {
        max-width: 120px;
    }
    .bottom-left, 
    .bottom-right {
        bottom: 10px;
    }
}