/* Pricing Page Styles */

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

.pricing-header {
    text-align: center;
    margin-bottom: 50px;
}

.pricing-header h1 {
    font-size: 48px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 15px;
}

.pricing-header .subtitle {
    font-size: 20px;
    color: #718096;
}

/* Current Plan Banner */
.current-plan-banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px 30px;
    border-radius: 12px;
    margin-bottom: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.banner-content {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 16px;
}

.banner-content i {
    font-size: 24px;
}

.status-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.status-active {
    background: rgba(255, 255, 255, 0.3);
}

/* Pricing Grid — 4 tiers */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 60px;
    align-items: start;
}

.pricing-card {
    background: white;
    border-radius: 16px;
    padding: 40px 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
    position: relative;
}

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

.pricing-card.pro-plan {
    border-color: #667eea;
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.25);
}

.pricing-card.current-plan {
    border-color: #38a169;
    background: #f0fff4;
}

.recommended-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 12px rgba(245, 87, 108, 0.4);
}

.plan-header {
    text-align: center;
    padding-bottom: 30px;
    border-bottom: 2px solid #e2e8f0;
    margin-bottom: 30px;
}

.plan-header h3 {
    font-size: 28px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 15px;
}

.plan-price {
    margin-bottom: 15px;
    display: flex;
    align-items: baseline;
    gap: 4px;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.plan-price .price {
    font-size: 48px;
    font-weight: 700;
    color: #667eea;
    white-space: nowrap;
}

.plan-price .period {
    font-size: 18px;
    color: #718096;
    white-space: nowrap;
}

.plan-description {
    font-size: 16px;
    color: #718096;
    margin-bottom: 15px;
}

.trial-badge {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
}

.plan-features {
    margin-bottom: 30px;
}

.plan-features h4 {
    font-size: 16px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 20px;
}

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

.plan-features li {
    padding: 12px 0;
    color: #4a5568;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid #f7fafc;
}

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

.plan-features li i {
    font-size: 18px;
}

.btn-plan {
    width: 100%;
    padding: 16px 32px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-plan:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

.btn-upgrade {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

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

.btn-current {
    background: #38a169;
    color: white;
}

.btn-outline {
    background: white;
    border: 2px solid #667eea;
    color: #667eea;
}

.btn-outline:hover {
    background: #667eea;
    color: white;
}

.btn-proplus {
    background: linear-gradient(135deg, #0bc5ea 0%, #3182ce 100%);
    color: white;
}

.btn-proplus:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(11, 197, 234, 0.4);
}

.btn-agency {
    background: linear-gradient(135deg, #2d3748 0%, #4a5568 100%);
    color: white;
}

.btn-agency:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(45, 55, 72, 0.4);
}

.plan-note {
    text-align: center;
    font-size: 13px;
    color: #a0aec0;
    margin-top: 15px;
}

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

.comparison-section h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 40px;
}

.comparison-table {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow-x: auto;
}

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

.comparison-table th {
    padding: 20px;
    text-align: center;
    font-weight: 700;
    font-size: 18px;
    color: #2d3748;
    border-bottom: 2px solid #e2e8f0;
}

.comparison-table th:first-child {
    text-align: left;
}

.comparison-table td {
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid #f7fafc;
    font-size: 15px;
}

.comparison-table td:first-child {
    text-align: left;
    font-weight: 500;
    color: #4a5568;
}

.comparison-table .highlight-row {
    background: #f7fafc;
}

.comparison-table i {
    font-size: 20px;
}

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

.faq-section h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 40px;
}

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

.faq-item {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border-left: 4px solid #667eea;
}

.faq-item h4 {
    font-size: 18px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.faq-item h4 i {
    color: #667eea;
    font-size: 20px;
}

.faq-item p {
    font-size: 15px;
    color: #718096;
    line-height: 1.6;
    margin: 0;
}

/* Loading State */
.loading-state {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}

/* Responsive Design */
/* Plan icon badges */
.plan-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin: 0 auto 16px;
}
.plan-icon-free  { background: #edf2f7; color: #718096; }
.plan-icon-pro   { background: linear-gradient(135deg, #667eea, #764ba2); color: white; }
.plan-icon-proplus { background: linear-gradient(135deg, #0bc5ea, #3182ce); color: white; }
.plan-icon-agency { background: linear-gradient(135deg, #2d3748, #4a5568); color: white; }

/* Pro+ card highlight */
.proplus-plan {
    border-color: #0bc5ea !important;
    box-shadow: 0 8px 30px rgba(11, 197, 234, 0.2) !important;
}

/* Badge variants */
.popular-badge {
    background: linear-gradient(135deg, #f6ad55, #ed8936);
}

.best-badge {
    background: linear-gradient(135deg, #0bc5ea, #3182ce);
}

/* Comparison table extras */
.table-section-header {
    background: #edf2f7;
    font-weight: 700;
    color: #4a5568;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 10px 20px !important;
}

.col-pro { background: rgba(102, 126, 234, 0.06); }
.col-proplus { background: rgba(11, 197, 234, 0.06); }

.limited-badge {
    background: #fefcbf;
    color: #b7791f;
    padding: 2px 8px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
}

.plus-text {
    color: #0bc5ea;
}

.feature-limited {
    color: #a0aec0;
    font-size: 14px;
}

@media (max-width: 1200px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .pricing-header h1 {
        font-size: 32px;
    }

    .pricing-header .subtitle {
        font-size: 16px;
    }

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

    .current-plan-banner {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .comparison-section h2,
    .faq-section h2 {
        font-size: 28px;
    }

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