/* ============================================
   SENDIFY BEHAVIORAL PIVOT HIGHLIGHT
   ============================================ */

/* Pivot Insight Section */
.pivot-insight-section {
    background: #f0f9ff;
    border: 2px solid #0ea5e9;
    border-radius: 16px;
    padding: 40px;
    margin: 32px 0;
}

.pivot-insight-title {
    font-size: 24px;
    font-weight: 700;
    color: #0c4a6e;
    margin: 0 0 20px 0;
    line-height: 1.3;
}

.pivot-insight-intro {
    font-size: 16px;
    line-height: 1.7;
    color: #374151;
    margin-bottom: 20px;
}

.pivot-key-insight {
    background: white;
    border-left: 4px solid #0ea5e9;
    border-radius: 8px;
    padding: 20px 24px;
    margin: 24px 0;
    box-shadow: 0 2px 8px rgba(14, 165, 233, 0.1);
}

.insight-statement {
    font-size: 17px;
    font-weight: 600;
    font-style: italic;
    color: #0c4a6e;
    margin: 0;
    line-height: 1.6;
}

.pivot-insight-text {
    font-size: 15px;
    line-height: 1.7;
    color: #374151;
    margin-bottom: 24px;
}

.pivot-constraint {
    background: white;
    border: 2px solid #fbbf24;
    border-radius: 12px;
    padding: 24px;
    margin-top: 24px;
}

.constraint-title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #92400e;
    margin: 0 0 12px 0;
}

.constraint-text {
    font-size: 15px;
    line-height: 1.7;
    color: #374151;
    margin-bottom: 12px;
}

.constraint-emphasis {
    font-size: 15px;
    font-weight: 600;
    font-style: italic;
    color: #92400e;
    margin: 0;
}

/* Pivot Solution Section */
.pivot-solution-section {
    background: white;
    border: 2px solid #10b981;
    border-radius: 16px;
    padding: 40px;
    margin: 32px 0;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.1);
}

.pivot-solution-title {
    font-size: 24px;
    font-weight: 700;
    color: #065f46;
    margin: 0 0 20px 0;
    line-height: 1.3;
}

.pivot-solution-intro {
    font-size: 16px;
    line-height: 1.7;
    color: #374151;
    margin-bottom: 16px;
    font-weight: 500;
}

.pivot-solution-text {
    font-size: 15px;
    line-height: 1.7;
    color: #374151;
    margin-bottom: 12px;
}

.pivot-solution-list {
    list-style: none;
    padding-left: 0;
    margin: 20px 0;
}

.pivot-solution-list li {
    position: relative;
    padding-left: 32px;
    margin-bottom: 14px;
    font-size: 15px;
    line-height: 1.6;
    color: #374151;
}

.pivot-solution-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: 700;
    font-size: 18px;
}

.pivot-solution-outcome {
    font-size: 16px;
    line-height: 1.7;
    color: #065f46;
    font-weight: 600;
    margin-top: 24px;
    margin-bottom: 0;
}

/* Mobile Responsiveness */
@media (max-width: 767px) {
    .pivot-insight-section,
    .pivot-solution-section {
        padding: 28px 20px;
        margin: 24px 0;
    }

    .pivot-insight-title,
    .pivot-solution-title {
        font-size: 20px;
    }

    .pivot-insight-intro,
    .pivot-solution-intro {
        font-size: 15px;
    }

    .insight-statement {
        font-size: 16px;
    }

    .pivot-key-insight {
        padding: 16px 20px;
        margin: 20px 0;
    }

    .pivot-constraint {
        padding: 20px 16px;
    }

    .constraint-title {
        font-size: 13px;
    }

    .pivot-insight-text,
    .pivot-solution-text,
    .constraint-text {
        font-size: 14.5px;
    }

    .pivot-solution-list li {
        font-size: 14.5px;
        padding-left: 28px;
    }

    .pivot-solution-outcome {
        font-size: 15px;
    }
}

/* Tablet Adjustments */
@media (min-width: 768px) and (max-width: 1024px) {
    .pivot-insight-section,
    .pivot-solution-section {
        padding: 36px 28px;
    }

    .pivot-insight-title,
    .pivot-solution-title {
        font-size: 22px;
    }
}

/* OLD STYLES BELOW - Kept for backward compatibility */

/* Breakthrough section styling */
.case-breakthrough {
    margin: var(--spacing-3xl) 0;
    padding: var(--spacing-2xl);
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 16px;
    border: 3px solid var(--accent-sendify);
    position: relative;
    overflow: hidden;
}

.case-breakthrough::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, 
        var(--accent-sendify) 0%, 
        #0ea5e9 50%, 
        var(--accent-sendify) 100%);
}

/* Breakthrough highlight card */
.breakthrough-highlight {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: var(--spacing-2xl);
    padding: var(--spacing-xl);
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(14, 165, 233, 0.15);
}

.breakthrough-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-sendify) 0%, #0ea5e9 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5rem;
    box-shadow: 0 8px 24px rgba(14, 165, 233, 0.3);
    animation: pulseGlow 3s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 8px 24px rgba(14, 165, 233, 0.3);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 8px 32px rgba(14, 165, 233, 0.5);
        transform: scale(1.05);
    }
}

.breakthrough-content {
    flex: 1;
}

.breakthrough-title {
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--accent-sendify);
    margin-bottom: var(--spacing-sm);
    line-height: 1.3;
}

.breakthrough-subtitle {
    font-size: var(--text-lg);
    color: var(--color-charcoal);
    font-style: italic;
    line-height: 1.6;
    margin: 0;
}

/* Pivot explanation sections */
.pivot-explanation {
    display: grid;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-2xl);
}

.pivot-section {
    background: white;
    padding: var(--spacing-xl);
    border-radius: 12px;
    border-left: 4px solid var(--accent-sendify);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.pivot-section h6 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: var(--spacing-md);
}

.pivot-icon {
    color: var(--accent-sendify);
    font-size: 1.4rem;
}

.pivot-section p {
    color: var(--color-charcoal);
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
}

.pivot-section ul {
    margin: var(--spacing-md) 0 0 0;
    padding-left: var(--spacing-lg);
}

.pivot-section li {
    color: var(--color-charcoal);
    line-height: 1.8;
    margin-bottom: var(--spacing-sm);
}

.pivot-section li strong {
    color: var(--accent-sendify);
    font-weight: 600;
}

/* Pivot callout quote */
.pivot-callout {
    background: linear-gradient(135deg, var(--accent-sendify) 0%, #0ea5e9 100%);
    color: white;
    padding: var(--spacing-2xl);
    border-radius: 12px;
    position: relative;
    font-size: var(--text-lg);
    line-height: 1.8;
    box-shadow: 0 8px 24px rgba(14, 165, 233, 0.3);
}

.pivot-callout i.fa-quote-left {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 2rem;
    opacity: 0.3;
}

.pivot-callout i.fa-quote-right {
    position: absolute;
    bottom: 20px;
    right: 20px;
    font-size: 2rem;
    opacity: 0.3;
}

.pivot-callout p {
    margin: 0;
    padding: 0 40px;
}

.pivot-callout strong {
    font-weight: 700;
    font-size: 1.1em;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .breakthrough-highlight {
        flex-direction: column;
        text-align: center;
    }
    
    .breakthrough-icon {
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }
    
    .breakthrough-title {
        font-size: var(--text-xl);
    }
    
    .breakthrough-subtitle {
        font-size: var(--text-base);
    }
    
    .pivot-callout {
        padding: var(--spacing-xl);
        font-size: var(--text-base);
    }
    
    .pivot-callout p {
        padding: 0 20px;
    }
}
