/**
 * Tranquil IT - Aether UI Framework
 * Path: css/aether.css
 * Version: 1.2.0 - Swiper Transparency & Global Button Symmetry
 */

:root {
    /* Colors */
    --dark-deep: #0f1218;
    --dark-card: #161b22;
    --dark-navy: #0b1a30;
    --tech-cyan: #00ffff;
    --white: #ffffff;
    --slate: #8892b0;
    --light-slate: #ccd6f6;

    /* Layout */
    --header-height: 80px;
    --glass-border: rgba(255, 255, 255, 0.08);
}

/* --- Base & Utilities --- */
.bg-dark-deep { background-color: var(--dark-deep); }
.text-gradient { background: linear-gradient(90deg, #00ffff, #4facfe); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

/* --- Aurora Engine --- */
.hero-section-aether { position: relative; background: var(--dark-deep); padding: calc(var(--header-height) + 60px) 0 80px; }
.aurora { position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; z-index: 1; pointer-events: none; }
.aurora-spot { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.15; }
.spot1 { width: 40vw; height: 40vw; background: #00ffff; top: -10%; left: -10%; }
.spot2 { width: 30vw; height: 30vw; background: #4facfe; bottom: 10%; right: -5%; }
.spot3 { width: 25vw; height: 25vw; background: #00ffff; top: 20%; right: 20%; opacity: 0.05; }

/* --- Glassmorphism --- */
.glass-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.4s ease;
}
.hover-glow:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(0, 255, 255, 0.4);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.1);
}

/* --- Icon & UI Elements --- */
.icon-circle {
    width: 70px; height: 70px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: rgba(0, 255, 255, 0.08);
    border: 1px solid rgba(0, 255, 255, 0.2);
    box-shadow: inset 0 0 15px rgba(0, 255, 255, 0.1);
}
.card-icon-vibrant {
    color: var(--white) !important;
    filter: drop-shadow(0 0 8px rgba(0, 255, 255, 0.8));
}
.vibrant-stat-icon {
    color: var(--tech-cyan) !important;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.6);
    display: inline-block;
}
.shadow-glow { box-shadow: 0 0 25px rgba(0, 255, 255, 0.2); }

/* --- Global Button Symmetry Fix --- */
.hero-cta-btn, .btn-outline-standard {
    height: 60px !important;
    min-width: 200px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    font-size: 1rem !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 8px;
    border-width: 2px !important;
    transition: all 0.3s ease;
    text-decoration: none !important;
    box-sizing: border-box !important;
}

.hero-cta-btn {
    background: var(--tech-cyan);
    color: var(--dark-deep) !important;
    border-color: var(--tech-cyan) !important;
}
.btn-outline-standard {
    background: transparent;
    color: var(--white) !important;
    border-color: var(--white) !important;
}

.hero-cta-btn:hover { background: var(--white); border-color: var(--white) !important; transform: translateY(-3px); box-shadow: 0 5px 25px rgba(0,255,255,0.4); }
.btn-outline-standard:hover { background: rgba(255, 255, 255, 0.1); color: var(--tech-cyan) !important; border-color: var(--tech-cyan) !important; }

/* --- Swiper Fix (Transparency & Visibility) --- */
.swiper, .swiper-wrapper, .swiper-slide {
    background: transparent !important;
    border: none !important;
}
.swiper-card { min-height: 280px; overflow: hidden; }
.swiper-slide {
    display: flex !important;
    flex-direction: column !important;
    opacity: 0;
    transition: opacity 0.5s ease;
}
.swiper-slide-active { opacity: 1; }
.swiper-pagination-bullet { background: var(--white) !important; opacity: 0.15; }
.swiper-pagination-bullet-active { background: var(--tech-cyan) !important; opacity: 1; }

/* --- Navigation Framework --- */
.aether-header {
    background-color: rgba(11, 26, 48, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: fixed;
    top: 0; left: 0; width: 100%;
    z-index: 1000;
    transition: background-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    border-bottom: 1px solid var(--glass-border);
    transform: translateY(-100%);
    animation: slideDown 0.2s 0.2s ease-out forwards;
}
.aether-header.scrolled {
    background-color: rgba(11, 26, 48, 0.97);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.aether-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
    padding: 0 2rem;
}

.aether-logo {
    opacity: 0;
    animation: fadeIn 0.2s 0.4s ease-out forwards;
}
.aether-logo img { transition: opacity 0.4s ease, transform 0.4s ease; }
.aether-logo:hover img { opacity: 0.8; transform: scale(1.05); }

.aether-desktop-menu { display: flex; align-items: center; gap: 2rem; }
.aether-desktop-menu > ul > li,
.aether-desktop-menu > div {
    opacity: 0;
    transform: translateY(-10px);
    animation: fadeInDown 0.1s ease-out forwards;
    animation-delay: calc(0.3s + var(--i) * 0.1s);
}

.aether-nav-links { display: flex; list-style: none; margin: 0; padding: 0; gap: 2.5rem; }
.aether-nav-links a {
    color: var(--slate);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    padding: 10px 0;
}
.aether-nav-links a::after {
    content: '';
    position: absolute; bottom: 0; left: 0; width: 0; height: 2px;
    background-color: var(--tech-cyan);
    transition: width 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.aether-nav-links a:hover::after,
.aether-nav-links a.active::after { width: 100%; }
.aether-nav-links a:hover,
.aether-nav-links a.active { color: var(--tech-cyan); }

.aether-nav-cta,
.aether-nav-cta:visited,
.aether-nav-cta:active {
    color: var(--tech-cyan) !important;
    border: 1px solid var(--tech-cyan);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
}
.aether-nav-cta:hover {
    background-color: rgba(0, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 255, 255, 0.2);
    color: var(--white) !important;
}

/* --- Dropdown Logic --- */
.nav-item-has-dropdown { position: relative; }
.dropdown-menu {
    position: absolute; top: 100%; left: 0;
    min-width: 260px;
    list-style: none; padding: 0.5rem 0; margin: 0;
    z-index: 1001;
    background-color: rgba(15, 39, 62, 0.95);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px -15px rgba(0, 0, 0, 0.7);
    opacity: 0; visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}
.nav-item-has-dropdown:hover > .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu li { opacity: 1 !important; transform: none !important; animation: none !important; }
.dropdown-menu a {
    display: block; padding: 0.75rem 1.5rem;
    color: var(--slate); text-decoration: none; white-space: nowrap;
    transition: color 0.3s ease, background-color 0.3s ease;
}
.dropdown-menu a:hover { color: var(--tech-cyan); background-color: rgba(0, 255, 255, 0.05); }

/* --- Mobile Styles --- */
.aether-mobile-menu-toggle { display: none; }
.aether-mobile-menu-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
    background-color: var(--dark-navy);
    z-index: 2000; display: flex; flex-direction: column;
    padding: 100px 2rem 40px;
    transform: translateY(-100%);
    visibility: hidden;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), visibility 0s linear 0.4s;
    overflow-y: auto;
}

body.mobile-menu-open { overflow: hidden; }
body.mobile-menu-open .aether-mobile-menu-overlay {
    transform: translateY(0);
    visibility: visible;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), visibility 0s linear 0s;
}

@media (max-width: 992px) {
    .aether-desktop-menu, .aether-nav .aether-nav-cta { display: none !important; }
    .aether-mobile-menu-toggle {
        display: flex; flex-direction: column; gap: 5px;
        cursor: pointer; z-index: 2001;
    }
    .aether-mobile-menu-toggle span {
        display: block; width: 25px; height: 2px;
        background-color: var(--light-slate);
        transition: transform 0.3s ease, opacity 0.3s ease;
    }
    .aether-mobile-nav-links { list-style: none; padding: 0; margin: 0; text-align: center; }
    .aether-mobile-nav-links a { display: block; padding: 1rem; font-size: 1.5rem; color: var(--slate); text-decoration: none; }
    .mobile-menu-header { color: var(--tech-cyan); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1.5px; padding: 2rem 1rem 0.5rem; pointer-events: none; }
}

.aether-menu-close-btn {
    position: absolute;
    top: 1.25rem;
    right: 1.5rem;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-slate);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}
.aether-menu-close-btn:hover {
    border-color: var(--tech-cyan);
    color: var(--tech-cyan);
    background-color: rgba(0, 255, 255, 0.08);
}

.text-cyan {
    color: var(--tech-cyan);
}

.bg-cyan {
    background-color: var(--tech-cyan);
}

/* --- Stat Item Compact --- */
.stat-item-compact {
    padding: 0.5rem 0.25rem;
    overflow: hidden;
}
.stat-item-compact .stat-number {
    font-size: clamp(1.25rem, 5vw, 2rem) !important;
    line-height: 1.1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.stat-item-compact .stat-label {
    font-size: clamp(0.6rem, 2vw, 0.75rem) !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* --- Animations --- */
.float-anim { animation: floating 4s ease-in-out infinite; }
@keyframes floating { 0%, 100% { transform: translateY(0px); } 50% { transform: translateY(-15px); } }
@keyframes slideDown { to { transform: translateY(0); } }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes fadeInDown { to { opacity: 1; transform: translateY(0); } }
@keyframes bandFade { 0%, 10% { opacity: 0; transform: translateY(20px); } 15%, 25% { opacity: 1; transform: translateY(0); color: #00ffff; } 30%, 100% { opacity: 0; transform: translateY(-20px); } }

/* Hide old preloader */
#preloader { display: none; }


.vibrant-icon {
    color: #ffffff !important;
    filter: drop-shadow(0 0 8px rgba(0, 255, 255, 0.9));
}
.vibrant-icon-success {
    color: #63a163 !important;
    filter: drop-shadow(0 0 8px rgba(40, 167, 69, 0.96));
}
.card-icon-vibrant {
    color: #ffffff !important;
    filter: drop-shadow(0 0 10px rgba(0, 255, 255, 0.8));
}
