/* ==========================================================================
   UDL.SOCIAL - ESTILOS ESPECÍFICOS DE LA LANDING PAGE
   (Limpiado de conflictos con roulettestyle.css)
   ========================================================================== */

:root { 
    /* Variables exclusivas para los brillos de esta página */
    --neon-glow: rgba(204, 204, 204, 0.4); 
    --glass: rgba(255, 255, 255, 0.05);
}

.translate-area {
    z-index: 5 !important;
}

/* --- HERO SECTION --- */
.hero-wrap {
    width: 100%; 
    background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)), url('../udl-home.png') center/cover fixed;
    display: flex; flex-direction: column; align-items: center; padding: 30px 30px 30px;
    border-bottom: 1px solid #222; margin-bottom: 30px;
}

.hero { max-width: 900px; text-align: center; margin-bottom: 30px; }
.hero h1 { font-family: 'Orbitron', sans-serif; font-size: 36px; margin-bottom: 20px; letter-spacing: 5px; text-shadow: 0 0 20px var(--neon-glow); color: #fff; }
.hero p { color: #ccc; line-height: 1.8; font-size: 16px; margin: 0; }

/* --- TARJETAS DE REDES (GAY, STRAIGHT, LESBIAN) --- */
.networks-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; width: 100%; max-width: 1100px; }
.net-card { 
    background: rgba(0,0,0,0.8); border: 1px solid #333; padding: 35px; border-radius: 15px; 
    text-align: center; text-decoration: none; color: white; transition: 0.4s; backdrop-filter: blur(10px); 
}
.net-card:hover { 
    transform: translateY(-10px); border-color: var(--accent); box-shadow: 0 10px 25px rgba(0,0,0,0.5); 
}
.net-card.gay { border-top: 4px solid #bc13fe; }
.net-card.straight { border-top: 4px solid #00d4ff; }
.net-card.lesbian { border-top: 4px solid #ff007a; }

/* --- SERVICIOS DESTACADOS (WEB PERSONAL / CLOUD) --- */
.featured-services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 5px; width: 100%; max-width: 1100px; margin-bottom: 20px; padding: 0 15px; }
.service-card { background: var(--glass); border: 1px solid #222; padding: 30px; border-radius: 15px; text-align: center; }
.service-card h4 { font-family: 'Orbitron', sans-serif; color: var(--accent); margin-bottom: 15px; }
.btn-view { display: inline-block; padding: 10px 25px; border: 1px solid var(--accent); color: white; text-decoration: none; font-family: 'Orbitron', sans-serif; font-size: 10px; border-radius: 5px; transition: 0.3s; }
.btn-view:hover { background: white; color: black; }

/* --- TABLAS DE PRECIOS EXCLUSIVAS DE LA LANDING --- */
.pricing-wrap {
    width: 100%; background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)), url('../udl-home.png') center/cover fixed;
    display: flex; flex-direction: column; align-items: center; padding: 60px 20px;
    border-top: 1px solid #222; border-bottom: 1px solid #222; margin-bottom: 40px;
}
.pricing-section { width: 100%; max-width: 1200px; text-align: center; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.price-card { 
    background: rgba(10, 10, 10, 0.5); border: 1px solid rgba(255,255,255,0.1); border-radius: 20px; padding: 30px 20px; 
    text-align: center; display: flex; flex-direction: column; backdrop-filter: blur(15px); transition: 0.3s; position: relative;
}
.price-card.featured { border: 1px solid var(--accent); box-shadow: 0 0 30px var(--neon-glow); transform: scale(1.03); background: rgba(20, 20, 20, 0.7); }

.discount-badge { display: inline-block; background: var(--accent); color: #000; font-family: 'Orbitron', sans-serif; font-size: 10px; font-weight: bold; padding: 4px 10px; border-radius: 12px; margin: 0 auto 15px; letter-spacing: 1px; }
.cost { font-size: 32px; font-family: 'Orbitron', sans-serif; display: block; margin-bottom: 25px; color: #fff; }
.cost span.period { font-size: 14px; color: #aaa; }
.old-price { font-size: 16px; text-decoration: line-through; color: #ff3333; margin-left: 10px; font-family: 'Segoe UI', sans-serif; font-weight: normal; }

.price-card ul { list-style: none; padding: 0; margin-bottom: 30px; text-align: left; font-size: 12px; flex-grow: 1; }
.price-card ul li { margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,0.05); display: flex; justify-content: space-between; align-items: center; }
.price-card ul li a { text-decoration: underline; color: inherit; cursor: pointer; transition: 0.3s; }
.price-card ul li a:hover { color: var(--accent); }
.check { color: var(--accent); }
.cross { color: #ff3333; }

.btn-main { display: block; padding: 15px; border: 1px solid var(--accent); color: white; text-decoration: none; font-family: 'Orbitron', sans-serif; font-size: 11px; border-radius: 5px; font-weight: bold; transition: 0.3s; }
.btn-main:hover { background: white; color: black; }

/* --- FOOTER EXCLUSIVO DE RED SOCIAL --- */
.footer-container { 
    display: grid; 
    grid-template-columns: repeat(4, 1fr); 
    width: 100%;
    max-width: 1100px; 
    margin: 0 auto; 
    gap: 20px;
}
.footer-col h5 { color: #fff; margin-bottom: 25px; font-size: 12px; letter-spacing: 1px; }
.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { color: #555; text-decoration: none; font-size: 11px; transition: 0.3s; }
.footer-col ul li a:hover { color: var(--accent); }

.bottom-bar { 
    width: 100%; 
    height: 4px; 
    background: var(--accent); 
    margin: 40px 0 20px; 
}

/* --- RESTAURACIÓN DEL HEADER (3 BLOQUES) --- */
header {
    width: 100% !important; 
    padding: 10px 40px !important; 
    background: rgba(0,0,0,0.95) !important;
    border-bottom: 2px solid var(--accent) !important;
    display: grid !important; 
    grid-template-columns: 1fr auto 1fr !important; /* Izquierda, Título, Derecha */
    align-items: center !important; 
    position: sticky !important; 
    top: 0;
    z-index: 1000;
}

.header-left { display: flex; justify-content: flex-start; }
.header-center { display: flex; justify-content: center; align-items: center;}
.header-right { flex-wrap: wrap !important; justify-content: right !important; margin-top: 10px !important; }


/* --- ESTRUCTURA DE 3 COLUMNAS (BANNERS A LOS LADOS) --- */
.page-layout {
        display: flex !important;
        flex-direction: row !important;
        width: 100% !important;
        max-width: 100% !important; /* Aquí es donde fallaba antes */
        margin: 20px 0 !important;
        padding: 0 10px !important; /* Los 10px de margen externo que querías */
        gap: 0 !important; /* Quitamos el hueco automático para controlarlo nosotros */
    }

.side-col-stack {
        width: 90px !important;
        min-width: 90px !important;
        flex-shrink: 0 !important;
        margin: 0 !important; /* Limpiamos márgenes raros */
    }

.center-column {
        flex-grow: 1 !important;
        width: auto !important;
        max-width: none !important; /* Eliminamos el límite de 1000px o 1200px que tengan otros CSS */
        margin: 0 20px !important; /* Los 20px de separación interna que pediste */
        padding: 0 !important;
    }

    .pricing-wrap, .pricing-section, .faq-section, .news-section, .featured-services {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    body { 
        margin: 0 !important; 
        padding: 0 !important; 
        width: 100% !important;
        overflow-x: hidden !important;
    }

/* --- RESTAURACIÓN DEL FOOTER (4 COLUMNAS) --- */
footer {
    width: 100% !important;
    background: #000 !important;
    padding: 60px 20px 20px !important;
    border-top: 1px solid #222 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
}

.footer-container {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important; /* FUERZA LAS 4 COLUMNAS */
    width: 100% !important;
    max-width: 1100px !important;
    gap: 40px !important;
}

.bottom-bar { 
    width: 100% !important; 
    height: 4px !important; 
    background: var(--accent) !important; 
    margin: 40px 0 20px !important; 
}

.leader-text { text-align: center; color: #444; font-size: 11px; letter-spacing: 2px; width: 100%; }

/* --- PRICING TOGGLE SWITCH (MENSUAL/ANUAL) --- */
.pricing-toggle-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
    gap: 15px;
    font-family: 'Orbitron', sans-serif;
    color: #fff;
}

.toggle-label {
    font-size: 14px;
    color: #555;
    transition: 0.3s;
    font-weight: bold;
}

.toggle-label.active {
    color: #fff;
    text-shadow: 0 0 10px var(--accent, #ffcc00);
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(255, 255, 255, 0.1);
    border: 2px solid var(--accent, #ffcc00);
    transition: .4s;
    border-radius: 30px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: var(--accent, #ffcc00);
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: rgba(255, 204, 0, 0.2);
}

input:checked + .slider:before {
    transform: translateX(30px);
}

/* --- RESPONSIVE DE ESTA PÁGINA --- */
@media (max-width: 850px) { 
    .networks-grid, .pricing-grid, .footer-container, .featured-services { 
        grid-template-columns: 1fr; 
    } 
}