/* --- VARIABLES BASE (AZUL CLARO NEÓN) --- */
:root { 
    --accent: #00e5ff; /* Cyan Neón */
    --bg: #0a0a0a; 
    --gap: 16px; 
}

/* Scrollbar Firefox & Webkit */
* {
    scrollbar-color: var(--accent) #050505;
    scrollbar-width: thin;
}
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #050505; border-left: 1px solid #222; }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 5px; box-shadow: inset 0 0 5px rgba(0,0,0,0.5), 0 0 10px rgba(0, 229, 255, 0.3); }
::-webkit-scrollbar-thumb:hover { background: #66efff; }

html, body { margin: 0; padding: 0; width: 100%; height: 100%; }
body { 
    background-color: var(--bg); color: white; display: flex; flex-direction: column; 
    align-items: center; overflow-x: hidden; font-family: 'Segoe UI', Arial, sans-serif; position: relative; 
}

/* Fondo sutil */
body::before { 
    content: ""; position: fixed; top: 0; left: 0; width: 100%; height: 100%; 
    background-color: #050505;
    background-image: radial-gradient(circle at center, rgba(0, 229, 255, 0.05) 0%, transparent 70%);
    pointer-events: none; z-index: -1; 
}

/* --- HEADER TIPO ISLA --- */
.top-bar { 
    position: relative; width: 100%; max-width: 1400px; height: 75px; 
    box-sizing: border-box; margin: 20px auto 40px auto; 
    display: flex; align-items: center; padding: 0px 20px 0px 0px; 
    border-radius: 22px; 
    background: rgba(20, 20, 20, 0.6); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 229, 255, 0.4); 
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); 
    z-index: 3000; 
}

.header-content { display: flex; align-items: center; justify-content: space-between; width: 100%; height: 100%; position: relative; }
.header-left { display: flex; align-items: center; height: 100%; z-index: 2; }
.udl-btn { 
    height: 100%; width: 110px; box-sizing: border-box;
    border: 1px solid rgba(0, 229, 255, 0.6); padding: 2px; 
    border-radius: 22px; background: rgba(10, 10, 10, 0.6); 
    display: flex; align-items: center; justify-content: center; 
    transition: 0.3s; 
}
.udl-btn:hover { background: rgba(0, 229, 255, 0.2); }
.udl-btn img { width: 100%; height: 100%; object-fit: contain; }

/* Texto Centrado Header */
.header-logo-text {
    position: absolute; left: 50%; transform: translateX(-50%); z-index: 10;
    font-family: 'Orbitron', sans-serif; font-size: 1.8rem; font-weight: bold;
    color: var(--accent); text-shadow: 0 0 15px rgba(0, 229, 255, 0.8);
    letter-spacing: 2px; text-decoration: none; display: flex; align-items: center;
}

.header-right { display: flex; align-items: center; gap: 15px; height: 100%; z-index: 2; margin-right: 15px;}

/* --- BOTÓN NEÓN AZUL --- */
.btn-neon-blue {
    background-color: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
    border-radius: 8px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    font-family: 'Orbitron', sans-serif;
    text-shadow: 0 0 5px var(--accent), 0 0 10px var(--accent);
    box-shadow: 0 0 5px var(--accent), inset 0 0 5px var(--accent);
    transition: all 0.3s ease;
    padding: 8px 16px;
}
.btn-neon-blue:hover {
    background-color: var(--accent);
    color: #000;
    box-shadow: 0 0 20px var(--accent), inset 0 0 10px #fff;
    text-shadow: none;
}
.btn-neon-blue:disabled {
    background-color: #333; color: #666; border-color: #444; box-shadow: none; cursor: not-allowed;
}

/* --- LANDING HERO --- */
.ad-hero-section { text-align: center; padding: 40px 20px 20px 20px; max-width: 800px; margin: 0 auto; }
.ad-title { font-family: 'Orbitron', sans-serif; color: #fff; font-size: 3rem; margin: 0; text-shadow: 0 0 20px rgba(0, 229, 255, 0.5); line-height: 1.2;}
.ad-subtitle { color: #aaa; font-size: 1.2rem; margin-top: 15px; }

/* --- NUEVA SECCIÓN HORIZONTAL: BENEFICIOS --- */
.benefits-horizontal-section {
    width: 90%; max-width: 1200px; margin: 0 auto 40px auto;
    background: rgba(15, 15, 15, 0.7); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(0, 229, 255, 0.3); border-radius: 20px; padding: 40px; 
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6); box-sizing: border-box;
}
.benefits-grid-4 {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 25px;
}
.benefit-box-v { text-align: center; }
.benefit-icon-v {
    font-size: 2.5rem; display: inline-block; background: rgba(0, 229, 255, 0.1); 
    border: 1px solid var(--accent); border-radius: 12px; padding: 15px; 
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.2); margin-bottom: 15px;
}
.benefit-box-v h3 { font-family: 'Orbitron', sans-serif; color: #fff; margin: 0 0 10px 0; }
.benefit-box-v p { color: #aaa; margin: 0; font-size: 0.95rem; line-height: 1.5; }


/* --- CONTENEDOR PRINCIPAL DOS COLUMNAS --- */
.ad-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    width: 90%;
    margin: 0 auto 50px auto;
}

@media (max-width: 900px) {
    .ad-container { grid-template-columns: 1fr; }
}

/* --- PANELES DE COLUMNAS --- */
.ad-info-panel, .ad-form-panel {
    background: rgba(15, 15, 15, 0.7);
    backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(0, 229, 255, 0.3);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}

.form-section { margin-bottom: 25px; padding-bottom: 25px; border-bottom: 1px solid rgba(255,255,255,0.05); }
.form-section:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

/* Formulario */
.ad-label { display: block; color: #ccc; font-weight: bold; font-family: 'Orbitron', sans-serif; font-size: 0.85rem; margin-bottom: 10px; letter-spacing: 1px; }
.blue-input {
    width: 100%; padding: 15px; background: #050505; border: 1px solid #333; color: white; border-radius: 8px;
    font-size: 1rem; box-sizing: border-box; transition: 0.3s; outline: none; font-family: 'Segoe UI', sans-serif;
}
.blue-input:focus { border-color: var(--accent); box-shadow: 0 0 15px rgba(0, 229, 255, 0.3); }

/* Caja de subida de imagen */
.upload-box {
    width: 100%; height: 120px; border: 2px dashed rgba(0, 229, 255, 0.5); border-radius: 10px;
    background: #000; position: relative; display: flex; align-items: center; justify-content: center;
    color: var(--accent); font-family: 'Orbitron', sans-serif; transition: 0.3s; cursor: pointer; overflow: hidden;
}
.upload-box:hover { border-color: var(--accent); background: rgba(0, 229, 255, 0.05); }
.upload-box input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; z-index: 10; }

.price-summary {
    margin-top: 30px; padding: 20px; background: rgba(0, 229, 255, 0.1);
    border: 1px solid var(--accent); border-radius: 10px; display: flex;
    justify-content: space-between; align-items: center; font-family: 'Orbitron', sans-serif;
}
.price-summary span:first-child { color: #fff; font-weight: bold; letter-spacing: 1px; }
.total-price { color: var(--accent); font-size: 1.8rem; font-weight: bold; text-shadow: 0 0 10px rgba(0, 229, 255, 0.5); }

/* --- PROGRAMA DE AFILIADOS / PARTNERS (Columna Izquierda) --- */
.affiliate-panel { display: flex; flex-direction: column; }
.aff-box {
    background: rgba(0, 0, 0, 0.5); padding: 20px; border-radius: 15px; 
    border: 1px solid #333; text-align: left; transition: 0.3s; margin-bottom: 20px;
}
.aff-box:hover { border-color: var(--accent); box-shadow: 0 0 15px rgba(0, 229, 255, 0.2); }
.aff-box h4 { color: var(--accent); font-family: 'Orbitron', sans-serif; margin-top: 0; font-size: 1rem;}

.aff-preview {
    background: #111; border: 1px dashed rgba(0, 229, 255, 0.5); border-radius: 5px;
    display: flex; align-items: center; justify-content: center;
    color: #666; font-family: 'Orbitron', sans-serif; overflow: hidden;
}

.code-box {
    font-family: monospace; height: 75px; resize: none; margin-top: 5px; 
    font-size: 0.8rem; background: #050505; color: var(--accent); cursor: pointer;
}
.code-box:focus { background: #111; }

/* --- FOOTER --- */
footer { width: 100%; padding: 60px 0 30px; background: linear-gradient(to top, #000, #0a0a0a); border-top: 1px solid rgba(0, 229, 255, 0.2); margin-top: auto; }
.footer-content { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.f-links { display: flex; gap: 30px; margin-bottom: 30px; }
.f-links a { color: #999; text-decoration: none; font-size: 14px; font-family: 'Orbitron'; transition: 0.3s;}
.f-links a:hover { color: var(--accent); }
.footer-divider { width: 100px; height: 2px; background: var(--accent); margin-bottom: 20px; opacity: 0.5; }
.copyright { color: #444; font-size: 11px; font-family: 'Orbitron'; }