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

html, body {
    height: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background: linear-gradient(46deg, #42A1F1 17%, #6DE99A 66%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    color: #fff;
    margin: 0;
    overflow: hidden; /* evita scroll */
}

.background-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 0;
}

/* Header con logo */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 20px 30px;
    z-index: 100;
}


.header-logo {
    height: 40px;
    width: auto;
}

/* Main content */
.main-content {
    flex: 1; /* ocupa todo el espacio disponible */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 20px; /* eliminamos padding-top/padding-bottom grandes */
    position: relative;
    z-index: 1;
}

.container {
    text-align: center;
    padding: 20px;
    max-width: 700px;
    width: 100%;
}

.logo-container {
    margin-bottom: 30px;
}

.api-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    position: relative;
}

.api-icon svg {
    width: 100%;
    height: 100%;
}

.bracket {
    fill: none;
    stroke: url(#gradient);
    stroke-width: 3;
    stroke-linecap: round;
}

.dots {
    fill: #fff;
}

.dot-1 { animation: pulse 2s ease-in-out infinite; }
.dot-2 { animation: pulse 2s ease-in-out infinite 0.3s; }
.dot-3 { animation: pulse 2s ease-in-out infinite 0.6s; }

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

.logo-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
    line-height: 1.5;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    color: #fff;
    font-weight: 600;
    margin-bottom: 25px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    animation: blink 2s ease-in-out infinite;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 24px 16px;
    transition: all 0.3s ease;
}

.feature:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-4px);
}

.feature-icon {
    width: 44px;
    height: 44px;
    margin: 0 auto 12px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon svg {
    width: 22px;
    height: 22px;
    stroke: #fff;
}

.feature h3 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: #fff;
}

.feature p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.4;
}

.cta-section {
    display: flex;
    justify-content: center;
    margin-bottom: 25px;
}

.btn {
    padding: 14px 32px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: rgba(255, 255, 255, 0.95);
    color: #42A1F1;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.2);
    background: #fff;
}

/* Footer */
.footer {
    padding: 12px 16px;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    flex-shrink: 0; /* evita que se encoja */
}


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

    .header-logo {
        height: 32px;
    }

    .main-content {
        padding: 70px 15px 50px;
    }

    .features {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .logo-title {
        font-size: 2rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .container {
        padding: 15px;
    }
}
