/* Pricing Page Styles */

.current-plan-banner {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 3rem;
}

.banner-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.plan-label {
    color: var(--text-secondary);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.plan-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary);
}

.plan-status {
    margin-left: auto;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.pricing-card.featured {
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.05);
}

.featured-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

/* Card Header */
.card-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.card-header h3 {
    margin: 0 0 1rem 0;
    font-size: 1.5rem;
    color: var(--text-light);
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.currency {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-right: 0.25rem;
}

.amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-light);
}

.decimal {
    font-size: 1.5rem;
    color: var(--text-secondary);
}

.billing-period {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin: 0;
}

/* Card Features */
.card-features h4 {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    margin: 0 0 1rem 0;
}

.card-features ul {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.card-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 0;
    color: var(--text-light);
    font-size: 0.95rem;
}

.card-features .icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: bold;
}

.card-features ul:not(.limitations) .icon {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
}

.limitations .icon {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.value-prop {
    background: rgba(99, 102, 241, 0.1);
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
}

.value-prop p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--text-light);
    text-align: center;
}

.subscription-note {
    background: rgba(251, 191, 36, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.3);
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
}

.subscription-note p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--text-light);
}

/* Buttons */
.pricing-card .button {
    width: 100%;
    justify-content: center;
    margin-top: auto;
}

.pricing-card .gift-btn {
    margin-top: 0.75rem;
    background: #4CAF50;
    border-color: #4CAF50;
}

.pricing-card .gift-btn:hover {
    background: #45a049;
    border-color: #45a049;
    transform: translateY(-1px);
}

/* Add-ons Section */
.addons-section {
    margin-bottom: 4rem;
}

.addons-section h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.addons-section > p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.addon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.addon-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.addon-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.addon-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.addon-card h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.25rem;
    color: var(--text-light);
}

.addon-card p {
    margin: 0 0 1rem 0;
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.addon-price {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1rem;
}

.button.small {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* FAQ Section */
.faq-section {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    padding: 3rem;
}

.faq-section h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--text-light);
    text-align: center;
}

.faq-item {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.faq-item h4 {
    margin: 0 0 0.75rem 0;
    font-size: 1.125rem;
    color: var(--text-light);
}

.faq-item p {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Message Container */
.message-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.message {
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    animation: slideIn 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.message.success {
    background-color: #10b981;
    color: white;
}

.message.error {
    background-color: #ef4444;
    color: white;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .addon-grid {
        grid-template-columns: 1fr;
    }
    
    .banner-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .plan-status {
        margin-left: 0;
        margin-top: 0.5rem;
    }
    
    .faq-section {
        padding: 2rem 1.5rem;
    }
}