/* Configuraciones base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: #050505; /* Negro puro/ébano */
    color: #f1f1f1;
    line-height: 1.6;
    overflow-x: hidden; /* Evita scroll horizontal por animaciones */
}

/* --- Fondo Dinámico (Nodos) --- */
#networkCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1; 
    pointer-events: none; 
    background: radial-gradient(circle at center, #0f0f0f 0%, #050505 100%);
}

/* --- Animaciones Reveal --- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94); 
}

.reveal.active {
    opacity: 1;
    transform: translateY(0); 
}

/* Navegación */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background-color: rgba(5, 5, 5, 0.85); 
    backdrop-filter: blur(10px); 
    border-bottom: 1px solid #1a1a1a;
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 2px;
}

.logo span {
    color: #d4af37; 
}

/* Botones */
.btn-partner, .btn-primary, .btn-whatsapp {
    text-decoration: none;
    padding: 10px 24px;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    text-align: center;
}

.btn-partner {
    color: #d4af37;
    border: 1px solid #d4af37;
    background-color: transparent; 
    cursor: pointer; 
}

.btn-partner:hover {
    background-color: #d4af37;
    color: #050505;
}

.btn-primary, .btn-whatsapp {
    background-color: #d4af37;
    color: #050505;
    display: inline-block;
    margin-top: 20px;
    border: 1px solid #d4af37;
    cursor: pointer;
}

.btn-primary:hover, .btn-whatsapp:hover {
    background-color: #c5a028;
    border-color: #c5a028;
    transform: translateY(-2px);
}

/* --- Botones Circulares Redes Sociales --- */
.social-links {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 30px;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid #d4af37;
    color: #d4af37;
    background-color: transparent;
    transition: all 0.3s ease;
}

.social-btn svg {
    transition: all 0.3s ease;
}

.social-btn:hover {
    background-color: #d4af37;
    color: #050505;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.25);
}

/* Sección Hero */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    background: transparent; 
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero h1 .highlight {
    color: #d4af37 !important; 
}

.hero p {
    font-size: 1.2rem;
    color: #888888;
    max-width: 600px;
    margin: 0 auto 30px auto;
}

/* Características / Tecnología */
.features {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 80px 5%;
    flex-wrap: wrap;
    background-color: transparent; 
}

.feature-box {
    background-color: rgba(17, 17, 17, 0.85); 
    backdrop-filter: blur(5px);
    padding: 40px;
    border-radius: 8px;
    flex: 1;
    min-width: 300px;
    border-top: 3px solid #d4af37;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.1); 
}

.feature-box h3 {
    margin-bottom: 15px;
    color: #ffffff;
}

.feature-box p {
    color: #999999;
    font-size: 0.95rem;
}

/* Sección Requisitos */
.requisitos-section {
    background-color: transparent;
    padding: 80px 20px;
    text-align: center;
}

.requisitos-section h2 {
    font-size: 2.2rem;
    margin-bottom: 40px;
    color: #ffffff;
}

.requisitos-list {
    list-style: none;
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.requisitos-list li {
    background-color: rgba(17, 17, 17, 0.85);
    backdrop-filter: blur(5px);
    margin-bottom: 15px;
    padding: 20px;
    border-radius: 8px;
    border-left: 3px solid #d4af37;
    font-size: 1.05rem;
    color: #999999;
    display: flex;
    align-items: center;
    gap: 15px;
}

.requisitos-list li span {
    color: #d4af37;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Llamado a la acción */
.cta-section {
    text-align: center;
    padding: 100px 20px;
    background-color: transparent;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.cta-section p {
    color: #888888;
    margin-bottom: 25px;
}

/* Footer y Firma */
footer {
    text-align: center;
    padding: 40px 20px;
    background-color: #020202;
    border-top: 1px solid #1a1a1a;
    position: relative;
    z-index: 10;
}

footer p {
    color: #555555;
    font-size: 0.85rem;
    margin-bottom: 5px;
}

.signature {
    color: #333333;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
}

/* --- ADAPTACIÓN A MÓVILES PERFECTA --- */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
        text-align: center;
    }
    
    .hero {
        padding: 40px 15px;
        min-height: auto;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1rem;
        padding: 0 10px;
    }
    
    .features {
        padding: 50px 15px;
        flex-direction: column;
    }
    
    .feature-box {
        min-width: 100%;
        padding: 30px 20px;
    }

    .requisitos-section {
        padding: 50px 15px;
    }

    .requisitos-section h2 {
        font-size: 1.8rem;
    }

    .cta-section {
        padding: 60px 15px;
    }
    
    .cta-section h2 {
        font-size: 1.8rem;
    }
    
    .modal-content {
        width: 95%;
        padding: 20px;
    }
    
    .review-card {
        max-width: 100%;
    }
    
    .btn-primary, .btn-whatsapp {
        width: 100%;
        box-sizing: border-box;
    }
}

/* --- Estilos para Modal de Partners y Reseñas --- */
.modal {
    display: none; 
    position: fixed; 
    z-index: 999; 
    left: 0; 
    top: 0; 
    width: 100%; 
    height: 100%; 
    background-color: rgba(0,0,0,0.85); 
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #0c0c0c;
    border-top: 3px solid #d4af37;
    padding: 30px;
    border-radius: 8px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    box-sizing: border-box;
}

.close-modal {
    color: #888;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 15px;
    top: 5px;
}

.close-modal:hover {
    color: #fff;
}

.modal-input {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    background-color: #1a1a1a;
    border: 1px solid #333;
    color: #fff;
    border-radius: 4px;
    outline: none;
    box-sizing: border-box;
}
.modal-input:focus {
    border-color: #d4af37;
}

/* --- Sección Reseñas --- */
.reviews-section {
    padding: 80px 20px;
    background-color: transparent;
    text-align: center;
}

.reviews-section h2 {
    font-size: 2.2rem;
    margin-bottom: 40px;
    color: #ffffff;
}

.reviews-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.review-card {
    background-color: rgba(17, 17, 17, 0.85);
    backdrop-filter: blur(5px);
    padding: 25px;
    border-radius: 8px;
    border-left: 2px solid #333;
    text-align: left;
    width: 100%;
    max-width: 300px;
    flex: 1 1 300px;
    box-sizing: border-box;
}

.review-stars {
    color: #d4af37;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.review-text {
    font-style: italic;
    color: #aaa;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.review-author {
    color: #d4af37;
    font-weight: 600;
    font-size: 0.9rem;
}
