/* =========================================
   CONFIGURACIÓN BASE
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: #e8faff;
background: linear-gradient(180deg, #b8f0ff 0%, #b5ffff 100%);
}
header {
            background: #29fff8;
background: linear-gradient(100deg, #29fff8 10%, #32b5d9 100%);
            color: #333;
            text-align: center;
            padding: 40px 20px;
            margin-bottom: 30px;

        }
        header h1 {
            margin: 0;
            font-size: 2.5em;
        }
        header p {
            margin: 10px;
            font-size: 1.4em;
        }

/* =========================================
   CONTENEDOR DE LAS TARJETAS (FLEXBOX)
   ========================================= */
   .container{
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
   }
.pricing-container {
    display: flex;
    gap: 20px; /* Espacio entre tarjetas */
    flex-wrap: wrap; /* Si la pantalla es pequeña, se apilan hacia abajo */
    justify-content: center;
    max-width: 1200px;
}

/* =========================================
   DISEÑO INDIVIDUAL DE LA TARJETA
   ========================================= */
.pricing-card {
    width: 270px;
    border-radius: 15px; /* Bordes redondeados */
    padding: 30px 20px;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1); /* Sombra suave estática */
    
    /* ¡AQUÍ ESTÁ LA MAGIA AVANZADA! Transición suave al hacer hover */
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    
    display: flex;
    flex-direction: column;
}

/* Efecto Hover: La tarjeta se eleva y la sombra se hace más grande */
.pricing-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}

/* =========================================
   EFECTO DE CURVA BRILLANTE DE FONDO
   ========================================= */
/* Usamos ::before para dibujar un círculo transparente gigante detrás del contenido */
.pricing-card::before {
    content: '';
    position: absolute;
    top: 28%;
    left: -50%;
    width: 200%;
    height: 300px;
    background: rgba(255, 255, 255, 0.15); /* Blanco semi-transparente */
    border-radius: 50%; /* Lo hace redondo para crear la curva */
    z-index: 0;
}

/* Aseguramos que el texto y botones queden por encima de la curva (z-index) */
.pricing-card > * {
    position: relative;
    z-index: 1;
}

/* =========================================
   COLORES (GRADIENTES) IGUALES A LA IMAGEN
   ========================================= */
.card-orange { background: #00d5ce;
background: linear-gradient(100deg, #14e1da 0%, #36899e 100%); }
.card-purple { background: #5ff754;
background: linear-gradient(100deg, #5ff754 0%, #18d651 100%); }
.card-green { background: linear-gradient(180deg, #37c8c6 0%, #57df78 100%); }
.card-blue { background: linear-gradient(180deg, #2769d4 0%, #47a6ef 100%); }

/* =========================================
   ELEMENTOS INTERNOS (Textos, Iconos, Lista)
   ========================================= */
.icon-circle {
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.15); /* Círculo oscurecido transparente */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 15px auto;
    font-size: 24px;
}

.plan-title {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.plan-subtitle {
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.9);
}

.plan-subtitle.hidden {
    opacity: 0; /* Ocultamos el subtítulo en las tarjetas que no lo tienen para mantener alineación */
}

.price-section {
    margin-bottom: 25px;
    border-top: 1px solid #ffffff4d;
    padding-top: 15px;
}

.desde {
    font-size: 0.7rem;
    font-weight: 600;
    display: block;
}

.price {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.1;
    text-shadow: 1px 2px 4px rgba(0,0,0,0.1);
}

.mes {
    font-size: 1rem;
    font-weight: 600;
}

/* Estilos de la lista (Viñetas) */
.features-list {
    list-style: none; /* Quitamos los puntos por defecto */
    text-align: center;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.8;
    margin-bottom: 30px;
    flex-grow: 1; /* Empuja el botón siempre hacia abajo */
}

/* Creamos nuestros propios puntitos para que se vean exactos a la imagen */
.features-list li::before {
    content: "•";
    color: white;
    font-size: 1.2rem;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
    vertical-align: middle;
}

/* =========================================
   BOTONES
   ========================================= */
.cta-button {
    background-color: #463996; /* Rosa fucsia de la imagen */
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 25px; /* Botón en forma de píldora */
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: transform 0.2s, background-color 0.2s;
    width: 80%;
    margin: 0 auto;
}

/* Animación al pasar el ratón por el botón */
.cta-button:hover {
    transform: scale(1.05); /* El botón crece un 5% */
    background-color: #5842ff; /* Se aclara el color un poco */
}
footer {
            background: #29fff8;
background: #52f7a7;
background: linear-gradient(100deg, rgba(82, 247, 167, 1) 0%, rgba(24, 240, 189, 1) 100%);
            text-align: center;
            padding: 20px;
            margin-top: 50px;
            color: #333;
            font-size: 1.6em;
            font-weight: 800;
        }