/* Discount Pricing Styles */

/* Hero Discount Banner */
.hero-discount-banner {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow:
        0 8px 25px rgba(255, 107, 107, 0.4),
        0 3px 12px rgba(238, 90, 36, 0.3);
    animation: hero-pulse 3s ease-in-out infinite;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.discount-emoji {
    font-size: 16px;
    animation: bounce 2s ease-in-out infinite;
}

.discount-text {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

@keyframes hero-pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow:
            0 8px 25px rgba(255, 107, 107, 0.4),
            0 3px 12px rgba(238, 90, 36, 0.3);
    }
    50% {
        transform: scale(1.02);
        box-shadow:
            0 12px 35px rgba(255, 107, 107, 0.6),
            0 5px 18px rgba(238, 90, 36, 0.5);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-3px);
    }
    60% {
        transform: translateY(-2px);
    }
}

/* Discount Badge */
.discount-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 
        0 4px 15px rgba(255, 107, 107, 0.4),
        0 2px 8px rgba(238, 90, 36, 0.3);
    z-index: 10;
    animation: pulse-glow 2s ease-in-out infinite;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

@keyframes pulse-glow {
    0%, 100% {
        transform: scale(1);
        box-shadow: 
            0 4px 15px rgba(255, 107, 107, 0.4),
            0 2px 8px rgba(238, 90, 36, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 
            0 6px 20px rgba(255, 107, 107, 0.6),
            0 3px 12px rgba(238, 90, 36, 0.5);
    }
}

/* Price Container */
.price-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

/* Original Price (Crossed Out) */
.original-price {
    font-size: 18px;
    font-weight: 500;
    color: #9ca3af;
    text-decoration: line-through;
    text-decoration-color: #ef4444;
    text-decoration-thickness: 2px;
    opacity: 0.7;
    position: relative;
}

.original-price::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #ef4444 0%, #dc2626 100%);
    transform: translateY(-50%) rotate(-2deg);
    border-radius: 1px;
}

/* Current Price (Highlighted) */
.pricing-card .price {
    font-size: 48px;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(102, 126, 234, 0.3);
    position: relative;
}

.pricing-card .price::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    opacity: 0.1;
    border-radius: 8px;
    z-index: -1;
    transform: scale(1.1);
}

/* Period styling */
.pricing-card .period {
    font-size: 16px;
    font-weight: 600;
    color: #6b7280;
    margin-left: 4px;
}

/* Discount Text */
.discount-text {
    margin-top: 8px;
}

.limited-offer {
    font-size: 12px;
    font-weight: 600;
    color: #059669;
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    padding: 4px 12px;
    border-radius: 12px;
    border: 1px solid #34d399;
    display: inline-block;
    animation: shimmer 3s ease-in-out infinite;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@keyframes shimmer {
    0%, 100% {
        background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
        transform: scale(1);
    }
    50% {
        background: linear-gradient(135deg, #a7f3d0 0%, #6ee7b7 100%);
        transform: scale(1.02);
    }
}

/* Enhanced Featured Card */
.pricing-card.featured {
    position: relative;
    border: 2px solid transparent;
    background: linear-gradient(white, white) padding-box,
                linear-gradient(135deg, #667eea 0%, #764ba2 100%) border-box;
    box-shadow: 
        0 20px 60px rgba(102, 126, 234, 0.2),
        0 8px 30px rgba(118, 75, 162, 0.15);
}

.pricing-card.featured::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: inherit;
    z-index: -1;
    opacity: 0.1;
    animation: glow-border 3s ease-in-out infinite;
}

@keyframes glow-border {
    0%, 100% {
        opacity: 0.1;
        transform: scale(1);
    }
    50% {
        opacity: 0.2;
        transform: scale(1.01);
    }
}

/* Savings Calculator */
.savings-highlight {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 1px solid #f59e0b;
    border-radius: 8px;
    padding: 8px 12px;
    margin: 8px 0;
    text-align: center;
}

.savings-amount {
    font-size: 14px;
    font-weight: 700;
    color: #92400e;
}

.savings-text {
    font-size: 11px;
    color: #78350f;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .discount-badge {
        top: -6px;
        right: -6px;
        padding: 6px 12px;
        font-size: 10px;
    }
    
    .pricing-card .price {
        font-size: 36px;
    }
    
    .original-price {
        font-size: 16px;
    }
    
    .limited-offer {
        font-size: 10px;
        padding: 3px 8px;
    }
}

/* Comparison Table Discount Styling */
.comparison-table .discount-cell {
    position: relative;
}

.comparison-table .original-price-small {
    font-size: 12px;
    color: #9ca3af;
    text-decoration: line-through;
    text-decoration-color: #ef4444;
    display: block;
    margin-bottom: 2px;
}

.comparison-table .current-price-small {
    font-size: 14px;
    font-weight: 700;
    color: #059669;
}

.comparison-table .discount-indicator {
    font-size: 10px;
    background: #fee2e2;
    color: #dc2626;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 4px;
    font-weight: 600;
}

/* FAQ Pricing Updates */
.faq-pricing-highlight {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-left: 4px solid #3b82f6;
    padding: 12px 16px;
    margin: 8px 0;
    border-radius: 0 8px 8px 0;
}

.faq-pricing-highlight .original-price {
    font-size: 14px;
    margin-right: 8px;
}

.faq-pricing-highlight .current-price {
    font-size: 16px;
    font-weight: 700;
    color: #1d4ed8;
}

/* Urgency Indicators */
.urgency-text {
    color: #dc2626;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
    0%, 50%, 100% { opacity: 1; }
    25%, 75% { opacity: 0.7; }
}

/* Currency Conversion Discount Handling */
.currency-discount-notice {
    background: linear-gradient(135deg, #fef7cd 0%, #fef3c7 100%);
    border: 1px solid #f59e0b;
    border-radius: 8px;
    padding: 12px;
    margin: 12px 0;
    font-size: 12px;
    color: #92400e;
    text-align: center;
}

.currency-discount-notice .discount-amount {
    font-weight: 700;
    color: #78350f;
}

/* Enhanced Button Styling for Discounted Plans */
.pricing-card.featured .plan-button {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 
        0 8px 25px rgba(5, 150, 105, 0.4),
        0 3px 12px rgba(4, 120, 87, 0.3);
    position: relative;
    overflow: hidden;
}

.pricing-card.featured .plan-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.pricing-card.featured .plan-button:hover::before {
    left: 100%;
}

.pricing-card.featured .plan-button:hover {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    transform: translateY(-2px);
    box-shadow: 
        0 12px 35px rgba(5, 150, 105, 0.5),
        0 5px 18px rgba(4, 120, 87, 0.4);
}
