/* Pricing Page Specific Styles */

.pricing-hero {
    background-color: var(--primary-color);
    color: #fff;
    padding: 150px 0 80px;
    text-align: center;
}

.pricing-hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

/* Pricing Toggle */
.pricing-plans {
    padding: 80px 0;
    background-color: #fff;
}

.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 50px;
}

.pricing-toggle span {
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0 15px;
}

.discount {
    background-color: #4CAF50;
    color: white;
    font-size: 0.8rem;
    padding: 3px 8px;
    border-radius: 12px;
    margin-left: 10px;
    font-weight: 600;
}

/* Toggle Switch */
.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: var(--light-gray-color);
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
}

input:checked + .slider {
    background-color: var(--primary-color);
}

input:focus + .slider {
    box-shadow: 0 0 1px var(--primary-color);
}

input:checked + .slider:before {
    transform: translateX(30px);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

/* Pricing Plans */
.plans-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.plan-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
    border: 1px solid var(--light-gray-color);
}

.plan-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.plan-card.featured {
    border-color: var(--primary-color);
    transform: scale(1.05);
    z-index: 1;
}

.plan-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.plan-badge {
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--primary-color);
    color: #fff;
    padding: 8px 15px;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 0 8px 0 8px;
}

.plan-header {
    padding: 30px;
    text-align: center;
    border-bottom: 1px solid var(--light-gray-color);
}

.plan-header h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.price {
    margin-bottom: 15px;
}

.currency {
    font-size: 1.5rem;
    font-weight: 600;
    vertical-align: top;
    position: relative;
    top: 10px;
}

.amount {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.period {
    font-size: 1rem;
    color: var(--gray-color);
}

.plan-header p {
    color: var(--gray-color);
    font-size: 0.95rem;
    max-width: 250px;
    margin: 0 auto;
}

.plan-features {
    padding: 30px;
}

.plan-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.plan-features li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.plan-features li:last-child {
    margin-bottom: 0;
}

.plan-features i {
    margin-right: 10px;
    font-size: 1rem;
}

.fa-check {
    color: #4CAF50;
}

.fa-times {
    color: #F44336;
}

.text-muted {
    color: var(--gray-color);
}

.plan-footer {
    padding: 0 30px 30px;
    text-align: center;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 600;
    display: inline-block;
    transition: var(--transition);
    cursor: pointer;
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: #fff;
}

/* Features Comparison Section */
.features-comparison {
    padding: 80px 0;
    background-color: var(--light-color);
}

.table-responsive {
    overflow-x: auto;
    margin-top: 40px;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
    box-shadow: var(--box-shadow);
    border-radius: 8px;
    overflow: hidden;
}

.comparison-table th,
.comparison-table td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid var(--light-gray-color);
}

.comparison-table th {
    background-color: var(--primary-color);
    color: #fff;
    font-weight: 600;
}

.comparison-table th:first-child {
    width: 30%;
}

.comparison-table tbody tr:last-child td {
    border-bottom: none;
}

.comparison-table tbody tr:nth-child(even) {
    background-color: var(--light-color);
}

.comparison-table td i {
    font-size: 1rem;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background-color: #fff;
}

.faq-container {
    max-width: 800px;
    margin: 40px auto 0;
}

.faq-item {
    margin-bottom: 20px;
    border: 1px solid var(--light-gray-color);
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    background-color: var(--light-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    background-color: rgba(0, 102, 204, 0.05);
}

.faq-question h3 {
    font-size: 1.1rem;
    margin: 0;
    color: var(--dark-color);
}

.icon i {
    transition: var(--transition);
}

.faq-item.active .icon i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 1000px;
}

.faq-answer p {
    margin: 0;
    color: var(--gray-color);
    line-height: 1.6;
}

/* Custom Plan CTA */
.custom-plan-cta {
    padding: 80px 0;
    background-color: var(--light-color);
    background-image: linear-gradient(135deg, rgba(0, 102, 204, 0.8) 0%, rgba(0, 61, 128, 0.8) 100%);
    color: #fff;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-content .btn-primary {
    background-color: #fff;
    color: var(--primary-color);
}

.cta-content .btn-primary:hover {
    background-color: var(--light-color);
}

/* Responsive Styles */
@media (max-width: 991px) {
    .plan-card.featured {
        transform: none;
    }
    
    .plan-card.featured:hover {
        transform: translateY(-10px);
    }
}

@media (max-width: 768px) {
    .pricing-hero {
        padding: 120px 0 60px;
    }
    
    .pricing-hero h1 {
        font-size: 2.2rem;
    }
    
    .plans-container {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 10px 15px;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-content p {
        font-size: 1.1rem;
    }
} 