/* Audit de compte instagram */
/* Styles pour le composant Audit Instagram Offert */
.audit-promo-card {
    position: relative;
    z-index: 3;
    background: white;
    border-radius: 35px;
    padding: 0;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.357);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 500px;
    margin: 30px auto;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    color: black;
    margin-top: -20px;
    margin-bottom: 100px;
}

.audit-promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

[data-theme="dark"] .audit-promo-card {
    background: rgb(209, 203, 242);
    box-shadow: 0 0px 20px rgba(255, 255, 255, 0.501);
}

[data-theme="dark"] .audit-promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0px 30px rgba(255, 255, 255, 0.681);
}

/* Timer promotionnel pour l'audit */
.audit-promotion-timer {
    background: linear-gradient(135deg, #6661fc 0%, #ff00f2 100%);
    padding: 20px;
    height: fit-content;
    color: white;
    border-radius: 35px 35px 0 0;
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
}

.audit-promotion-timer::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: auditShimmer 2s infinite;
}

@keyframes auditShimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.audit-timer-badge {
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    animation: auditGlow 2s ease-in-out infinite alternate;
}

@keyframes auditGlow {
    from { text-shadow: 0 0 5px rgba(255, 255, 255, 0.5); }
    to { text-shadow: 0 0 15px rgba(255, 255, 255, 0.8); }
}

.audit-countdown {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.audit-time-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 40px;
}

.audit-time-value {
    font-size: 18px;
    font-weight: bold;
    background: rgba(255, 255, 255, 0.2);
    padding: 6px 8px;
    border-radius: 8px;
    min-width: 30px;
    backdrop-filter: blur(10px);
    line-height: 1;
}

.audit-time-label {
    font-size: 10px;
    margin-top: 4px;
    opacity: 0.9;
}

/* Contenu principal de l'audit */
.audit-offer-content {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.audit-offer-content h2 {
    margin: 0;
    font-size: 28px;
    font-weight: bold;
}

.audit-title-gradient {
    background: linear-gradient(135deg, #6661fc 0%, #ff00f2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

/* Styles pour les prix de l'audit */
.audit-pricing {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 20px 0;
    flex-wrap: wrap;
    position: relative;
}

.audit-original-price {
    font-size: 24px;
    color: #999;
    text-decoration: line-through;
    position: relative;
    font-weight: 500;
}

.audit-original-price::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: #f74b4b;
    transform: translateY(-50%);
    opacity: 0.8;
}

.audit-free-price {
    font-size: 48px;
    font-weight: bold;
    color: #6661fc;
    margin: 0 10px;
}

.audit-promo-badge {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    animation: auditBadgePulse 2s infinite;
    position: absolute;
    top: -15px;
    right: -10px;
    box-shadow: 0 2px 10px rgba(40, 167, 69, 0.3);
}

@keyframes auditBadgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Description de l'audit */
.audit-desc {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
    margin: 0;
    text-align: left;
    padding: 0 10px;
}

[data-theme="dark"] .audit-desc {
    color: #333;
}

/* Bouton de l'audit */
.audit-btn {
    background: linear-gradient(135deg, #6661fc 0%, #ff00f2 100%);
    color: white;
    border: none;
    padding: 18px 25px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    animation: auditButtonPulse 3s infinite;
}

@keyframes auditButtonPulse {
    0% { box-shadow: 0 0 0 0 rgba(102, 97, 252, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(102, 97, 252, 0); }
    100% { box-shadow: 0 0 0 0 rgba(102, 97, 252, 0); }
}

.audit-btn:hover {
    background: linear-gradient(135deg, #ff00f2 0%, #6661fc 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 97, 252, 0.3);
    animation: none;
}

.audit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.audit-btn:hover::before {
    left: 100%;
}

/* Animation d'urgence quand il reste moins de 24h */
.audit-promo-card.urgent .audit-promotion-timer {
    background: linear-gradient(135deg, #ff4757, #ff3838);
    animation: auditUrgentPulse 1s infinite;
}

@keyframes auditUrgentPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.audit-promo-card.urgent .audit-timer-badge {
    animation: auditUrgentGlow 0.5s ease-in-out infinite alternate;
}

@keyframes auditUrgentGlow {
    from { text-shadow: 0 0 10px rgba(255, 255, 255, 0.8); }
    to { text-shadow: 0 0 20px rgba(255, 255, 255, 1); }
}

/* Animation critique quand il reste moins de 10 minutes */
.audit-promo-card.critical .audit-promotion-timer {
    background: linear-gradient(135deg, #ff1744, #d50000);
    animation: auditCriticalPulse 0.5s infinite;
}

@keyframes auditCriticalPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.9; transform: scale(1.02); }
}

/* État expiré */
.audit-promo-card.expired .audit-promotion-timer {
    background: #666;
    opacity: 0.7;
}

.audit-promo-card.expired .audit-promo-badge {
    display: none;
}

.audit-promo-card.expired .audit-free-price {
    color: #666;
}

/* Responsive Design */
@media (max-width: 768px) {
    .audit-promo-card {
        margin: 20px auto;
        max-width: none;
        max-width: 70%;
        margin-bottom: 100px;
    }
    
    .audit-offer-content {
        padding: 25px 20px;
    }
    
    .audit-offer-content h2 {
        font-size: 24px;
    }
    
    .audit-free-price {
        font-size: 42px;
    }
    
    .audit-original-price {
        font-size: 20px;
    }
    
    .audit-desc {
        font-size: 14px;
        padding: 0 5px;
    }
    
    .audit-btn {
        padding: 15px 20px;
        font-size: 14px;
    }
    
    .audit-time-value {
        font-size: 16px;
        padding: 5px 6px;
        min-width: 25px;
    }
    
    .audit-time-label {
        font-size: 9px;
    }
    
    .audit-countdown {
        gap: 10px;
    }
}

@media (max-width: 480px) {
    
    .audit-promotion-timer {
        border-radius: 25px 25px 0 0;
        padding: 15px;
    }
    
    .audit-offer-content {
        padding: 20px 15px;
        gap: 15px;
    }
    
    .audit-offer-content h2 {
        font-size: 20px;
    }
    
    .audit-free-price {
        font-size: 36px;
    }
    
    .audit-original-price {
        font-size: 18px;
    }
    
    .audit-desc {
        font-size: 13px;
        text-align: center;
    }
    
    .audit-btn {
        padding: 12px 18px;
        font-size: 13px;
        border-radius: 20px;
    }
    
    .audit-promo-badge {
        position: relative;
        top: 0;
        right: 0;
        margin: 10px 0;
        display: inline-block;
    }
    
    .audit-pricing {
        flex-direction: column;
        gap: 10px;
    }
    
    .audit-timer-badge {
        font-size: 12px;
        margin-bottom: 10px;
    }
    
    .audit-time-value {
        font-size: 14px;
        padding: 4px 5px;
        min-width: 22px;
    }
    
    .audit-time-label {
        font-size: 8px;
    }
    
    .audit-countdown {
        gap: 8px;
    }
}
