:root {
    --primary: #0ea5e9;
    --secondary: #0f172a;
    --accent: #10b981;
    --vibrant: #6366f1;
    --glass: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.2);
}

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: #334155;
}

.glass-card {
    background: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.glass-nav {
    background: #ffffff !important;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08) !important;
    border-bottom: 1px solid rgba(15, 23, 42, 0.05) !important;
    transition: all 0.3s ease;
    z-index: 9999 !important;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #20b857;
}

.whatsapp-float .radar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #25d366;
    border-radius: 50%;
    z-index: -1;
    animation: radarEffect 2s linear infinite;
    opacity: 0.7;
}

.whatsapp-float .radar:nth-child(2) {
    animation-delay: 1s;
}

@keyframes radarEffect {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }

    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

/* Programming Syntax Effect */
.code-tag-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    background: #1e1e1e;
    color: #d4d4d4;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-family: 'ui-monospace', 'SFMono-Regular', 'Menlo', 'Monaco', 'Consolas', 'Liberation Mono', 'Courier New', monospace;
    font-size: 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    max-width: 100%;
}

@media (max-width: 640px) {
    .code-tag-container {
        font-size: 0.75rem;
        padding: 0.4rem 0.75rem;
    }
}

.code-keyword {
    color: #569cd6;
}

.code-string {
    color: #ce9178;
}

.code-function {
    color: #dcdcaa;
}

.code-operator {
    color: #d4d4d4;
}

.typing-cursor {
    display: inline-block;
    width: 2px;
    height: 1.25em;
    background-color: #569cd6;
    margin-left: 2px;
    animation: blink 1s step-end infinite;
    vertical-align: middle;
}

@keyframes blink {

    from,
    to {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}