/* ===== MODERN PRICING SECTION ===== */
.pricing-section {
    position: relative;
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    overflow: hidden;
}

.pricing-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Section Header */
.pricing-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, #0f172a 0%, #475569 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

/* Pricing Cards */
.pricing-card {
    background: white;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid #f1f5f9;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #4361ee, #3a56d4);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pricing-card:hover::before {
    opacity: 1;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(67, 97, 238, 0.15);
    border-color: #4361ee;
}

.pricing-card.featured {
    border: 2px solid #4361ee;
    transform: scale(1.02);
}

.pricing-card.featured:hover {
    transform: scale(1.02) translateY(-8px);
}

/* Card Header */
.card-header {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

.plan-badge {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #4361ee, #3a56d4);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.plan-badge.premium {
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
}

.plan-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #4361ee, #3a56d4);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 2rem;
}

.featured .plan-icon {
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
}

.plan-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
}

.plan-description {
    color: #64748b;
    line-height: 1.6;
    font-size: 1rem;
}

/* Pricing */
.card-pricing {
    text-align: center;
    margin-bottom: 30px;
    padding: 25px;
    background: #f8fafc;
    border-radius: 16px;
}

.price-amount {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
    margin-bottom: 8px;
}

.amount {
    font-size: 3.5rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1;
}

.price-period {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 8px;
}

.price-note {
    font-size: 0.9rem;
    color: #10b981;
    font-weight: 600;
}

/* Features */
.card-features {
    margin-bottom: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateX(8px);
}

.feature-item:last-child {
    border-bottom: none;
}

.feature-item i {
    color: #10b981;
    font-size: 1rem;
    width: 20px;
}

.feature-item span {
    color: #475569;
    font-weight: 500;
    font-size: 0.95rem;
}

/* Payment Logos - Cartes de crédit */
.payment-logos {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-top: 25px;
    padding: 20px;
    background: #f8fafc;
    border-radius: 12px;
}

.payment-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    background: white;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.payment-logo:hover {
    transform: translateY(-2px);
    border-color: #4361ee;
    box-shadow: 0 4px 12px rgba(67, 97, 238, 0.15);
}

.payment-logo i {
    font-size: 2rem;
    color: #64748b;
    transition: color 0.3s ease;
}

.payment-logo:hover i {
    color: #4361ee;
}

/* Specific colors for payment icons */
.payment-logo:nth-child(1) i { color: #1a1f71; } /* Visa */
.payment-logo:nth-child(2) i { color: #eb001b; } /* Mastercard */
.payment-logo:nth-child(3) i { color: #016fd0; } /* American Express */
.payment-logo:nth-child(4) i { color: #ff6000; } /* Discover */

/* Operator Logos - Mobile Money */
.operator-logos {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-top: 25px;
    padding: 20px;
    background: #f8fafc;
    border-radius: 12px;
}

.operator-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 60px;
    border-radius: 8px;
    font-weight: 600;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.logo-placeholder:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Couleurs spécifiques pour chaque opérateur */
.logo-placeholder.orange {
    background: linear-gradient(135deg, #ff7900, #ff9900);
}

.logo-placeholder.wave {
    background: linear-gradient(135deg, #00aaff, #0088cc);
}

.logo-placeholder.mtn {
    background: linear-gradient(135deg, #ffcc00, #ffaa00);
}

.logo-placeholder.moov {
    background: linear-gradient(135deg, #ff3366, #ff5588);
}

/* Pricing Footer */
.pricing-footer {
    margin-top: 40px;
    text-align: center;
}

.guarantee-badges {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.guarantee-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #64748b;
    font-weight: 500;
    font-size: 1rem;
}

.guarantee-item i {
    color: #4361ee;
    font-size: 1.3rem;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 25px;
    }

    .pricing-card.featured {
        transform: none;
    }

    .pricing-card.featured:hover {
        transform: translateY(-8px);
    }
}

@media (max-width: 768px) {
    .pricing-section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin: 0 auto 40px;
    }

    .pricing-card {
        padding: 30px 25px;
    }

    .payment-logos,
    .operator-logos {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 15px;
    }

    .guarantee-badges {
        gap: 25px;
    }

    .amount {
        font-size: 3rem;
    }
}

@media (max-width: 480px) {
    .pricing-section {
        padding: 40px 0;
    }

    .pricing-header {
        margin-bottom: 40px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .pricing-card {
        padding: 25px 20px;
    }

    .plan-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .plan-name {
        font-size: 1.3rem;
    }

    .amount {
        font-size: 2.5rem;
    }

    .payment-logos,
    .operator-logos {
        grid-template-columns: repeat(2, 1fr);
    }

    .logo-placeholder {
        height: 50px;
        font-size: 0.9rem;
    }

    .guarantee-badges {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
}

/* Animations */
.animate-fadeIn {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}