/* Custom Global Styles for Automatizacion HighLevel */

@layer utilities {
    .bg-radial-vignette {
        background: radial-gradient(circle at center, transparent 50%, rgba(6, 11, 20, 0.35) 85%, rgba(6, 11, 20, 0.75) 100%);
    }
}

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

::-webkit-scrollbar-track {
    background: #060B14;
}

::-webkit-scrollbar-thumb {
    background: #1E293B;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #00F0FF;
}

/* Scrollytelling Cards Behavior - Ultra Translucent & High Contrast */
.scrolly-card {
    opacity: 0;
    transform: translateY(30px) scale(0.97);
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
    background: rgba(6, 11, 20, 0.40) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    border: 1px solid rgba(56, 189, 248, 0.25) !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), inset 0 1px 1px rgba(255, 255, 255, 0.1) !important;
}

.scrolly-card h1, .scrolly-card h2, .scrolly-card h3 {
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9);
}

.scrolly-card p, .scrolly-card span, .scrolly-card li {
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.95);
}

.scrolly-card.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    border-color: rgba(0, 240, 255, 0.6) !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 20px rgba(0, 240, 255, 0.15) !important;
}

/* Simulator Node Interactive States */
.sim-node {
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.sim-node.active-node {
    background: rgba(0, 240, 255, 0.08) !important;
    border-color: #00F0FF !important;
    box-shadow: 0 0 25px rgba(0, 240, 255, 0.25);
    transform: translateY(-4px);
}

/* 3D Tilt Cards in Lower Sections */
.tilt-card {
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.tilt-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -10px rgba(0, 240, 255, 0.15);
}

/* Range input styling for ROI calculator */
input[type=range] {
    -webkit-appearance: none;
    background: rgba(255, 255, 255, 0.1);
    height: 8px;
    border-radius: 4px;
    outline: none;
}

input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #00F0FF;
    cursor: pointer;
    box-shadow: 0 0 12px rgba(0, 240, 255, 0.6);
    transition: transform 0.1s ease, box-shadow 0.1s ease;
}

input[type=range]::-webkit-slider-thumb:hover {
    transform: scale(1.15);
    box-shadow: 0 0 18px rgba(0, 240, 255, 0.9);
}

/* Header transition blur */
#main-header.scrolled {
    background: rgba(6, 11, 20, 0.92);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.7);
}
