/* Custom CSS styles for Wappto Landing Page */

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

body {
    background-color: #0a0a0f;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Glassmorphism utility */
.glass {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.glass-nav {
    background: rgba(10, 10, 15, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Text Gradients */
.text-gradient {
    background: linear-gradient(135deg, #00f0ff, #a855f7, #00fff5);
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 5s ease infinite;
}

/* Glow effects */
.glow-border {
    transition: all 0.3s ease;
}

.glow-border:hover {
    box-shadow: 0 0 25px rgba(0, 240, 255, 0.3), inset 0 0 15px rgba(168, 85, 247, 0.2);
    border-color: rgba(0, 240, 255, 0.6);
    transform: translateY(-5px);
}

.glow-on-hover {
    transition: all 0.3s ease;
}

.glow-on-hover:hover {
    box-shadow: 0 0 30px rgba(168, 85, 247, 0.6);
    transform: scale(1.05);
}

.hero-glow-1 {
    position: absolute;
    top: 20%;
    left: 20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    border-radius: 50%;
    filter: blur(50px);
    z-index: -1;
    animation: floatGlow 10s ease-in-out infinite alternate;
}

.hero-glow-2 {
    position: absolute;
    bottom: 20%;
    right: 20%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    border-radius: 50%;
    filter: blur(50px);
    z-index: -1;
    animation: floatGlow 8s ease-in-out infinite alternate-reverse;
}

/* Animations */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

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

    100% {
        transform: translate(30px, -50px) scale(1.1);
    }
}

.nfc-waves {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 2px solid rgba(0, 240, 255, 0.5);
    animation: ripple 2s linear infinite;
    opacity: 0;
    z-index: -1;
}

.nfc-waves:nth-child(2) {
    animation-delay: 0.6s;
}

.nfc-waves:nth-child(3) {
    animation-delay: 1.2s;
}

@keyframes ripple {
    0% {
        width: 100px;
        height: 100px;
        opacity: 1;
    }

    100% {
        width: 300px;
        height: 300px;
        opacity: 0;
        border-width: 0px;
    }
}

/* Loading animation for buttons */
.loader {
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top: 3px solid #fff;
    width: 20px;
    height: 20px;
    -webkit-animation: spin 1s linear infinite;
    animation: spin 1s linear infinite;
    display: none;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

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

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

::-webkit-scrollbar-thumb {
    background: rgba(168, 85, 247, 0.5);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 240, 255, 0.8);
}

/* Como Funciona GSAP Animations */
.wave {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid rgba(168, 85, 247, 0.6);
}

.anim-step-waves .wave:nth-child(2) {
    width: 80px;
    height: 80px;
    border: 2px solid rgba(0, 240, 255, 0.4);
}