/* Custom CSS for Ultra Premium Complex Layout */
html {
    scroll-behavior: smooth;
    cursor: none; /* Hide default cursor */
}

body {
    background-color: #f8fafc;
    overflow-x: hidden;
}

/* Custom Cursor */
.cursor-dot,
.cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
}
.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: #2563eb;
}
.cursor-outline {
    width: 40px;
    height: 40px;
    border: 2px solid rgba(37, 99, 235, 0.5);
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}
body:hover .cursor-outline {
    width: 50px;
    height: 50px;
}
a:hover ~ .cursor-outline, button:hover ~ .cursor-outline {
    width: 60px;
    height: 60px;
    background-color: rgba(37, 99, 235, 0.1);
    border-color: #2563eb;
}

/* Premium Glassmorphism */
.glass {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.05);
}

/* Mesh Gradient Background */
.mesh-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #f8fafc;
    background-image: 
        radial-gradient(at 40% 20%, hsla(220,100%,74%,0.2) 0px, transparent 50%),
        radial-gradient(at 80% 0%, hsla(189,100%,56%,0.2) 0px, transparent 50%),
        radial-gradient(at 0% 50%, hsla(355,100%,93%,0.2) 0px, transparent 50%),
        radial-gradient(at 80% 50%, hsla(340,100%,76%,0.2) 0px, transparent 50%),
        radial-gradient(at 0% 100%, hsla(22,100%,77%,0.2) 0px, transparent 50%),
        radial-gradient(at 80% 100%, hsla(242,100%,70%,0.2) 0px, transparent 50%),
        radial-gradient(at 0% 0%, hsla(343,100%,76%,0.2) 0px, transparent 50%);
    z-index: 0;
}

/* Infinite Scrolling Marquee */
.marquee-wrapper {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}
.marquee-content {
    display: inline-block;
    animation: marquee 30s linear infinite;
}
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Scroll Reveal Classes (Triggered by JS) */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 1s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}
.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 1s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* Float Animation */
.animate-float {
    animation: float 6s ease-in-out infinite;
}
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* Custom Text Outline */
.text-outline {
    color: transparent;
    -webkit-text-stroke: 1px rgba(37, 99, 235, 0.3);
}

/* Custom scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: #2563eb; }
::selection { background: #2563eb; color: #ffffff; }
