/* Premium Design Tokens and Utility Classes */
:root {
    --primary: #2DD4BF;
    --primary-dark: #0F766E;
    --accent: #706fd3;
    --dark-bg: #05070A;
    --surface: #0E121A;
    --text-secondary: #94A3B8;
    --border-light: rgba(255, 255, 255, 0.08);
}


body {
    font-family: 'Outfit', sans-serif;
    background-color: #05070A;
    background-image: linear-gradient(to bottom, transparent, rgba(14, 18, 26, 0.5), transparent);
    color: white;
    scroll-behavior: smooth;
}

.mesh-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -20;
    background:
        radial-gradient(at 0% 0%, rgba(45, 212, 191, 0.15) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(112, 111, 211, 0.1) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(45, 212, 191, 0.1) 0px, transparent 50%),
        radial-gradient(at 0% 100%, rgba(15, 118, 110, 0.15) 0px, transparent 50%);
    filter: blur(80px);
    animation: meshMove 20s ease-in-out infinite alternate;
}

@keyframes meshMove {
    0% {
        transform: scale(1) translate(0, 0);
    }

    100% {
        transform: scale(1.1) translate(2%, 2%);
    }
}

.glass-premium {
    background: rgba(14, 18, 26, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(45, 212, 191, 0.3);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5), 0 0 20px -5px rgba(45, 212, 191, 0.2);
}

/* Advanced Typography */
.text-gradient {
    background: linear-gradient(135deg, #FFFFFF 0%, #94A3B8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.text-primary-gradient {
    background: linear-gradient(135deg, #2DD4BF 0%, #0F766E 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Premium Layout Elements */
.mesh-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(45, 212, 191, 0.15) 0%, transparent 70%);
    filter: blur(100px);
    pointer-events: none;
    z-index: -1;
}

/* Smooth Scroll and Selection */
::selection {
    background: rgba(45, 212, 191, 0.3);
    color: white;
}

/* Hide Scrollbar globally */
::-webkit-scrollbar {
    display: none;
}

html, body {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

/* Premium Card Effects */
.card-shine {
    position: relative;
    overflow: hidden;
}

.card-shine::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 0%, rgba(255, 255, 255, 0.03) 50%, transparent 100%);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    pointer-events: none;
}

.card-shine:hover::after {
    left: 100%;
    top: 100%;
}

.perfect-border:hover {
    outline: 1px solid rgba(45, 212, 191, 0.4);
    outline-offset: -1px;
}

/* Noise Overlay */
.noise {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.03;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 500 500'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='500' height='500' filter='url(%23noise)' /%3E%3C/svg%3E");
}

/* Button Glows */
.btn-primary-glow:hover {
    box-shadow: 0 0 20px rgba(45, 212, 191, 0.4);
}

/* Scroll Indicator */
.scroll-indicator {
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

/* AOS Tweaks */
[data-aos] {
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1) !important;
}