/**
 * Combo Packages Section Styles
 * File: platform/assets/css/combo-packages.css
 */

/* ========================================
   COMBO SECTION BADGE
   ======================================== */
.combo-section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #7C3AED 0%, #5B21B6 100%);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}

.combo-section-badge i {
    font-size: 1rem;
}

/* ========================================
   COMBO PACKAGES SECTION
   ======================================== */
.combo-packages-section {
    background: linear-gradient(180deg, #F8FAFC 0%, #EEF2FF 50%, #F8FAFC 100%);
    position: relative;
    overflow: hidden;
}

.combo-packages-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #7C3AED, #2563EB, #7C3AED);
}

/* ========================================
   COMBO PACKAGE CARD
   ======================================== */
.combo-package-card {
    background: white;
    border: 2px solid #E5E7EB;
    border-radius: 20px;
    padding: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.combo-package-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(124, 58, 237, 0.15);
    border-color: #7C3AED;
}

.combo-package-card.featured {
    border-color: #7C3AED;
    box-shadow: 0 8px 30px rgba(124, 58, 237, 0.2);
    transform: scale(1.02);
}

.combo-package-card.featured:hover {
    transform: scale(1.02) translateY(-8px);
}

/* ========================================
   COMBO BADGE RIBBON
   ======================================== */
.combo-badge-ribbon {
    position: absolute;
    top: 20px;
    right: -35px;
    background: linear-gradient(135deg, #7C3AED, #5B21B6);
    color: white;
    padding: 6px 40px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transform: rotate(45deg);
    box-shadow: 0 2px 10px rgba(124, 58, 237, 0.3);
    z-index: 10;
}

.combo-badge-ribbon.success {
    background: linear-gradient(135deg, #10B981, #059669);
    box-shadow: 0 2px 10px rgba(16, 185, 129, 0.3);
}

.combo-badge-ribbon.warning {
    background: linear-gradient(135deg, #F59E0B, #D97706);
    box-shadow: 0 2px 10px rgba(245, 158, 11, 0.3);
}

.combo-badge-ribbon.info {
    background: linear-gradient(135deg, #3B82F6, #2563EB);
    box-shadow: 0 2px 10px rgba(59, 130, 246, 0.3);
}

/* ========================================
   COMBO CARD HEADER
   ======================================== */
.combo-card-header {
    text-align: center;
    padding: 2rem 1.5rem 1.5rem;
    background: linear-gradient(180deg, #F8FAFC 0%, white 100%);
    border-bottom: 1px solid #F1F5F9;
}

.combo-icon-wrap {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #7C3AED 0%, #5B21B6 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2rem;
    color: white;
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.3);
    transition: all 0.3s ease;
}

.combo-package-card:hover .combo-icon-wrap {
    transform: scale(1.1) rotate(5deg);
}

.combo-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1E293B;
    margin: 0 0 0.5rem 0;
}

.combo-desc {
    font-size: 0.875rem;
    color: #64748B;
    margin: 0;
    line-height: 1.5;
}

/* ========================================
   COMBO PRICING
   ======================================== */
.combo-pricing {
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, #EEF2FF 0%, #E0E7FF 100%);
}

.combo-original-price {
    font-size: 1rem;
    color: #9CA3AF;
    margin-bottom: 0.25rem;
}

.combo-original-price s {
    text-decoration: line-through;
}

.combo-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
}

.combo-price .amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1E293B;
    line-height: 1;
}

.combo-price .period {
    font-size: 1rem;
    color: #64748B;
    font-weight: 500;
}

.combo-savings-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    background: linear-gradient(135deg, #10B981, #059669);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.8125rem;
    font-weight: 600;
    margin-top: 0.75rem;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.combo-savings-tag i {
    font-size: 0.875rem;
}

/* ========================================
   COMBO CHAPTERS LIST
   ======================================== */
.combo-chapters-list {
    padding: 1.5rem;
    flex: 1;
}

.combo-chapters-list h6 {
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.combo-chapters-list h6 i {
    color: #7C3AED;
}

.combo-chapters-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.combo-chapters-list li {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.5rem 0;
    font-size: 0.875rem;
    color: #475569;
    border-bottom: 1px dashed #E5E7EB;
}

.combo-chapters-list li:last-child {
    border-bottom: none;
}

.combo-chapters-list li i {
    color: #10B981;
    font-size: 1rem;
    flex-shrink: 0;
}

/* ========================================
   COMBO CARD FOOTER
   ======================================== */
.combo-card-footer {
    padding: 1.5rem;
    background: #F8FAFC;
    border-top: 1px solid #E5E7EB;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.btn-combo-subscribe {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    background: linear-gradient(135deg, #7C3AED 0%, #5B21B6 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}

.btn-combo-subscribe:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.4);
    color: white;
    text-decoration: none;
}

.btn-combo-subscribe i {
    font-size: 1.125rem;
}

.btn-combo-details {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.625rem 1rem;
    background: transparent;
    color: #7C3AED;
    border: none;
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-combo-details:hover {
    background: #EEF2FF;
    color: #5B21B6;
    text-decoration: none;
}

/* ========================================
   SECTION DIVIDER
   ======================================== */
.section-divider {
    padding: 2rem 0;
    background: white;
}

.divider-content {
    display: flex;
    align-items: center;
    justify-content: center;
}

.divider-content::before,
.divider-content::after {
    content: '';
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, transparent, #E5E7EB, transparent);
    max-width: 200px;
}

.divider-text {
    padding: 0.5rem 1.5rem;
    background: #F3F4F6;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #6B7280;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 991.98px) {
    .combo-package-card.featured {
        transform: none;
    }
    
    .combo-package-card.featured:hover {
        transform: translateY(-8px);
    }
    
    .combo-price .amount {
        font-size: 2rem;
    }
}

@media (max-width: 767.98px) {
    .combo-card-header {
        padding: 1.5rem 1rem 1rem;
    }
    
    .combo-icon-wrap {
        width: 60px;
        height: 60px;
        font-size: 1.75rem;
    }
    
    .combo-title {
        font-size: 1.125rem;
    }
    
    .combo-pricing {
        padding: 1.25rem;
    }
    
    .combo-price .amount {
        font-size: 1.75rem;
    }
    
    .combo-chapters-list {
        padding: 1rem;
    }
    
    .combo-badge-ribbon {
        font-size: 0.625rem;
        padding: 5px 35px;
        right: -38px;
    }
}

@media (max-width: 575.98px) {
    .combo-section-badge {
        font-size: 0.8125rem;
        padding: 0.375rem 1rem;
    }
    
    .combo-package-card {
        border-radius: 16px;
    }
    
    .combo-icon-wrap {
        width: 56px;
        height: 56px;
        font-size: 1.5rem;
        border-radius: 16px;
    }
    
    .combo-card-footer {
        padding: 1rem;
    }
    
    .btn-combo-subscribe {
        padding: 0.75rem 1.25rem;
        font-size: 0.9375rem;
    }
}