/* SKYLOR LANDING PAGE STYLES 
   Final Refinements: Wide Layout, Thin Navbar & Perfect Fit
*/

:root {
    --hero-mesh-1: rgba(79, 70, 229, 0.12); 
    --hero-mesh-2: rgba(14, 165, 233, 0.12);
    --glass-border: rgba(0, 0, 0, 0.04);
    --glass-bg: rgba(255, 255, 255, 0.9);
    --primary-soft: #EEF2FF;
}

/* === 1. LAYOUT UTILITIES (Maximized Width) === */
.container-wide {
    width: 96%;
    max-width: 1800px;
    margin-left: auto;
    margin-right: auto;
}

.text-balance { text-wrap: balance; }

/* Typography */
.hero-title {
    font-size: clamp(2.5rem, 4.5vw, 4.25rem); 
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--text-main);
}

.hero-highlight {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-sec);
}
.hero-subtitle b {
    color: var(--text-main);
    font-weight: 600;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--text-main);
}

/* === 2. NAVBAR OVERRIDES (THIN & ALIGNED) === */
.landing-navbar {
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    background: transparent;
    padding: 0.75rem 0;
    z-index: 1040;
}

/* CRITICAL FIX: Navbar Container Flex Behavior */
.landing-navbar .container-wide {
    display: flex;
    flex-wrap: wrap; /* Ensures content wraps, keeping hamburger on right */
    align-items: center;
    justify-content: space-between; /* Pushes Logo Left, Hamburger Right */
}

.landing-navbar .navbar-brand {
    padding-top: 0;
    padding-bottom: 0;
}

.landing-navbar.scrolled {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding: 0.5rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.landing-navbar .nav-link {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    line-height: 1.5;
}

/* === 3. MOBILE MENU STYLING (Fix Transparency) === */
@media (max-width: 991px) {
    .navbar-collapse {
        background: #ffffff; /* Solid white background */
        padding: 1.5rem;
        border-radius: 16px;
        margin-top: 1rem;
        border: 1px solid rgba(0,0,0,0.06);
        box-shadow: 0 20px 60px -10px rgba(0,0,0,0.15); /* Deep shadow to float above content */
        position: relative;
        z-index: 1050;
    }

    /* Adjust nav items for mobile menu panel */
    .navbar-nav {
        gap: 0.5rem;
        margin-bottom: 1.5rem !important;
    }
    
    .landing-navbar .nav-link {
        font-size: 1.1rem;
        font-weight: 600;
        color: var(--text-main) !important;
        padding-left: 0;
    }
}

/* === 4. HERO SECTION === */
.hero-section {
    position: relative;
    padding-top: 130px;
    padding-bottom: 80px;
    overflow: hidden;
    background-color: #ffffff;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -10%;
    width: 60%;
    height: 140%;
    background: radial-gradient(circle, var(--hero-mesh-1) 0%, rgba(255,255,255,0) 70%);
    filter: blur(90px);
    z-index: 0;
    pointer-events: none;
}

/* Glass Browser */
.glass-browser {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    box-shadow: 0 25px 60px -15px rgba(0,0,0,0.08);
    padding: 4px;
    width: 100%;
}

.glass-browser-header {
    display: flex;
    gap: 6px;
    margin-bottom: 6px;
    padding-left: 6px;
    padding-top: 4px;
}

.browser-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.glass-browser img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 6px;
    border: 1px solid rgba(0,0,0,0.03);
}

/* === 5. FEATURE SPLIT === */
.feature-nav-container {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.feature-nav-btn {
    width: 100%;
    text-align: left;
    padding: 1.5rem;
    border-radius: 12px;
    background: transparent;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
}

.feature-nav-btn:hover {
    background: var(--bg-surface-2);
}

.feature-nav-btn.active {
    background: #fff;
    border-color: var(--border);
    box-shadow: 0 4px 15px -3px rgba(0,0,0,0.04);
}

.feature-icon-box {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--bg-surface-2);
    color: var(--text-sec);
    flex-shrink: 0;
    font-size: 1.1rem;
}

.feature-nav-btn.active .feature-icon-box {
    background: var(--primary);
    color: #fff;
}

.feature-title { 
    font-weight: 700; 
    font-size: 1.05rem; 
    color: var(--text-main); 
    margin-bottom: 4px;
}

.feature-desc { 
    font-size: 0.95rem; 
    color: var(--text-sec); 
    line-height: 1.5; 
}

/* Sticky Image */
.sticky-feature-img {
    position: sticky;
    top: 100px;
}

.feature-image-container {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 16/10; 
    position: relative;
    border: 1px solid rgba(0,0,0,0.04);
}

.feature-pane {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
}

.feature-pane.active-pane {
    opacity: 1;
    visibility: visible;
}

.feature-pane img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    padding: 4px;
}

/* === 6. INTELLIGENCE === */
.intelligence-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

/* === 7. RESPONSIVE === */
@media (max-width: 991px) {
    .container-wide { width: 100%; padding-left: 1.25rem; padding-right: 1.25rem; }
    
    .hero-section { padding-top: 100px; padding-bottom: 60px; text-align: center; }
    .hero-title { font-size: 2.75rem; }
    
    .feature-nav-container {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 1rem;
        margin: 0 -1.25rem;
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }
    
    .feature-nav-btn {
        min-width: 300px;
        background: white;
        border: 1px solid var(--border);
    }
    
    .sticky-feature-img {
        position: relative;
        top: 0;
        margin-top: 1rem;
    }
}