.pricing-page {
    padding: 40px;
    text-align: center;
}

.fade-in {
    animation: fadeIn 0.8s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.toggle-container {
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 24px;
}
.switch input { display: none; }
.slider {
    position: absolute;
    cursor: pointer;
    background-color: #ccc;
    transition: .4s;
    border-radius: 24px;
    top: 0; left: 0; right: 0; bottom: 0;
}
.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 4px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}
input:checked + .slider { background-color: #2196F3; }
input:checked + .slider:before { transform: translateX(24px); }

.discount-banner {
    background: #fffae6;
    border: 1px solid #ffcc00;
    padding: 10px;
    margin-top: 15px;
    border-radius: 6px;
    font-size: 1rem;
    color: #333;
}
.discount-banner .validity {
    font-size: 0.85rem;
    color: #777;
    margin-left: 10px;
}

.pulse {
    animation: pulseAnim 1.5s infinite;
}
@keyframes pulseAnim {
    0% { box-shadow: 0 0 0 0 rgba(255,204,0, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(255,204,0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255,204,0, 0); }
}

.pricing-cards {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.plan-card {
    background: white;
    border-radius: 8px;
    padding: 20px;
    width: 300px;
    border: 1px solid #ddd;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}
.plan-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}
.plan-card.featured {
    border: 2px solid #2196F3;
    transform: scale(1.05);
}

.price {
    font-size: 1.6rem;
    margin: 10px 0;
}
.old-price {
    position: relative;
    display: inline-block;
    font-size: 1.4rem;
    font-weight: bold;
    color: #d32f2f;
    margin-right: 8px;
    padding: 2px 6px;
    background: #fff0f0;
    border-radius: 4px;
}
.old-price::after {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 4px;
    background: #d32f2f;
    transform: rotate(-10deg);
    transform-origin: center;
}

.pulse-btn {
    animation: btnPulse 1.5s infinite;
}
@keyframes btnPulse {
    0% { box-shadow: 0 0 0 0 rgba(33,150,243, 0.4); }
    70% { box-shadow: 0 0 0 12px rgba(33,150,243, 0); }
    100% { box-shadow: 0 0 0 0 rgba(33,150,243, 0); }
}

.select-btn {
    display: inline-block;
    margin-top: 15px;
    background: #2196F3;
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
}
.select-btn:hover {
    background: #0b7dda;
}

/* Special Offer Badge */
.offer-badge {
    position: absolute;
    top: 10px;
    right: -20px;
    background: #e91e63;
    color: white;
    padding: 6px 12px;
    font-size: 0.85rem;
    font-weight: bold;
    transform: rotate(15deg);
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    animation: glowBadge 1.5s infinite alternate;
}
@keyframes glowBadge {
    0% { box-shadow: 0 0 5px #e91e63, 0 0 10px #e91e63; }
    100% { box-shadow: 0 0 15px #ff80ab, 0 0 25px #ff80ab; }
}

/* Seasonal themes */
.default-discount-theme .discount-banner {
    background: linear-gradient(45deg, #4cafef, #6ec1ff);
    color: white;
}
.dashain-theme .discount-banner {
    background: linear-gradient(45deg, #ff5722, #ff9800);
    color: white;
}
.dashain-theme .plan-card.featured {
    border: 3px solid #ff9800;
}
.tihar-theme .discount-banner {
    background: linear-gradient(45deg, #ffeb3b, #ffc107);
    color: black;
}
.tihar-theme .plan-card.featured {
    border: 3px solid #ffc107;
}
.launch-theme .discount-banner {
    background: linear-gradient(45deg, #4caf50, #81c784);
    color: white;
}
.launch-theme .plan-card.featured {
    border: 3px solid #4caf50;
}
