/* Special Promotion Banner Styles */

.special-promo-banner {
    position: relative;
    padding: 0.875rem 1.5rem;
    color: white;
    z-index: 40;
    animation: slideDown 0.3s ease;
}

.special-promo-banner.gradient-purple {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.special-promo-banner.gradient-blue {
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
}

.special-promo-banner.gradient-green {
    background: linear-gradient(135deg, #10b981 0%, #047857 100%);
}

.special-promo-banner.gradient-orange {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.promo-content {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.special-promo-banner .promo-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2) !important;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    white-space: nowrap;
    color: white !important;
}

.badge-pulse {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.promo-text {
    text-align: center;
}

.promo-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
}

.promo-subtitle {
    font-size: 0.875rem;
    opacity: 0.9;
    margin: 0;
}

.promo-pricing {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.promo-prices {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.original-price {
    text-decoration: line-through;
    opacity: 0.7;
    font-size: 0.875rem;
}

.promo-price {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1;
}

.discount-badge {
    background: rgba(255, 255, 255, 0.25);
    padding: 0.125rem 0.5rem;
    border-radius: 0.25rem;
    font-weight: 600;
    font-size: 0.75rem;
}

.promo-cta {
    background: white;
    color: #764ba2;
    padding: 0.5rem 1.25rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.promo-cta:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.gradient-blue .promo-cta {
    color: #1e40af;
}

.gradient-green .promo-cta {
    color: #047857;
}

.gradient-orange .promo-cta {
    color: #d97706;
}

.promo-dismiss {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: white;
    opacity: 0.7;
    cursor: pointer;
    padding: 0.25rem;
    transition: opacity 0.2s;
}

.promo-dismiss:hover {
    opacity: 1;
}

/* Animations */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-100%);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-100%);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .special-promo-banner {
        padding: 1rem;
    }

    .promo-content {
        gap: 0.75rem;
    }

    .special-promo-banner .promo-badge {
        display: none;
    }

    .promo-title {
        font-size: 1rem;
    }

    .promo-price {
        font-size: 1.25rem;
    }

    .promo-dismiss {
        right: 0.5rem;
    }
}

@media (max-width: 480px) {
    .promo-content {
        flex-direction: column;
        text-align: center;
    }

    .promo-cta {
        width: 100%;
        text-align: center;
    }
}

/* Pricing page ribbon for promotional plans */
.plan-card.on-promotion,
.pricing-card.on-promotion {
    border: 2px solid #667eea;
    position: relative;
    overflow: visible;
}

.promo-ribbon {
    position: absolute;
    top: -10px;
    right: -10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.25rem 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 0.25rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.plan-card .original-price {
    text-decoration: line-through;
    color: #9ca3af;
    font-size: 0.875rem;
}

.plan-card .current-price {
    font-size: 2rem;
    font-weight: 700;
}

.plan-card.on-promotion .current-price {
    color: #667eea;
}
