/**
 * Inkora Business Benefits Block - Frontend Styles
 * Version: 1.0.0
 */

:root {
    --inkora-primary: #2398bc;
}

/* ============================================
   MAIN CONTAINER
   ============================================ */
.inkora-benefits {
    position: relative;
    width: 100%;
    padding: 60px 0;
}

.inkora-benefits-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   HEADER
   ============================================ */
.inkora-benefits-header {
    text-align: center;
    margin-bottom: 40px;
}

.inkora-benefits-title {
    font-size: 36px;
    font-weight: 700;
    margin: 0 0 10px;
    letter-spacing: -0.5px;
}

.inkora-benefits-subtitle {
    font-size: 18px;
    margin: 0;
    opacity: 0.8;
}

/* ============================================
   GRID
   ============================================ */
.inkora-benefits-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

/* ============================================
   BENEFIT CARD
   ============================================ */
.inkora-benefit-card {
    transition: all 0.3s ease;
}

.inkora-benefit-card-inner {
    height: 100%;
    padding: 28px 24px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.inkora-benefit-card-inner:hover {
    transform: translateY(-6px);
}

/* Number */
.inkora-benefit-number {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 14px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.inkora-benefit-number.circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
}

.inkora-benefit-number.square {
    width: 48px;
    height: 48px;
    border-radius: 8px;
}

.inkora-benefit-number.none {
    width: auto;
    height: auto;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

/* Title */
.inkora-benefit-title {
    font-weight: 700;
    margin: 0 0 8px;
    line-height: 1.3;
}

/* Description */
.inkora-benefit-desc {
    line-height: 1.7;
    margin: 0;
    opacity: 0.8;
}

/* ============================================
   DESIGN 1 - Grid Cards
   ============================================ */
.inkora-benefits-design1 .inkora-benefit-card-inner {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.04);
    text-align: center;
}

.inkora-benefits-design1 .inkora-benefit-card-inner:hover {
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

.inkora-benefits-design1 .inkora-benefit-number {
    margin-left: auto;
    margin-right: auto;
}

.inkora-benefits-design1 .inkora-benefit-card-inner:hover .inkora-benefit-number {
    transform: scale(1.1);
}

/* ============================================
   DESIGN 2 - List with Numbers
   ============================================ */
.inkora-benefits-design2 .inkora-benefit-card {
    flex: 0 0 100% !important;
}

.inkora-benefits-design2 .inkora-benefit-card-inner {
    background: transparent;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    display: flex;
    align-items: flex-start;
    gap: 20px;
    border-radius: 0;
    box-shadow: none !important;
}

.inkora-benefits-design2 .inkora-benefit-card-inner:hover {
    transform: none;
    padding-left: 28px;
}

.inkora-benefits-design2 .inkora-benefit-number {
    margin-bottom: 0;
    flex-shrink: 0;
}

.inkora-benefits-design2 .inkora-benefit-content {
    flex: 1;
}

.inkora-benefits-design2 .inkora-benefit-title {
    font-size: 17px;
}

.inkora-benefits-design2 .inkora-benefit-desc {
    font-size: 14px;
}

/* ============================================
   DESIGN 3 - Alternating with Icon
   ============================================ */
.inkora-benefits-design3 .inkora-benefit-card {
    flex: 0 0 100% !important;
}

.inkora-benefits-design3 .inkora-benefit-card-inner {
    background: #ffffff;
    border-radius: 12px;
    padding: 24px 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.04);
    display: flex;
    align-items: center;
    gap: 24px;
}

.inkora-benefits-design3 .inkora-benefit-card-inner:hover {
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

.inkora-benefits-design3 .inkora-benefit-number {
    margin-bottom: 0;
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 50%;
}

.inkora-benefits-design3 .inkora-benefit-content {
    flex: 1;
}

.inkora-benefits-design3 .inkora-benefit-title {
    font-size: 18px;
}

.inkora-benefits-design3 .inkora-benefit-desc {
    font-size: 14px;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes benefitFadeUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes benefitFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes benefitScaleUp {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes benefitSlideLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes benefitSlideRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

.inkora-animate-fadeUp .inkora-benefit-card {
    opacity: 0;
    animation: benefitFadeUp 0.7s ease forwards;
}

.inkora-animate-fadeIn .inkora-benefit-card {
    opacity: 0;
    animation: benefitFadeIn 0.6s ease forwards;
}

.inkora-animate-scaleUp .inkora-benefit-card {
    opacity: 0;
    animation: benefitScaleUp 0.7s ease forwards;
}

.inkora-animate-slideLeft .inkora-benefit-card {
    opacity: 0;
    animation: benefitSlideLeft 0.7s ease forwards;
}

.inkora-animate-slideRight .inkora-benefit-card {
    opacity: 0;
    animation: benefitSlideRight 0.7s ease forwards;
}

/* Stagger delays */
.inkora-animate-fadeUp .inkora-benefit-card:nth-child(1) { animation-delay: 0s; }
.inkora-animate-fadeUp .inkora-benefit-card:nth-child(2) { animation-delay: 0.08s; }
.inkora-animate-fadeUp .inkora-benefit-card:nth-child(3) { animation-delay: 0.16s; }
.inkora-animate-fadeUp .inkora-benefit-card:nth-child(4) { animation-delay: 0.24s; }
.inkora-animate-fadeUp .inkora-benefit-card:nth-child(5) { animation-delay: 0.32s; }
.inkora-animate-fadeUp .inkora-benefit-card:nth-child(6) { animation-delay: 0.4s; }
.inkora-animate-fadeUp .inkora-benefit-card:nth-child(7) { animation-delay: 0.48s; }
.inkora-animate-fadeUp .inkora-benefit-card:nth-child(8) { animation-delay: 0.56s; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 992px) {
    .inkora-benefits-design1 .inkora-benefit-card {
        flex: 0 0 calc(50% - 15px) !important;
    }
    
    .inkora-benefits-design3 .inkora-benefit-card-inner {
        padding: 20px 24px;
        gap: 18px;
    }
}

@media (max-width: 768px) {
    .inkora-benefits {
        padding: 40px 0;
    }
    
    .inkora-benefits-title {
        font-size: 28px;
    }
    
    .inkora-benefits-subtitle {
        font-size: 16px;
    }
    
    .inkora-benefits-grid {
        gap: 20px;
    }
    
    .inkora-benefits-design1 .inkora-benefit-card {
        flex: 0 0 100% !important;
    }
    
    .inkora-benefits-design2 .inkora-benefit-card-inner {
        padding: 12px 16px;
        gap: 14px;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .inkora-benefits-design2 .inkora-benefit-card-inner:hover {
        padding-left: 20px;
    }
    
    .inkora-benefits-design3 .inkora-benefit-card-inner {
        flex-direction: column;
        text-align: center;
        padding: 20px;
        gap: 14px;
    }
    
    .inkora-benefits-design3 .inkora-benefit-number {
        margin-left: auto;
        margin-right: auto;
    }
    
    .inkora-benefit-title {
        font-size: 16px !important;
    }
    
    .inkora-benefit-desc {
        font-size: 14px !important;
    }
}

@media (max-width: 576px) {
    .inkora-benefits {
        padding: 30px 0;
    }
    
    .inkora-benefits-title {
        font-size: 24px;
    }
}

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    .inkora-benefit-card {
        opacity: 1 !important;
        animation: none !important;
    }
    
    .inkora-benefit-card-inner:hover {
        transform: none !important;
    }
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
    .inkora-benefits {
        padding: 20px 0 !important;
    }
    
    .inkora-benefit-card-inner {
        box-shadow: none !important;
        border: 1px solid #ddd !important;
    }
}


:root {
    --inkora-primary: #2398bc;
}

/* ============================================
   CUBES BACKGROUND ANIMATION
   ============================================ */
.inkora-benefits-cubes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.inkora-benefits-cubes .cube {
    position: absolute;
    border-radius: 2px;
    animation: cubeFloat var(--cube-speed, 6s) ease-in-out infinite;
    transform-origin: center;
    will-change: transform;
}

@keyframes cubeFloat {
    0% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
    25% {
        transform: translate(30px, -40px) rotate(90deg) scale(1.1);
    }
    50% {
        transform: translate(-20px, -60px) rotate(180deg) scale(0.9);
    }
    75% {
        transform: translate(40px, -30px) rotate(270deg) scale(1.05);
    }
    100% {
        transform: translate(0, 0) rotate(360deg) scale(1);
    }
}

.inkora-benefits-cubes .cube:nth-child(1) { animation-delay: 0s; }
.inkora-benefits-cubes .cube:nth-child(2) { animation-delay: 0.5s; }
.inkora-benefits-cubes .cube:nth-child(3) { animation-delay: 1s; }
.inkora-benefits-cubes .cube:nth-child(4) { animation-delay: 1.5s; }
.inkora-benefits-cubes .cube:nth-child(5) { animation-delay: 2s; }
.inkora-benefits-cubes .cube:nth-child(6) { animation-delay: 2.5s; }
.inkora-benefits-cubes .cube:nth-child(7) { animation-delay: 3s; }
.inkora-benefits-cubes .cube:nth-child(8) { animation-delay: 3.5s; }
.inkora-benefits-cubes .cube:nth-child(9) { animation-delay: 4s; }
.inkora-benefits-cubes .cube:nth-child(10) { animation-delay: 4.5s; }
.inkora-benefits-cubes .cube:nth-child(11) { animation-delay: 5s; }
.inkora-benefits-cubes .cube:nth-child(12) { animation-delay: 5.5s; }
.inkora-benefits-cubes .cube:nth-child(13) { animation-delay: 6s; }
.inkora-benefits-cubes .cube:nth-child(14) { animation-delay: 6.5s; }
.inkora-benefits-cubes .cube:nth-child(15) { animation-delay: 7s; }
.inkora-benefits-cubes .cube:nth-child(16) { animation-delay: 7.5s; }
.inkora-benefits-cubes .cube:nth-child(17) { animation-delay: 8s; }
.inkora-benefits-cubes .cube:nth-child(18) { animation-delay: 8.5s; }
.inkora-benefits-cubes .cube:nth-child(19) { animation-delay: 9s; }
.inkora-benefits-cubes .cube:nth-child(20) { animation-delay: 9.5s; }
.inkora-benefits-cubes .cube:nth-child(21) { animation-delay: 10s; }
.inkora-benefits-cubes .cube:nth-child(22) { animation-delay: 10.5s; }
.inkora-benefits-cubes .cube:nth-child(23) { animation-delay: 11s; }
.inkora-benefits-cubes .cube:nth-child(24) { animation-delay: 11.5s; }
.inkora-benefits-cubes .cube:nth-child(25) { animation-delay: 12s; }
.inkora-benefits-cubes .cube:nth-child(26) { animation-delay: 12.5s; }
.inkora-benefits-cubes .cube:nth-child(27) { animation-delay: 13s; }
.inkora-benefits-cubes .cube:nth-child(28) { animation-delay: 13.5s; }
.inkora-benefits-cubes .cube:nth-child(29) { animation-delay: 14s; }
.inkora-benefits-cubes .cube:nth-child(30) { animation-delay: 14.5s; }

/* ============================================
   MAIN CONTAINER
   ============================================ */
.inkora-benefits {
    position: relative;
    width: 100%;
    padding: 60px 0;
    overflow: hidden;
}

.inkora-benefits-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}


/* ============================================
   DESIGN 4 - Horizontal Icon + Text
   ============================================ */
.inkora-benefits-design4 .inkora-benefit-card {
    flex: 0 0 100% !important;
}

.inkora-benefits-design4 .inkora-benefit-card-inner {
    background: var(--inkora-card-bg, #ffffff);
    padding: 20px 24px;
    border-radius: var(--inkora-card-radius, 12px);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.inkora-benefits-design4 .inkora-benefit-card-inner:hover {
    transform: translateX(8px);
}

.inkora-benefits-design4 .inkora-benefit-number {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    margin-bottom: 0;
    font-size: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.inkora-benefits-design4 .inkora-benefit-card-inner:hover .inkora-benefit-number {
    transform: scale(1.1);
}

.inkora-benefits-design4 .inkora-benefit-content {
    flex: 1;
}

.inkora-benefits-design4 .inkora-benefit-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 4px;
}

.inkora-benefits-design4 .inkora-benefit-desc {
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
    opacity: 0.8;
}

/* Design 4 Responsive */
@media (max-width: 768px) {
    .inkora-benefits-design4 .inkora-benefit-card-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px;
    }
    
    .inkora-benefits-design4 .inkora-benefit-number {
        margin-bottom: 10px;
    }
}


/* ============================================
   BORDER STYLES (All Designs)
   ============================================ */
.inkora-benefits .inkora-benefit-card-inner {
    border-style: solid;
    border-width: 0px;
    transition: all 0.3s ease;
}

.inkora-benefits.show-border .inkora-benefit-card-inner {
    border-width: 1px;
}

.inkora-benefits .inkora-benefit-card-inner .inkora-benefit-number {
    border-style: solid;
    border-width: 0px;
    transition: all 0.3s ease;
}

.inkora-benefits.show-border .inkora-benefit-card-inner .inkora-benefit-number {
    border-width: 2px;
}