/* Pricing Page Styles Only */
/* File: static/subscription/css/pricing.css */

:root {
    --primary-color: #ff69b4;
    --text-color: #2c3e50;
    --light-text: #6c757d;
    --background: #fafbfc;
    --card-background: #ffffff;
    --border-color: #e9ecef;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 30px rgba(255, 105, 180, 0.15);
}

/* Pricing Page Container */
.pricing-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

/* Hero Section - More Minimal */
.pricing-hero {
    text-align: center;
    margin-bottom: 3rem;
}

.pricing-hero h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.25rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.pricing-hero p {
    font-size: 1.1rem;
    color: var(--light-text);
    font-weight: 400;
}

/* Status Banner - Simplified */
.user-status-banner {
    background: linear-gradient(135deg, rgba(255,105,180,0.06), rgba(255,105,180,0.02));
    border: 1px solid rgba(255, 105, 180, 0.15);
    border-radius: 16px;
    padding: 1.25rem 2rem;
    margin-bottom: 2.5rem;
    text-align: center;
}

.user-status-banner h3 {
    color: var(--primary-color);
    font-weight: 500;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.user-status-banner p {
    color: var(--light-text);
    font-size: 0.9rem;
    margin: 0;
}

.user-status-banner p + p {
    margin-top: 0.5rem;
}

.user-status-banner.trial-complete {
    background: linear-gradient(135deg, rgba(255,69,0,0.06), rgba(255,69,0,0.02));
    border-color: rgba(255, 69, 0, 0.2);
}

.user-status-banner.trial-complete h3 {
    color: #ff4500;
}

.user-status-banner.cancelled {
    background: linear-gradient(135deg, rgba(255,105,180,0.08), rgba(255,105,180,0.03));
    border-color: rgba(255, 105, 180, 0.3);
    border-width: 2px;
}

.user-status-banner.cancelled h3 {
    color: #d63384;
}

.cancellation-note {
    font-size: 0.8rem !important;
    color: #d63384 !important;
    font-style: italic;
    opacity: 0.8;
}

/* Pricing Cards - More Elegant */
.pricing-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.pricing-card {
    background: var(--card-background);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.pricing-card.premium {
    border-color: var(--primary-color);
    border-width: 2px;
}

.pricing-card.premium::before {
    content: '⭐ Most Popular';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--primary-color), #ff45a0);
    color: white;
    padding: 0.5rem;
    font-size: 0.75rem;
    font-weight: 500;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pricing-card.premium .card-header {
    margin-top: 1rem;
}

.card-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.25rem;
}

.card-subtitle {
    color: var(--light-text);
    font-size: 0.875rem;
    font-weight: 400;
}

/* Price Section - Cleaner */
.card-price {
    text-align: center;
    margin-bottom: 2rem;
}

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

.card-price p {
    font-size: 0.8rem;
    color: var(--light-text);
    margin: 0;
}

.price-options {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.price-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    border: 1.5px solid var(--border-color);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.price-option:hover {
    border-color: var(--primary-color);
    background: rgba(255, 105, 180, 0.02);
}

.price-option.selected {
    border-color: var(--primary-color);
    background: rgba(255, 105, 180, 0.04);
}

.price-main {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
}

.price-period {
    font-size: 0.85rem;
    color: var(--light-text);
}

.price-savings {
    background: linear-gradient(135deg, var(--primary-color), #ff45a0);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 500;
}

/* Features List - More Minimal */
.features-list {
    list-style: none;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.features-list li {
    display: flex;
    align-items: center;
    padding: 0.5rem 0;
    font-size: 0.9rem;
}

.feature-icon {
    width: 16px;
    height: 16px;
    margin-right: 0.75rem;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon.check {
    color: #22c55e;
}

.feature-icon.cross {
    color: #ef4444;
}

/* CTA Buttons - Refined */
.card-button {
    width: 100%;
    padding: 0.875rem 1.5rem;
    border: none;
    border-radius: 12px;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.card-button.free-active {
    background: var(--border-color);
    color: var(--light-text);
    cursor: not-allowed;
}

.card-button.free-upgrade {
    background: linear-gradient(135deg, #ff4500, #ff6347);
    color: white;
}

.card-button.premium {
    background: linear-gradient(135deg, var(--primary-color), #ff45a0);
    color: white;
}

.card-button:hover:not(.free-active) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 105, 180, 0.3);
    text-decoration: none;
    color: white;
}

/* FAQ Section - Simplified */
.faq-section {
    margin-top: 3rem;
}

.faq-title {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 2rem;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.faq-item {
    background: var(--card-background);
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.faq-question {
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.faq-answer {
    color: var(--light-text);
    font-size: 0.85rem;
    line-height: 1.5;
}

/* Social Proof - Minimal */
.social-proof {
    text-align: center;
    margin-top: 2.5rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(255,105,180,0.03), rgba(255,105,180,0.01));
    border-radius: 16px;
    border: 1px solid rgba(255, 105, 180, 0.1);
}

.social-proof-text {
    font-size: 1rem;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.testimonial {
    font-style: italic;
    color: var(--light-text);
    font-size: 0.9rem;
    max-width: 500px;
    margin: 0 auto;
}

/* Current plan indicator */
.price-option.current-plan {
    background: linear-gradient(135deg, rgba(255, 105, 180, 0.08), rgba(255, 105, 180, 0.04));
    border-color: var(--primary-color);
    border-width: 2px;
}

.current-plan-badge {
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.cancelling-note {
    font-size: 0.65rem;
    opacity: 0.9;
    text-transform: none;
    letter-spacing: 0;
}

/* Style for when current plan is selected */
.current-plan-btn {
    background: #e9ecef !important;
    color: #6c757d !important;
    cursor: default !important;
}

.current-plan-btn:hover {
    transform: none !important;
    box-shadow: none !important;
}

/* Highlight selected plan that's different from current */
.price-option.selected:not(.current-plan) {
    box-shadow: 0 0 0 2px var(--primary-color);
}

/* Ensure current plan option is selected by default on load */
.price-option.current-plan {
    background: linear-gradient(135deg, rgba(255, 105, 180, 0.08), rgba(255, 105, 180, 0.04));
    border-color: var(--primary-color);
    border-width: 2px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .pricing-cards {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .pricing-container {
        padding: 2rem 1rem;
    }

    .pricing-hero h1 {
        font-size: 1.75rem;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }

    .user-status-banner {
        padding: 1rem 1.5rem;
    }

    .pricing-card {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .pricing-hero h1 {
        font-size: 1.5rem;
    }

    .pricing-hero p {
        font-size: 1rem;
    }
}