/* =========================================
   1. GLOBAL VARIABLES & SETTINGS
   ========================================= */
:root {
    --astler-ink: #06162B;
    --astler-deep: #0B1E33;
    --astler-mid: #102A4A;
    --astler-blue: #0075C9;
    --astler-cyan: #3AD0FF;
    --astler-sun: #F6A14B;
    --astler-red: #F04E4E;
    --astler-bg: #F8FAFC;
    --font-main: 'Cairo', sans-serif;
}

/* =========================================
   2. BASIC RESET & TYPOGRAPHY
   ========================================= */
html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-main);
    background-color: var(--astler-bg);
    color: var(--astler-deep);
    margin: 0;
    padding: 0;
}

/* =========================================
   3. UTILITY CLASSES
   ========================================= */
.glass-nav {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.gradient-text {
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-image: linear-gradient(135deg, #3AD0FF 0%, #0075C9 40%, #0B1E33 100%);
}

.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.hover-lift {
    transition: box-shadow 0.3s ease;
}

.hover-lift:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* =========================================
   4. HERO COMPONENT STYLES
   ========================================= */

.hero-frame {
    border: 1px solid rgba(46, 197, 255, 0.18);
    box-shadow: 0 40px 120px -80px rgba(0, 0, 0, 0.85);
    position: relative;
    overflow: hidden;
}

/* Background Layers */
/* Moved to components/hero-background.js using Tailwind */





/* =========================================
   5. COMPONENT CLASSES
   ========================================= */

.surface-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 24px 50px -30px rgba(2, 6, 23, 0.3);
}



/* Slider / Carousel Animations */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-200px * 16));
    }
}

.slider {
    height: 120px;
    margin: auto;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.slide-track {
    animation: scroll 40s linear infinite;
    display: flex;
    width: calc(200px * 32);
}

.slide {
    height: 120px;
    width: 200px;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide img {
    width: 100%;
    max-height: 80px;
    object-fit: contain;
    opacity: 1;
}

/* Swup Transition Styles */
@keyframes on-load-fade-in {
    0% {
        opacity: 0;
        transform: translateY(10px);
        filter: blur(4px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

.transition-fade {
    transition: 0.4s ease-in-out;
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
    animation: on-load-fade-in 0.6s ease-out forwards;
}

html.is-changing .transition-fade {
    opacity: 0;
    transform: translateY(10px);
    filter: blur(4px);
}