/* Pricing Page Specific Styles */

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

/* Trial Banner */
.trial-banner {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #3B82F6 0%, #8B5CF6 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 1rem;
    margin-top: 1rem;
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
    }
    50% {
        box-shadow: 0 0 30px rgba(139, 92, 246, 0.7);
    }
}

/* Pricing Hero */
.pricing-hero {
    padding: 4rem 0 2rem;
    background: var(--bg-light);
    text-align: center;
}

/* Pricing Toggle */
.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.toggle-label {
    font-weight: 500;
    color: var(--text-secondary);
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--primary-color);
}

input:checked + .slider:before {
    transform: translateX(30px);
}

.save-badge {
    background: var(--success-color);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 0.5rem;
}

/* Pricing Section */
.pricing-section {
    padding: 3rem 0 5rem;
    background: var(--bg-white);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.pricing-grid.two-tier {
    max-width: 800px;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

/* Pricing Cards */
.pricing-card {
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    position: relative;
    transition: all 0.3s;
}

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

.pricing-card.popular {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-5px);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Plan Header */
.plan-header {
    text-align: center;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 2rem;
}

.plan-header h3 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.plan-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.plan-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
}

.currency {
    font-size: 1.5rem;
    color: var(--text-secondary);
}

.amount {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-primary);
}

.period {
    font-size: 1rem;
    color: var(--text-secondary);
}

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

/* Plan Features */
.plan-features h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-weight: 600;
}

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

.plan-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

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

.plan-features i {
    font-size: 0.9rem;
    width: 20px;
    text-align: center;
}

.plan-features .fa-check {
    color: var(--success-color);
}

.plan-features .fa-times {
    color: #ccc;
}

.plan-features .disabled {
    color: #ccc;
}

/* Plan CTA */
.plan-cta {
    margin-top: 2rem;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

.trial-note {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

/* Comparison Section */
.comparison-section {
    padding: 5rem 0;
    background: var(--bg-light);
}

.comparison-section h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.comparison-table {
    background: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

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

.comparison-table th {
    background: var(--gradient);
    color: white;
    padding: 1.5rem 1rem;
    font-weight: 600;
    text-align: left;
}

.comparison-table th:not(:first-child) {
    text-align: center;
}

.comparison-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.comparison-table td:not(:first-child) {
    text-align: center;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.category-row td {
    background: var(--bg-light);
    font-weight: 600;
    padding: 0.75rem 1rem;
}

.text-success {
    color: var(--success-color);
}

.text-muted {
    color: #ccc;
}

/* Pricing FAQ */
.pricing-faq {
    padding: 5rem 0;
    background: var(--bg-white);
}

.pricing-faq h2 {
    text-align: center;
    margin-bottom: 3rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
    
    .pricing-card.popular {
        transform: scale(1);
    }
    
    .pricing-card.popular:hover {
        transform: translateY(-5px);
    }
}

@media (max-width: 768px) {
    .pricing-hero {
        padding: 3rem 0 1rem;
    }
    
    .pricing-toggle {
        flex-wrap: wrap;
    }
    
    .comparison-table {
        overflow-x: auto;
    }
    
    .comparison-table table {
        min-width: 600px;
    }
    
    .plan-price .amount {
        font-size: 2.5rem;
    }
}