/* ================= HEADER CONTROL PAGO 2030 ================= */

.header-2026 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 30px 0;
    /* Más aire inicial */
    z-index: 1000;
    display: flex;
    justify-content: center;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reducción elegante al hacer Scroll */
.header-scrolled {
    padding: 15px 0;
}

.nav-container {
    width: 92%;
    max-width: 1400px;
    /* Más amplio para look Enterprise */
    height: 85px;
    /* Más alto y presencial */
    background: rgba(5, 29, 38, 0.4);
    /* Fondo coherente con tu footer */
    backdrop-filter: blur(25px) saturate(200%);
    -webkit-backdrop-filter: blur(25px) saturate(200%);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    position: relative;

    /* BORDE DE LUZ: Efecto fibra óptica */
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.3),
        inset 0 1px 2px rgba(255, 255, 255, 0.1);

    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

/* TEXTURA: Rejilla Nanotech */
.nav-container::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(124, 224, 242, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(124, 224, 242, 0.03) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.8;
    pointer-events: none;
    z-index: 0;
}

/* AREA DEL LOGOTIPO */
.logo-area {
    display: flex;
    align-items: center;
    z-index: 2;
}

.main-logo {
    height: 190px;
    /* Tamaño ideal para destacar */
    width: auto;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.logo-area:hover .main-logo {
    transform: scale(1.05) rotate(-1deg);
}

/* LINKS DE NAVEGACIÓN - Estilo Minimalista High-End */
.nav-links {
    display: flex;
    list-style: none;
    gap: 45px;
    z-index: 2;
    margin: 0;
    padding: 0;
}

.nav-item {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 11px;
    font-weight: 100;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.3s ease;
}

.nav-item:hover {
    color: #7ce0f2;
    text-shadow: 0 0 15px rgba(124, 224, 242, 0.4);
}

/* BOTÓN ENTERPRISE (Satinado Metálico) */
.btn-enterprise {
    text-decoration: none !important;
    position: relative;
    background: #ffffff !important;
    /* Blanco puro sólido */
    color: #051d26 !important;
    padding: 12px 32px !important;
    /* Más alargado = más elegante */
    border-radius: 10px;
    /* Menos redondeado, más arquitectónico */
    font-size: 12px !important;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    /* Espaciado amplio para look premium */
    border: none;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);

    /* Sombra de profundidad (Ambient Occlusion) */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

/* El "Brillo de Borde" (Edge Glow) */
.btn-enterprise::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 1px;
    /* El grosor del borde de luz */
    border-radius: 10px;
    background: linear-gradient(135deg, #60e2ff, #60e2ff, #60e2ff);
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.5;
    transition: opacity 0.4s ease;
}

/* Efecto de Reflejo (Glossy Overlay) */
.btn-enterprise::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.8),
            transparent);
    transition: 0.6s;
}

/* INTERACCIONES */

.btn-enterprise:hover {
    transform: translateY(-4px);
    letter-spacing: 3px;
    /* El texto se expande suavemente */
    box-shadow: 0 15px 40px rgba(124, 224, 242, 0.4);
}

.btn-enterprise:hover::before {
    opacity: 1;
    /* El borde de luz se enciende */
}

.btn-enterprise:hover::after {
    left: 100%;
    /* El reflejo cruza el botón */
}

.btn-enterprise:active {
    transform: translateY(-1px) scale(0.98);
}

/* COMPRESIÓN DINÁMICA AL HACER SCROLL */
.header-scrolled .nav-container {
    width: 85%;
    height: 70px;
    background: rgba(5, 29, 38, 0.9);
    border: 1px solid rgba(124, 224, 242, 0.3);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5);
}

/* RESPONSIVE MEJORADO */
@media (max-width: 1100px) {
    .nav-links {
        gap: 20px;
    }

    .nav-container {
        padding: 0 20px;
    }
}

@media (max-width: 900px) {
    .nav-links {
        display: none;
    }

    /* Hamburguesa necesaria aquí */
    .nav-container {
        width: 95%;
        height: 65px;
    }

    .main-logo {
        height: 35px;
    }
}