/* ===================================================
   SONOPREP PRICING STYLES
   Styles for 35-day subscription model pricing display
   =================================================== */

/* Pricing Notice */
.pricing-notice {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem 2rem;
    border-radius: 12px;
    text-align: center;
    margin: 2rem auto;
    max-width: 600px;
    font-weight: 500;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.pricing-notice i {
    margin-right: 0.5rem;
}

/* Product Price Display */
.price {
    font-size: 2rem;
    font-weight: 700;
    color: #2d3748;
    margin: 1rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.price .original-price {
    font-size: 1.2rem;
    text-decoration: line-through;
    color: #a0aec0;
    font-weight: 400;
}

.price .bundle-price {
    color: #48bb78;
    background: linear-gradient(135deg, #48bb78, #38a169);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Savings Badge */
.savings-badge {
    background: linear-gradient(135deg, #f56565, #e53e3e);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-block;
    margin: 0.5rem 0;
    box-shadow: 0 4px 15px rgba(245, 101, 101, 0.3);
    animation: pulse 2s infinite;
}

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

/* Bundle Card Special Styling */
.bundle-card {
    background: linear-gradient(135deg, #ffeaa7 0%, #fab1a0 100%);
    border: 2px solid #fdcb6e;
    position: relative;
    overflow: hidden;
}

.bundle-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

/* Access Info */
.access-info {
    background: #edf2f7;
    color: #4a5568;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    margin: 1rem 0;
    text-align: center;
    font-weight: 500;
}

.bundle-card .access-info {
    background: rgba(255, 255, 255, 0.9);
    color: #2d3748;
}

/* Product Button Enhancements */
.product-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.product-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.product-btn i {
    font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .price {
        font-size: 1.5rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
    
    .price .original-price {
        font-size: 1rem;
    }
    
    .pricing-notice {
        margin: 1rem;
        padding: 1rem;
    }
    
    .product-btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .bundle-card {
        margin: 1rem 0;
    }
}

/* Loading States */
.product-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.purchase-loading {
    position: relative;
}

.purchase-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top: 2px solid #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Subscription Status Indicators */
.subscription-active {
    border-left: 4px solid #48bb78;
    background: #f0fff4;
}

.subscription-expired {
    border-left: 4px solid #f56565;
    background: #fff5f5;
}

.subscription-no-access {
    border-left: 4px solid #a0aec0;
    background: #f7fafc;
}