/* 🎨 Variables de color */
:root {
    --primary-color: #00f5d4;
    --secondary-color: #ff6f61;
    --background-color: #0f172a;
    --text-color: #e2e8f0;
    --card-bg: rgba(255, 255, 255, 0.08);
    --card-blur: 15px;
    --card-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* Reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* 🌟 Encabezado */
.header {
    text-align: center;
    padding: 3rem 2rem 2rem;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: #fff;
    border-radius: 0 0 50px 50px;
    box-shadow: var(--card-shadow);
}

.header h1 {
    font-size: 2.8rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* 📊 Barra de progreso */
.progress-bar-container {
    max-width: 900px;
    margin: 2rem auto;
    padding: 0 2rem;
}

.progress-bar-text {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.progress-bar-background {
    width: 100%;
    height: 18px;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    overflow: hidden;
    backdrop-filter: blur(5px);
}

.progress-bar-fill {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 10px;
    transition: width 0.5s ease;
}

/* 📦 Tarjetas de cursos */
.course-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    padding: 2rem;
    flex-grow: 1;
}

.course-card {
    text-decoration: none;
    color: var(--text-color);
    background: var(--card-bg);
    border-radius: 20px;
    box-shadow: var(--card-shadow);
    backdrop-filter: blur(var(--card-blur));
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    max-width: 330px;
    padding: 1.5rem;
}

.course-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.5);
}

.card-content h2 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.card-content p {
    font-size: 0.95rem;
    opacity: 0.85;
    margin-bottom: 1rem;
}

.card-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    padding: 0.4rem 0.8rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* 🔘 Botones */
.reset-button {
    background-color: var(--secondary-color);
    color: #fff;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.reset-button:hover {
    background-color: #ff4a3d;
    transform: translateY(-2px);
}

/* 📄 Footer */
.footer {
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: #fff;
    font-size: 0.9rem;
}

/* 📱 Responsive */
@media (max-width: 768px) {
    .header h1 {
        font-size: 2rem;
    }
    .course-grid {
        gap: 1rem;
        padding: 1rem;
    }
}
s