/* Pricing Page Styles */

.pricing-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
}

.pricing-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.pricing-hero p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
}

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

.toggle-label {
    font-size: 1rem;
    font-weight: 500;
}

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

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

.toggle-switch label {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 30px;
    transition: 0.4s;
}

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

.toggle-switch input:checked + label {
    background-color: rgba(16, 185, 129, 0.8);
}

.toggle-switch input:checked + label:before {
    transform: translateX(30px);
}

.discount-badge {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 0.5rem;
}

.pricing-plans {
    padding: 4rem 0;
    background: #f8fafc;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    align-items: start;
}

.plan-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    border: 2px solid transparent;
}

.plan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.plan-card.popular {
    border-color: #10b981;
    transform: scale(1.05);
}

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

.plan-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #10b981;
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.plan-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e5e7eb;
}

.plan-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.plan-card.starter .plan-icon {
    background: linear-gradient(135deg, #6b7280, #4b5563);
}

.plan-card.enterprise .plan-icon {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.plan-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #374151;
}

.plan-description {
    color: #6b7280;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.plan-price {
    margin-bottom: 1rem;
}

.currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: #374151;
    vertical-align: top;
}

.amount {
    font-size: 3rem;
    font-weight: 700;
    color: #374151;
}

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

.plan-note {
    font-size: 0.85rem;
    color: #10b981;
    font-weight: 500;
}

.plan-features {
    margin-bottom: 2rem;
}

.plan-features h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: #374151;
    font-weight: 600;
}

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

.plan-features li {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    color: #374151;
}

.plan-features li i {
    margin-right: 0.75rem;
    width: 16px;
}

.plan-features li .fa-check {
    color: #10b981;
}

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

.plan-limits {
    background: #f9fafb;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.limit-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

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

.limit-label {
    color: #6b7280;
}

.limit-value {
    color: #374151;
    font-weight: 500;
}

.plan-card .btn {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    font-weight: 600;
}

.feature-comparison {
    padding: 4rem 0;
    background: white;
}

.feature-comparison h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #374151;
}

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

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

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

.comparison-table th {
    background: #f9fafb;
    font-weight: 600;
    color: #374151;
    position: sticky;
    top: 0;
    z-index: 10;
}

.feature-column {
    width: 40%;
    font-weight: 500;
}

.plan-column {
    width: 20%;
    text-align: center;
}

.popular-column {
    background: rgba(16, 185, 129, 0.05);
    border-left: 2px solid #10b981;
    border-right: 2px solid #10b981;
}

.category-row td {
    background: #f3f4f6;
    font-weight: 600;
    color: #374151;
    border-top: 2px solid #e5e7eb;
}

.text-green {
    color: #10b981;
}

.text-red {
    color: #ef4444;
}

.addons-section {
    padding: 4rem 0;
    background: #f8fafc;
}

.addons-section h2 {
    text-align: center;
    margin-bottom: 1rem;
    font-size: 2.5rem;
    color: #374151;
}

.section-description {
    text-align: center;
    margin-bottom: 3rem;
    color: #6b7280;
    font-size: 1.1rem;
}

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

.addon-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    transition: transform 0.3s ease;
    text-align: center;
}

.addon-card:hover {
    transform: translateY(-3px);
}

.addon-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.addon-card h3 {
    margin-bottom: 1rem;
    color: #374151;
}

.addon-card p {
    color: #6b7280;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.addon-price {
    margin-bottom: 1.5rem;
}

.addon-price .price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #374151;
    display: block;
    margin-bottom: 0.25rem;
}

.addon-price .note {
    font-size: 0.85rem;
    color: #6b7280;
}

.addon-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
    text-align: left;
}

.addon-features li {
    padding: 0.5rem 0;
    color: #374151;
    font-size: 0.9rem;
}

.addon-features li:before {
    content: "✓";
    color: #10b981;
    font-weight: bold;
    margin-right: 0.5rem;
}

.faq-section {
    padding: 4rem 0;
    background: white;
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #374151;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
}

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

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

.faq-question h3 {
    margin: 0;
    font-size: 1rem;
    color: #374151;
    font-weight: 500;
}

.faq-question i {
    color: #6b7280;
    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: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 1.5rem;
}

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

.pricing-cta {
    padding: 4rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

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

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

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

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

.cta-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.9;
}

.cta-feature i {
    color: #10b981;
}

/* Responsive Design */
@media (max-width: 768px) {
    .pricing-hero h1 {
        font-size: 2.5rem;
    }
    
    .pricing-toggle {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .plans-grid {
        grid-template-columns: 1fr;
    }
    
    .plan-card.popular {
        transform: none;
    }
    
    .plan-card.popular:hover {
        transform: translateY(-5px);
    }
    
    .comparison-table-wrapper {
        margin: 0 -1rem;
    }
    
    .addons-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-features {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .pricing-hero {
        padding: 100px 0 60px;
    }
    
    .pricing-hero h1 {
        font-size: 2rem;
    }
    
    .plan-card {
        padding: 1.5rem;
    }
    
    .amount {
        font-size: 2.5rem;
    }
    
    .addon-card {
        padding: 1.5rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
}
