/* ============================================
   CONFIGURACIÓN GLOBAL Y VARIABLES
   ============================================ */
:root {
    --primary-gradient: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    --secondary-gradient: linear-gradient(135deg, #ff8c42 0%, #ff6b35 100%);
    --accent-gradient: linear-gradient(135deg, #1e90ff 0%, #4169e1 100%);
    --dark-bg: #0a0a0a;
    --dark-secondary: #1a1a1a;
    --text-light: #ffffff;
    --text-gray: #cccccc;
    --glass-bg: rgba(255, 107, 53, 0.15);
    --glass-border: rgba(255, 140, 66, 0.3);
    --shadow-glow: 0 8px 32px 0 rgba(255, 107, 53, 0.4);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #0a0a0a, #1a1a1a, #0f0f0f);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
    overflow-x: hidden;
    color: var(--text-light);
}

/* ============================================
   PARTÍCULAS DE FONDO ANIMADAS
   ============================================ */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.particle {
    position: absolute;
    background: rgba(255, 107, 53, 0.6);
    border-radius: 50%;
    animation: float 20s infinite ease-in-out;
}

.particle:nth-child(1) { width: 4px; height: 4px; left: 10%; top: 20%; animation-delay: 0s; }
.particle:nth-child(2) { width: 6px; height: 6px; left: 20%; top: 80%; animation-delay: 2s; }
.particle:nth-child(3) { width: 3px; height: 3px; left: 30%; top: 40%; animation-delay: 4s; }
.particle:nth-child(4) { width: 5px; height: 5px; left: 40%; top: 10%; animation-delay: 1s; }
.particle:nth-child(5) { width: 4px; height: 4px; left: 50%; top: 60%; animation-delay: 3s; }
.particle:nth-child(6) { width: 6px; height: 6px; left: 60%; top: 90%; animation-delay: 5s; }
.particle:nth-child(7) { width: 3px; height: 3px; left: 70%; top: 30%; animation-delay: 2.5s; }
.particle:nth-child(8) { width: 5px; height: 5px; left: 80%; top: 70%; animation-delay: 4.5s; }
.particle:nth-child(9) { width: 4px; height: 4px; left: 90%; top: 50%; animation-delay: 1.5s; }
.particle:nth-child(10) { width: 6px; height: 6px; left: 15%; top: 15%; animation-delay: 3.5s; }
.particle:nth-child(11) { width: 3px; height: 3px; left: 25%; top: 85%; animation-delay: 6s; }
.particle:nth-child(12) { width: 5px; height: 5px; left: 35%; top: 25%; animation-delay: 2.8s; }
.particle:nth-child(13) { width: 4px; height: 4px; left: 45%; top: 95%; animation-delay: 4.2s; }
.particle:nth-child(14) { width: 6px; height: 6px; left: 65%; top: 45%; animation-delay: 1.8s; }
.particle:nth-child(15) { width: 3px; height: 3px; left: 85%; top: 15%; animation-delay: 5.5s; }

@keyframes float {
    0%, 100% { transform: translateY(0) translateX(0); opacity: 0.3; }
    50% { transform: translateY(-100px) translateX(100px); opacity: 0.8; }
}

/* ============================================
   FORMAS DECORATIVAS DE FONDO
   ============================================ */
.background-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: morphing 15s infinite alternate ease-in-out;
}

.shape-1 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    top: -150px;
    left: -150px;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #ff8c42, #ff6b35);
    bottom: -100px;
    right: -100px;
    animation-delay: 3s;
}

.shape-3 {
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, #1e90ff, #4169e1);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 6s;
}

@keyframes morphing {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(50px, -50px) scale(1.2); }
}

/* ============================================
   CONTENEDOR PRINCIPAL
   ============================================ */
.container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1400px;
    gap: 4rem;
    z-index: 10;
    position: relative;
}

/* ============================================
   SECCIÓN IZQUIERDA (CONTENIDO DE TEXTO)
   ============================================ */
.content-left {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
    animation: fadeInLeft 1s ease-out;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Badge "Próximamente" */
.badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: var(--primary-gradient);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-glow);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.content-left h1 {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.content-left h2 {
    font-size: 1.8rem;
    font-weight: 300;
    color: var(--text-gray);
    margin-bottom: 1.5rem;
}

.content-left p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 2.5rem;
}

/* ============================================
   FORMULARIO DE NOTIFICACIÓN
   ============================================ */
.notify-form {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.email-input {
    flex: 1;
    min-width: 250px;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    background: var(--glass-bg);
    border: 2px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text-light);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    outline: none;
}

.email-input::placeholder {
    color: var(--text-gray);
}

.email-input:focus {
    border-color: #ff6b35;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.2);
}

.notify-btn {
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    background: var(--primary-gradient);
    color: var(--text-light);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-glow);
}

.notify-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px 0 rgba(255, 107, 53, 0.5);
}

.notify-btn i {
    transition: transform 0.3s ease;
}

.notify-btn:hover i {
    transform: translateX(5px);
}

/* ============================================
   SECCIÓN DE REDES SOCIALES
   ============================================ */
.social-section {
    animation: fadeIn 1s ease-out 0.5s both;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.social-label {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass-bg);
    border: 2px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text-light);
    font-size: 1.3rem;
    text-decoration: none;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.social-link:hover {
    transform: translateY(-5px);
    background: var(--primary-gradient);
    border-color: transparent;
    box-shadow: var(--shadow-glow);
}

/* ============================================
   SECCIÓN DERECHA (GRÁFICOS)
   ============================================ */
.content-right {
    flex: 1;
    min-width: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeInRight 1s ease-out;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.graphics-wrapper {
    position: relative;
    width: 100%;
    max-width: 450px;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Círculo decorativo de fondo */
.decoration-circle {
    position: absolute;
    width: 350px;
    height: 350px;
    background: var(--primary-gradient);
    border-radius: 50%;
    opacity: 0.3;
    filter: blur(60px);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Contenedor del logo */
.logo-container {
    position: relative;
    z-index: 5;
    animation: float-logo 6s infinite ease-in-out;
}

@keyframes float-logo {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 250px;
    height: 250px;
    background: var(--accent-gradient);
    border-radius: 50%;
    filter: blur(50px);
    opacity: 0.4;
    animation: glow 3s infinite alternate;
}

@keyframes glow {
    from { opacity: 0.3; transform: translate(-50%, -50%) scale(1); }
    to { opacity: 0.6; transform: translate(-50%, -50%) scale(1.1); }
}

.app-logo {
    border-radius: 25px;
    width: 180px;
    height: auto;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.5));
    animation: logo-spin 20s linear infinite;
}

@keyframes logo-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Iconos flotantes decorativos */
.floating-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass-bg);
    border: 2px solid var(--glass-border);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    font-size: 1.8rem;
    color: var(--text-light);
    box-shadow: var(--shadow-glow);
}

.icon-1 {
    top: 10%;
    left: 10%;
    animation: float-icon-1 4s infinite ease-in-out;
}

.icon-2 {
    top: 20%;
    right: 15%;
    animation: float-icon-2 5s infinite ease-in-out 1s;
}

.icon-3 {
    bottom: 15%;
    left: 15%;
    animation: float-icon-3 6s infinite ease-in-out 2s;
}

@keyframes float-icon-1 {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(10deg); }
}

@keyframes float-icon-2 {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(-10deg); }
}

@keyframes float-icon-3 {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-18px) rotate(8deg); }
}

/* ============================================
   INDICADOR DE PROGRESO
   ============================================ */
.progress-indicator {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 600px;
    z-index: 20;
    animation: slideUp 1s ease-out 0.8s both;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    backdrop-filter: blur(10px);
    overflow: hidden;
    margin-bottom: 0.8rem;
}

.progress-fill {
    height: 100%;
    width: 75%;
    background: var(--primary-gradient);
    border-radius: 50px;
    animation: progress-animation 2s ease-out;
    position: relative;
    overflow: hidden;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    animation: shimmer 2s infinite;
}

@keyframes progress-animation {
    from { width: 0; }
    to { width: 75%; }
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.progress-text {
    font-size: 0.9rem;
    color: var(--text-gray);
    text-align: center;
    font-weight: 500;
}

.progress-percentage {
    color: var(--text-light);
    font-weight: 700;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   RESPONSIVE DESIGN (MÓVILES Y TABLETS)
   ============================================ */
@media (max-width: 1024px) {
    .container {
        gap: 3rem;
    }

    .content-left h1 {
        font-size: 3rem;
    }

    .graphics-wrapper {
        max-width: 350px;
        height: 350px;
    }

    .app-logo {
        width: 140px;
    }
}

@media (max-width: 768px) {
    body {
        padding: 1rem;
        overflow-y: auto;
    }

    .container {
        flex-direction: column;
        gap: 3rem;
        text-align: center;
    }

    .content-left {
        max-width: 100%;
    }

    .content-left h1 {
        font-size: 2.5rem;
    }

    .content-left h2 {
        font-size: 1.5rem;
    }

    .content-left p {
        font-size: 1rem;
    }

    .notify-form {
        flex-direction: column;
        align-items: center;
    }

    .email-input,
    .notify-btn {
        width: 100%;
        max-width: 400px;
    }

    .social-icons {
        justify-content: center;
    }

    .graphics-wrapper {
        max-width: 300px;
        height: 300px;
    }

    .app-logo {
        width: 120px;
    }

    .floating-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .progress-indicator {
        bottom: 1rem;
        width: 95%;
    }

    .shape {
        filter: blur(60px);
    }
}

@media (max-width: 480px) {
    .content-left h1 {
        font-size: 2rem;
    }

    .content-left h2 {
        font-size: 1.2rem;
    }

    .badge {
        font-size: 0.75rem;
        padding: 0.4rem 1.2rem;
    }

    .graphics-wrapper {
        max-width: 250px;
        height: 250px;
    }

    .app-logo {
        width: 100px;
    }

    .floating-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}
