/* ==========================================================================
   SUPORTLED PREMIUM STYLESHEET (COMPLEMENTARY TO TAILWIND CSS)
   Aesthetic: Futurist Corporate B2B, Glassmorphism & Neon LED Glows
   ========================================================================== */

:root {
    /* Color Palette Variables for Custom Styling */
    --primary-electric: #00AEEF;
    --primary-glow: rgba(0, 174, 239, 0.4);
    --secondary-deep: #003B73;
    
    --bg-dark-graphite: #0a0e13;
    --bg-dark-surface: #101419;
    --border-glass: rgba(255, 255, 255, 0.08);
}

/* --------------------------------------------------------------------------
   1. GLOBAL RESETS & STYLING HELPER CLASSES
   -------------------------------------------------------------------------- */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    background-color: var(--bg-dark-graphite);
    overflow-x: hidden;
}

/* Global Heading Font Weight Customization */
h1, h2 {
    font-weight: 300 !important;
}
h4 {
    font-weight: 500 !important;
}

/* Nav Link Hover Underline Indicator */
.nav-link {
    position: relative;
    transition: color 0.3s ease;
}
.nav-link.active {
    color: #ffffff !important;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-electric);
    box-shadow: 0 0 8px var(--primary-electric);
    transition: width 0.3s ease;
}
.nav-link.active::after,
.nav-link:hover::after {
    width: 100%;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark-graphite);
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary-electric);
    box-shadow: 0 0 10px var(--primary-glow);
}

/* --------------------------------------------------------------------------
   2. GLASSMORPHISM & NEON GLOW EFFECTS
   -------------------------------------------------------------------------- */
.glass-panel {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.glass-panel-heavy {
    background: rgba(16, 20, 25, 0.65);
    backdrop-filter: blur(40px) saturate(200%);
    -webkit-backdrop-filter: blur(40px) saturate(200%);
    border: 1px solid rgba(255, 255, 255, 0.09);
}

/* Text Gradient */
.text-gradient-primary {
    background: linear-gradient(135deg, #ffffff 20%, #82cfff 60%, #00aeef 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-cyan {
    background: linear-gradient(135deg, #82cfff 0%, #00aeef 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Glow Orbs */
.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(130px);
    opacity: 0.35;
    pointer-events: none;
    z-index: 0;
    transition: transform 1s ease-in-out;
}

/* Background digital grid pattern */
.grid-pattern {
    background-size: 60px 60px;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
}

/* --------------------------------------------------------------------------
   3. ANIMATIONS
   -------------------------------------------------------------------------- */
@keyframes float {
    0%, 100% {
        transform: translateY(0px) scale(1);
    }
    50% {
        transform: translateY(-20px) scale(1.05);
    }
}

@keyframes float-reverse {
    0%, 100% {
        transform: translateY(0px) scale(1.05);
    }
    50% {
        transform: translateY(20px) scale(1);
    }
}

.animate-float-slow {
    animation: float 12s infinite ease-in-out;
}

.animate-float-reverse-slow {
    animation: float-reverse 15s infinite ease-in-out;
}

/* Shiny reflection sweep across buttons */
.btn-shine {
    position: relative;
    overflow: hidden;
}

.btn-shine::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.25) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-25deg);
    transition: none;
}

.btn-shine:hover::after {
    left: 150%;
    transition: left 0.8s ease-in-out;
}

/* Luminous shadow buttons */
.btn-luminous {
    box-shadow: 0 0 20px rgba(0, 174, 239, 0.15);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Glassmorphism Buttons */
.btn-glass-primary {
    background: rgba(0, 174, 239, 0.12) !important;
    border: 1px solid rgba(0, 174, 239, 0.35) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    color: #ffffff !important;
    box-shadow: 0 0 20px rgba(0, 174, 239, 0.15) !important;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.btn-glass-primary:hover {
    background: rgba(0, 174, 239, 0.25) !important;
    border-color: rgba(0, 174, 239, 0.6) !important;
    box-shadow: 0 0 35px rgba(0, 174, 239, 0.45) !important;
    transform: translateY(-2px) scale(1.02) !important;
}

.btn-glass-secondary {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    color: #ffffff !important;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.btn-glass-secondary:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(0, 174, 239, 0.4) !important;
    box-shadow: 0 0 20px rgba(0, 174, 239, 0.15) !important;
    transform: translateY(-2px) scale(1.02) !important;
}

.btn-luminous:hover {
    box-shadow: 0 0 35px rgba(0, 174, 239, 0.35);
    transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   4. ADVANCED SPECIFIC COMPONENTS
   -------------------------------------------------------------------------- */

/* Mouse-tracking border spotlight */
.spotlight-card {
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.07);
    transition: border-color 0.5s ease;
}

.spotlight-card::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    border-radius: inherit;
    padding: 1px;
    background: radial-gradient(
        350px circle at var(--mouse-x, 0) var(--mouse-y, 0),
        rgba(0, 174, 239, 0.35) 0%,
        rgba(0, 174, 239, 0.08) 50%,
        transparent 100%
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 10;
}

.spotlight-card:hover::before {
    opacity: 1;
}

.spotlight-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.035);
}

/* Hologram Scanning Laser effect */
.scanner-effect {
    position: relative;
    overflow: hidden;
}

.scanner-effect::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(to bottom, transparent, rgba(0, 174, 239, 0.45) 50%, transparent);
    animation: scan 5s linear infinite;
    pointer-events: none;
    z-index: 5;
}

@keyframes scan {
    0% { top: -10%; }
    50% { top: 110%; }
    100% { top: 110%; }
}

/* Timeline Components */
.timeline-container {
    position: relative;
}

.timeline-line {
    position: absolute;
    left: 18px;
    top: 20px;
    bottom: 20px;
    width: 3px;
    background: rgba(255, 255, 255, 0.05);
}

.timeline-progress {
    position: absolute;
    left: 18px;
    top: 20px;
    width: 3px;
    height: 0;
    background: linear-gradient(to bottom, var(--primary-electric), #82cfff);
    box-shadow: 0 0 15px var(--primary-glow);
    transition: height 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (min-width: 768px) {
    .timeline-line {
        left: 50%;
        transform: translateX(-50%);
        top: 24px;
        bottom: 24px;
    }
    .timeline-progress {
        left: 50%;
        transform: translateX(-50%);
        top: 24px;
    }
}

.timeline-step {
    opacity: 0.3;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.timeline-step.active {
    opacity: 1;
    transform: translateY(0);
}

.timeline-step.active .step-number-circle {
    background: var(--bg-dark-graphite);
    border-color: var(--primary-electric);
    color: var(--primary-electric);
    box-shadow: 0 0 20px rgba(0, 174, 239, 0.4);
}

/* Lightbox Modal */
.lightbox-modal {
    position: fixed;
    inset: 0;
    background: rgba(6, 9, 13, 0.95);
    backdrop-filter: blur(12px);
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-modal.open {
    opacity: 1;
    pointer-events: auto;
}

/* Partners Marquee Overlay Fades */
.marquee-container {
    position: relative;
    overflow: hidden;
}

.marquee-container::before,
.marquee-container::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 120px;
    z-index: 2;
    pointer-events: none;
}

.marquee-container::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-dark-graphite) 0%, transparent 100%);
}

.marquee-container::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-dark-graphite) 0%, transparent 100%);
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee-scroll 45s linear infinite;
}

.marquee-track:hover {
    animation-play-state: paused;
}

@keyframes marquee-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* --------------------------------------------------------------------------
   5. B2B MULTI-STEP FORM STYLING
   -------------------------------------------------------------------------- */
.form-step-content {
    display: none;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.form-step-content.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Steps Progress Indicators */
.step-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 10;
    cursor: pointer;
}

.step-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
}

.step-indicator.active .step-circle {
    background: var(--bg-dark-graphite);
    border-color: var(--primary-electric);
    color: var(--primary-electric);
    box-shadow: 0 0 15px rgba(0, 174, 239, 0.3);
}

.step-indicator.completed .step-circle {
    background: var(--primary-electric);
    border-color: var(--primary-electric);
    color: var(--bg-dark-graphite);
    box-shadow: 0 0 10px rgba(0, 174, 239, 0.2);
}

.step-line {
    flex-grow: 1;
    height: 2px;
    background: rgba(255, 255, 255, 0.08);
    margin-top: 18px;
    transition: background 0.3s ease;
}

.step-line.active {
    background: var(--primary-electric);
}

/* Custom Checkbox Cards */
.checkbox-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 24px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.05);
    cursor: pointer;
    transition: all 0.3s ease;
}

.checkbox-card input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkbox-box {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 20px;
    height: 20px;
    border-radius: 4px;
    border: 2px solid rgba(255, 255, 255, 0.15);
    background: transparent;
    transition: all 0.3s ease;
}

.checkbox-card input[type="checkbox"]:checked ~ .checkbox-box {
    background: var(--primary-electric);
    border-color: var(--primary-electric);
}

.checkbox-box::after {
    content: "";
    position: absolute;
    display: none;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid var(--bg-dark-graphite);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-card input[type="checkbox"]:checked ~ .checkbox-box::after {
    display: block;
}

.checkbox-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.035);
}

.checkbox-card input[type="checkbox"]:checked ~ .checkbox-content i {
    color: var(--primary-electric);
}

.checkbox-card input[type="checkbox"]:checked {
    border-color: var(--primary-electric);
}

/* Form Group Validation errors */
.form-group.error label {
    color: #ef4444;
}

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: #ef4444;
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.15);
}

.form-group.error .error-msg {
    display: block !important;
}

/* Drag and Drop File Upload Area */
.file-upload-zone {
    border: 2px dashed rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    background: rgba(255, 255, 255, 0.01);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.file-upload-zone input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.file-upload-zone.dragover {
    border-color: var(--primary-electric);
    background: rgba(0, 174, 239, 0.05);
    box-shadow: 0 0 15px rgba(0, 174, 239, 0.15);
}

.file-upload-zone .upload-icon {
    font-size: 32px;
    color: rgba(255, 255, 255, 0.3);
    margin: 0 auto 12px auto;
    transition: color 0.3s ease;
}

.file-upload-zone:hover .upload-icon,
.file-upload-zone.dragover .upload-icon {
    color: var(--primary-electric);
}

.success-card {
    display: none;
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.success-card.active {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    opacity: 1;
    transform: scale(1);
}

/* --------------------------------------------------------------------------
   6. SCROLL REVEALS
   -------------------------------------------------------------------------- */
.scroll-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* --------------------------------------------------------------------------
   7. LED DOT MATRIX & RGB SUBPIXEL PATTERNS (DESIGN DETAILS)
   -------------------------------------------------------------------------- */
.led-rgb-matrix-bg {
    position: relative;
}

.led-rgb-matrix-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.15; /* subtle blend */
    background-image: 
        repeating-linear-gradient(
            to bottom,
            #000 0px,
            #000 3px,
            transparent 3px,
            transparent 12px
        ),
        repeating-linear-gradient(
            to right,
            #ff3333 0px,
            #ff3333 3px,
            #33ff33 3px,
            #33ff33 6px,
            #3388ff 6px,
            #3388ff 9px,
            #000 9px,
            #000 12px
        );
    background-size: 12px 12px;
}

.led-card-dots {
    background-image: radial-gradient(circle at center, rgba(0, 174, 239, 0.035) 0.75px, transparent 0.75px);
    background-size: 8px 8px;
    transition: background-image 0.5s ease, border-color 0.5s ease, background-color 0.5s ease;
}

.led-card-dots:hover {
    background-image: radial-gradient(circle at center, rgba(0, 174, 239, 0.07) 1px, transparent 1px);
}

/* ==========================================================================
   8. MODERN GLASSMORPHISM FOR "SECTORES" SECTION
   ========================================================================== */
#sectors-grid .spotlight-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.06), 
                0 8px 32px 0 rgba(0, 0, 0, 0.35) !important;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                background 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
    overflow: hidden;
    position: relative;
}

/* Glowing corner ambient orb */
#sectors-grid .spotlight-card::after {
    content: '';
    position: absolute;
    bottom: -35px;
    right: -35px;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(0, 174, 239, 0.18) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(15px);
    pointer-events: none;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), 
                opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0.5;
    z-index: 1;
}

/* Card hover state */
#sectors-grid .spotlight-card:hover {
    transform: translateY(-8px);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%) !important;
    border-color: rgba(0, 174, 239, 0.45) !important;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.15), 
                0 20px 40px rgba(0, 174, 239, 0.2), 
                0 8px 24px rgba(0, 0, 0, 0.45) !important;
}

#sectors-grid .spotlight-card:hover::after {
    transform: scale(1.6);
    opacity: 1;
}

/* Premium styling for the Icon Container inside each card */
#sectors-grid .spotlight-card > div:first-child {
    background: rgba(0, 174, 239, 0.08) !important;
    border: 1px solid rgba(0, 174, 239, 0.15) !important;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.05),
                0 4px 10px rgba(0, 0, 0, 0.15) !important;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
    position: relative;
    z-index: 5;
}

#sectors-grid .spotlight-card:hover > div:first-child {
    background: rgba(0, 174, 239, 0.25) !important;
    border-color: rgba(0, 174, 239, 0.55) !important;
    color: #ffffff !important;
    box-shadow: 0 0 20px rgba(0, 174, 239, 0.45), 
                inset 0 1px 1px rgba(255, 255, 255, 0.18) !important;
    transform: scale(1.12) rotate(4deg);
}

/* Titles and description transitions */
#sectors-grid .spotlight-card h3 {
    transition: color 0.3s ease, text-shadow 0.3s ease;
    position: relative;
    z-index: 5;
}

#sectors-grid .spotlight-card p {
    position: relative;
    z-index: 5;
}

#sectors-grid .spotlight-card:hover h3 {
    color: #ffffff !important;
    text-shadow: 0 0 10px rgba(0, 174, 239, 0.45);
}

/* ==========================================================================
   9. HERO BACKGROUND SLIDESHOW WITH SMOOTH ZOOM (KEN BURNS EFFECT)
   ========================================================================== */
#hero-slideshow {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    z-index: 1;
    transition: opacity 2.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

/* Ken Burns Zoom Effect */
.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.03);
    /* Very slow transition for scale to prevent jumpiness and ensure smooth zoom */
    transition: transform 12s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-slide.active img {
    transform: scale(1.1);
}


