/* ========================================
   COMING SOON PAGE - SPECIFIC STYLES
   ======================================== 
   
   Background matches homepage dark gradient
   Features video with mobile fallback
   
   ======================================== */

/* Body and HTML setup */
body {
    background: linear-gradient(135deg, #0a1929 0%, #011A38 50%, #0d2847 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Main Container - Centers everything vertically and horizontally */
.coming-soon-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 6rem 2rem 2rem 2rem; /* Top padding accounts for navbar */
    text-align: center;
    position: relative;
}

/* Visual Wrapper - Contains video/image */
.visual-wrapper {
    width: 100%;
    max-width: 600px;
    margin-bottom: 3rem;
    position: relative;
}

/* Video Element - Desktop only */
.logo-video {
    width: 100%;
    height: auto;
    border-radius: 10px;
    filter: drop-shadow(0 0 30px rgba(34, 211, 238, 0.3));
    animation: fadeIn 2s ease-in;
}

/* Static Image - Mobile fallback */
.logo-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    filter: drop-shadow(0 0 30px rgba(34, 211, 238, 0.3));
    animation: fadeIn 2s ease-in;
    display: none; /* Hidden by default, shown on mobile */
}

/* Show video on desktop, hide on mobile */
.desktop-only {
    display: block;
}

.mobile-fallback {
    display: none;
}

@media (max-width: 768px) {
    /* Hide video on mobile to conserve resources */
    .desktop-only {
        display: none;
    }
    
    /* Show static image on mobile */
    .mobile-fallback {
        display: block;
    }
}

/* Content Wrapper */
.content-wrapper {
    max-width: 700px;
    width: 100%;
}

/* Title */
.coming-soon-title {
    font-size: 3rem;
    font-weight: 300;
    letter-spacing: 3px;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    color: #ffffff;
    animation: fadeIn 2s ease-in;
}

/* Paragraph Text */
.coming-soon-text {
    font-size: 1.25rem;
    color: #d1d5db;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    animation: fadeIn 3s ease-in;
}

/* Loading Bar Container */
.loader {
    width: 250px;
    height: 4px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 2px;
    overflow: hidden;
    margin: 0 auto;
    animation: fadeIn 4s ease-in;
}

/* Animated Loading Bar */
.loader-bar {
    height: 100%;
    width: 50%;
    background: linear-gradient(90deg, #22d3ee, #3b82f6, #22d3ee);
    background-size: 200% 100%;
    animation: load 2s infinite ease-in-out, shimmer 3s infinite;
}

/* Animations */
@keyframes load {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(200%);
    }
}

@keyframes shimmer {
    0% {
        background-position: 0% 0%;
    }
    50% {
        background-position: 100% 0%;
    }
    100% {
        background-position: 0% 0%;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .coming-soon-container {
        padding: 5rem 1.5rem 2rem 1.5rem;
    }
    
    .coming-soon-title {
        font-size: 2rem;
        letter-spacing: 2px;
    }
    
    .coming-soon-text {
        font-size: 1.1rem;
    }
    
    .visual-wrapper {
        max-width: 400px;
        margin-bottom: 2rem;
    }
    
    .loader {
        width: 200px;
    }
}

@media (max-width: 480px) {
    .coming-soon-title {
        font-size: 1.75rem;
    }
    
    .coming-soon-text {
        font-size: 1rem;
    }
    
    .visual-wrapper {
        max-width: 320px;
    }
}

/* Navbar adjustments for coming soon page */
.navbar {
    background: rgba(1, 26, 56, 0.95);
    backdrop-filter: blur(10px);
}
/* Mobile Logo Sizing - Reduce by 30% on mobile */
@media (max-width: 768px) {
    .logo img,
    .footer-logo-image {
        height: 28px !important; /* 30% smaller than 40px */
        width: auto;
    }
}

/* ========================================
   INLINE SEARCH BAR (Expandable)
   ======================================== */
.inline-search-container {
    position: relative;
    display: flex;
    align-items: center;
    height: 40px;
    overflow: hidden;
}

.inline-search-input {
    width: 0;
    opacity: 0;
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    color: #ffffff;
    font-size: 1rem;
    padding: 0.5rem 0;
    outline: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.inline-search-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
    font-weight: 300;
}

/* Search icon button */
.search-icon-btn {
    background: none;
    border: none;
    color: #d1d5db;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
}

.search-icon-btn i {
    width: 1.25rem;
    height: 1.25rem;
    transition: color 0.3s ease;
}

.search-icon-btn:hover i {
    color: #22d3ee;
}

/* EXPANDED STATE */
.inline-search-container.expanded .inline-search-input {
    width: 180px;
    opacity: 1;
    border-bottom-color: #22d3ee;
    padding-right: 0.5rem;
    pointer-events: auto;
    margin-right: 0.5rem;
}

.inline-search-container.expanded .search-icon-btn {
    transform: translateX(-10px);
}

.inline-search-container.expanded .search-icon-btn i {
    color: #22d3ee;
}

/* ========================================
   SEARCH EXPANDED STATE - Fade out nav items
   ======================================== */

/* When search is expanded, fade out all nav links */
.nav-links.search-active > a,
.nav-links.search-active > .spacer,
.nav-links.search-active > .btn-get-started {
    opacity: 0;
    pointer-events: none;
    transform: translateX(-20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Keep the search container visible */
.nav-links.search-active .inline-search-container {
    opacity: 1;
    pointer-events: auto;
}

/* Make search bar wider when nav items are hidden */
.nav-links.search-active .inline-search-container.expanded .inline-search-input {
    width: 320px;
}

/* Smooth transition for nav links when NOT in search mode */
.nav-links > a,
.nav-links > .spacer,
.nav-links > .btn-get-started {
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                color 0.2s ease;
}

/* Mobile: Hide inline search, use mobile menu search instead */
@media (max-width: 767px) {
    .inline-search-container {
        display: none;
    }
}