* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Quicksand', sans-serif;
    background: #000000;
    color: #ffffff;
    overflow-x: hidden;
}

.hero-container {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.hero-left {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.95) 0%, rgba(10, 10, 10, 0.95) 100%),
                url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100"><rect width="100" height="100" fill="%23000"/><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.05"/><circle cx="10" cy="10" r="1" fill="%23ffffff" opacity="0.03"/><circle cx="90" cy="90" r="1" fill="%23ffffff" opacity="0.04"/><circle cx="20" cy="80" r="1" fill="%23ffffff" opacity="0.05"/><circle cx="80" cy="20" r="1" fill="%23ffffff" opacity="0.03"/></svg>');
    background-size: auto, 100px 100px;
    padding: 60px 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.logo-container {
    margin: 0  auto;
}

.logo {
    height: 60px;
    width: auto;
    /* convertir principalmente los tonos oscuros en blanco sin alterar demasiado los tonos claros */
    filter: grayscale(1) contrast(200%) brightness(2) invert(1);
    mix-blend-mode: normal;

    /* borde negro alrededor del logo (igual que landing2) */
    display: inline-block;
    border: 2px solid #000;
    padding: 6px;
    border-radius: 8px;
    background-clip: padding-box;
}

.event-badge {
    display: inline-block;
    background: rgba(221, 122, 112, 0.2);
    border: 2px solid #dd7a70;
    color: #dd7a70;
    padding: 10px 24px;
    border-radius: 50px;
    font-family: 'Raleway', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-top: 20px;
    margin-bottom: 20px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(221, 122, 112, 0.7);
    }
    50% { 
        transform: scale(1.05);
        box-shadow: 0 0 20px 10px rgba(221, 122, 112, 0);
    }
}

.main-title {
    font-family: 'Raleway', sans-serif;
    font-size: 35px;
    font-weight: 800;
    line-height: 1.15;
    color: #ffffff;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 20px;
}

.highlight {
    background: linear-gradient(135deg, #87c2b0 0%, #8995ee 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.highlight-secondary {
    color: #E3b768;
}

.subtitle {
    font-family: 'Quicksand', sans-serif;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.4;
    text-align: center;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #87c2b0 0%, #8995ee 100%);
    color: #ffffff;
    font-family: 'Raleway', sans-serif;
    font-size: 18px;
    font-weight: 700;
    padding: 18px 50px;
    border: none;
    border-radius: 12px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(137, 149, 238, 0.5);
    text-align: center;
    width: fit-content;
    margin: 0 auto;
    margin-top: 30px;
    margin-bottom: 30px;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(137, 149, 238, 0.7);
}

.social-proof {
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 0 auto;
}

/* avatars como imágenes redondas y solapadas */
.avatars {
    display: flex;
    align-items: center;
}

.avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    border: 3px solid #1a1a1a;
    margin-left: -12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.35);
    background-color: #ddd; /* fallback */
    display: inline-block;
}

.avatars .avatar:first-child {
    margin-left: 0;
}

.avatar-more {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #E3b768;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    color: #000000;
    border: 3px solid #1a1a1a;
    margin-left: -12px;
}

.social-text {
    font-family: 'Quicksand', sans-serif;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.social-text strong {
    color: #87c2b0;
    font-weight: 700;
}

.hero-right {
    background: #000000;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
}

.glow-effect {
    position: absolute;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background: radial-gradient(
        circle, 
        rgba(135, 194, 176, 0.6) 0%, 
        rgba(137, 149, 238, 0.5) 30%,
        rgba(227, 183, 104, 0.3) 50%,
        rgba(221, 122, 112, 0.2) 70%,
        transparent 100%
    );
    filter: blur(100px);
    bottom: 10%;
    right: 5%;
    z-index: 1;
    animation: glow 4s ease-in-out infinite alternate;
}

.glow-effect::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(227, 183, 104, 0.5) 0%,
        rgba(135, 194, 176, 0.3) 50%,
        transparent 100%
    );
    filter: blur(80px);
    top: -20%;
    left: -20%;
    animation: glow-secondary 5s ease-in-out infinite alternate-reverse;
}

.glow-effect::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(137, 149, 238, 0.6) 0%,
        rgba(221, 122, 112, 0.3) 50%,
        transparent 100%
    );
    filter: blur(90px);
    bottom: -30%;
    right: -30%;
    animation: glow-tertiary 6s ease-in-out infinite alternate;
}

@keyframes glow {
    0% {
        transform: scale(1) translate(0, 0);
        opacity: 0.7;
    }
    100% {
        transform: scale(1.15) translate(-20px, -30px);
        opacity: 0.9;
    }
}

@keyframes glow-secondary {
    0% {
        transform: scale(1) rotate(0deg);
        opacity: 0.6;
    }
    100% {
        transform: scale(1.2) rotate(180deg);
        opacity: 0.8;
    }
}

@keyframes glow-tertiary {
    0% {
        transform: scale(1) rotate(0deg);
        opacity: 0.5;
    }
    100% {
        transform: scale(1.25) rotate(-180deg);
        opacity: 0.75;
    }
}

.hero-image {
    position: relative;
    z-index: 10;
    height: 100vh;
    width: auto;
    object-fit: cover;
    object-position: center bottom;
    filter: brightness(1.05) contrast(1.05);
}

@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        /* usar la foto de Diana como fondo del contenedor en mobile */
        background-image: url('../img/diana.png');
        background-size: cover;
        background-position: center bottom;
        background-repeat: no-repeat;
    }

    .hero-left {
        padding: 40px;
        /* hacer que el panel izquierdo se vea encima de la foto */
        position: relative;
        z-index: 5;
        /* reducir opacidad del degradado para dejar ver la foto de fondo */
        background: linear-gradient(135deg, rgba(26,26,26,0.80) 0%, rgba(10,10,10,0.80) 100%);
    }

    /* ocultar la columna derecha en mobile: la imagen pasa a fondo del contenedor */
    .hero-right {
        display: none;
    }

    /* asegurar que si queda alguna img dentro, se oculte para no duplicar */
    .hero-right .hero-image { display: none; }

    /* ocultar glow en pantallas más pequeñas para evitar interacción visual con la imagen */
    .glow-effect {
        display: none;
    }

    .main-title {
        font-size: 34px;
    }
}

@media (max-width: 768px) {
    .hero-left {
        padding:20px;
        background: linear-gradient(135deg, rgba(26,26,26,0.78) 0%, rgba(10,10,10,0.78) 100%);
    }

    .hero-right { display: none; }
    .hero-right .hero-image { display: none; }

    .glow-effect {
        display: none;
    }

    /* evitar scroll horizontal dentro del modal */
    .modal-content {
        overflow-x: hidden;
    }

    /* apilar select + input en móvil para que no empujen el ancho */
    .phone-group {
        flex-direction: column;
        gap: 10px;
    }

    /* asegurar que select ocupe todo el ancho disponible */
    .country-code {
        width: 100%;
        max-width: none;
        box-sizing: border-box;
        padding: 10px;
        font-size: 15px;
    }

    /* asegurar que el input de teléfono se ajuste y no desborde */
    .phone-group input {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 12px;
        font-size: 15px;
    }
}

/* --- Modal styles (copiados de landing2) --- */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    padding: 50px 40px;
    border-radius: 20px;
    max-width: 520px;
    width: 90%;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.4s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 32px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.close-modal:hover {
    color: #87c2b0;
    transform: rotate(90deg);
}

.modal-title {
    font-family: 'Raleway', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
    margin-bottom: 30px;
}

.registration-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group input,
.form-group select {
    padding: 16px 20px;
    font-family: 'Quicksand', sans-serif;
    font-size: 16px;
    border: 2px solid #444;
    border-radius: 10px;
    background: #333;
    color: #ffffff;
    outline: none;
    transition: all 0.3s ease;
}

.form-group input::placeholder {
    color: #999;
}

.form-group input:focus {
    border-color: #87c2b0;
    background: #3a3a3a;
}

.phone-group {
    flex-direction: row;
    gap: 10px;
}

.country-code {
    width: 120px;
    flex-shrink: 0;
}

.phone-group input {
    flex: 1;
}

.checkbox-group {
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.checkbox-group label {
    font-family: 'Quicksand', sans-serif;
    font-size: 14px;
    color: #ffffff;
    cursor: pointer;
}

.submit-button {
    background: #E3b768;
    color: #000000;
    font-family: 'Raleway', sans-serif;
    font-size: 18px;
    font-weight: 700;
    padding: 18px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(227, 183, 104, 0.4);
    margin-top: 10px;
}

.submit-button:hover {
    background: #f0c878;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(227, 183, 104, 0.6);
}


