/* --- RESETEO BÁSICO --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

body {
    background-color: #f4f6f8;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* --- ENCABEZADO (Igual a las otras páginas) --- */
.main-header {
    background: linear-gradient(90deg, #1a0b50 0%, #4b0082 50%, #000033 100%);
    color: white;
    padding: 20px 0;
    position: relative;
    overflow: hidden;
}

.main-header::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.3;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.logo-placeholder {
    font-weight: bold;
    text-align: center;
    border: 2px solid #00d4ff;
    padding: 5px;
    color: #00d4ff;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    box-shadow: 0 0 10px #00d4ff;
}

.top-nav a {
    color: white;
    text-decoration: none;
    margin-left: 20px;
    font-size: 0.95rem;
    font-weight: bold;
    transition: color 0.3s;
}

.top-nav a:hover {
    color: #00d4ff;
}

/* --- SECCIÓN INTRODUCTORIA --- */
.page-intro {
    text-align: center;
    padding: 50px 20px 30px;
    background-color: #fff;
}

.page-intro h1 {
    color: #1a0b50;
    margin-bottom: 15px;
    font-size: 2.2rem;
}

.page-intro p {
    color: #666;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* --- CONTENEDOR DE PRECIOS --- */
.pricing-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    padding: 20px 20px 60px;
    max-width: 1200px;
    margin: 0 auto;
}

/* --- TARJETA DE PRECIO --- */
.pricing-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    width: 260px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    border-top: 5px solid #3498db; /* Borde azul superior por defecto */
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

/* Estilos específicos para destacar tarjetas */
.pricing-card.popular {
    border-top: 5px solid #8e44ad; /* Morado */
    transform: scale(1.05); /* Ligeramente más grande */
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-10px);
}

.pricing-card.platinum {
    border-top: 5px solid #2c3e50; /* Oscuro */
}

/* Badge de "Recomendado" */
.badge {
    position: absolute;
    top: 0;
    right: 0;
    background-color: #8e44ad;
    color: white;
    font-size: 0.7rem;
    padding: 5px 10px;
    border-bottom-left-radius: 10px;
}

/* Cabecera de la tarjeta */
.card-header {
    padding: 30px 20px;
    text-align: center;
    background-color: #fcfcfc;
    border-bottom: 1px solid #eee;
}

.card-header h3 {
    margin-bottom: 10px;
    color: #333;
    font-size: 1.2rem;
}

.price {
    font-size: 1.8rem;
    color: #1a0b50;
    font-weight: bold;
}

.period {
    font-size: 0.8rem;
    color: #888;
    font-weight: normal;
}

/* Cuerpo de la tarjeta (Lista) */
.card-body {
    padding: 20px;
    flex: 1; /* Empuja el footer hacia abajo */
}

.card-body ul {
    list-style: none;
    padding: 0;
}

.card-body li {
    margin-bottom: 15px;
    color: #555;
    font-size: 0.9rem;
    display: flex;
    align-items: start;
    line-height: 1.4;
}

.card-body li i {
    color: #2ecc71; /* Check verde */
    margin-right: 10px;
    margin-top: 3px;
    font-size: 0.8rem;
}

/* Pie de la tarjeta (Botón) */
.card-footer {
    padding: 20px;
    text-align: center;
    background-color: #fcfcfc;
}

.btn-plan {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 25px; /* Botones redondeados */
    cursor: pointer;
    font-weight: bold;
    width: 100%;
    transition: background 0.3s;
}

.pricing-card.popular .btn-plan {
    background-color: #8e44ad; /* Botón morado para el pro */
}

.btn-plan:hover {
    filter: brightness(90%);
}

/* --- PIE DE PÁGINA (Footer) --- */
.main-footer {
    background-color: #000;
    color: #fff;
    padding: 40px 0;
    font-size: 0.9rem;
    margin-top: auto;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 0 20px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
    min-width: 150px;
}

.footer-column h4 {
    color: #3498db;
    margin-bottom: 15px;
}

.footer-column a {
    color: #3498db;
    text-decoration: none;
    margin-bottom: 8px;
    transition: color 0.2s;
}

.footer-column a:hover {
    color: #fff;
}

.logo-placeholder.small {
    width: 60px;
    height: 60px;
    font-size: 0.6rem;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .pricing-container {
        flex-direction: column;
        align-items: center;
    }
    
    .pricing-card {
        width: 100%;
        max-width: 350px;
    }

    .pricing-card.popular {
        transform: none; /* Quitar efecto de zoom en móvil */
    }
    
    .footer-container {
        text-align: center;
    }
    
    .footer-column {
        align-items: center;
    }
}