/* Pricing Page Specific Styles */

:root {
    --primary-color: #667eea;
    --accent-color: #667eea;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
}

.pricing-main {
    min-height: 100vh;
    padding: 2rem 0;
    padding-top: 90px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

/* New Feature Highlight */
.usage-item.new-feature {
    background: rgba(102, 126, 234, 0.1);
    padding: 0.5rem;
    border-radius: 6px;
    border: 1px solid rgba(102, 126, 234, 0.3);
}

/* Header */
.pricing-header {
    text-align: center;
    margin-bottom: 4rem;
    padding: 2rem 0;
}

.pricing-header h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.pricing-header p {
    font-size: 1.2rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

/* Pricing Cards */
.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: visible;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
    margin-top: 1rem;
}

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

.pricing-card.basic {
    border-color: #e2e8f0;
}

.pricing-card.advanced {
    border-color: var(--primary-color);
    position: relative;
}

.pricing-card.enterprise {
    border-color: #374151;
}

/* Popular Badge */
.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    text-align: center;
    padding: 0.4rem 1.2rem;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    border-radius: 15px;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
    z-index: 10;
    white-space: nowrap;
}

/* Card Header */
.card-header {
    padding: 2rem 2rem 1rem;
    text-align: center;
}

.pricing-card.popular .card-header {
    padding-top: 3rem;
}

.plan-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #f1f5f9;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.badge-icon {
    font-size: 1.1rem;
}

.card-header h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.plan-description {
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

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

.currency {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 600;
}

.amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.period {
    font-size: 1.1rem;
    color: #64748b;
    margin-left: 0.25rem;
}

.price-note {
    color: #64748b;
    font-size: 0.9rem;
    margin: 0;
}

/* Card Body */
.card-body {
    padding: 0 2rem 1rem;
}

.usage-info {
    background: #f8fafc;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.usage-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.usage-item:last-child {
    margin-bottom: 0;
}

.usage-label {
    color: #64748b;
    font-size: 0.9rem;
}

.usage-value {
    color: var(--primary-color);
    font-weight: 600;
}

.overage-info {
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid #e2e8f0;
}

.overage-text {
    color: #64748b;
    font-size: 0.85rem;
}

.features h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    line-height: 1.5;
}

.feature-icon {
    color: var(--success-color);
    font-weight: 600;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.not-included {
    margin-top: 1.5rem;
}

.not-included h4 {
    color: #64748b;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.not-included-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.not-included-list li {
    color: #64748b;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1rem;
}

.not-included-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #cbd5e1;
}

/* Card Footer */
.card-footer {
    padding: 1rem 2rem 2rem;
    text-align: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 0.95rem;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: var(--accent-color);
    transform: translateY(-1px);
}

.btn-secondary {
    background: #f8fafc;
    color: var(--primary-color);
    border: 2px solid #e2e8f0;
}

.btn-secondary:hover {
    background: #e2e8f0;
    border-color: var(--primary-color);
}

.btn-icon {
    font-size: 1rem;
}

.trial-text {
    color: #64748b;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    margin-bottom: 0;
}

/* Comparison Table */
.comparison-section {
    margin: 4rem 0;
    text-align: center;
}

.comparison-section h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 2rem;
}

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

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

.comparison-table th,
.comparison-table td {
    padding: 1rem;
    text-align: center;
    border-bottom: 1px solid #e2e8f0;
}

.comparison-table th {
    background: #f8fafc;
    font-weight: 600;
    color: var(--primary-color);
}

.feature-column {
    text-align: left !important;
    min-width: 200px;
}

.plan-column {
    min-width: 120px;
}

.plan-column.basic {
    background: #f8fafc;
}

.plan-column.advanced {
    background: rgba(102, 126, 234, 0.05);
}

.plan-column.enterprise {
    background: rgba(55, 65, 81, 0.05);
}

.feature-name {
    text-align: left;
    font-weight: 500;
    color: #374151;
}

.plan-feature {
    font-size: 1.2rem;
    font-weight: 600;
}

.plan-feature:contains("✅") {
    color: var(--success-color);
}

.plan-feature:contains("❌") {
    color: #cbd5e1;
}

/* FAQ Section */
.pricing-faq {
    margin: 4rem 0;
}

.pricing-faq h2 {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2rem;
}

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

.faq-item {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-left: 4px solid var(--accent-color);
}

.faq-item h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

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

/* CTA Section */
.pricing-cta {
    text-align: center;
    background: white;
    padding: 3rem 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin: 4rem 0;
}

.pricing-cta h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 2rem;
}

.pricing-cta p {
    color: #64748b;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Navigation Active State */
.nav-menu a.active {
    color: var(--primary-color);
    font-weight: 600;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 3rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-section ul li a:hover {
    color: white;
}

.footer-logo-img {
    height: 40px;
    margin-bottom: 1rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid #374151;
}

.footer-copyright p {
    color: #94a3b8;
    margin: 0;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 1.2rem;
    transition: color 0.2s ease;
}

.footer-social a:hover {
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .pricing-header h1 {
        font-size: 2rem;
    }
    
    .pricing-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .pricing-card {
        margin: 0 1rem;
    }
    
    .card-header,
    .card-body,
    .card-footer {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    
    .amount {
        font-size: 2.5rem;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        min-width: 200px;
    }
    
    .comparison-section {
        margin: 2rem -1rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .pricing-header {
        padding: 1rem 0;
        margin-bottom: 2rem;
    }
    
    .pricing-main {
        padding: 1rem 0;
    }
    
    .pricing-card {
        margin: 0 0.5rem;
    }
    
    .comparison-section h2,
    .pricing-faq h2,
    .pricing-cta h2 {
        font-size: 1.5rem;
    }
}