/**
 * Conversion Boosters CSS
 * High-impact elements for increasing sales and conversions
 */

/* ===============================================
   MONEY-BACK GUARANTEE BADGE & MODAL
   =============================================== */
.guarantee-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 24px 50px;
    border-radius: 16px;
    font-weight: 600;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.25);
    border: none;
    min-width: 500px;
    max-width: 700px;
    text-align: center;
    line-height: 1.4;
}

.guarantee-badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.35);
}

.guarantee-badge i {
    font-size: 24px;
    flex-shrink: 0;
}

.guarantee-banner {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    border-left: 4px solid #10b981;
    padding: 20px 25px;
    border-radius: 8px;
    margin: 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.guarantee-banner i {
    font-size: 32px;
    color: #059669;
}

.guarantee-banner strong {
    color: #065f46;
    font-size: 18px;
}

.guarantee-banner button {
    background: #059669;
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.guarantee-banner button:hover {
    background: #047857;
    transform: scale(1.05);
}

.guarantee-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

.guarantee-modal.show {
    display: flex;
}

.guarantee-modal-content {
    background: white;
    border-radius: 16px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.guarantee-modal-header {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 30px;
    border-radius: 16px 16px 0 0;
    text-align: center;
}

.guarantee-modal-header i {
    font-size: 64px;
    margin-bottom: 15px;
}

.guarantee-modal-header h2 {
    margin: 0;
    font-size: 28px;
}

.guarantee-modal-body {
    padding: 40px 30px;
}

.guarantee-modal-body h3 {
    color: #1f2937;
    margin-top: 25px;
    margin-bottom: 15px;
    font-size: 20px;
}

.guarantee-modal-body p {
    color: #4b5563;
    line-height: 1.8;
    margin-bottom: 15px;
}

.guarantee-modal-body ul {
    list-style: none;
    padding: 0;
}

.guarantee-modal-body ul li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    color: #4b5563;
}

.guarantee-modal-body ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
    font-size: 18px;
}

.guarantee-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    transition: all 0.2s;
}

.guarantee-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

/* ===============================================
   FAQ ACCORDION
   =============================================== */
.faq-section {
    margin: 40px 0;
}

.faq-section h3 {
    color: #1f2937;
    font-size: 24px;
    margin-bottom: 25px;
    text-align: center;
}

.faq-item {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: #6366f1;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 18px 50px 18px 20px;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.2s;
}

.faq-question::before {
    content: '❓';
    font-size: 20px;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 20px;
    font-size: 24px;
    color: #6366f1;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question {
    background: #f9fafb;
}

.faq-item.active .faq-question::after {
    content: '−';
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 20px;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 20px 20px 52px;
}

.faq-answer p {
    color: #4b5563;
    line-height: 1.8;
    margin: 0;
}

/* ===============================================
   COUNTDOWN TIMER
   =============================================== */
.urgency-timer {
    background: linear-gradient(135deg, #fef3c7 0%, #fed7aa 100%);
    border: 3px dashed #f59e0b;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    margin: 25px 0;
    animation: pulse 2s infinite;
}

.urgency-timer i {
    color: #d97706;
    font-size: 24px;
    margin-right: 8px;
}

.urgency-timer-text {
    color: #92400e;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

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

.countdown-item {
    background: white;
    border-radius: 8px;
    padding: 15px 20px;
    min-width: 80px;
}

.countdown-value {
    font-size: 32px;
    font-weight: 700;
    color: #d97706;
    display: block;
}

.countdown-label {
    font-size: 12px;
    color: #92400e;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
}

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

/* ===============================================
   WHY CHOOSE US SECTION
   =============================================== */
.why-choose-us {
    background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
    padding: 60px 0;
    margin: 60px 0;
    border-radius: 16px;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 20px;
    max-width: 850px;
    margin: 0 auto 40px;
    padding: 0 20px;
}

.stat {
    text-align: center;
    padding: 20px 16px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.stat:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.stat h3 {
    font-size: 36px;
    font-weight: 700;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0 0 8px 0;
}

.stat p {
    color: #6b7280;
    font-size: 14px;
    margin: 0;
    font-weight: 500;
}

.company-story {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 18px;
    line-height: 1.8;
    color: #4b5563;
    padding: 0 20px;
}

/* ===============================================
   SECURITY BADGES
   =============================================== */
.security-badges {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 25px;
    background: #f9fafb;
    border-radius: 8px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.security-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.security-badge i {
    font-size: 24px;
    color: #10b981;
}

.security-badge-text {
    display: flex;
    flex-direction: column;
}

.security-badge-title {
    font-weight: 700;
    color: #1f2937;
    font-size: 14px;
}

.security-badge-subtitle {
    font-size: 12px;
    color: #6b7280;
}

/* ===============================================
   DELIVERY TIMELINE
   =============================================== */
.delivery-timeline {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    border-radius: 12px;
    padding: 30px;
    margin: 25px 0;
}

.delivery-timeline h4 {
    color: #1e40af;
    margin-top: 0;
    margin-bottom: 20px;
    text-align: center;
    font-size: 18px;
}

.timeline-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.timeline-steps::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 10%;
    right: 10%;
    height: 3px;
    background: #60a5fa;
    z-index: 0;
}

.timeline-step {
    text-align: center;
    flex: 1;
    position: relative;
    z-index: 1;
}

.timeline-step-icon {
    background: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    border: 3px solid #60a5fa;
    font-size: 18px;
}

.timeline-step-label {
    font-weight: 600;
    color: #1e40af;
    font-size: 14px;
    margin-bottom: 5px;
}

.timeline-step-time {
    font-size: 12px;
    color: #3b82f6;
}

@media (max-width: 768px) {
    .timeline-steps {
        flex-direction: column;
        gap: 20px;
    }

    .timeline-steps::before {
        top: 0;
        bottom: 0;
        left: 20px;
        right: auto;
        width: 3px;
        height: auto;
    }

    .timeline-step {
        display: flex;
        align-items: center;
        gap: 15px;
        text-align: left;
        width: 100%;
    }

    .guarantee-banner {
        flex-direction: column;
        text-align: center;
        padding: 20px;
        gap: 12px;
    }

    .guarantee-banner button {
        width: 100%;
        padding: 16px 24px;
        font-size: 15px;
    }

    .guarantee-badge {
        padding: 20px 30px;
        font-size: 16px;
        width: 100%;
        min-width: unset;
        max-width: 100%;
        justify-content: center;
    }

    .guarantee-badge i {
        font-size: 22px;
    }
}

/* ===============================================
   CROSS-SELL / OTHERS ALSO BOUGHT
   =============================================== */
.cross-sell-section {
    margin: 40px 0;
    padding: 40px 0;
    background: #f9fafb;
    border-radius: 12px;
}

.cross-sell-section h3 {
    text-align: center;
    color: #1f2937;
    font-size: 24px;
    margin-bottom: 30px;
}

.cross-sell-products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 0 20px;
}

.cross-sell-card {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.cross-sell-card:hover {
    border-color: #6366f1;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.1);
}

.cross-sell-card h4 {
    color: #1f2937;
    font-size: 18px;
    margin: 15px 0 10px;
}

.cross-sell-card .price {
    font-size: 24px;
    font-weight: 700;
    color: #6366f1;
    margin: 15px 0;
}

.cross-sell-card .btn {
    width: 100%;
}

/* ===============================================
   ANIMATIONS
   =============================================== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-slide-up {
    animation: slideUp 0.6s ease forwards;
}
