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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #0f172a; /* Tailwind slate-900 */
    color: #f8fafc; /* Tailwind slate-50 */
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
}

/* Glassmorphism utilities */
.glass {
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.glass-card {
    background: rgba(30, 41, 59, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    border-radius: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px 0 rgba(0, 119, 182, 0.2);
    border-color: rgba(0, 119, 182, 0.3);
}

/* Custom logo color text gradients */
.text-gradient-primary {
    background: linear-gradient(135deg, #00b4d8 0%, #0077b6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Glow effects */
.glow-primary {
    position: relative;
}

.glow-primary::before {
    content: '';
    position: absolute;
    top: -2px; left: -2px; right: -2px; bottom: -2px;
    background: linear-gradient(135deg, #0077b6, #00b4d8);
    z-index: -1;
    filter: blur(15px);
    opacity: 0.5;
    border-radius: inherit;
    transition: opacity 0.3s ease;
}

.glow-primary:hover::before {
    opacity: 0.8;
}

/* Background Animated Gradient Mesh */
.bg-mesh {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    background-color: #020617;
    overflow: hidden;
}

.bg-mesh::after {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background-image: 
        radial-gradient(circle at 50% 50%, rgba(0, 119, 182, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 80% 20%, rgba(113, 113, 122, 0.08) 0%, transparent 30%),
        radial-gradient(circle at 20% 80%, rgba(0, 180, 216, 0.08) 0%, transparent 40%);
    animation: rotateMesh 30s linear infinite;
}

@keyframes rotateMesh {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Animations */
.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

.delay-100 { animation-delay: 100ms; }
.delay-200 { animation-delay: 200ms; }
.delay-300 { animation-delay: 300ms; }
.delay-400 { animation-delay: 400ms; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Spark Fuse Animation */
.fuse-container {
    position: relative;
    width: 250px;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0 auto 1.5rem auto;
    border-radius: 2px;
    overflow: hidden;
}

.fuse-spark {
    position: absolute;
    top: -1px;
    left: 0;
    width: 30px;
    height: 4px;
    background: #00b4d8;
    box-shadow: 0 0 10px #00b4d8, 0 0 20px #0077b6;
    border-radius: 4px;
    animation: travelFuse 3s infinite linear;
}

@keyframes travelFuse {
    0% { left: -30px; }
    100% { left: 100%; }
}
