/* Created: Mars Hero Page with video background, glassmorphism overlay, Impact-style typography, and cinematic animations */

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

body {
    font-family: 'Space Grotesk', sans-serif;
    overflow-x: hidden;
    background: #000;
}

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

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7) contrast(1.1) saturate(1.2);
}

/* Glassy Overlay */
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.1) 0%,
        rgba(255, 255, 255, 0.05) 25%,
        rgba(0, 0, 0, 0.1) 50%,
        rgba(255, 69, 0, 0.05) 75%,
        rgba(255, 140, 0, 0.1) 100%
    );
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
}

/* Main Content */
.hero-content {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    text-align: left;
    padding: 3rem;
    z-index: 1;
}

.content-wrapper {
    max-width: 800px;
    width: 100%;
}

/* Main Title - Orbitron Style */
.main-title {
    font-family: 'Orbitron', monospace;
    font-size: clamp(3.5rem, 8vw, 6rem);
    font-weight: 900;
    line-height: 1;
    color: white;
    text-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.8),
        0 0 10px rgba(255, 255, 255, 0.3);
    margin-bottom: 1.5rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    white-space: normal;
}

/* Stats Section */
.stats-container {
    position: fixed;
    top: 3rem;
    left: 3rem;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.stat-item {
    text-align: left;
}

.stat-number {
    display: block;
    font-family: 'Orbitron', monospace;
    font-size: 3rem;
    font-weight: 900;
    color: #ff4500;
    text-shadow: 
        0 0 20px rgba(255, 69, 0, 0.6),
        0 2px 4px rgba(0, 0, 0, 0.8);
    margin-bottom: 0.3rem;
    line-height: 1;
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

/* Mission Container */
.mission-container {
    background: transparent;
    padding: 0;
    margin: 0 0 1rem 0;
    max-width: 800px;
}

.mission-text {
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    line-height: 1.5;
    color: white;
    margin-bottom: 0;
    font-weight: 400;
    text-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.8),
        0 0 8px rgba(255, 255, 255, 0.2);
    opacity: 0.9;
}



/* CTA Button */
.cta-container {
    position: fixed;
    bottom: 5rem;
    right: 3rem;
    z-index: 10;
}

.cta-button {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    padding: 1rem 2.5rem;
    color: white;
    font-family: 'Orbitron', monospace;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cta-button:hover {
    transform: translateY(-2px) scale(1.05);
    background: rgba(0, 0, 0, 0.9);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.button-arrow {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.cta-button:hover .button-arrow {
    transform: translateX(5px);
}

/* Floating Elements */
.floating-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.floating-dot {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 69, 0, 0.6);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 69, 0, 0.8);
}

.dot-1 {
    top: 20%;
    left: 10%;
    animation: floatDot 8s ease-in-out infinite;
}

.dot-2 {
    top: 60%;
    right: 15%;
    animation: floatDot 10s ease-in-out infinite reverse;
}

.dot-3 {
    bottom: 30%;
    left: 80%;
    animation: floatDot 12s ease-in-out infinite;
}

@keyframes floatDot {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.6; }
    25% { transform: translate(20px, -30px) scale(1.2); opacity: 1; }
    50% { transform: translate(-10px, -60px) scale(0.8); opacity: 0.4; }
    75% { transform: translate(30px, -20px) scale(1.1); opacity: 0.8; }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content {
        padding: 2rem;
        justify-content: center; /* Center content vertically on smaller screens */
        align-items: center; /* Center content horizontally */
        text-align: center;
    }
    
    .content-wrapper {
        max-width: 90%; /* Adjust content wrapper width */
    }

    .main-title {
        margin-bottom: 1rem;
        font-size: clamp(2.5rem, 10vw, 4rem); /* Adjust font size for better scaling */
        line-height: 1.1;
    }
    
    .mission-text {
        font-size: 1rem; /* Slightly smaller font for readability */
        margin-bottom: 1.5rem;
    }
    
    .cta-container {
        position: relative; /* Change to relative for flow */
        bottom: auto; /* Remove fixed positioning */
        right: auto;
        margin-top: 2rem; /* Add margin to separate from title */
        display: flex;
        justify-content: center;
        width: 100%;
    }
    
    .cta-button {
        padding: 0.8rem 2rem;
        font-size: 0.9rem;
    }

    .stats-container {
        position: relative; /* Change to relative for flow */
        top: auto; /* Remove fixed positioning */
        left: auto;
        margin-bottom: 2rem; /* Add margin to separate from content */
        flex-direction: row; /* Arrange stats horizontally */
        justify-content: center;
        gap: 1.5rem;
        width: 100%;
    }
    
    .stat-item {
        text-align: center;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }

    .floating-elements {
        display: none; /* Hide floating elements on smaller screens */
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: 1rem;
    }
    
    .main-title {
        font-size: clamp(2rem, 12vw, 3rem);
    }
    
    .mission-text {
        font-size: 0.9rem;
    }
    
    .cta-button {
        padding: 0.7rem 1.5rem;
        font-size: 0.8rem;
    }
    
    .stats-container {
        flex-direction: column; /* Stack stats vertically again on very small screens */
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.7rem;
    }
}

/* Performance optimizations */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
} 