/* ==========================================
   NEXUS CORE STYLES - 2089 EDITION
   ========================================== */

:root {
    --bg-dark: #05050a;
    --card-bg: rgba(10, 10, 20, 0.6);
    --border-color: rgba(255, 255, 255, 0.08);
    --primary: #00f0ff; /* Cian cuántico */
    --secondary: #9d00ff; /* Violeta de fusión */
    --text-main: #f0f2f5;
    --text-muted: #8a8f98;
    --font-cyber: 'Orbitron', sans-serif;
    --font-sans: 'Plus Jakarta Sans', sans-serif;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-sans);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    position: relative;
}

/* Fondo Cuántico Animado */
.quantum-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.4;
    mix-blend-mode: screen;
    animation: floatOrb 12s infinite alternate ease-in-out;
}

.orb-1 {
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, var(--primary) 0%, rgba(0,0,0,0) 70%);
    top: -10%;
    left: -10%;
}

.orb-2 {
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, var(--secondary) 0%, rgba(0,0,0,0) 70%);
    bottom: -15%;
    right: -10%;
    animation-delay: -6s;
}

@keyframes floatOrb {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 50px) scale(1.1); }
}

/* Contenedor Principal */
.main-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 900px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
}

/* Header */
.header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-cyber);
    font-weight: 900;
    font-size: 1.5rem;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-icon {
    color: var(--primary);
    text-shadow: 0 0 10px var(--primary);
}

.highlight {
    color: var(--secondary);
}

.status-badge {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-family: var(--font-cyber);
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 1px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #00ff66;
    border-radius: 50%;
    box-shadow: 0 0 8px #00ff66;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.9); opacity: 0.6; }
    50% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(0.9); opacity: 0.6; }
}

/* Tarjeta Principal (Glassmorphism) */
.content-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 3.5rem 3rem;
    width: 100%;
    text-align: center;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.content-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), var(--secondary), transparent);
}

.badge-portal {
    display: inline-block;
    font-family: var(--font-cyber);
    font-size: 0.75rem;
    letter-spacing: 2px;
    color: var(--primary);
    background: rgba(0, 240, 255, 0.08);
    border: 1px solid rgba(0, 240, 255, 0.2);
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 1.5rem;
}

.title {
    font-family: var(--font-cyber);
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.gradient-text {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 10px rgba(0, 240, 255, 0.2));
}

.subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto 2.5rem auto;
}

/* Countdown */
.countdown-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.countdown-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem 1rem;
    transition: all 0.3s ease;
}

.countdown-item:hover {
    border-color: rgba(0, 240, 255, 0.3);
    background: rgba(0, 240, 255, 0.01);
    transform: translateY(-5px);
}

.number {
    display: block;
    font-family: var(--font-cyber);
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
    margin-bottom: 4px;
}

.label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    font-weight: 600;
}

/* Formulario */
.subscription-form {
    max-width: 500px;
    margin: 0 auto;
}

.input-group {
    display: flex;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 6px;
    border-radius: 14px;
    transition: all 0.3s ease;
}

.input-group:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.15);
}

input[type="email"] {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    padding: 12px 16px;
    color: #fff;
    font-family: var(--font-sans);
    font-size: 0.95rem;
}

input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.btn-submit {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border: none;
    outline: none;
    color: #fff;
    font-family: var(--font-cyber);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    padding: 0 24px;
    border-radius: 10px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    box-shadow: 0 0 20px rgba(157, 0, 255, 0.4);
    transform: scale(1.02);
}

/* Footer */
.footer {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
}

.copyright {
    color: var(--text-muted);
    font-size: 0.8rem;
}

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

.social-icon {
    color: var(--text-muted);
    text-decoration: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    color: var(--primary);
    border-color: var(--primary);
    background: rgba(0, 240, 255, 0.05);
    transform: translateY(-3px);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.2);
}

/* ==========================================
   RESPONSIVE DESIGN (Media Queries)
   ========================================== */

@media (max-width: 768px) {
    .main-container {
        padding: 1rem;
        gap: 1.5rem;
    }

    .header {
        flex-direction: column;
        gap: 1rem;
    }

    .content-card {
        padding: 2.5rem 1.5rem;
    }

    .title {
        font-size: 2.2rem;
    }

    .countdown-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .input-group {
        flex-direction: column;
        background: transparent;
        border: none;
        padding: 0;
        gap: 0.75rem;
    }

    input[type="email"] {
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid var(--border-color);
        border-radius: 12px;
        width: 100%;
        padding: 16px;
    }

    .btn-submit {
        width: 100%;
        padding: 16px;
        border-radius: 12px;
    }

    .footer {
        flex-direction: column-reverse;
        gap: 1rem;
        text-align: center;
    }
}
