/* ==========================================================================
   TEVUN Group - Coming Soon Styles
   Palette:
   - Deep Navy:    #0B121C
   - Graphite:     #151E29
   - Mineral Blue: #6E93A8
   - Ice Blue:     #A9C4D0
   - Mist:         #D7DEE3
   - White:        #FFFFFF
   ========================================================================== */

:root {
    --c-deep-navy: #0B121C;
    --c-graphite: #151E29;
    --c-mineral-blue: #6E93A8;
    --c-ice-blue: #A9C4D0;
    --c-mist: #D7DEE3;
    --c-bg: #FFFFFF;
    --font-primary: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    background-color: var(--c-bg);
    color: var(--c-deep-navy);
    font-family: var(--font-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Main Container */
.main-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3.5rem 1.5rem;
}

.content-container {
    width: 100%;
    max-width: 680px;
    text-align: center;
    margin: 0 auto;
}

/* Brand Section */
.brand-section {
    margin-bottom: 3rem;
}

.logo-mark {
    max-width: 480px;
    width: 100%;
    height: auto;
    margin: 0 auto 1.5rem auto;
    display: block;
    object-fit: contain;
}

.brand-tagline {
    font-size: 1.05rem;
    font-weight: 400;
    color: #475569;
    line-height: 1.6;
    max-width: 520px;
    margin: 0 auto;
    letter-spacing: 0.01em;
}

/* Timer Section */
.timer-section {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.countdown-grid {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 1.75rem 2.5rem;
    border-top: 1px solid var(--c-mist);
    border-bottom: 1px solid var(--c-mist);
    margin-bottom: 2rem;
}

.time-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 75px;
}

.time-number {
    font-size: 3.25rem;
    font-weight: 300;
    line-height: 1;
    color: var(--c-deep-navy);
    font-variant-numeric: tabular-nums;
    margin-bottom: 0.4rem;
}

.time-label {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--c-mineral-blue);
}

.time-divider {
    width: 1px;
    height: 42px;
    background-color: var(--c-mist);
}

/* Launch Badge */
.launch-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: #64748B;
    letter-spacing: 0.04em;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--c-mineral-blue);
    border-radius: 50%;
    animation: pulse 2.2s infinite ease-in-out;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.4;
        transform: scale(0.9);
    }
    50% {
        opacity: 1;
        transform: scale(1.15);
    }
}

/* Footer */
.footer {
    padding: 2rem 1.5rem;
    border-top: 1px solid rgba(215, 222, 227, 0.5);
}

.footer-inner {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #64748B;
}

.footer-email {
    color: var(--c-graphite);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.footer-email:hover {
    color: var(--c-mineral-blue);
}

/* Responsive */
@media (max-width: 640px) {
    html, body {
        height: 100%;
        overflow: hidden; /* Elimina cualquier intento de scroll */
    }

    body {
        height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .main-wrapper {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 1rem 1.25rem 0.5rem 1.25rem;
    }

    .content-container {
        width: 100%;
    }

    /* Reducción armónica de distancias */
    .brand-section {
        margin-bottom: 1.25rem;
    }

    .logo-mark {
        max-width: 250px;
        margin: 0 auto 0.85rem auto;
    }

    .brand-tagline {
        font-size: 0.85rem;
        line-height: 1.4;
        max-width: 320px;
        color: #64748B;
    }

    /* Contador compacto */
    .countdown-grid {
        width: 100%;
        max-width: 320px;
        gap: 0.5rem;
        padding: 0.85rem 0.5rem;
        margin-bottom: 1rem;
    }

    .time-block {
        flex: 1;
        min-width: 0;
    }

    .time-number {
        font-size: 1.85rem;
        margin-bottom: 0.2rem;
    }

    .time-label {
        font-size: 0.6rem;
        letter-spacing: 0.1em;
    }

    .time-divider {
        height: 28px;
    }

    /* Insignia y hora */
    .launch-badge {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.3rem;
        font-size: 0.75rem;
        line-height: 1.3;
        text-align: center;
    }

    .pulse-dot {
        width: 6px;
        height: 6px;
    }

    /* Footer ajustado dentro de la vista */
    .footer {
        padding: 0.85rem 1rem 1.25rem 1rem;
    }

    .footer-inner {
        flex-direction: column;
        gap: 0.35rem;
        font-size: 0.75rem;
        text-align: center;
    }
}