/* Pricing Page Specific Styles */

/* Pricing Hero Section */
.pricing-hero {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.pricing-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23e2e8f0" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.5;
}

.pricing-hero .hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.pricing-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: #1f2937;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pricing-hero .hero-subtitle {
    font-size: 1.25rem;
    color: #6b7280;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.pricing-badges {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: white;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    color: #374151;
    font-weight: 500;
}

.badge i {
    color: #10b981;
    font-size: 1.125rem;
}

/* Pricing Plans Section */
.pricing-plans {
    padding: 6rem 0;
    background: white;
}

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

.pricing-card {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: #6366f1;
}

.pricing-card:hover::before {
    transform: scaleX(1);
}

.pricing-card.popular {
    border-color: #6366f1;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.2);
    transform: scale(1.05);
}

.pricing-card.popular::before {
    transform: scaleX(1);
}

.pricing-card.featured {
    border-color: #10b981;
}

.pricing-card.featured::before {
    background: linear-gradient(135deg, #10b981, #059669);
    transform: scaleX(1);
}

/* Plan Header */
.plan-header {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

.plan-badge {
    position: absolute;
    top: -1rem;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.pricing-card.featured .plan-badge {
    background: linear-gradient(135deg, #10b981, #059669);
}

.plan-header h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.plan-header p {
    color: #6b7280;
    margin-bottom: 1.5rem;
}

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

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

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

.price .period {
    font-size: 1rem;
    color: #6b7280;
    font-weight: 500;
}

.trial-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #fef3c7;
    color: #92400e;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-top: 1rem;
}

.trial-badge i {
    color: #f59e0b;
}

/* Plan Features */
.plan-features {
    margin-bottom: 2rem;
}

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

.plan-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    color: #374151;
    font-size: 0.95rem;
    border-bottom: 1px solid #f3f4f6;
}

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

.plan-features i {
    color: #10b981;
    font-size: 1rem;
    flex-shrink: 0;
}

/* Plan CTA */
.plan-cta {
    text-align: center;
}

.btn-full {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.trial-note {
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 0.75rem;
}

/* Feature Comparison */
.feature-comparison {
    padding: 6rem 0;
    background: #f8fafc;
}

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

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

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

.comparison-table th {
    background: #f8fafc;
    font-weight: 600;
    color: #1f2937;
    font-size: 1.125rem;
}

.comparison-table th:first-child {
    font-weight: 700;
    color: #6366f1;
}

.comparison-table td:first-child {
    font-weight: 500;
    color: #374151;
}

.comparison-table i.fa-check {
    color: #10b981;
    font-size: 1.25rem;
}

.comparison-table i.fa-times {
    color: #ef4444;
    font-size: 1.25rem;
}

/* Competitive Comparison */
.competitive-comparison {
    padding: 6rem 0;
    background: #f8fafc;
}

.competitor-table {
    overflow-x: auto;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    background: white;
    margin-bottom: 3rem;
}

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

.competitor-table th,
.competitor-table td {
    padding: 1.5rem;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

.competitor-table th {
    background: #f8fafc;
    font-weight: 600;
    color: #1f2937;
    font-size: 1.125rem;
}

.competitor-table th:first-child {
    font-weight: 700;
    color: #6366f1;
}

.competitor-table th:nth-child(2) {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
}

.competitor-table td:first-child {
    font-weight: 500;
    color: #374151;
}

.competitor-table i.fa-check {
    color: #10b981;
    font-size: 1.25rem;
}

.competitor-table i.fa-times {
    color: #ef4444;
    font-size: 1.25rem;
}

.competitor-table i.fa-minus {
    color: #f59e0b;
    font-size: 1.25rem;
}

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

.highlight-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.highlight-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: #6366f1;
}

.highlight-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.highlight-icon i {
    font-size: 1.5rem;
    color: white;
}

.highlight-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.highlight-card p {
    color: #6b7280;
    line-height: 1.6;
}

/* FAQ Section */
.pricing-faq {
    padding: 6rem 0;
    background: white;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-color: #6366f1;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    cursor: pointer;
    background: #f8fafc;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #f1f5f9;
}

.faq-question h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
}

.faq-question i {
    color: #6366f1;
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 1.5rem;
    max-height: 1000px; /* or a large enough value */
}

.faq-answer p {
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
}

/* Trust Indicators */
.trust-indicators {
    padding: 4rem 0;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
}

.trust-content {
    text-align: center;
}

.trust-content h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 3rem;
}

.trust-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
    font-weight: 500;
}

/* Pricing CTA */
.pricing-cta {
    padding: 6rem 0;
    background: #f8fafc;
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.125rem;
    color: #6b7280;
    margin-bottom: 2rem;
}

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

.cta-features {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #6b7280;
    font-weight: 500;
}

.cta-feature i {
    color: #10b981;
    font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .pricing-hero h1 {
        font-size: 3rem;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
    
    .pricing-card.popular {
        transform: none;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .pricing-hero {
        padding: 6rem 0 3rem;
    }
    
    .pricing-hero h1 {
        font-size: 2.5rem;
    }
    
    .pricing-hero .hero-subtitle {
        font-size: 1rem;
    }
    
    .pricing-badges {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .pricing-plans {
        padding: 4rem 0;
    }
    
    .pricing-card {
        padding: 2rem;
    }
    
    .price .amount {
        font-size: 3rem;
    }
    
    .comparison-table {
        font-size: 0.875rem;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 1rem 0.75rem;
    }
    
    .competitor-table th,
    .competitor-table td {
        padding: 1rem 0.75rem;
        font-size: 0.875rem;
    }
    
    .comparison-highlights {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .trust-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-features {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .pricing-hero h1 {
        font-size: 2rem;
    }
    
    .pricing-card {
        padding: 1.5rem;
    }
    
    .price .amount {
        font-size: 2.5rem;
    }
    
    .trust-stats {
        grid-template-columns: 1fr;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

/* Animation Classes */
.pricing-card.animate-in {
    animation: slideInUp 0.6s ease forwards;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hover Effects */
.pricing-card:hover .plan-badge {
    transform: translateX(-50%) scale(1.05);
    transition: transform 0.3s ease;
}

.pricing-card:hover .price .amount {
    color: #6366f1;
    transition: color 0.3s ease;
}

/* Loading States */
.pricing-card.loading {
    opacity: 0.5;
    pointer-events: none;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .pricing-card,
    .faq-item,
    .badge {
        transition: none;
        animation: none;
    }
}

/* Print Styles */
@media print {
    .pricing-card {
        box-shadow: none !important;
        border: 1px solid #ccc !important;
        page-break-inside: avoid;
    }
    
    .pricing-card.popular {
        transform: none !important;
    }
    
    .faq-answer {
        max-height: none !important;
        padding: 1.5rem !important;
    }
} 