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

body {
    font-family: 'Inter', sans-serif;
}

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

/* Custom glow effect for interactive elements */
.glow-effect {
    position: relative;
    z-index: 1;
}

.glow-effect::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle at center, rgba(88, 196, 255, 0.4) 0%, rgba(88, 196, 255, 0) 70%);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.glow-effect:hover::before {
    opacity: 1;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #0A0F14;
}

::-webkit-scrollbar-thumb {
    background: #58C4FF;
    border-radius: 10px;
}
/* Animation classes */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

/* Particle animations */
@keyframes float1 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(50px, 50px) rotate(180deg); }
}

@keyframes float2 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-60px, 30px) rotate(90deg); }
}

@keyframes float3 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(30px, -40px) rotate(270deg); }
}

@keyframes float4 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-40px, -60px) rotate(180deg); }
}

.particle {
    width: 200px;
    height: 200px;
    filter: blur(60px);
}

.particle:nth-child(1) {
    top: 20%;
    left: 10%;
    animation: float1 15s ease-in-out infinite;
}

.particle:nth-child(2) {
    top: 70%;
    left: 80%;
    animation: float2 20s ease-in-out infinite;
}

.particle:nth-child(3) {
    top: 40%;
    left: 60%;
    animation: float3 25s ease-in-out infinite;
}

.particle:nth-child(4) {
    top: 80%;
    left: 30%;
    animation: float4 18s ease-in-out infinite;
}

@keyframes pulse-slow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.5; }
}

.animate-pulse-slow {
    animation: pulse-slow 6s ease infinite;
}

@keyframes bounce-slow {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.animate-bounce-slow {
    animation: bounce-slow 3s ease infinite;
}

@keyframes bounce-x {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(5px); }
}

.animate-bounce-x {
    animation: bounce-x 2s ease infinite;
}

@keyframes tilt {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(1deg); }
    75% { transform: rotate(-1deg); }
}

.animate-tilt {
    animation: tilt 6s ease infinite;
}

.feature-pill:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px -5px rgba(88, 196, 255, 0.3);
}
/* Step card hover effect */
.step-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(88, 196, 255, 0.2);
}

@keyframes spin-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.animate-spin-slow {
    animation: spin-slow 8s linear infinite;
}

/* Form input focus styles */
input:focus, textarea:focus, select:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(88, 196, 255, 0.5);
}
/* Feature card hover effect */
.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(88, 196, 255, 0.2);
}

.stat-card:hover {
    background: linear-gradient(135deg, rgba(88, 196, 255, 0.1), rgba(88, 196, 255, 0.05));
    transform: scale(1.03);
}
/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-headline {
        font-size: 2.25rem;
        line-height: 1.2;
    }
    
    #backToTop {
        bottom: 5rem;
        right: 1rem;
        padding: 0.75rem;
    }
    
    .feature-pill {
        width: 100%;
        padding: 0.75rem 1rem;
    }
    
    .stat-card {
        padding: 1rem;
    }
    
    .stat-card div:first-child {
        font-size: 2rem;
    }

    /* Smoother mobile scrolling */
    html {
        scroll-padding-top: 70px;
    }

    /* Adjust section padding for mobile */
    section {
        padding: 3rem 1rem;
    }

    /* Reduce font sizes for better mobile readability */
    p {
        font-size: 0.9375rem;
        line-height: 1.6;
    }
}

/* Larger tap targets for mobile */
@media (pointer: coarse) {
    a, button {
        min-width: 44px;
        min-height: 44px;
    }
}
