/* ===========================================
   PRICING SECTION - DENSE SAAS UI
   Following strict design specifications
   =========================================== */

.pricing-section-new {
    padding: var(--section-padding);
    background: #F5F5F5;
}

.support-bar-section-new {
    padding: 60px 0;
    background: #F5F5F5;
}

/* Main Service Card - Dense SaaS UI */
.main-service-card {
    background: #FFFFFF;
    border: 1px solid #EAEAEA;
    border-radius: 12px;
    padding: 32px 28px;
    margin: 60px auto 0;
    max-width: 1000px;
    text-align: center;
    transition: box-shadow 0.3s ease;
}

.main-service-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Top Label Pill */
.service-pill {
    display: inline-block;
    background: #FFEAE7;
    color: #FF6B5A;
    font-family: 'Pretendard', -apple-system, sans-serif;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    border-radius: 8px;
    margin-bottom: 0;
}

/* Service Title */
.main-service-title {
    font-family: 'IBM Plex Sans KR', -apple-system, sans-serif;
    font-weight: 700;
    font-size: 28px;
    color: #111111;
    margin: 12px 0 0 0;
    line-height: 1.3;
}

/* Sub-text Description */
.main-service-desc {
    font-size: 14px;
    color: #666666;
    margin: 6px 0 0 0;
}

/* Quantity Selector - Circular Progress Style */
.quantity-selector {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin: 24px 0 16px 0;
}

.quantity-btn {
    flex: 1;
    max-width: 140px;
    height: 40px;
    background: white;
    border: 1px solid #E5E5E5;
    border-radius: 10px;
    padding: 0 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-family: 'IBM Plex Sans KR', -apple-system, sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.quantity-btn:hover {
    border-color: #FF6B5A;
    background: #FFFAF9;
}

.quantity-btn.active {
    border: 1.5px solid #FF6B5A;
    background: #FFF5F4;
    color: #FF6B5A;
}

.quantity-number {
    font-weight: 600;
    font-size: 14px;
}

/* Price Display Area */
.main-price-section {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 6px;
    margin: 16px 0 4px 0;
}

.main-price {
    font-family: 'IBM Plex Sans KR', -apple-system, sans-serif;
    font-weight: 700;
    font-size: 36px;
    color: #FF6B5A;
    line-height: 1;
}

.price-period {
    font-size: 16px;
    color: #888;
    font-weight: 500;
}

/* Price Sub-text */
.price-sub-text {
    font-size: 13px;
    color: #888888;
    margin: 4px 0 24px 0;
}

/* Divider Line */
.price-divider {
    width: 100%;
    height: 1px;
    background: #EAEAEA;
    margin: 0 0 20px 0;
}

/* Add-on Section Inside Card */
.addon-list-inline {
    background: #F7F7F7;
    border-radius: 10px;
    padding: 20px;
    margin: 0 0 16px 0;
    text-align: left;
}

.addon-list-title {
    font-family: 'IBM Plex Sans KR', -apple-system, sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: #111111;
    margin-bottom: 12px;
    text-align: center;
}

/* Add-on Item */
.addon-item-inline {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: #FFFFFF;
    border: 1px solid #EAEAEA;
    border-radius: 10px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.addon-item-inline:last-child {
    margin-bottom: 0;
}

.addon-item-inline:hover {
    background: #FAFAFA;
    border-color: #D5D5D5;
}

.addon-item-inline.selected {
    border: 1.5px solid #FF6B5A;
    background: #FFF9F8;
}

.addon-checkbox-inline {
    width: 18px;
    height: 18px;
    cursor: pointer;
    flex-shrink: 0;
    accent-color: #FF6B5A;
}

.addon-info-inline {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.addon-name-inline {
    font-weight: 600;
    font-size: 14px;
    color: #111111;
}

.addon-desc-inline {
    font-size: 12px;
    color: #666666;
}

.addon-price-inline {
    font-weight: 600;
    font-size: 14px;
    color: #FF6B5A;
    white-space: nowrap;
}

/* Total Price Display */
.total-price-display {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 16px 0 0 0;
    padding: 0;
    background: transparent;
}

.total-price-display.show {
    display: flex;
}

.total-label {
    font-family: 'IBM Plex Sans KR', -apple-system, sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #111111;
}

.total-amount-section {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.total-amount {
    font-family: 'IBM Plex Sans KR', -apple-system, sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: #FF6B5A;
}

.total-period {
    font-size: 14px;
    color: #888;
}

/* Main CTA Button */
.main-cta-button {
    width: 100%;
    height: 52px;
    background: #FF6B5A;
    color: #FFFFFF;
    font-family: 'IBM Plex Sans KR', -apple-system, sans-serif;
    font-size: 16px;
    font-weight: 600;
    padding: 0;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin: 16px 0 0 0;
}

.main-cta-button:hover {
    background: #FF5A47;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 107, 90, 0.3);
}

/* Support Bar Inline */
.support-bar-inline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: #FFF5F4;
    border: 1px solid #FFE5E2;
    border-radius: 10px;
    padding: 16px 24px;
    margin: 40px auto 0;
    max-width: 100%;
    transition: box-shadow 0.3s ease;
}

.support-bar-inline:hover {
    box-shadow: 0 2px 12px rgba(245, 101, 90, 0.15);
}

.support-icon {
    width: 20px;
    height: 20px;
    stroke: #F5655A;
    flex-shrink: 0;
}

.support-text {
    font-size: 14px;
    color: var(--text-secondary);
    flex: 1;
}

.support-text strong {
    color: var(--text-primary);
    font-weight: 600;
}

.support-cta-button {
    background: #F5655A;
    color: white;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.support-cta-button:hover {
    background: #E04E43;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(245, 101, 90, 0.3);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .main-service-card {
        padding: 24px 20px;
        margin: 40px auto 0;
    }
    
    .main-service-title {
        font-size: 24px;
    }
    
    .main-service-desc {
        font-size: 13px;
    }
    
    .quantity-selector {
        flex-direction: column;
        gap: 8px;
        margin: 20px 0 12px 0;
    }
    
    .quantity-btn {
        max-width: 100%;
        height: 44px;
    }
    
    .main-price {
        font-size: 32px;
    }
    
    .addon-list-inline {
        padding: 16px;
    }
    
    .addon-item-inline {
        flex-wrap: wrap;
        padding: 12px;
    }
    
    .addon-info-inline {
        flex: 1 1 100%;
        margin-bottom: 8px;
    }
    
    .addon-price-inline {
        flex: 1;
        text-align: right;
    }
    
    .main-cta-button {
        height: 48px;
        font-size: 15px;
    }
    
    .support-bar-inline {
        flex-direction: column;
        align-items: flex-start;
        padding: 16px 20px;
        gap: 12px;
        margin: 30px auto 0;
    }
    
    .support-text {
        font-size: 13px;
        text-align: left;
    }
    
    .support-cta-button {
        width: 100%;
    }
    
    .total-price-display {
        flex-direction: column;
        gap: 4px;
    }
}
