/* Aeronix Custom Styles */
:root {
    --lime: #b7fd56;
    --dark: #0a0e14;
    --card: #151a21;
}

/* Aggressive horizontal scroll prevention */
html, body {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden !important; /* Force hidden overflow */
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    touch-action: pan-y;
}

/* Ensure top-level containers respect viewport width and never exceed it */
section, main, header, footer, .container {
    max-width: 100% !important;
    box-sizing: border-box;
}

/* Prevent horizontal scroll on mobile and desktop caused by animations or absolute elements */
.reveal, .card-reveal, [data-gsap-reveal] {
    overflow-x: hidden;
}

/* Content Reveal Transition */
.content-blur {
    filter: blur(20px);
    transition: filter 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.content-reveal {
    filter: blur(0px);
}

/* Form Animations */
.step-content {
    animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Glassmorphism */
.glass {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Scrollbar Hiding Utility - Hides visual indicator but preserves functionality */
@media (min-width: 1024px) {
    .scrollbar-hide {
        -ms-overflow-style: none;  /* IE and Edge */
        scrollbar-width: none;  /* Firefox */
    }
    .scrollbar-hide::-webkit-scrollbar {
        display: none; /* Chrome, Safari and Opera */
    }
    
    /* Apply globally to hide main browser scroll indicator on PC/Laptop */
    html, body {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
    html::-webkit-scrollbar, 
    body::-webkit-scrollbar {
        display: none;
    }
}

/* Custom Toast Styling */
#toast-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 9999;
}

.toast {
    padding: 1rem 2rem;
    border-radius: 1rem;
    background: var(--card);
    color: white;
    border-left: 4px solid var(--lime);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    margin-top: 1rem;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}
