/* Antigravity Web Engine CSS - Liquid Health Design */

:root {
    --primary: #1B4664;
    --secondary: #1F75D3;
    --accent: #D8DDE5;
}

body {
    margin: 0;
    padding: 0;
    width: 100vw;
    height: 100vh;
    background: #ffffff;
}

/* Layering logic */
#canvas-container {
    z-index: 0;
}

.overlay-gradient {
    z-index: 1;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.4) 0%, rgba(240, 244, 248, 0.9) 100%);
    transform: translateZ(0);
    /* Hardware acceleration */
    will-change: transform;
}

/* Extreme Glassmorphism - Light Theme 3D */
.glass-extreme {
    background: rgba(255, 255, 255, 0.95);
    /* backdrop-filter: blur(24px) saturate(180%); */
    /* -webkit-backdrop-filter: blur(24px) saturate(180%); */
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-bottom: 1px solid rgba(27, 70, 100, 0.05);
    border-right: 1px solid rgba(27, 70, 100, 0.05);
    box-shadow:
        0 25px 50px -12px rgba(27, 70, 100, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border-radius: 24px;
    transform: translateZ(0);
    /* Hardware acceleration */
}

/* Moderate Glass - UI Cards */
.glass-moderate {
    background: rgba(255, 255, 255, 0.95);
    /* backdrop-filter: blur(12px) saturate(150%); */
    /* -webkit-backdrop-filter: blur(12px) saturate(150%); */
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 10px 30px -5px rgba(27, 70, 100, 0.1);
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    transform: translateZ(0);
    /* Hardware acceleration */
}

/* 3D Perspective Hover utility classes */
.perspective-container {
    perspective: 1000px;
    transform-style: preserve-3d;
}

.hover-3d {
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    transform-style: preserve-3d;
}

.hover-3d:hover {
    transform: translateY(-8px) rotateX(4deg) rotateY(-4deg);
    box-shadow:
        -10px 30px 50px -15px rgba(27, 70, 100, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 1);
}

/* Typography styles */
.text-gradient {
    background: text;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-image: linear-gradient(to right, var(--primary), var(--secondary));
}

/* Liquid Scroll */
.liquid-scroll::-webkit-scrollbar {
    width: 6px;
}

.liquid-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.liquid-scroll::-webkit-scrollbar-thumb {
    background: rgba(27, 70, 100, 0.2);
    border-radius: 10px;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Magnetic Button Wrapper */
.magnetic-wrap {
    display: inline-block;
    position: relative;
    cursor: pointer;
}

/* Float Animation 10% Gravity */
@keyframes antigravity-float {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-15px) rotate(1deg);
    }

    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

.antigravity-element {
    animation: antigravity-float 8s ease-in-out infinite;
}

/* Dynamic Cursor Tracker */
#cursor-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(31, 117, 211, 0.15) 0%, transparent 70%);
    pointer-events: none;
    z-index: 2;
    will-change: transform;
}

/* Logo-Style Typography for Titles */
.title-logo {
    font-family: 'Montserrat', sans-serif !important;
    text-transform: uppercase !important;
    letter-spacing: 0.25em !important;
    font-weight: 700 !important;
}

.subtitle-logo {
    font-family: 'Montserrat', sans-serif !important;
    text-transform: uppercase !important;
    letter-spacing: 0.2em !important;
    font-weight: 300 !important;
}
/* Futuristic Clinical Effects */
@keyframes scan {
    0% { top: -20%; }
    100% { top: 120%; }
}

.animate-scan {
    animation: scan 4s linear infinite;
}

/* 3D Text Effect for INO Theme */
.text-3d-effect {
    text-shadow: 
        1px 1px 0px #CBD5E1,
        2px 2px 0px #94A3B8,
        3px 3px 0px #64748B,
        4px 4px 0px #475569,
        5px 5px 10px rgba(27, 70, 100, 0.4);
    transform: translateZ(20px);
}
