/* --- Custom Utilities & Glassmorphism --- */
body { 
    font-family: 'Inter', sans-serif; 
    -webkit-font-smoothing: antialiased;
    background-color: #0f172a;
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #020617; }
::-webkit-scrollbar-thumb { background: #334155; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #475569; }

/* Glassmorphism Classes */
.glass {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.glass-dark {
    background: rgba(2, 6, 23, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.glass-card {
    background: rgba(30, 41, 59, 0.4);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

/* Inner glow for cards */
.glass-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle at center, rgba(45, 212, 191, 0.1), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.glass-card:hover::after {
    opacity: 1;
}

.glass-card:hover {
    border-color: rgba(45, 212, 191, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -5px rgba(0,0,0,0.4);
    background: rgba(30, 41, 59, 0.6);
}

/* Gradient Text */
.text-gradient {
    background: linear-gradient(to right, #2dd4bf, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Background Grid Pattern */
.bg-grid-pattern {
    background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
}

/* Accordion Styles */
.accordion-content {
    transition: grid-template-rows 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: grid;
    grid-template-rows: 0fr;
}
.accordion-content > div { overflow: hidden; }
.accordion-item.open .accordion-content { grid-template-rows: 1fr; }
.accordion-item.open .accordion-icon { transform: rotate(45deg); color: #2dd4bf; }
.accordion-item.open { background: rgba(15, 23, 42, 0.8); border-color: #2dd4bf; }
.accordion-item.open .accordion-number { background: rgba(13, 148, 136, 0.2); color: #2dd4bf; border-color: #2dd4bf; }

/* Preloader */
#preloader { position: fixed; inset: 0; background: #020617; z-index: 9999; display: flex; justify-content: center; align-items: center; transition: opacity 0.5s ease, visibility 0.5s ease; }
#preloader.loaded { opacity: 0; visibility: hidden; }
.loader { width: 48px; height: 48px; border: 3px solid #1e293b; border-radius: 50%; display: inline-block; position: relative; box-sizing: border-box; animation: rotation 1s linear infinite; }
.loader::after { content: ''; box-sizing: border-box; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 40px; height: 40px; border-radius: 50%; border: 3px solid; border-color: #0d9488 transparent; }
@keyframes rotation { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

/* Swiper Pagination Custom */
.swiper-pagination-bullet { background: #475569; opacity: 0.5; transition: all 0.3s; }
.swiper-pagination-bullet-active { background: #2dd4bf !important; opacity: 1; width: 24px; border-radius: 8px; }

/* Stats 3D Swiper Specifics */
.swiper-slide-shadow-left, .swiper-slide-shadow-right {
    background-image: none !important; /* Remove default dark overlay for cleaner glass look */
}