/* ========================================
   NEXT 10 IMPROVEMENTS - CSS
   ======================================== */

/* ========================================
   1. TRUST BADGES SECTION
   ======================================== */
.trust-badges {
    background: white;
    padding: 3rem 2rem;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.trust-badges-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.trust-badges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.trust-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(147, 197, 253, 0.05) 0%, rgba(196, 181, 253, 0.05) 100%);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.trust-badge:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(96, 165, 250, 0.15);
}

.trust-badge-icon {
    font-size: 3rem;
}

.trust-badge-title {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1rem;
}

.trust-badge-description {
    font-size: 0.875rem;
    color: var(--text-light);
}

/* ========================================
   2. LIVE STATS COUNTER
   ======================================== */
.live-stats-section {
    background: linear-gradient(135deg, #93C5FD 0%, #C4B5FD 100%);
    padding: 4rem 2rem;
    color: white;
}

.live-stats-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.live-stats-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.live-stats-subtitle {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 3rem;
}

.live-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.live-stat {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.live-stat-value {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    font-variant-numeric: tabular-nums;
}

.live-stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

.live-stat-pulse {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #34D399;
    border-radius: 50%;
    margin-left: 0.5rem;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

/* ========================================
   3. ENHANCED TESTIMONIALS WITH PHOTOS
   ======================================== */
.testimonial-card-enhanced {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    min-width: 100%;
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #93C5FD 0%, #C4B5FD 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.testimonial-info {
    flex: 1;
}

.testimonial-name {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1.125rem;
}

.testimonial-role {
    color: var(--text-light);
    font-size: 0.875rem;
}

.testimonial-company {
    color: var(--primary);
    font-size: 0.875rem;
}

.testimonial-rating {
    color: #FCD34D;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    color: var(--text-gray);
    line-height: 1.8;
    font-size: 1rem;
    font-style: italic;
}

.testimonial-verified {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    color: var(--success);
    font-size: 0.875rem;
    font-weight: 500;
}

/* ========================================
   4. PROGRESS BARS ON FORMS
   ======================================== */
.form-progress {
    width: 100%;
    height: 4px;
    background: var(--border);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 2rem;
}

.form-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #60A5FA 0%, #C4B5FD 100%);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.form-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.form-step {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    font-size: 0.875rem;
}

.form-step.active {
    color: var(--primary);
    font-weight: 600;
}

.form-step.completed {
    color: var(--success);
}

.form-step-number {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
}

.form-step.active .form-step-number {
    background: linear-gradient(135deg, #60A5FA 0%, #C4B5FD 100%);
    color: white;
}

.form-step.completed .form-step-number {
    background: var(--success);
    color: white;
}

/* ========================================
   5. LAZY LOADING PLACEHOLDERS
   ======================================== */
.lazy-image-wrapper {
    position: relative;
    overflow: hidden;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s ease-in-out infinite;
}

.lazy-image {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lazy-image.loaded {
    opacity: 1;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ========================================
   6. GRADIENT BUTTON ANIMATIONS
   ======================================== */
.btn-gradient-animated {
    background: linear-gradient(135deg, #60A5FA 0%, #C4B5FD 100%);
    background-size: 200% 200%;
    animation: gradient-shift 3s ease infinite;
    position: relative;
    overflow: hidden;
}

.btn-gradient-animated::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;
}

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

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* ========================================
   7. RISK REVERSAL SECTION
   ======================================== */
.risk-reversal {
    background: linear-gradient(135deg, rgba(52, 211, 153, 0.1) 0%, rgba(16, 185, 129, 0.1) 100%);
    border: 2px solid var(--success);
    border-radius: 16px;
    padding: 2.5rem;
    margin: 3rem auto;
    max-width: 800px;
    text-align: center;
}

.risk-reversal-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.risk-reversal-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.risk-reversal-text {
    font-size: 1.125rem;
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.risk-reversal-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.risk-reversal-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    justify-content: center;
}

.risk-reversal-feature-icon {
    color: var(--success);
    font-size: 1.5rem;
}

.risk-reversal-feature-text {
    color: var(--text-dark);
    font-weight: 500;
}

/* ========================================
   8. URGENCY ELEMENTS
   ======================================== */
.urgency-banner {
    background: linear-gradient(135deg, #FCD34D 0%, #F59E0B 100%);
    color: #78350F;
    padding: 1rem 2rem;
    text-align: center;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.urgency-icon {
    font-size: 1.5rem;
    animation: urgency-pulse 1.5s ease-in-out infinite;
}

@keyframes urgency-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.urgency-text {
    font-size: 1rem;
}

.urgency-timer {
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.limited-spots {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(239, 68, 68, 0.1);
    color: #DC2626;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-top: 1rem;
}

.limited-spots-icon {
    font-size: 1.25rem;
}

/* ========================================
   9. SOCIAL PROOF NOTIFICATIONS
   ======================================== */
.social-proof-notification {
    position: fixed;
    bottom: 100px;
    left: 20px;
    background: white;
    border-radius: 12px;
    padding: 1rem 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 350px;
    z-index: 997;
    opacity: 0;
    transform: translateX(-100%);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.social-proof-notification.show {
    opacity: 1;
    transform: translateX(0);
}

.social-proof-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #93C5FD 0%, #C4B5FD 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
}

.social-proof-content {
    flex: 1;
}

.social-proof-name {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.875rem;
}

.social-proof-action {
    color: var(--text-gray);
    font-size: 0.8125rem;
}

.social-proof-time {
    color: var(--text-light);
    font-size: 0.75rem;
    margin-top: 0.25rem;
}

.social-proof-close {
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    font-size: 1.25rem;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.social-proof-close:hover {
    color: var(--text-dark);
}

/* ========================================
   10. MONEY-BACK GUARANTEE BADGE
   ======================================== */
.guarantee-badge {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: white;
    border: 2px solid var(--success);
    border-radius: 12px;
    padding: 1.5rem 2rem;
    margin: 2rem auto;
}

.guarantee-seal {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #34D399 0%, #10B981 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    flex-shrink: 0;
    position: relative;
}

.guarantee-seal::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px dashed var(--success);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.guarantee-content {
    flex: 1;
}

.guarantee-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.guarantee-text {
    color: var(--text-gray);
    font-size: 0.875rem;
}

/* ========================================
   RESPONSIVE ADJUSTMENTS
   ======================================== */
@media (max-width: 768px) {
    .trust-badges-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .live-stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .live-stat-value {
        font-size: 2.5rem;
    }

    .risk-reversal {
        padding: 2rem 1.5rem;
    }

    .risk-reversal-title {
        font-size: 1.5rem;
    }

    .risk-reversal-features {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .social-proof-notification {
        left: 10px;
        right: 10px;
        max-width: calc(100% - 20px);
        bottom: 80px;
    }

    .guarantee-badge {
        flex-direction: column;
        text-align: center;
    }

    .urgency-banner {
        flex-direction: column;
        gap: 0.5rem;
        padding: 1rem;
    }
}

