/* SKYLOR LANDING PAGE STYLES 
   Merged: All refined styles
*/

: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.08);
    --glass-bg: rgba(255, 255, 255, 0.7);
    --primary-soft: #EEF2FF;
    --text-main: #111827;
    --text-sec: #4B5563;
    --border: #E5E7EB;
    --bg-surface-2: #F9FAFB;
    
    /* Bootstrap Override Colors (Implicit) */
    --bs-primary: #4f46e5; /* Indigo 600 */
}

/* === 1. LAYOUT UTILITIES === */
.container-wide {
    width: 96%;
    max-width: 1440px; 
    margin-left: auto;
    margin-right: auto;
}

.text-balance { text-wrap: balance; }
.bg-surface-2 { background-color: var(--bg-surface-2); }
.rounded-full { border-radius: 9999px; }

/* Typography */
body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text-main);
}

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

.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.02em;
    color: var(--text-main);
}

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

.landing-navbar .container-wide {
    display: flex;
    flex-wrap: wrap; 
    align-items: center;
    justify-content: space-between; 
}

.landing-navbar .navbar-brand {
    padding-top: 0;
    padding-bottom: 0;
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--text-main);
    letter-spacing: -0.02em;
}

/* Logo specific styling - INCREASED SIZE */
.navbar-logo {
    height: 40px; /* Increased from 32px to 40px */
    width: auto;
    object-fit: contain;
}

.landing-navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    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.75rem 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;
    font-weight: 500;
    color: var(--text-sec);
}

.landing-navbar .nav-link:hover {
    color: var(--bs-primary);
}

/* MOBILE DRAWER STYLE (RIGHT-TO-LEFT, GLASS, ELEGANT) */
@media (max-width: 991px) {
    .navbar-collapse {
        position: fixed;
        top: 0;
        right: 0;
        width: 80%; /* Optimal mobile drawer width */
        max-width: 320px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98); 
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: 6rem 2rem 2rem 2rem;
        box-shadow: -10px 0 40px rgba(0,0,0,0.08);
        display: block; 
        
        /* Animation: Slide In From Right */
        transform: translateX(100%); 
        /* FASTER TRANSITION: Reduced from 0.4s to 0.3s */
        transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        
        text-align: right; /* Right align items */
        border-left: 1px solid rgba(0,0,0,0.04);
        overflow-y: auto;
    }
    
    .navbar-collapse.collapsing {
        height: 100vh !important;
        transform: translateX(100%);
        transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .navbar-collapse.show {
        transform: translateX(0); 
    }

    .navbar-nav {
        margin-top: 0;
        gap: 1.25rem; 
        align-items: flex-end; 
    }
    
    .landing-navbar .nav-link {
        font-size: 1.1rem;
        font-weight: 600;
        color: var(--text-main) !important;
        padding: 0;
    }
    
    /* Ensure toggler stays above the drawer */
    .navbar-toggler {
        z-index: 1051;
        position: relative;
        border: none;
        padding: 0.5rem;
    }
    .navbar-toggler:focus {
        box-shadow: none;
    }
}

/* === 3. HERO SECTION & FORM === */
.hero-section {
    position: relative;
    padding-top: 140px;
    padding-bottom: 80px;
    overflow: hidden;
    background: radial-gradient(circle at 100% 0%, var(--primary-soft) 0%, transparent 40%),
                radial-gradient(circle at 0% 100%, #f3f4f6 0%, transparent 40%);
}

.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-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1),
                inset 0 0 0 1px rgba(255, 255, 255, 0.5);
    border-radius: 24px;
}

.glass-input {
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(0,0,0,0.1);
    font-size: 0.95rem;
    padding: 0.8rem 1rem;
    border-radius: 12px;
    transition: all 0.2s ease;
}
.glass-input:focus {
    background: #fff;
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 4px var(--primary-soft);
}

.glass-textarea {
    line-height: 1.4;
    min-height: 80px;
}

.pain-card {
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid rgba(0,0,0,0.06);
}
.pain-card:hover {
    transform: translateY(-5px);
    border-color: rgba(220, 38, 38, 0.2);
    box-shadow: 0 15px 30px -10px rgba(0,0,0,0.06);
}

.ticket-animation {
    background: #fff;
    border: 2px dashed var(--bs-primary);
    border-radius: 12px;
    padding: 2rem;
    display: inline-block;
    position: relative;
    overflow: hidden;
    min-width: 250px;
}
.ticket-animation::before, .ticket-animation::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: #fff; 
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    border: 1px solid transparent; 
}
.ticket-animation::before { left: -12px; }
.ticket-animation::after { right: -12px; }

/* === 4. PROCESS FLOW === */
.step-card {
    transition: transform 0.3s ease;
    border: 1px solid rgba(0,0,0,0.04);
}
.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.08) !important;
}

.step-arrow {
    position: absolute;
    right: -25px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: #cbd5e1; /* Slate-300 */
    z-index: 5;
}

/* === 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: 16px;
    background: transparent;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.feature-nav-btn.active {
    background: #fff;
    border-color: var(--bs-primary);
    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-soft);
    color: var(--bs-primary);
}

.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; 
}

.glass-browser {
    background: #fff;
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    box-shadow: 0 25px 60px -15px rgba(0,0,0,0.08);
    overflow: hidden;
}

.glass-browser-header {
    display: flex;
    gap: 6px;
    margin-bottom: 0;
    padding: 0.75rem;
    background: #f9fafb;
    border-bottom: 1px solid #f3f4f6;
}

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

.feature-image-container {
    border-radius: 0 0 12px 12px;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 16/10; 
    position: relative;
}

.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;
}

/* === 7. RESPONSIVE UTILITIES === */
@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;
        gap: 1rem;
    }
    
    .feature-nav-btn {
        min-width: 300px;
        background: white;
        border: 1px solid var(--border);
        margin-bottom: 0;
    }
    
    .step-arrow { display: none !important; }
}