@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap');

body {
    font-family: 'Inter', sans-serif;
    background-color: #030a1a;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Animated Background Grid */
.bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(59, 130, 246, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -1;
    pointer-events: none;
}

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

/* Ambient glow in the top right */
.bg-glow-top-right {
    position: fixed;
    top: -10%;
    right: -10%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.12) 0%, rgba(3, 10, 26, 0) 70%);
    z-index: 0;
    pointer-events: none;
    animation: moveGlow 15s ease-in-out infinite;
}

@media (min-width: 1024px) {
    .bg-glow-top-right {
        width: 40%;
        height: 40%;
    }
}

/* Main central glow behind the card */
.bg-glow-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: 90%;
    background: radial-gradient(circle, rgba(29, 78, 216, 0.08) 0%, rgba(3, 10, 26, 0) 60%);
    z-index: 0;
    pointer-events: none;
    animation: moveGlow 20s ease-in-out infinite alternate;
}

@media (min-width: 1024px) {
    .bg-glow-center {
        width: 60%;
        height: 60%;
    }
}

@keyframes moveGlow {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(5%, 5%) scale(1.1); }
    100% { transform: translate(0, 0) scale(1); }
}

/* Glassmorphism card effect */
.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

/* Navigation item glow effect */
.nav-glow {
    position: relative;
}

.nav-glow::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 15px;
    height: 15px;
    background: #3b82f6;
    filter: blur(10px);
    opacity: 0.8;
    border-radius: 50%;
}

/* Primary button glow */
.btn-glow {
    box-shadow: 0 0 25px rgba(59, 130, 246, 0.5);
    background: linear-gradient(90deg, #3b82f6 0%, #2563eb 100%);
    transition: all 0.3s ease;
}

.btn-glow:hover {
    box-shadow: 0 0 35px rgba(59, 130, 246, 0.7);
    transform: translateY(-1px);
}

/* 3D Floating Animation */
@keyframes float3D {
    0% {
        transform: perspective(1000px) rotateX(0deg) rotateY(0deg) translateY(0px);
    }
    33% {
        transform: perspective(1000px) rotateX(2deg) rotateY(-5deg) translateY(-15px);
    }
    66% {
        transform: perspective(1000px) rotateX(-3deg) rotateY(3deg) translateY(5px);
    }
    100% {
        transform: perspective(1000px) rotateX(0deg) rotateY(0deg) translateY(0px);
    }
}

.animate-3d {
    animation: float3D 6s ease-in-out infinite;
    transform-style: preserve-3d;
}

/* Illustration Portal Glow */
.portal-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(34, 211, 238, 0.15) 0%, rgba(3, 10, 26, 0) 70%);
    border-radius: 50%;
    z-index: -1;
    filter: blur(20px);
}

/* Illustration Decorative Frame */
.illustration-frame {
    position: relative;
    padding: 20px;
    border-radius: 40px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

/* Text and Decorative Elements */
.text-glow-cyan {
    text-shadow: 0 0 20px rgba(34, 211, 238, 0.4);
}

.tagline {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(34, 211, 238, 0.1);
    border: 1px solid rgba(34, 211, 238, 0.2);
    border-radius: 9999px;
    color: #22d3ee;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
}
