/* ================================================
   SENDIFY CASE STUDY ENHANCEMENTS
   ================================================ */

/* THREE PILLAR SYSTEM VISUALIZATION */
.three-pillar-system {
    margin: 48px 0;
    padding: 0;
}

.pillar-header {
    text-align: center;
    margin-bottom: 32px;
    position: relative;
}

.pillar-header h5 {
    font-family: 'Fraunces', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #2C4251;
    margin: 0;
    padding-bottom: 16px;
    position: relative;
}

.pillar-header h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #6B8E4E, #E07856);
    border-radius: 2px;
}

.three-pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    position: relative;
}

/* Connecting line across pillars */
.three-pillars-grid::before {
    content: '';
    position: absolute;
    top: 48px;
    left: 15%;
    right: 15%;
    height: 2px;
    background: linear-gradient(90deg, 
        rgba(107, 142, 78, 0.2) 0%, 
        rgba(107, 142, 78, 0.6) 50%, 
        rgba(107, 142, 78, 0.2) 100%);
    z-index: 0;
}

.pillar-card {
    background: #FFFFFF;
    border: 1px solid rgba(107, 142, 78, 0.15);
    border-radius: 12px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    box-shadow: 0 2px 8px rgba(44, 66, 81, 0.04);
}

.pillar-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(107, 142, 78, 0.12);
    border-color: rgba(107, 142, 78, 0.3);
}

.pillar-icon-large {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #6B8E4E, #7FA05E);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 32px;
    box-shadow: 0 4px 16px rgba(107, 142, 78, 0.25);
    position: relative;
}

.pillar-icon-large::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid rgba(107, 142, 78, 0.2);
}

.pillar-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #2C4251;
    margin: 0 0 16px 0;
    line-height: 1.4;
}

.pillar-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.pillar-list li {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #5A6C7A;
    padding: 8px 0 8px 28px;
    position: relative;
}

.pillar-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #6B8E4E;
    font-weight: 600;
    font-size: 1rem;
}

/* DUAL CHART CONTAINER */
.dual-chart-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin: 32px 0 48px 0;
}

.chart-card {
    background: #FFFFFF;
    border: 1px solid rgba(107, 142, 78, 0.12);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 12px rgba(44, 66, 81, 0.06);
    transition: all 0.3s ease;
}

.chart-card:hover {
    box-shadow: 0 4px 20px rgba(107, 142, 78, 0.12);
    border-color: rgba(107, 142, 78, 0.25);
}

.chart-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #2C4251;
    margin: 0 0 20px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(107, 142, 78, 0.1);
}

.chart-wrapper {
    position: relative;
    width: 100%;
}

/* RESPONSIVE DESIGN */

/* Tablet (768px - 1023px) */
@media (max-width: 1023px) {
    .three-pillars-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .three-pillars-grid::before {
        display: none;
    }
    
    .dual-chart-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .pillar-card {
        padding: 28px 20px;
    }
    
    .pillar-icon-large {
        width: 64px;
        height: 64px;
        font-size: 28px;
    }
}

/* Mobile (< 768px) */
@media (max-width: 767px) {
    .three-pillar-system {
        margin: 32px 0;
    }
    
    .pillar-header h5 {
        font-size: 1.25rem;
    }
    
    .three-pillars-grid {
        gap: 16px;
    }
    
    .pillar-card {
        padding: 24px 16px;
    }
    
    .pillar-icon-large {
        width: 56px;
        height: 56px;
        font-size: 24px;
        margin: 0 auto 16px;
    }
    
    .pillar-title {
        font-size: 1rem;
    }
    
    .pillar-list li {
        font-size: 0.9rem;
        padding: 6px 0 6px 24px;
    }
    
    .dual-chart-container {
        gap: 16px;
        margin: 24px 0 32px 0;
    }
    
    .chart-card {
        padding: 20px 16px;
    }
    
    .chart-title {
        font-size: 0.95rem;
        margin-bottom: 16px;
    }
    
    .chart-wrapper {
        height: 280px !important;
    }
}
