/* Modern Pricing Table Styles */

/* Pricing Section General Styles */
.pricing-section {
    background-color: #1a1a1a;
    color: #fff;
    padding: 80px 0;
}

.pricing-section .section-title h2 {
    color: #fff;
    margin-bottom: 20px;
}

.pricing-section .section-title p {
    color: #ccc;
}

/* Billing Toggle */
.billing-cycle-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
}

.toggle-label {
    color: #ccc;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    padding: 0 15px;
    position: relative;
}

.toggle-label.active {
    color: #fff;
    font-weight: 600;
}

.savings-badge {
    background-color: rgba(255, 121, 63, 0.2);
    color: #ff793f;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 10px;
    margin-left: 8px;
    vertical-align: middle;
}

.toggle-switch {
    position: relative;
    width: 60px;
    height: 30px;
    margin: 0 10px;
}

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

.toggle-switch .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.2);
    transition: .4s;
    border-radius: 34px;
}

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

.toggle-switch input:checked + .slider {
    background-color: rgba(96, 56, 247, 0.5);
}

.toggle-switch input:focus + .slider {
    box-shadow: 0 0 1px #6038F7;
}

.toggle-switch input:checked + .slider:before {
    transform: translateX(30px);
}
    margin-top: 50px;
}

/* Pricing Cards */
.pricing-card {
    background-color: #272727;
    border-radius: 15px;
    overflow: hidden;
    padding: 30px;
    height: 100%;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.pricing-card.popular {
    border: 2px solid #ff79c6;
    background-color: #2f2f2f;
    position: relative;
    border-radius: 20px;
    padding: 10px;
}

.popular-badge {
    position: absolute;
    top: 15px;
    right: -60px;
    background: linear-gradient(135deg, #ff79c6 0%, #bd93f9 100%);
    color: white;
    font-size: 12px;
    font-weight: 600;
    padding: 8px 40px;
    transform: rotate(45deg);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.popular-badge i {
    margin-right: 5px;
}

.best-value-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: #44475a;
    color: white;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 5px;
}

/* Pricing Header */
.pricing-header {
    text-align: center;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pricing-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #fff;
}

.pricing-subtitle {
    color: #bbb;
    font-size: 14px;
    margin-bottom: 20px;
}

.pricing-price {
    position: relative;
    padding: 5px 0;
}

.pricing-price .currency {
    font-size: 22px;
    font-weight: 500;
    position: relative;
    top: -15px;
    color: #bbb;
}

.pricing-price .amount {
    font-size: 44px;
    font-weight: 700;
    color: #fff;
}

.pricing-price .period {
    font-size: 14px;
    color: #bbb;
}

.annual-savings {
    font-size: 12px;
    color: #ff79c6;
    margin-top: 5px;
}

/* Pricing Body */
.pricing-body {
    flex-grow: 1;
    margin-bottom: 25px;
}

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

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 14px;
}

.feature-item i {
    width: 20px;
    margin-right: 10px;
    text-align: center;
}

.feature-item.included {
    color: #f8f8f2;
}

.feature-item.included i {
    color: #50fa7b;
}

.feature-item.not-included {
    color: #888;
}

.feature-item.not-included i {
    color: #ff5555;
}

/* Pricing Footer */
.pricing-footer {
    text-align: center;
}

.btn-subscribe {
    display: inline-block;
    background-color: #6038F7;
    color: white;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    width: 100%;
    border: none;
}

.btn-subscribe:hover {
    background-color: #4e29d9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(96, 56, 247, 0.4);
    color: white;
    text-decoration: none;
}

.pricing-card.popular .btn-subscribe {
    background: linear-gradient(135deg, #ff79c6 0%, #bd93f9 100%);
}

.pricing-card.popular .btn-subscribe:hover {
    background: linear-gradient(135deg, #ff79c6 0%, #bd93f9 100%);
    box-shadow: 0 5px 15px rgba(189, 147, 249, 0.4);
}

/* Enterprise Section */
.enterprise-section {
    background-color: #2f2f2f;
    border-radius: 15px;
    padding: 40px;
    margin-top: 50px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.enterprise-section h3 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 24px;
}

.enterprise-section p {
    color: #bbb;
    margin-bottom: 25px;
}

.enterprise-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.enterprise-features li {
    color: #f8f8f2;
    font-size: 14px;
    display: flex;
    align-items: center;
}

.enterprise-features li i {
    color: #50fa7b;
    margin-right: 10px;
}

/* Responsive styles */
@media (max-width: 991px) {
    .enterprise-features {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .pricing-card {
        margin-bottom: 30px;
    }
    
    .enterprise-features {
        grid-template-columns: 1fr;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .pricing-table th, 
    .pricing-table td {
        padding: 10px 5px;
        font-size: 0.9em;
    }
    
    .btn-group .btn {
        padding: .375rem .5rem;
        font-size: .8rem;
    }
    
    .payment-methods {
        flex-wrap: wrap;
    }
}

/* Original pricing table styles (kept for backward compatibility) */
.pricing-table {
    border-collapse: collapse;
    width: 100%;
    margin-bottom: 30px;
}

.pricing-table th {
    background-color: #f8f9fa;
    text-align: center;
    font-weight: 600;
    padding: 15px;
}

.pricing-table td {
    padding: 15px;
    vertical-align: middle;
    text-align: center;
}

.pricing-table td:first-child,
.pricing-table th:first-child {
    text-align: left;
}

.payment-methods {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 30px;
}

.payment-method {
    text-align: center;
    padding: 15px;
}

.payment-method i {
    margin-bottom: 10px;
    color: #007bff;
}

.plan-note {
    font-size: 0.9em;
    color: #6c757d;
}

.cta-box {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 40px;
}

/* Add styling for the three section layout */
.section-heading {
    color: #fff;
    font-size: 28px;
    margin-bottom: 10px;
}

.section-subheading {
    color: #bbb;
    font-size: 16px;
    margin-bottom: 30px;
}

.section-heading {
    position: relative;
    margin-bottom: 20px;
    display: inline-block;
}

.section-heading:after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #ff79c6, #bd93f9);
}

/* Free Plan Box Styling */
.free-plan-box {
    background: linear-gradient(135deg, #272727 0%, #3a3a3a 100%);
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    /* margin-bottom: 50px; */
    border-left: 5px solid #50fa7b;
    position: relative;
    overflow: hidden;
}


.free-plan-features {
    margin: 0 -15px;
}

.free-plan-features ul {
    padding: 0;
    margin: 0;
}

.free-plan-features .feature-list {
    padding: 0 15px;
}

/* Plan Section Dividers */
.section-divider {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: 70px 0 40px;
    position: relative;
}

.section-divider::before {
    content: "";
    position: absolute;
    width: 80px;
    height: 5px;
    background: linear-gradient(90deg, #ff79c6, #bd93f9);
    top: -3px;
    left: 50%;
    transform: translateX(-50%);
}

/* Pricing page section backgrounds for better visual separation */
.free-plan-section {
    position: relative;
    padding: 30px 0;
}

.free-plan-section:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(80, 250, 123, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.individual-plans-section {
    position: relative;
    padding: 30px 0;
}

.individual-plans-section:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(189, 147, 249, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.firm-plans-section {
    position: relative;
    padding: 30px 0;
}

.firm-plans-section:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(255, 121, 198, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

/* Free Plan Button */
.free-plan-box .btn-subscribe {
    background-color: #50fa7b;
    color: #1a1a1a;
    font-weight: 600;
}

.free-plan-box .btn-subscribe:hover {
    background-color: #3eca62;
    color: #1a1a1a;
}
