/* ============================================
   Who Can Benefit Section - Zencia.AI
   ============================================ */

/* ============================================
   Who Can Benefit Section - Zencia.AI (Dark Theme)
   ============================================ */

/* ===== WHO BENEFITS SECTION ===== */
.who-benefits {
    background: linear-gradient(135deg, #0f1419 0%, #082928 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

/* Background image layer */
.who-benefits::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../../images/application-bvg.svg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0.3;
    z-index: 1;
    pointer-events: none;
}

/* Gradient overlays */
.who-benefits::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 70%, rgba(0, 217, 213, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 30%, rgba(0, 139, 139, 0.08) 0%, transparent 50%),
                rgba(15, 20, 25, 0.3);
    z-index: 2;
    pointer-events: none;
}

.who-benefits .container {
    position: relative;
    z-index: 3;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===== SECTION HEADER ===== */
.benefits-who-header {
    text-align: center;
    margin-bottom: 80px;
    animation: fadeInUp 0.8s ease-out;
}

.benefits-who-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 0;
    line-height: 1.2;
    letter-spacing: -1px;
}

/* ===== MAIN GRID ===== */
.benefits-who-grid {
    display: grid;
    grid-template-columns: 60% 40%;
    gap: 4rem;
    align-items: center;
}

/* ===== LEFT COLUMN - CATEGORIES ===== */
.benefits-who-categories {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    animation: fadeInLeft 1s ease-out 0.2s backwards;
}

/* Make the last category item (Business Consultants) span only one column */
.benefit-category-item:nth-child(7) {
    grid-column: 1;
}

/* ===== CTA BUTTON ===== */
.benefits-who-cta {
    grid-column: 2;
    grid-row: 4; /* Same row as the last category item */
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeInUp 0.8s ease-out 0.8s backwards;
}
.benefit-category-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 217, 213, 0.2);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

/* Staggered animation delays */
.benefit-category-item:nth-child(1) { animation: fadeInUp 0.8s ease-out 0.1s backwards; }
.benefit-category-item:nth-child(2) { animation: fadeInUp 0.8s ease-out 0.2s backwards; }
.benefit-category-item:nth-child(3) { animation: fadeInUp 0.8s ease-out 0.3s backwards; }
.benefit-category-item:nth-child(4) { animation: fadeInUp 0.8s ease-out 0.4s backwards; }
.benefit-category-item:nth-child(5) { animation: fadeInUp 0.8s ease-out 0.5s backwards; }
.benefit-category-item:nth-child(6) { animation: fadeInUp 0.8s ease-out 0.6s backwards; }
.benefit-category-item:nth-child(7) { animation: fadeInUp 0.8s ease-out 0.7s backwards; }

/* Hover effects */
.benefit-category-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 217, 213, 0.4);
    border-color: rgba(0, 217, 213, 0.6);
    background: rgba(0, 217, 213, 0.1);
}

/* Background glow effect on hover */
.benefit-category-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 217, 213, 0.05) 0%, rgba(0, 139, 139, 0.03) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.benefit-category-item:hover::before {
    opacity: 1;
}

.benefit-category-item > * {
    position: relative;
    z-index: 2;
}

/* ===== CATEGORY ICON ===== */
.category-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #00D9D5 0%, #40E0D0 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.category-icon svg {
    color: #ffffff;
    transition: all 0.3s ease;
}

.benefit-category-item:hover .category-icon {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(0, 217, 213, 0.5);
}

/* ===== CATEGORY TITLE ===== */
.category-title {
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.4;
    margin: 0;
    transition: color 0.3s ease;
}

.benefit-category-item:hover .category-title {
    color: #FFFFFF;
}

/* ===== CTA BUTTON STYLING ===== */
.affiliate-become-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #00D9D5 0%, #008B8B 100%);
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 217, 213, 0.3);
    font-family: 'Inter', sans-serif;
    position: relative;
    overflow: hidden;
}

.affiliate-become-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(0, 217, 213, 0.5);
}

/* ===== CTA BUTTON ===== */
/* ===== INDIVIDUAL CATEGORY ITEM ===== */
.benefit-category-item {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #eaf5f40b 0%, #008b8b2e 100%);
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 13px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    position: relative;
    overflow: hidden;
}

.affiliate-become-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(0, 217, 213, 0.5);
}

.affiliate-become-btn svg {
    transition: transform 0.3s ease;
}

.affiliate-become-btn:hover svg {
    transform: translateX(3px);
}

/* ===== RIGHT COLUMN - VISUAL ===== */
.benefits-who-visual {
    position: relative;
    animation: fadeInRight 1s ease-out 0.4s backwards;
}

/* ===== WHO BENEFITS IMAGE ===== */
.benefits-who-image {
    position: relative;
    max-width: 100%;
    text-align: center;
}

.who-benefits-image {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    animation: imageFloat 6s ease-in-out infinite;
}

@keyframes imageFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.who-benefits-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.2);
}

/* ===== BACKGROUND CIRCLES ===== */
.who-visual-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.bg-circle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 217, 213, 0.15) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.1);
    }
}

.circle-1 {
    width: 200px;
    height: 200px;
    top: -100px;
    right: -50px;
    animation-delay: 0s;
}

.circle-2 {
    width: 150px;
    height: 150px;
    bottom: -75px;
    left: -25px;
    animation-delay: 2s;
}

.circle-3 {
    width: 100px;
    height: 100px;
    top: 30%;
    right: -50px;
    animation-delay: 1s;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .benefits-who-grid {
        gap: 3rem;
    }
    
    .benefits-who-categories {
        gap: 1.25rem;
    }
    
    .benefit-category-item {
        padding: 1.25rem;
    }
}

@media (max-width: 768px) {
    .who-benefits {
        padding: 80px 0;
    }
    
    .benefits-who-header {
        margin-bottom: 60px;
    }
    
    .benefits-who-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .benefits-who-visual {
        order: -1;
    }
    
    .benefits-who-categories {
        grid-template-columns: 1fr;
        gap: 1rem;
        max-width: 500px;
        margin: 0 auto;
    }
    
    /* Reset grid layout for mobile */
    .benefit-category-item:nth-child(7) {
        grid-column: 1;
    }
    
    .benefits-who-cta {
        grid-column: 1;
        grid-row: auto;
        margin-top: 2rem;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .who-benefits .container {
        padding: 0 1rem;
    }
    
    .benefit-category-item {
        padding: 1rem;
    }
    
    .category-icon {
        width: 45px;
        height: 45px;
    }
    
    .affiliate-become-btn {
        padding: 0.875rem 1.75rem;
        font-size: 1rem;
    }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
    .benefit-category-item,
    .benefits-who-header,
    .benefits-who-visual,
    .who-benefits-image {
        animation: none !important;
    }
    
    .benefit-category-item:hover {
        transform: none;
    }
}

/* Focus states for accessibility */
.benefit-category-item:focus,
.affiliate-become-btn:focus {
    outline: 2px solid #00D9D5;
    outline-offset: 4px;
}

/* ===== PRINT STYLES ===== */
@media print {
    .who-benefits {
        background: white !important;
        padding: 2rem 0;
        width: 100% !important;
        margin-left: 0 !important;
    }
    
    .who-benefits .container {
        max-width: none !important;
        margin-left: 0 !important;
    }
    
    .benefit-category-item {
        box-shadow: none;
        border: 1px solid #ddd;
        break-inside: avoid;
        margin-bottom: 1rem;
    }
    
    .category-icon {
        background: #0066ff !important;
    }
}