/* Reseteo de márgenes y rellenos */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    font-family: "Afacad", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: radial-gradient(circle at top left, #041b24, #020b10 55%, #010507 100%);
    color: #f5f7fb;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Contenedor principal */
.page {
    width: 100%;
    max-width: 960px;
    padding: 32px 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Encabezado */
.header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-circle {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: linear-gradient(135deg, #18ffd0, #00b894);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 20px;
    color: #021014;
}

.brand {
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 14px;
    color: #c4f7ec;
}

/* Contenido principal */
.content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.content h1 {
    font-size: clamp(32px, 4vw, 40px); /* Ajuste flexible para tamaño */
    line-height: 1.1;
}

.subtitle {
    font-size: 16px;
    max-width: 540px;
    color: #c2d5e2;
}

/* Badge row */
.badge-row {
    margin-top: 4px;
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid rgba(24, 255, 208, 0.3);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #9ff4e3;
}

/* Barra de progreso */
.progress {
    margin-top: 10px;
    width: 100%;
    max-width: 420px;
    height: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    overflow: hidden;
}

.progress-bar {
    width: 75%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #18ffd0, #00b894, #1abcff);
}

/* Pequeño texto */
.small {
    font-size: 14px;
    color: #a8bac8;
}

.small a {
    color: #18ffd0;
    text-decoration: none;
}

.small a:hover {
    text-decoration: underline;
}

/* Pie de página */
.footer {
    margin-top: auto;
    font-size: 12px;
    color: #6f8292;
}

/* Media queries para pantallas pequeñas (móviles) */
@media (max-width: 600px) {
    .page {
        padding: 24px 18px 18px;
        gap: 32px;
    }

    .logo-circle {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }

    .brand {
        font-size: 16px;
    }

    .content h1 {
        font-size: 24px; /* Ajuste para pantallas pequeñas */
    }

    .subtitle {
        font-size: 14px;
        max-width: 100%;
    }

    .badge {
        font-size: 10px;
        padding: 4px 8px;
    }

    .progress {
        max-width: 100%;
    }

    .footer {
        font-size: 10px;
    }
}

/* Media queries para tabletas (pantallas medianas) */
@media (max-width: 768px) {
    .logo-circle {
        width: 50px;
        height: 50px;
        font-size: 22px;
    }

    .brand {
        font-size: 16px;
    }

    .content h1 {
        font-size: 28px; /* Ajuste para pantallas medianas */
    }

    .subtitle {
        font-size: 14px;
        max-width: 100%;
    }

    .badge {
        font-size: 12px;
        padding: 6px 12px;
    }

    .progress {
        max-width: 100%;
    }

    .footer {
        font-size: 11px;
    }
}

/* Media queries para pantallas grandes (escritorio) */
@media (min-width: 1024px) {
    .page {
        padding: 40px 32px 32px;
        gap: 50px;
    }

    .logo-circle {
        width: 60px;
        height: 60px;
        font-size: 30px;
    }

    .brand {
        font-size: 18px;
    }

    .content h1 {
        font-size: 40px; /* Ajuste para pantallas grandes */
    }

    .subtitle {
        font-size: 16px;
        max-width: 600px;
    }

    .badge {
        font-size: 14px;
        padding: 8px 14px;
    }

    .progress {
        max-width: 420px;
    }

    .footer {
        font-size: 14px;
    }
}

/* Media queries para pantallas extremadamente pequeñas */
@media (max-width: 320px) {
    .content h1 {
        font-size: 20px; /* Ajuste para pantallas muy pequeñas */
    }

    .subtitle {
        font-size: 12px; /* Ajuste de fuente */
    }

    .progress-bar {
        width: 100%; /* Barra de progreso más ancha */
    }

    /* Otros ajustes para pantallas pequeñas */
}
