@import url('https://fonts.googleapis.com/css2?family=Prompt:wght@300;400;500;600;700&display=swap');

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

body {
    font-family: 'Prompt', sans-serif;
    background: linear-gradient(135deg, #828dab 0%, #51565e 30%, #5f646a 70%, #4d515b 100%);
    color: #ffffff;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
    line-height: 1.6;
}

/* Fondo sutil y profesional */
.subtle-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 60px 20px;
    z-index: 1;
}

.container {
    position: relative;
    z-index: 10;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header con identidad sólida */
.header {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 45px;
    margin-bottom: 70px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.35),
        0 0 60px rgba(24, 159, 153, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    max-width: 900px;
    width: 100%;
    text-align: center;
    animation: fadeInUp 0.8s ease-out;
    position: relative;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(19, 50, 88, 0.05), rgba(24, 159, 153, 0.05));
    border-radius: 20px;
    z-index: -1;
}

.logo-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    margin-bottom: 28px;
}

/* CORRECCIÓN 1: Logo con efecto permanente y nuevo hover */
.logo-container {
    position: relative;
    display: inline-block;
    padding: 10px;
    background: rgb(255, 255, 255);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    backdrop-filter: blur(3px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(-2px);
    box-shadow: 
        0 0px 25px rgba(255, 255, 255, 0.548),
        0 0 40px rgba(255, 255, 255, 0.15);
}

.logo-container::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.1), rgba(255, 255, 255, 0.15));
    border-radius: 50%;
    z-index: -1;
    opacity: 1;
}

.logo-container:hover {
    transform: translateY(-4px);
    box-shadow: 
        0 12px 35px rgba(0, 0, 0, 0.25),
        0 0 80px rgba(255, 255, 255, 0.25),
        0 0 120px rgba(255, 255, 255, 0.15);
}

.logo-svg {
    width: 72px;
    height: 72px;
    display: block;
    transition: all 0.3s ease;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.2));
    transform: scale(1.05);
}

.logo-container:hover .logo-svg {
    transform: scale(1.1);
    filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.3));
}

.logo-text {
    font-family: 'Prompt', sans-serif;
    font-size: 3.8rem;
    font-weight: 500;
    color: #133258;
    letter-spacing: -0.02em;
    text-shadow: 
        0 0 20px rgba(255, 255, 255, 0.576),
        0 2px 8px rgba(24, 159, 152, 0.69);
}

.value-proposition {
    font-size: 1.5rem;
    font-weight: 400;
    color: #cbd5e1;
    margin-bottom: 18px;
    letter-spacing: 0.01em;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.tagline {
    font-size: 1.15rem;
    color: #e2e8f0;
    font-weight: 300;
    line-height: 1.5;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Contenido principal - estructura original */
.main-content {
    max-width: 850px;
    width: 100%;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.manifesto-section {
    text-align: center;
    margin-bottom: 70px;
}

.manifesto-title {
    font-family: 'Prompt', sans-serif;
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 28px;
    color: #ffffff;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.manifesto-subtitle {
    font-size: 1.35rem;
    color: #96c9e2;
    margin-bottom: 45px;
    font-weight: 400;
    line-height: 1.6;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

/* CORRECCIÓN 6: Pilares de valor - Grid 2x2 en desktop */
.value-pillars {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
    margin-bottom: 70px;
    width: 100%;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.pillar-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 36px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.pillar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #133258, #189f99);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.pillar-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(19, 50, 88, 0.03), rgba(24, 159, 153, 0.03));
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 16px;
    z-index: -1;
}

.pillar-card:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(19, 50, 88, 0.3);
    box-shadow: 
        0 16px 40px rgba(0, 0, 0, 0.25),
        0 0 80px rgba(24, 159, 153, 0.1);
}

.pillar-card:hover::before,
.pillar-card:hover::after {
    opacity: 1;
}

/* Nuevo: Contenedor circular para iconos */
.pillar-icon-wrapper {
    width: 65px;
    height: 65px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.pillar-card:hover .pillar-icon-wrapper {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.pillar-icon {
    width: 48px;
    height: 48px;
    opacity: 0.9;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.pillar-card:hover .pillar-icon {
    transform: scale(1.1);
}

.pillar-title {
    font-size: 1.35rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 18px;
    font-family: 'Prompt', sans-serif;
}

.pillar-description {
    font-size: 1.05rem;
    color: #cbd5e1;
    line-height: 1.7;
    font-weight: 400;
}

/* CORRECCIÓN 2: Sección de implementación con efecto permanente */
.implementation-section {
    background: rgba(19, 50, 88, 0.15);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(19, 50, 88, 0.5);
    border-radius: 20px;
    padding: 45px;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.implementation-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(19, 50, 88, 0.08), rgba(24, 159, 153, 0.05));
    z-index: -1;
}

.implementation-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(24, 159, 153, 0.6);
}

.implementation-title {
    font-family: 'Prompt', sans-serif;
    font-size: 2.2rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 24px;
}

.implementation-text {
    font-size: 1.15rem;
    color: #e2e8f0;
    margin-bottom: 36px;
    line-height: 1.7;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* CORRECCIÓN 3 y 4: Status indicator con texto responsive */
.status-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    position: relative;
    height: 30px;
    width: 100%;
    overflow: hidden;
}

.status-dot {
    width: 14px;
    height: 14px;
    background: linear-gradient(45deg, #133258, #189f99);
    border-radius: 50%;
    animation: pulse 2.5s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(24, 159, 153, 0.4);
    transition: left 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: absolute;
    top: 8px;
    z-index: 5;
}

.status-text {
    font-size: 1.05rem;
    color: #94a3b8;
    font-weight: 500;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: absolute;
    left: 50%;
    top: 8px;
    transform: translateX(-50%);
    white-space: nowrap;
    line-height: 1;
    height: 14px;
    display: flex;
    align-items: center;
    max-width: 90%;
    text-align: center;
}

/* Mobile: ocultar dot y permitir wrap del texto */
@media (max-width: 768px) {
    .status-dot {
        display: none;
    }
    
    .status-text {
        position: static !important;
        left: auto !important;
        top: auto !important;
        transform: none !important;
        white-space: normal;
        line-height: 1.4;
        height: auto;
        max-width: 100%;
        text-align: center;
        display: block;
        width: 100%;
    }
    
    .status-indicator {
        height: auto;
        min-height: 50px;
        padding: 0 10px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

@keyframes pulse {
    0%, 100% { 
        opacity: 1; 
        transform: scale(1);
        box-shadow: 0 0 10px rgba(20, 163, 156, 0.717);
    }
    50% { 
        opacity: 0.7; 
        transform: scale(1.2);
        box-shadow: 0 0 10px rgb(14, 51, 89);
    }
}

/* Progress bar más sofisticada */
.progress-container {
    max-width: 450px;
    margin: 0 auto;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #133258, #189f99, #133258);
    background-size: 200% 100%;
    border-radius: 4px;
    animation: progressLoad 4.5s ease-in-out infinite, backgroundShift 3s ease-in-out infinite;
    position: relative;
    box-shadow: 0 0 15px rgba(24, 159, 153, 0.3);
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: shimmer 2.5s ease-in-out infinite;
}

@keyframes progressLoad {
    0% { width: 0%; }
    55% { width: 85%; }
    100% { width: 100%; }
}

@keyframes backgroundShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

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

/* Animaciones de entrada mejoradas */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* CTA mejorada con botón de acción */
.cta-section {
    text-align: center;
    animation: fadeInUp 0.8s ease-out 0.6s both;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 35px;
    margin-bottom: 50px;
}

.cta-text {
    font-size: 1.2rem;
    color: #c1d3eb;
    margin-bottom: 28px;
    font-weight: 500;
}

.launch-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.launch-badge {
    background: linear-gradient(135deg, #133258, #189f99);
    color: #ffffff;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(24, 159, 153, 0.2);
    pointer-events: none;
    user-select: none;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-block;
    color: #ffffff;
    padding: 16px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    min-width: 200px;
    text-align: center;
}

.cta-primary {
    background: linear-gradient(135deg, #133258, #189f99);
    box-shadow: 0 8px 25px rgba(24, 159, 153, 0.15);
}

.cta-secondary {
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(24, 159, 153, 0.3);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s ease;
}

.cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(24, 159, 153, 0.25);
    text-decoration: none;
    color: #ffffff;
}

.cta-secondary:hover {
    transform: translateY(-2px);
    background: rgba(24, 159, 153, 0.15);
    border-color: rgba(24, 159, 153, 0.5);
    box-shadow: 0 12px 35px rgba(24, 159, 153, 0.15);
    text-decoration: none;
    color: #ffffff;
}

.cta-button:hover::before {
    left: 100%;
}

/* CORRECCIÓN 5: Footer horizontal en desktop */
.footer {
    width: 100%;
    max-width: 1200px;
    margin-top: 60px;
    padding: 40px 20px 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    border-radius: 16px 16px 0 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 30px;
    flex-wrap: nowrap;
}

.footer-section {
    flex: 1;
    min-width: 0;
    text-align: left;
}

.footer-section h4 {
    font-family: 'Prompt', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 16px;
}

.footer-section p, .footer-section a {
    font-size: 0.95rem;
    color: #96c9e2;
    line-height: 1.6;
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    margin-bottom: 8px;
}

.footer-section a:hover {
    color: #00fff2;
}

.contact-email {
    color: #13d5cb !important;
    font-weight: 500;
}

.social-links {
    display: flex;
    gap: 16px;
    margin-top: 12px;
}

.social-link {
    display: inline-block;
    padding: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(24, 159, 153, 0.15);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.copyright {
    font-size: 0.9rem;
    color: #91a9ca;
    margin-bottom: 8px;
}

.legal-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.legal-links a {
    font-size: 0.85rem;
    color: #91a9ca;
    text-decoration: none;
    transition: color 0.3s ease;
}

.legal-links a:hover {
    color: #94a3b8;
}

/* Responsive design mejorado */
@media (max-width: 768px) {
    .container {
        padding: 20px 15px;
    }

    .header {
        padding: 35px 28px;
        margin-bottom: 50px;
    }

    .logo-section {
        flex-direction: column;
        gap: 20px;
    }
    
    .logo-svg {
        width: 64px;
        height: 64px;
    }
    
    .logo-text {
        font-size: 3.2rem;
    }

    .logo-text::before {
        font-size: 3.2rem;
    }
    
    .manifesto-title {
        font-size: 2.4rem;
    }
    
    /* CORRECCIÓN 6: Grid 1 columna en mobile */
    .value-pillars {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    
    .pillar-card {
        padding: 28px;
    }
    
    .implementation-section {
        padding: 35px 28px;
    }
    
    .cta-section {
        padding: 28px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .cta-button {
        min-width: 250px;
    }

    /* CORRECCIÓN 2: Footer centrado en mobile */
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
        align-items: center;
    }

    .footer-section {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-section p, .footer-section a {
        text-align: center;
    }

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

    .legal-links {
        flex-direction: column;
        gap: 12px;
    }

    .launch-info {
        flex-direction: column;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 2.8rem;
    }
    
    .manifesto-title {
        font-size: 2rem;
    }
    
    .manifesto-subtitle {
        font-size: 1.15rem;
    }
    
    .value-proposition {
        font-size: 1.25rem;
    }
    
    .pillar-card {
        padding: 24px;
    }
    
    .header {
        padding: 30px 20px;
    }
    
    .implementation-section {
        padding: 30px 20px;
    }

    .cta-button {
        padding: 14px 32px;
        font-size: 1rem;
    }
}

/* Mejoras adicionales de interactividad */
.pillar-card,
.header,
.cta-section {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Efecto de hover sutil en secciones principales */
.cta-section:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.12);
}

/* Preserve aspect ratio for all PNG images */
img[src*=".png"] {
    object-fit: contain;
}

/* Portal navigation button styles are now handled by navigation-button.js component */