* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: radial-gradient(circle at top, #1e1b4b, #020617);
    color: #e5e7eb;
}

/* HERO */
.hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}

.hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 700;
    background: linear-gradient(90deg, #a5b4fc, #818cf8);
    -webkit-background-clip: text;
    color: transparent;
}

.hero p {
    margin-top: 1rem;
    font-size: 1.1rem;
    color: #c7d2fe;
}

/* CONTENEDOR */
.container {
    max-width: 1200px;
    margin: auto;
    padding: 3rem 1.5rem;
}

/* GRID */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

/* CARD */
.card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(14px);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0,0,0,0.4);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 35px 70px rgba(99,102,241,0.4);
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-content {
    padding: 1.8rem;
}

.card h2 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #d1d5db;
    margin-bottom: 1.5rem;
}

/* BOTÓN */
.card button {
    width: 100%;
    padding: 0.9rem;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #6366f1, #818cf8);
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.card button:hover {
    background: linear-gradient(135deg, #4f46e5, #6366f1);
    transform: scale(1.03);
}

/* FOOTER */
footer {
    text-align: center;
    padding: 2rem;
    font-size: 0.9rem;
    color: #9ca3af;
}

a {
    text-decoration: none;
    color:white;
}