/* =============================================
   SPARSH — Business Hub Portal Styles
   Path: public/business.css
   Procurement and B2B portal directory styling.
   ============================================= */

/* ---------- Grid Layout (Stacked Vertically) ---------- */
.business-hub-grid {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin: 40px auto 80px;
    max-width: 1000px;
}

/* ---------- Business Cards (Horizontal Block) ---------- */
.business-hub-card {
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 20px;
    padding: 32px 40px;
    transition: transform 0.45s cubic-bezier(0.165, 0.84, 0.44, 1),
                border-color 0.4s ease,
                box-shadow 0.4s ease,
                background 0.4s ease;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: relative;
    overflow: hidden;
    gap: 24px;
}

.business-hub-card:hover {
    transform: translateY(-4px);
    border-color: rgba(97, 181, 100, 0.35);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45), 
                inset 0 0 20px rgba(97, 181, 100, 0.04);
}

/* Glow Effect */
.business-hub-card::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at 60px 40px, rgba(97, 181, 100, 0.08) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.business-hub-card:hover::before {
    opacity: 1;
}

/* Card Header Row */
.business-hub-card .card-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    position: relative;
    z-index: 2;
}

.business-hub-card .card-title-group {
    display: flex;
    align-items: center;
    gap: 20px;
}

.business-hub-card .card-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: rgba(97, 181, 100, 0.1);
    border: 1px solid rgba(97, 181, 100, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    flex-shrink: 0;
}

.business-hub-card .card-icon i {
    font-size: 1.45rem;
    color: var(--accent-gold, #61B564);
    filter: drop-shadow(0 2px 8px rgba(97, 181, 100, 0.2));
}

.business-hub-card:hover .card-icon {
    background: rgba(97, 181, 100, 0.18);
    border-color: rgba(97, 181, 100, 0.5);
    transform: scale(1.05);
}

.business-hub-card .card-text-group {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.business-hub-card h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.45rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.business-hub-card .card-tagline {
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-gold, #61B564);
    font-weight: 700;
    margin: 0;
}

.business-hub-card .cta-btn {
    display: inline-block;
    padding: 13px 28px;
    background: var(--accent-gold, #61B564);
    color: #0c0f17;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    border-radius: 12px;
    border: none;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),
                background-color 0.25s ease,
                box-shadow 0.25s ease;
    cursor: pointer;
    white-space: nowrap;
}

.business-hub-card .cta-btn:hover {
    transform: translateY(-2px);
    background: #4da050;
    color: #fff;
    box-shadow: 0 10px 24px rgba(97, 181, 100, 0.32);
}

/* Card Body Row */
.business-hub-card .card-body-row {
    display: flex;
    gap: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 24px;
    position: relative;
    z-index: 2;
}

.business-hub-card .card-desc-col {
    flex: 1.1;
}

.business-hub-card .card-desc-col p {
    font-size: 0.95rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.business-hub-card .card-bullets-col {
    flex: 1;
}

/* Bullet list specs */
.business-hub-card .card-bullets {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.business-hub-card .card-bullets li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.92rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.8);
}

.business-hub-card .card-bullets li i {
    color: var(--accent-gold, #61B564);
    font-size: 0.85rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.business-hub-card .cta-btn:hover {
    transform: translateY(-2px);
    background: #4da050;
    color: #fff;
    box-shadow: 0 10px 24px rgba(97, 181, 100, 0.32);
}

/* ---------- FAQ ACCORDION SECTION ---------- */
.business-faq-section {
    margin: 80px auto;
    max-width: 880px;
}

.business-faq-section .section-title {
    font-size: 1.85rem;
    text-align: center;
    color: #fff;
    margin-bottom: 40px;
    font-weight: 700;
}

.business-faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.business-faq-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    overflow: hidden;
    transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.business-faq-item:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(97, 181, 100, 0.2);
}

.business-faq-item.active {
    background: rgba(97, 181, 100, 0.04);
    border-color: rgba(97, 181, 100, 0.25);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.business-faq-trigger {
    width: 100%;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 24px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    text-align: left;
    outline: none;
}

.business-faq-question {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    color: #fff;
    line-height: 1.5;
    transition: color 0.3s ease;
}

.business-faq-trigger:hover .business-faq-question {
    color: var(--accent-gold, #61B564);
}

.business-faq-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(97, 181, 100, 0.1);
    border: 1px solid rgba(97, 181, 100, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.business-faq-icon i {
    font-size: 0.85rem;
    color: var(--accent-gold, #61B564);
    transition: transform 0.3s ease;
}

.business-faq-item.active .business-faq-icon {
    background: rgba(97, 181, 100, 0.2);
    border-color: rgba(97, 181, 100, 0.5);
}

.business-faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.business-faq-content-inner {
    padding: 0 28px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 16px;
}

.business-faq-content-inner p {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.95rem;
    line-height: 1.7;
}

.business-faq-content-inner strong {
    color: #fff;
    font-weight: 600;
}

/* ---------- B2B CTA BAR ---------- */
.business-cta-bar {
    margin-top: 80px;
    margin-bottom: 40px;
    padding: 40px;
    background: linear-gradient(160deg, rgba(97, 181, 100, 0.12) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(97, 181, 100, 0.25);
    border-radius: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.business-cta-bar .cta-content {
    flex: 1;
    min-width: 280px;
}

.business-cta-bar .cta-content h2 {
    font-size: 1.45rem;
    color: #fff;
    margin: 0 0 8px;
    font-weight: 700;
}

.business-cta-bar .cta-content p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
    line-height: 1.6;
}

.business-cta-bar .cta-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.business-cta-bar .btn-primary,
.business-cta-bar .btn-secondary {
    padding: 13px 26px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),
                background-color 0.25s ease,
                border-color 0.25s ease,
                box-shadow 0.25s ease;
    text-align: center;
}

.business-cta-bar .btn-primary {
    background: var(--accent-gold, #61B564);
    color: #0c0f17;
}

.business-cta-bar .btn-primary:hover {
    transform: translateY(-2px);
    background: #4da050;
    color: #fff;
    box-shadow: 0 8px 24px rgba(97, 181, 100, 0.3);
}

.business-cta-bar .btn-secondary {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.business-cta-bar .btn-secondary:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.08);
    border-color: #fff;
}

/* ---------- RESPONSIVE MEDIA QUERIES ---------- */
@media (max-width: 992px) {
    .business-hub-card {
        padding: 28px;
        gap: 20px;
    }
    
    .business-hub-card .card-header-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .business-hub-card .card-title-group {
        width: 100%;
    }
    
    .business-hub-card .cta-btn {
        width: 100%;
        text-align: center;
    }
    
    .business-hub-card .card-body-row {
        flex-direction: column;
        gap: 20px;
        padding-top: 20px;
    }
    
    .business-hub-card .card-desc-col,
    .business-hub-card .card-bullets-col {
        flex: none;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .business-hub-grid {
        gap: 24px;
    }
    
    .business-faq-section .section-title {
        font-size: 1.6rem;
    }
    
    .business-faq-trigger {
        padding: 18px 20px;
    }
    
    .business-faq-question {
        font-size: 0.98rem;
    }
    
    .business-faq-content-inner {
        padding: 0 20px 18px;
        padding-top: 12px;
    }
    
    .business-faq-content-inner p {
        font-size: 0.9rem;
    }
    
    .business-cta-bar {
        padding: 28px;
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        gap: 24px;
    }
    
    .business-cta-bar .cta-actions {
        flex-direction: column;
    }
    
    .business-cta-bar .btn-primary,
    .business-cta-bar .btn-secondary {
        width: 100%;
    }
}

