/* Plans Page Styles */

.plans-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 100px 20px 60px;
}

.back-button {
    display: inline-block;
    margin-bottom: 30px;
    padding: 10px 20px;
    color: #0066cc;
    text-decoration: none;
    border-radius: 8px;
    transition: background-color 0.2s;
}

.back-button:hover {
    background-color: #f0f0f0;
}

/* Plans Header */
.plans-header {
    text-align: center;
    margin-bottom: 60px;
}

.plans-title {
    font-size: 2.5rem;
    color: #1a1a1a;
    margin-bottom: 15px;
    font-weight: 700;
}

.plans-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin: 0;
}

/* Current Plan Status Banner */
.current-plan-banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.plan-status-content h3 {
    margin-top: 0;
    font-size: 1.5rem;
    color: white;
}

.plan-details p {
    margin: 0.5rem 0;
    font-size: 1.1rem;
}

.plan-name-status {
    font-weight: bold;
    font-size: 1.3rem !important;
}

.trial-active {
    background: #28a745;
    padding: 0.3rem 0.8rem;
    border-radius: 6px;
    font-weight: bold;
    display: inline-block;
}

.expired-text {
    color: #ffcccc !important;
}

.expired {
    background: #dc3545;
    padding: 0.3rem 0.8rem;
    border-radius: 6px;
    font-weight: bold;
    display: inline-block;
}

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

.pricing-card {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 16px;
    padding: 35px 25px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 102, 204, 0.15);
}

.pricing-card.popular {
    border-color: #0066cc;
    border-width: 3px;
}

.pricing-card.recommended {
    border-color: #00b894;
    border-width: 3px;
    background: linear-gradient(135deg, #ffffff 0%, #f0fff4 100%);
}

/* Plan Badge */
.plan-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.free-badge {
    background: #e8f4f8;
    color: #0066cc;
}

.popular-badge {
    background: #0066cc;
    color: white;
}

.pro-badge {
    background: #00b894;
    color: white;
}

.business-badge {
    background: #6c5ce7;
    color: white;
}

/* Plan Name & Price */
.plan-name {
    font-size: 1.8rem;
    color: #1a1a1a;
    margin-bottom: 20px;
    font-weight: 700;
}

.plan-price {
    margin-bottom: 15px;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 3px;
}

.price-currency {
    font-size: 1.5rem;
    color: #666;
    font-weight: 600;
}

.price-amount {
    font-size: 3.5rem;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1;
}

.price-period {
    font-size: 1rem;
    color: #666;
}

.plan-description {
    color: #666;
    font-size: 1rem;
    margin-bottom: 30px;
}

/* Plan Features */
.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    text-align: left;
    flex-grow: 1;
}

.plan-features li {
    padding: 12px 0;
    color: #444;
    font-size: 0.95rem;
    border-bottom: 1px solid #f0f0f0;
}

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

/* Plan Button */
.btn-plan {
    width: 100%;
    padding: 14px 24px;
    border: 2px solid #0066cc;
    background: white;
    color: #0066cc;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: auto;
}

.btn-plan:hover {
    background: #f0f8ff;
    transform: scale(1.02);
}

.btn-plan-primary {
    background: #0066cc;
    color: white;
}

.btn-plan-primary:hover {
    background: #0052a3;
}

/* Comparison Section */
.comparison-section {
    margin-bottom: 80px;
}

.comparison-title {
    text-align: center;
    font-size: 2rem;
    color: #1a1a1a;
    margin-bottom: 40px;
    font-weight: 700;
}

.comparison-table-wrapper {
    overflow-x: auto;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.comparison-table th {
    background: #0066cc;
    color: white;
    padding: 18px;
    text-align: left;
    font-weight: 600;
    font-size: 1rem;
}

.comparison-table td {
    padding: 18px;
    border-bottom: 1px solid #f0f0f0;
    color: #444;
}

.comparison-table tbody tr:hover {
    background: #f8f9fa;
}

.highlight-row {
    background: #f0f8ff;
}

.recommended-row {
    background: #f0fff4;
}

/* FAQ Section */
.faq-section {
    margin-bottom: 60px;
}

.faq-title {
    text-align: center;
    font-size: 2rem;
    color: #1a1a1a;
    margin-bottom: 40px;
    font-weight: 700;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.faq-item {
    background: white;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(-3px);
}

.faq-item h3 {
    color: #1a1a1a;
    font-size: 1.1rem;
    margin-bottom: 12px;
    font-weight: 600;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .plans-container {
        padding: 80px 15px 40px;
    }

    .plans-title {
        font-size: 1.8rem;
    }

    .plans-subtitle {
        font-size: 1rem;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .price-amount {
        font-size: 2.5rem;
    }

    .comparison-title,
    .faq-title {
        font-size: 1.5rem;
    }

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

@media (max-width: 480px) {
    .plans-title {
        font-size: 1.5rem;
    }

    .plan-name {
        font-size: 1.5rem;
    }

    .price-amount {
        font-size: 2rem;
    }
}
