/* =============================================
   PRICING PAGE STYLES - PROD FINAL
   ============================================= */

/* === BASE === */
.pricing {
    padding: 40px 0 80px;
    background: #F9FAFB;
    min-height: 100vh;
}

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

/* === HEADER === */
.pricing-header {
    text-align: center;
    margin-bottom: 32px;
}

.pricing-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 16px;
}

.rating-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 50px;
    padding: 10px 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.rating-badge .stars { color: #facc15; font-size: 14px; letter-spacing: 1px; }
.rating-badge .score { font-weight: 700; color: #111827; }
.rating-badge .divider { color: #d1d5db; }
.rating-badge .count { color: #6b7280; font-size: 14px; }

/* === DARK GIFT BANNER === */
.gift-banner-dark {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border: 1px solid #334155;
    border-radius: 20px;
    padding: 24px 32px;
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.gift-banner-dark .gift-icon { font-size: 48px; flex-shrink: 0; }
.gift-banner-dark .gift-text { flex: 1; }
.gift-banner-dark .gift-text h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #facc15;
    margin-bottom: 4px;
}
.gift-banner-dark .gift-text p {
    color: #cbd5e1;
    margin-bottom: 8px;
    font-size: 15px;
}
.gift-banner-dark .gift-text strong { color: #fff; }
.gift-banner-dark .gift-tags span {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    color: #cbd5e1;
}

.gift-btn-dark {
    background: #078d66;
    color: #fff;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 15px;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}
.gift-btn-dark:hover { background: #006c48; }

/* === PRICING CARDS === */
.pricing-cards-wrapper {
    max-width: 900px;
    margin: 0 auto 60px;
    padding-top: 20px;
    overflow: visible;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}

/* === PRICE CARD === */
.price-card {
    background: #fff;
    border-radius: 24px;
    padding: 28px 20px;
    border: 2px solid #e5e7eb;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    overflow: visible;
}

.price-card:hover {
    border-color: #d1d5db;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.price-card.popular {
    border-color: #078d66;
    box-shadow: 0 12px 40px rgba(7,141,102,0.15);
}

/* === BADGES === */
.card-badge-top {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 16px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 20px;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
}

.card-badge-top.gold {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #1f2937;
    box-shadow: 0 4px 12px rgba(251,191,36,0.4);
}

.card-badge-top.green {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
    box-shadow: 0 4px 12px rgba(16,185,129,0.4);
}

/* === CARD CONTENT === */
.card-credits {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    margin-bottom: 4px;
}

.price-card.popular .card-credits { margin-top: 20px; }

.card-credits .num {
    font-size: 56px;
    font-weight: 800;
    color: #111827;
    line-height: 1;
}

.card-credits .leaf { width: 36px; height: 36px; }

.card-package-name {
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.price-card.popular .card-package-name { color: #078d66; }

.card-price {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    color: #078d66;
    margin-bottom: 20px;
    display: block;
    width: 100%;
}

.price-card.popular .card-price { font-size: 32px; }

/* Features box */
.card-features-box {
    background: #f9fafb;
    border-radius: 16px;
    padding: 20px;
    flex-grow: 1;
    margin-bottom: 20px;
}

.price-card.popular .card-features-box {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border: 1px solid #a7f3d0;
}

.feature-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
}

.feature-row .f-icon { width: 20px; height: 20px; flex-shrink: 0; }
.feature-row span { font-size: 15px; color: #374151; }

.feature-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
}

.feature-divider::before,
.feature-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e5e7eb;
}

.feature-divider span {
    font-size: 11px;
    color: #9ca3af;
    text-transform: uppercase;
}

/* === CARD BUTTONS === */
.card-btn {
    display: block;
    width: 100%;
    padding: 16px 24px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid transparent;
    margin-top: auto;
    box-sizing: border-box;
}

.card-btn.outline {
    background: #fff;
    color: #078d66;
    border-color: #078d66;
}
.card-btn.outline:hover { background: #ecfdf5; }

.card-btn.primary {
    background: #078d66;
    color: #fff;
}
.card-btn.primary:hover {
    background: #059669;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(7,141,102,0.3);
}

/* === SWIPE INDICATORS === */
.swipe-indicators {
    display: none;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    position: relative;
    z-index: 100;
    padding: 10px 0;
}

.swipe-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d1d5db;
    transition: all 0.3s ease;
    cursor: pointer;
}

.swipe-dot.active {
    background: #078d66;
    width: 24px;
    border-radius: 4px;
}

/* === WHOLESALE SECTION === */
.wholesale-section-title {
    text-align: center;
    font-size: 14px;
    color: #9ca3af;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.wholesale-plans {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto 40px auto;
    padding-top: 16px;
}

.wholesale-card {
    background: #fff;
    border-radius: 20px;
    padding: 28px 24px 24px;
    border: 1px solid #e5e7eb;
    text-align: center;
    position: relative;
    transition: all 0.2s ease;
    margin-top: 16px;
}

.wholesale-card:hover {
    border-color: #d1d5db;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.ws-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(16,185,129,0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.wholesale-card .ws-credits {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 8px;
    margin-bottom: 4px;
}

.wholesale-card .ws-num {
    font-size: 48px;
    font-weight: 800;
    color: #111827;
    line-height: 1;
}

.ws-leaf-inline { width: 28px; height: 28px; }

.ws-name {
    font-size: 14px;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.wholesale-card .ws-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 12px;
    margin-bottom: 12px;
}

.wholesale-card .ws-price .old {
    font-size: 18px;
    color: #9ca3af;
    text-decoration: line-through;
}

.wholesale-card .ws-price .new {
    font-size: 32px;
    font-weight: 700;
    color: #078d66;
}

.wholesale-card .ws-features {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 16px;
    line-height: 1.4;
}

.ws-btn {
    display: block;
    width: 100%;
    background: #078d66;
    color: #fff;
    padding: 16px 28px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.ws-btn:hover {
    background: #059669;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(7,141,102,0.3);
}

/* === PAYMENT SECTION === */
.payment-section {
    text-align: center;
    margin-bottom: 60px;
}

.payment-images {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.payment-images img { height: 32px; width: auto; object-fit: contain; }
.payment-images img.robo { height: 28px; }

/* === FAQ SECTION === */
.faq {
    max-width: 700px;
    margin: 0 auto;
}

.faq h2 {
    text-align: center;
    font-size: 1.75rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 32px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
}

.faq-q {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    cursor: pointer;
    font-weight: 600;
    color: #111827;
    font-size: 15px;
}

.faq-q .arrow {
    color: #9ca3af;
    font-size: 12px;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-q .arrow {
    transform: rotate(180deg);
    color: #078d66;
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    padding: 0 20px;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.6;
}

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

/* === ANIMATIONS === */
@keyframes wiggle {
    0%, 100% { transform: rotate(-3deg); }
    50% { transform: rotate(3deg); }
}
.animate-wiggle { animation: wiggle 2s ease-in-out infinite; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}
.animate-float { animation: float 3s ease-in-out infinite; }

@keyframes peekSwipe {
    0% { transform: translateX(0); }
    25% { transform: translateX(-60px); }
    50% { transform: translateX(20px); }
    75% { transform: translateX(-10px); }
    100% { transform: translateX(0); }
}
.pricing-cards.animate-peek { animation: peekSwipe 1s ease-out; }

/* === MOBILE STYLES === */
@media (max-width: 768px) {
    .pricing { padding: 20px 0 60px; }
    .pricing .container { padding: 0 16px; }
    
    .pricing-header { margin-bottom: 16px; }
    .pricing-header h1 { font-size: 1.5rem; margin-bottom: 10px; }
    
    /* Gift banner mobile - COMPACT */
    .gift-banner-dark {
        flex-direction: column;
        text-align: center;
        padding: 14px 16px 16px;
        gap: 8px;
        margin: 0 16px 20px 16px;
        width: calc(100% - 32px);
        max-width: none;
        border-radius: 16px;
    }
    .gift-banner-dark .gift-icon { font-size: 28px; }
    .gift-banner-dark .gift-text h3 { font-size: 1rem; margin-bottom: 2px; }
    .gift-banner-dark .gift-text p { font-size: 13px; margin-bottom: 6px; }
    .gift-banner-dark .gift-tags span { font-size: 10px; padding: 4px 8px; }
    .gift-btn-dark { 
        width: 100%; 
        text-align: center; 
        padding: 10px 16px;
        font-size: 14px;
    }
    
    /* Cards mobile - horizontal swipe */
    .pricing-cards-wrapper {
        margin: 0 -16px 40px;
        padding: 20px 16px 0;
        overflow: visible;
    }
    
    .pricing-cards {
        display: flex;
        overflow-x: auto;
        overflow-y: visible;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 16px;
        padding: 16px 0 10px;
    }
    
    .pricing-cards::-webkit-scrollbar { display: none; }
    
    .pricing-cards .price-card {
        flex: 0 0 85%;
        min-width: 280px;
        max-width: 320px;
        scroll-snap-align: center;
        overflow: visible;
        margin-top: 8px;
    }
    
    .swipe-indicators { display: flex; }
    
    /* Wholesale mobile */
    .wholesale-plans {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 16px 16px 0;
    }
    
    .wholesale-card .ws-num { font-size: 42px; }
    .ws-leaf-inline { width: 24px; height: 24px; }
    
    /* Payment mobile */
    .payment-images {
        flex-direction: column;
        gap: 16px;
    }
    .payment-images img { max-width: 80%; height: auto; }
    .payment-images img.carts { max-width: 280px; }
    .payment-images img.robo { max-width: 120px; }
}

@media (max-width: 375px) {
    .pricing-cards .price-card {
        flex: 0 0 90%;
        min-width: 260px;
    }
    .card-credits .num { font-size: 48px; }
    
    .gift-banner-dark { padding: 12px 14px 14px; }
    .gift-banner-dark .gift-icon { font-size: 24px; }
    .gift-banner-dark .gift-text h3 { font-size: 0.95rem; }
}
