/* Custom Animations & Utilities */
:root {
    --neon-blue: #0047FF;
}

body {
    background-color: #050505;
    color: #e5e5e5;
    overflow-x: hidden;
}

/* Technical Grid Background */
.bg-tech-grid {
    background-size: 40px 40px;
    mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #050505;
}
::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 0;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--neon-blue);
}

/* Glitch Effect on Hover for Logo */
.glitch-hover:hover {
    animation: glitch 0.3s cubic-bezier(.25, .46, .45, .94) both infinite;
    color: var(--neon-blue);
}
@keyframes glitch {
    0% { transform: translate(0) }
    20% { transform: translate(-2px, 2px) }
    40% { transform: translate(-2px, -2px) }
    60% { transform: translate(2px, 2px) }
    80% { transform: translate(2px, -2px) }
    100% { transform: translate(0) }
}

/* Text Stroke */
.text-outline {
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.2);
    color: transparent;
}

/* Marquee Animation */
.marquee-container {
    overflow: hidden;
    white-space: nowrap;
}
.marquee-content {
    display: inline-block;
    animation: scroll 20s linear infinite;
}
@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Reveal Animation Classes */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Corner accents for "Tech" look */
.tech-border {
    position: relative;
}
.tech-border::before, .tech-border::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    border-color: var(--neon-blue);
    border-style: solid;
    transition: all 0.3s ease;
}
.tech-border::before { top: 0; left: 0; border-width: 2px 0 0 2px; }
.tech-border::after { bottom: 0; right: 0; border-width: 0 2px 2px 0; }

.tech-border:hover::before, .tech-border:hover::after {
    width: 100%;
    height: 100%;
    pointer-events: none;
}

/* WhatsApp Pulse Animation */
@keyframes pulse-signal {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 20px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
.btn-whatsapp-pulse {
    animation: pulse-signal 2s infinite;
}
