/*------------------------------------------------------------------
[Pricing & How It Works - Improved Design]

Enhanced styling for:
1. Pricing Plans Section
2. How It Works Section

Color Scheme:
- Primary: #3db54a (Green)
- Dark: #333333
- Light: #f9fafb
- Border: #e5e7eb

-------------------------------------------------------------------*/

/* ========== How It Works Section ========== */

.miwlo-download-app-wrap {
    background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.miwlo-download-app {
    margin-top: 40px;
}

.how-it-works-step {
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    padding: 40px 30px;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 280px;
}

.how-it-works-step:hover {
    border-color: #3db54a;
    box-shadow: 0 10px 30px rgba(61, 181, 74, 0.15);
    transform: translateY(-5px);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3db54a 0%, #2d9240 100%);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(61, 181, 74, 0.3);
}

.how-it-works-step h4 {
    font-size: 20px;
    font-weight: 600;
    color: #333333;
    margin-bottom: 15px;
    text-align: center;
}

.how-it-works-step p {
    font-size: 15px;
    color: #666666;
    line-height: 1.6;
    text-align: center;
    margin: 0;
}

/* Connection lines between steps (desktop only) */
@media (min-width: 768px) {
    .miwlo-download-app .row {
        position: relative;
    }
    
    .how-it-works-step::after {
        content: '';
        position: absolute;
        right: -50px;
        top: 50%;
        transform: translateY(-50%);
        width: 100px;
        height: 3px;
        background: linear-gradient(90deg, #3db54a 0%, transparent 100%);
    }
    
    .how-it-works-step:last-child::after {
        display: none;
    }
}

/* ========== Pricing Section ========== */

.miwlo-pricing-plan-wrap {
    background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
    padding: 80px 0;
    position: relative;
}

.miwlo-pricing-plan-text {
    margin-bottom: 60px;
}

.miwlo-pricing-plan {
    margin-top: 20px;
}

.miwlo-pricing-plan-table {
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    padding: 40px 30px;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    text-align: center;
    min-height: 600px;
}

.miwlo-pricing-plan-table:hover {
    border-color: #3db54a;
    box-shadow: 0 15px 40px rgba(61, 181, 74, 0.12);
    transform: translateY(-8px);
}

/* Highlight the middle pricing plan */
.table-two {
    border: 2px solid #3db54a !important;
    box-shadow: 0 15px 40px rgba(61, 181, 74, 0.15) !important;
    transform: scale(1.05);
    margin: -20px 0;
}

.table-two:hover {
    transform: scale(1.05) translateY(-8px);
}

.miwlo-pricing-plan-name {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0fdf4;
}

.miwlo-pricing-plan-name p {
    font-size: 18px;
    font-weight: 700;
    color: #333333;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.miwlo-pricing-plan-price {
    margin: 30px 0;
    padding: 30px 0;
    border-bottom: 2px solid #f0fdf4;
}

.miwlo-pricing-plan-price p {
    font-size: 14px;
    color: #666666;
    margin: 0;
    margin-bottom: 10px;
}

.miwlo-pricing-plan-price span {
    font-size: 42px;
    font-weight: 700;
    color: #3db54a;
    display: block;
}

.table-two .miwlo-pricing-plan-price span {
    color: #2d9240;
}

.miwlo-pricing-plan-small-description {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 2px solid #f0fdf4;
}

.miwlo-pricing-plan-small-description p {
    font-size: 14px;
    color: #666666;
    margin: 0;
    font-style: italic;
}

.miwlo-pricing-plan-features {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    margin-bottom: 30px;
}

.miwlo-pricing-plan-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-grow: 1;
}

.miwlo-pricing-plan-features li {
    padding: 12px 0;
    font-size: 14px;
    color: #666666;
    position: relative;
    padding-left: 25px;
}

.miwlo-pricing-plan-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #3db54a;
    font-weight: bold;
    font-size: 16px;
}

.miwlo-pricing-plan-features a {
    margin-top: auto;
}

/* Button Styling */
.miwlo-btn-simple {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid #3db54a;
    color: #3db54a;
    background: transparent;
}

.btn-orange-link {
    border-color: #3db54a;
    color: #3db54a;
}

.btn-orange-link:hover {
    background: #3db54a;
    color: #ffffff;
}

/* Most Popular Badge Styling */
.most-popular-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: linear-gradient(135deg, #3db54a 0%, #2d9240 100%);
    color: #ffffff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(61, 181, 74, 0.3);
}

/* Bottom shape styling */
.miwlo-pricing-plan-bottom-shape {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100px;
    height: 100px;
    opacity: 0.5;
    display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .miwlo-download-app-wrap,
    .miwlo-pricing-plan-wrap {
        padding: 60px 0;
    }
    
    .table-two {
        transform: scale(1);
        margin: 0;
    }
    
    .table-two:hover {
        transform: translateY(-8px);
    }
    
    .how-it-works-step,
    .miwlo-pricing-plan-table {
        margin-bottom: 30px;
        min-height: auto;
    }
    
    .how-it-works-step::after {
        display: none !important;
    }
    
    .miwlo-pricing-plan-price span {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .how-it-works-step,
    .miwlo-pricing-plan-table {
        padding: 30px 20px;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    
    .how-it-works-step h4,
    .miwlo-pricing-plan-name p {
        font-size: 18px;
    }
    
    .miwlo-pricing-plan-price span {
        font-size: 28px;
    }
}

/* Section Headings */
.section-subheading {
    font-size: 13px;
    font-weight: 700;
    color: #3db54a;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.section-heading {
    font-size: 36px;
    font-weight: 700;
    color: #333333;
    margin: 0;
    line-height: 1.3;
}

@media (max-width: 768px) {
    .section-heading {
        font-size: 28px;
    }
}

/* Symmetry & Alignment */
.miwlo-pricing-plan .row {
    display: flex;
    align-items: stretch;
}

.miwlo-pricing-plan .row > [class*='col-'] {
    display: flex;
}

.miwlo-pricing-plan-table {
    width: 100%;
}

/* Animation */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.how-it-works-step,
.miwlo-pricing-plan-table {
    animation: slideUp 0.6s ease-out;
}

[data-aos="fade-up"] {
    animation-name: slideUp;
}
