/* Subscription Page Styles */
.subscription-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.subscription-header {
    text-align: center;
    margin-bottom: 3rem;
}

.subscription-header h1 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.subscription-header .subtitle {
    font-size: 1.2rem;
    color: #7f8c8d;
    margin: 0;
}

/* Plans Container */
.plans-container {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.plan-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    position: relative;
    min-width: 300px;
    max-width: 400px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.plan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.free-plan {
    border: 2px solid #e0e0e0;
}

.pro-plan {
    border: 2px solid #27ae60;
    background: linear-gradient(135deg, #ffffff 0%, #f0fff4 100%);
}

.premium-plan {
    border: 2px solid #3498db;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
}

.plan-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.plan-header {
    text-align: center;
    margin-bottom: 2rem;
}

.plan-header h2 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 600;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
}

.price .period {
    font-size: 1rem;
    color: #7f8c8d;
    font-weight: 400;
}

.pro-plan .price {
    color: #27ae60;
}

.premium-plan .price {
    color: #3498db;
}

.plan-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.plan-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 1rem;
    color: #2c3e50;
}

.plan-features li:last-child {
    border-bottom: none;
}

.plan-features li.disabled {
    color: #bdc3c7;
}

.plan-status, .plan-action {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #f0f0f0;
}

.current-plan {
    background: #27ae60;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    display: inline-block;
}

.upgrade-btn {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.upgrade-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
    background: linear-gradient(135deg, #2980b9, #1f5f8b);
}

.downgrade-btn {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
}

.downgrade-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
    background: linear-gradient(135deg, #c0392b, #a93226);
}

.create-account-btn {
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: white;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(243, 156, 18, 0.3);
    display: inline-block;
}

.create-account-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(243, 156, 18, 0.4);
    background: linear-gradient(135deg, #e67e22, #d35400);
    color: white;
    text-decoration: none;
}

/* Features Comparison */
.features-comparison {
    margin-bottom: 4rem;
}

.features-comparison h3 {
    text-align: center;
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 2rem;
    font-weight: 600;
}

.comparison-table {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.comparison-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    border-bottom: 1px solid #f0f0f0;
}

.comparison-row:last-child {
    border-bottom: none;
}

.comparison-row.header {
    background: #f8f9fa;
    font-weight: 600;
    color: #2c3e50;
}

.comparison-row > div {
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
}

.feature-name {
    font-weight: 500;
    color: #2c3e50;
}

.free-plan, .pro-plan, .premium-plan {
    text-align: center;
    font-size: 1.2rem;
    font-weight: 600;
}

.free-plan {
    color: #7f8c8d;
}

.pro-plan {
    color: #27ae60;
}

.premium-plan {
    color: #3498db;
}

/* FAQ Section */
.faq-section {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.faq-section h3 {
    text-align: center;
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 2rem;
    font-weight: 600;
}

.faq-item {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #f0f0f0;
}

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

.faq-item h4 {
    font-size: 1.2rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.faq-item p {
    color: #7f8c8d;
    line-height: 1.6;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .subscription-container {
        padding: 1rem;
    }
    
    .subscription-header h1 {
        font-size: 2rem;
    }
    
    .plans-container {
        flex-direction: column;
        align-items: center;
    }
    
    .plan-card {
        min-width: 280px;
        max-width: 100%;
    }
    
    .comparison-row {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .comparison-row > div {
        padding: 0.75rem;
    }
    
    .feature-name {
        font-weight: 600;
        background: #f8f9fa;
        margin-bottom: 0.5rem;
    }
}

/* Dark Mode Support */
.dark-mode .subscription-container {
    background: #1a1a1a;
    color: #ffffff;
}

.dark-mode .plan-card {
    background: #2d2d2d;
    border-color: #404040;
}

.dark-mode .subscription-header h1,
.dark-mode .plan-header h2,
.dark-mode .plan-features li,
.dark-mode .feature-name {
    color: #ffffff;
}

.dark-mode .subscription-header .subtitle,
.dark-mode .price .period,
.dark-mode .plan-features li.disabled {
    color: #b0b0b0;
}

.dark-mode .comparison-table,
.dark-mode .faq-section {
    background: #2d2d2d;
}

.dark-mode .comparison-row.header {
    background: #404040;
}

.dark-mode .comparison-row {
    border-bottom-color: #404040;
}

.dark-mode .faq-item {
    border-bottom-color: #404040;
} 