/* Base & Mobile Fixes */
body { 
    font-family: 'Inter', sans-serif; 
    background-color: #f8fafc; 
    -webkit-tap-highlight-color: transparent; 
}
h1, h2, h3, h4, h5 { font-family: 'Outfit', sans-serif; }

/* Custom Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #060f1e; }
::-webkit-scrollbar-thumb { background: #3b82f6; border-radius: 4px; }

/* Safe Area Padding */
.pb-safe { padding-bottom: calc(72px + env(safe-area-inset-bottom)); } 
@media (min-width: 1024px) { .pb-safe { padding-bottom: 0; } }

/* Premium Glass effect */
.glass-panel {
    background: rgba(13, 31, 59, 0.4);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-card-light {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

/* 3-Image Pure CSS Crossfade Slider (Hardware Accelerated & Anti-Blur) */
.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: #0d1f3b;
}

.slider-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    animation: fadeZoom 15s infinite;
    
    /* Anti-Blur Fixes */
    image-rendering: -webkit-optimize-contrast;
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000px;
}

.slider-img:nth-child(1) { animation-delay: 0s; }
.slider-img:nth-child(2) { animation-delay: 5s; }
.slider-img:nth-child(3) { animation-delay: 10s; }

@keyframes fadeZoom {
    0%   { opacity: 0; transform: scale(1.05) translateZ(0); }
    10%  { opacity: 1; transform: scale(1) translateZ(0); }
    28%  { opacity: 1; transform: scale(1) translateZ(0); }
    38%  { opacity: 0; transform: scale(0.95) translateZ(0); }
    100% { opacity: 0; transform: scale(0.95) translateZ(0); }
}

/* Button Shine Hover Animation */
.btn-shine { position: relative; overflow: hidden; }
.btn-shine::after {
    content: ''; position: absolute; top: -50%; left: -60%; width: 20%; height: 200%;
    opacity: 0; transform: rotate(30deg);
    background: linear-gradient(to right, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0.0) 100%);
}
.btn-shine:hover::after {
    opacity: 1; left: 130%;
    transition: left 0.7s ease-in-out, opacity 0.15s ease-in-out;
}

/* Ambient Background Mesh Animation */
.ambient-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    overflow: hidden; z-index: 0; pointer-events: none;
}
.ambient-orb {
    position: absolute; border-radius: 50%; filter: blur(100px); opacity: 0.4;
    animation: floatOrb 20s infinite alternate;
}
@keyframes floatOrb {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 50px) scale(1.2); }
}

/* Synchronized Slide Indicator Dot Animations */
@keyframes dotPulse1 {
    0%, 31% { background-color: #3b82f6; width: 1.5rem; }
    33%, 100% { background-color: rgba(255,255,255,0.4); width: 0.5rem; }
}
@keyframes dotPulse2 {
    0%, 31% { background-color: rgba(255,255,255,0.4); width: 0.5rem; }
    33%, 64% { background-color: #3b82f6; width: 1.5rem; }
    66%, 100% { background-color: rgba(255,255,255,0.4); width: 0.5rem; }
}
@keyframes dotPulse3 {
    0%, 64% { background-color: rgba(255,255,255,0.4); width: 0.5rem; }
    66%, 98% { background-color: #3b82f6; width: 1.5rem; }
    100% { background-color: rgba(255,255,255,0.4); width: 0.5rem; }
}

.slider-dot:nth-child(1) { animation: dotPulse1 15s infinite; }
.slider-dot:nth-child(2) { animation: dotPulse2 15s infinite; }
.slider-dot:nth-child(3) { animation: dotPulse3 15s infinite; }