/* ============================================
   eParkin - Marketing Optimizations CSS
   Estilos adicionales para las mejoras de conversión
   VERSIÓN CORREGIDA - Sin conflictos con styles.css
============================================ */

/* ============================================
   SOCIAL PROOF BANNER (Nuevo)
============================================ */
.social-proof-banner {
    background: linear-gradient(90deg, #F8F5FF 0%, #FFF8F0 100%);
    padding: 24px 0;
    border-bottom: 1px solid rgba(68, 0, 153, 0.1);
}

.proof-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.proof-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.proof-number {
    font-size: 1.75rem;
    font-weight: 700;
    color: #440099;
    line-height: 1.2;
}

.proof-number.highlight {
    color: #10B981;
}

.proof-label {
    font-size: 0.85rem;
    color: #6B7280;
    margin-top: 4px;
}

.proof-divider {
    width: 1px;
    height: 40px;
    background: #D4D4D4;
}

@media (max-width: 768px) {
    .proof-stats {
        gap: 24px;
    }
    
    .proof-divider {
        display: none;
    }
    
    .proof-item {
        min-width: 120px;
    }
    
    .proof-number {
        font-size: 1.5rem;
    }
}

/* ============================================
   RECENT ACTIVITY INDICATOR (Stats Card)
============================================ */
.recent-activity {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #E5E5E5;
    font-size: 0.85rem;
    color: #6B7280;
}

.activity-dot {
    width: 8px;
    height: 8px;
    background: #10B981;
    border-radius: 50%;
    animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* ============================================
   PRICING IMPROVEMENTS
   IMPORTANTE: No sobrescribir display:flex del original
============================================ */
/* Cuando pricing-note viene DESPUÉS del botón (marketing optimizations) */
.pricing-card .btn-block + .pricing-note {
    display: block;
    font-size: 0.8rem;
    color: #6B7280;
    text-align: center;
    margin-top: 16px;
    margin-bottom: 0;
    padding: 0;
    background: transparent;
    border-radius: 0;
}

.pricing-card.featured .btn-block + .pricing-note {
    color: #FF6B00;
    font-weight: 500;
}

/* ============================================
   VERIFIED BADGE (Testimonials)
============================================ */
.verified-badge {
    display: inline-block;
    font-size: 0.75rem;
    color: #10B981;
    margin-top: 12px;
    padding: 4px 10px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 9999px;
}

.testimonial-rating {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
}

.testimonial-rating .icon-star {
    width: 16px;
    height: 16px;
}

/* ============================================
   PROMO BANNER (Download Section)
============================================ */
.promo-banner {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 16px 24px;
    margin: 24px auto;
    max-width: 500px;
}

.promo-icon {
    font-size: 2rem;
}

.promo-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: left;
    color: #FFFFFF;
}

.promo-text strong {
    color: #FFC400;
}

.promo-limit {
    font-size: 0.8rem;
    opacity: 0.8;
}

@media (max-width: 480px) {
    .promo-banner {
        flex-direction: column;
        text-align: center;
        padding: 16px;
    }
    
    .promo-text {
        text-align: center;
    }
}

/* ============================================
   NEWSLETTER SECTION (Nuevo)
============================================ */
.newsletter {
    background: #FAFAFA;
    padding: 60px 0;
    border-top: 1px solid #E5E5E5;
    border-bottom: 1px solid #E5E5E5;
}

.newsletter-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.newsletter-text h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: #1A1A2E;
}

.newsletter-text p {
    color: #6B7280;
    margin: 0;
}

.newsletter-form {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.newsletter-form input {
    padding: 14px 20px;
    border: 2px solid #E5E5E5;
    border-radius: 10px;
    font-size: 15px;
    min-width: 280px;
    transition: border-color 0.2s;
}

.newsletter-form input:focus {
    outline: none;
    border-color: #440099;
}

@media (max-width: 768px) {
    .newsletter-content {
        flex-direction: column;
        text-align: center;
    }
    
    .newsletter-form {
        flex-direction: column;
        width: 100%;
    }
    
    .newsletter-form input {
        min-width: 100%;
    }
}

/* ============================================
   GRADIENT TEXT SHIMMER
============================================ */
.hero-title .gradient-text {
    background: linear-gradient(135deg, #FF6B00 0%, #FFC400 50%, #FF6B00 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    to {
        background-position: 200% center;
    }
}

/* ============================================
   CTA BUTTON SHINE EFFECT
============================================ */
.btn-primary {
    position: relative;
    overflow: hidden;
}

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

.btn-primary:hover::after {
    left: 100%;
}

/* ============================================
   STATS COUNTER ANIMATION
============================================ */
.stat-box .value,
.proof-number {
    font-variant-numeric: tabular-nums;
}

/* ============================================
   PROBLEM CARDS HOVER STATE
============================================ */
.problem-card {
    cursor: default;
}

.problem-card:hover .problem-icon {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

/* ============================================
   FAQ IMPROVEMENTS
============================================ */
.faq-item {
    transition: all 0.3s ease;
}

.faq-item:hover {
    background: #FAFAFA;
}

.faq-item.active .faq-question {
    color: #440099;
}

/* ============================================
   MOBILE OPTIMIZATIONS
============================================ */
@media (max-width: 480px) {
    .promo-banner {
        margin: 16px;
    }
    
    .proof-stats {
        padding: 0 16px;
    }
}

/* ============================================
   ACCESSIBILITY IMPROVEMENTS
============================================ */
@media (prefers-reduced-motion: reduce) {
    .hero-title .gradient-text,
    .activity-dot {
        animation: none;
    }
    
    .btn-primary::after {
        display: none;
    }
}

/* Focus states for keyboard navigation */
.btn:focus-visible,
.nav-link:focus-visible,
.faq-question:focus-visible {
    outline: 2px solid #440099;
    outline-offset: 2px;
}
