/* Pricing Models */
.pricing-models {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0 3rem;
}

.pricing-model-card {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eaeef5;
}

.pricing-model-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(74, 108, 247, 0.15);
}

.pricing-model-card h3 {
    color: #2d3748;
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 0.75rem;
}

.pricing-model-card h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: #4a6cf7;
    border-radius: 3px;
}

.pricing-model-card p {
    color: #4a5568;
    margin-bottom: 1.25rem;
    line-height: 1.6;
}

.pricing-model-card ul {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
}

.pricing-model-card ul li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.75rem;
    color: #4a5568;
}

.pricing-model-card ul li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #4a6cf7;
    font-weight: bold;
}

/* Custom Solutions Section */
.custom-solutions {
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f2ff 100%);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.custom-solutions .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.custom-solutions .section-tag {
    display: inline-block;
    background: #4a6cf7;
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.custom-solutions h2 {
    font-size: 2.25rem;
    color: #1a1f36;
    margin-bottom: 1rem;
}

.custom-solutions .section-divider {
    width: 60px;
    height: 3px;
    background: #4a6cf7;
    margin: 1.5rem auto 1.5rem;
}

.custom-solutions p {
    color: #4f5660;
    max-width: 700px;
    margin: 0 auto 2rem;
    line-height: 1.7;
    font-size: 1.1rem;
}

.custom-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.custom-feature {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e6e9f0;
    text-align: center;
}

.custom-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(74, 108, 247, 0.15);
}

.custom-feature .feature-icon {
    width: 70px;
    height: 70px;
    background: rgba(74, 108, 247, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.75rem;
    color: #4a6cf7;
    transition: all 0.3s ease;
}

.custom-feature:hover .feature-icon {
    background: #4a6cf7;
    color: white;
    transform: scale(1.1);
}

.custom-feature h4 {
    color: #1a1f36;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.custom-feature p {
    color: #6b7280;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

.custom-cta {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    margin-top: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #e6e9f0;
}

.custom-cta p {
    font-size: 1.25rem;
    color: #1a1f36;
    margin-bottom: 2rem;
}

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

.cta-buttons .btn-primary,
.cta-buttons .btn-secondary {
    padding: 0.9rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.cta-buttons .btn-primary {
    background: #4a6cf7;
    color: white;
    border: 2px solid #4a6cf7;
}

.cta-buttons .btn-primary:hover {
    background: #3a5ce4;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(74, 108, 247, 0.3);
}

.cta-buttons .btn-secondary {
    background: white;
    color: #4a6cf7;
    border: 2px solid #4a6cf7;
}

.cta-buttons .btn-secondary:hover {
    background: #f8f9ff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .custom-solutions {
        padding: 4rem 0;
    }
    
    .custom-solutions h2 {
        font-size: 1.75rem;
    }
    
    .custom-features-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-buttons .btn-primary,
    .cta-buttons .btn-secondary {
        width: 100%;
        justify-content: center;
    }
}

/* Point-Based Pricing Specific */
.pricing-model-card:first-child {
    border-top: 4px solid #4a6cf7;
}

/* Custom Solutions Specific */
.pricing-model-card:last-child {
    border-top: 4px solid #ff6b6b;
}

.pricing-model-card:last-child h3:after {
    background: #ff6b6b;
}

.pricing-model-card:last-child ul li:before {
    color: #ff6b6b;
}

@media (max-width: 768px) {
    .pricing-models {
        grid-template-columns: 1fr;
    }
}

/* Pricing Plans Container */
.pricing-plans-container {
    max-width: 1200px;
    margin: 0 auto 3rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

/* Points Header */
.pricing-points-header {
    display: grid;
    grid-template-columns: 1fr repeat(3, 1fr);
    background: linear-gradient(135deg, #4a6cf7 0%, #2541b2 100%);
    color: white;
    padding: 1.5rem 2rem;
    font-weight: 600;
    text-align: center;
}

.points-header {
    text-align: left;
    font-size: 1.2rem;
    font-weight: 700;
}

.points-range {
    padding: 0.5rem;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.points-range.highlight {
    background: rgba(255, 255, 255, 0.1);
    font-weight: 700;
    position: relative;
}

.points-range.highlight:after {
    content: 'BEST VALUE';
    position: absolute;
    top: -10px;
    right: 10px;
    background: #ffc107;
    color: #333;
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 700;
}

/* Pricing Plan Rows */
.pricing-plan-row {
    display: grid;
    grid-template-columns: 1fr repeat(3, 1fr);
    padding: 1.5rem 2rem;
    align-items: center;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.pricing-plan-row:hover {
    background: #f9f9ff;
}

.pricing-plan-row.featured-plan {
    background: #f8f9ff;
    position: relative;
}

.plan-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
}

.plan-price {
    text-align: center;
    font-size: 1.2rem;
    font-weight: 700;
    color: #4a6cf7;
    padding: 0.5rem;
}

.plan-price.highlight {
    color: #ff4757;
    position: relative;
}

/* Feature Comparison Table */
.feature-comparison {
    margin-top: 4rem;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1.5rem;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.table-row {
    display: flex;
    border-bottom: 1px solid #f0f0f0;
}

.table-row.header {
    background: #4a6cf7;
    color: white;
    font-weight: 600;
}

.feature-col {
    flex: 2;
    padding: 1.2rem 1.5rem;
    text-align: left;
    font-weight: 500;
}

.plan-col {
    flex: 1;
    padding: 1.2rem 1.5rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    border-left: 1px solid #f0f0f0;
}

.plan-col i {
    margin-right: 8px;
    font-size: 1.1rem;
}

.plan-col .fa-check {
    color: #2ecc71;
}

.plan-col .fa-times {
    color: #e74c3c;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .pricing-points-header,
    .pricing-plan-row {
        grid-template-columns: 1.5fr repeat(3, 1fr);
    }
    
    .points-header,
    .plan-name {
        font-size: 1rem;
    }
    
    .plan-price {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .pricing-points-header,
    .pricing-plan-row {
        grid-template-columns: 1.5fr repeat(3, 1fr);
        padding: 1rem;
    }
    
    .points-range,
    .plan-price {
        font-size: 0.9rem;
    }
    
    .points-range.highlight:after {
        font-size: 0.6rem;
        padding: 1px 6px;
        top: -8px;
    }
    
    .feature-col,
    .plan-col {
        padding: 1rem 0.5rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .pricing-points-header {
        display: none;
    }
    
    .pricing-plan-row {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 1.5rem 1rem;
        border-bottom: 2px solid #f0f0f0;
    }
    
    .pricing-plan-row.featured-plan {
        border: 2px solid #4a6cf7;
        border-radius: 8px;
        margin: 1rem 0;
    }
    
    .plan-name {
        margin-bottom: 1rem;
        font-size: 1.2rem;
    }
    
    .plan-price {
        margin: 0.3rem 0;
        font-size: 1.1rem;
    }
    
    .plan-price.highlight:before {
        content: '150+ points: ';
        font-weight: normal;
        color: #666;
    }
}
