* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #121212;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    color: #ffffff;
}

.pricing-container {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
    padding: 2rem;
}

.pricing-card {
    background: #1e1e1e;
    border-radius: 12px;
    padding: 2.5rem;
    width: 320px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    border: 1px solid #333;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.pricing-card.premium {
    border: 2px solid #e84393;
    box-shadow: 0 0 18px rgba(232, 67, 147, 0.25);
}

.badge {
    background: linear-gradient(135deg, #8e44ad, #e84393);
    color: #ffffff;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.plan-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #ccc;
}

.premium .plan-title {
    color: #e84393;
}

.plan-price {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.plan-price span {
    font-size: 1rem;
    font-weight: normal;
    color: #888;
}

.plan-features {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
}

.plan-features li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
    color: #bbb;
}

.plan-features li::before {
    content: '✓';
    color: #e84393;
    position: absolute;
    left: 0;
    font-weight: bold;
}

.plan-btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    color: #fff;
    background: #333;
    font-weight: bold;
    transition: background 0.3s ease, opacity 0.3s ease;
    width: 100%;
}

.plan-btn:hover {
    background: #444;
}

.premium .plan-btn {
    background: linear-gradient(135deg, #8e44ad, #e84393);
    color: #ffffff;
}

.premium .plan-btn:hover {
    opacity: 0.85;
}

/* Botón flotante para volver */
.back-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.75rem 1.25rem;
    background-color: #1e1e1e;
    color: #ffffff;
    border: 1px solid #e84393;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-btn:hover {
    background: linear-gradient(135deg, #8e44ad, #e84393);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(232, 67, 147, 0.4);
}

.back-btn span {
    font-size: 1.1rem;
    transition: transform 0.2s ease;
}

.back-btn:hover span {
    transform: translateX(-4px);
}

/* Estilos para el Recuadro Emergente (Modal) */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 2000;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background: #1e1e1e;
    border: 2px solid #e84393;
    border-radius: 12px;
    padding: 2rem;
    max-width: 420px;
    width: 90%;
    text-align: center;
    box-shadow: 0 0 25px rgba(232, 67, 147, 0.3);
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-content h3 {
    color: #e84393;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.modal-content p {
    color: #ccc;
    margin-bottom: 1.5rem;
    line-height: 1.5;
    font-size: 0.95rem;
}

.modal-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.modal-btn {
    padding: 0.7rem 1.2rem;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    border: none;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.modal-btn.primary {
    background: linear-gradient(135deg, #8e44ad, #e84393);
    color: #ffffff;
}

.modal-btn.primary:hover {
    opacity: 0.9;
}

.modal-btn.secondary {
    background: #333;
    color: #bbb;
}

.modal-btn.secondary:hover {
    background: #444;
    color: #fff;
}