/* Global Reset for Horizontal Scroll */
html, body {
    overflow-x: hidden;
    max-width: 100vw;
    width: 100%;
    position: relative;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #080808;
}
::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #D4FF00;
}

/* Utilities */
.glass-panel {
    background: rgba(18, 18, 18, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.hover-trigger .hover-target {
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}
.hover-trigger:hover .hover-target {
    opacity: 1;
    transform: translateY(0);
}

/* Gradient Grid Background */
.bg-grid {
    background-size: 40px 40px;
    background-image: linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
                      linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
}

.clip-slant {
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}

/* Toast Notification */
#toast {
    visibility: hidden;
    min-width: 250px;
    background-color: #D4FF00;
    color: #000;
    text-align: center;
    border-radius: 4px;
    padding: 16px;
    position: fixed;
    z-index: 50;
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%);
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
#toast.show {
    visibility: visible;
    animation: fadein 0.5s, fadeout 0.5s 2.5s;
}
@keyframes fadein {
    from {bottom: 0; opacity: 0;}
    to {bottom: 30px; opacity: 1;}
}
@keyframes fadeout {
    from {bottom: 30px; opacity: 1;}
    to {bottom: 0; opacity: 0;}
}

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}
.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Tech Badge Style for Carousel */
.tech-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    background: rgba(212, 255, 0, 0.05); /* Active bg */
    border: 1px solid #D4FF00; /* Active border */
    border-radius: 8px;
    white-space: nowrap;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(212, 255, 0, 0.1); /* Active glow */
}
.tech-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(212, 255, 0, 0.2);
}
.tech-badge i {
    color: #D4FF00;
}

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

/* Spotlight Effect */
#cta-grid {
    --mouse-x: 0px;
    --mouse-y: 0px;
}
.spotlight-card {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease;
}
.spotlight-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(800px circle at var(--mouse-x) var(--mouse-y), rgba(212, 255, 0, 0.07), transparent 40%);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
    z-index: 0;
}
.spotlight-card:hover::before {
    opacity: 1;
}
.spotlight-card:hover {
    border-color: rgba(212, 255, 0, 0.3);
    transform: translateY(-2px);
}
.spotlight-content {
    position: relative;
    z-index: 1;
}
