body {
    background-color: #f9fafb;
    color: #1f2937;
    overflow-x: hidden;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f3f4f6;
}

::-webkit-scrollbar-thumb {
    background: #0a4280;
    border-radius: 4px;
}

/* Blueprint Hex Grid Background */
.blueprint-hex {
    background-color: #f9fafb;
    background-image: radial-gradient(rgba(10, 66, 128, 0.08) 1px, transparent 1px);
    background-size: 30px 30px;
}

/* Holographic Input Fields */
.holo-input {
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 2px solid rgba(0, 0, 0, 0.1);
    color: #1f2937;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 8px 8px 0 0;
    padding: 1.25rem 1rem;
}

.holo-input:focus {
    outline: none;
    border-bottom-color: #0a4280;
    background: rgba(10, 66, 128, 0.03);
    box-shadow: inset 0 -20px 30px -30px rgba(10, 66, 128, 0.2);
}

/* Floating Label Logic */
.holo-label {
    position: absolute;
    left: 1rem;
    top: 1.25rem;
    color: rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    pointer-events: none;
    font-family: 'Syncopate', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.holo-input:focus~.holo-label,
.holo-input:not(:placeholder-shown)~.holo-label {
    top: -0.75rem;
    left: 0.5rem;
    font-size: 0.65rem;
    color: #0a4280;
    background: #f9fafb;
    padding: 0 0.5rem;
    border-radius: 4px;
}

/* Cyberpunk Map Container */
.cyber-map-container {
    position: relative;
    padding: 2px;
    background: linear-gradient(45deg, #0a4280, transparent, #1ea1f2);
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(10, 66, 128, 0.15);
}

.cyber-map-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(0deg,
            transparent,
            transparent 2px,
            rgba(10, 66, 128, 0.05) 2px,
            rgba(10, 66, 128, 0.05) 4px);
    pointer-events: none;
    z-index: 10;
}

.map-iframe {
    border-radius: 1.4rem;
    filter: grayscale(20%) contrast(110%);
    transition: filter 0.5s ease;
    width: 100%;
    height: 100%;
    display: block;
}

.cyber-map-container:hover .map-iframe {
    filter: grayscale(0%) contrast(100%);
}

/* Node Pulse Animation */
.node-pulse {
    animation: nodePulse 3s infinite alternate;
}

@keyframes nodePulse {
    0% {
        box-shadow: 0 0 0 0 rgba(10, 66, 128, 0.4);
    }

    100% {
        box-shadow: 0 0 20px 10px rgba(10, 66, 128, 0);
    }
}

/* Button Glitch Hover Effect */
.glitch-btn {
    position: relative;
    overflow: hidden;
}

.glitch-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.glitch-btn:hover::before {
    left: 100%;
}
