/* Apple-style Comparison Grid */
.apple-comparison-grid {
    margin-top: 40px;
    margin-left: -20px;
    margin-right: -20px;
}

/* Solution Cards Row */
.comparison-solutions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 50px;
    padding: 0 20px;
}

.solution-comparison-card {
    background: var(--background-card);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    border: 1px solid var(--border-color);
    position: relative;
    transition: all 0.3s ease;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.solution-comparison-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.solution-comparison-card.featured {
    background: linear-gradient(135deg, rgba(123, 167, 204, 0.05) 0%, rgba(123, 167, 204, 0.1) 100%);
    border-color: var(--artemed-blue);
    transform: scale(1.02);
    box-shadow: 0 8px 32px rgba(123, 167, 204, 0.12);
}

.solution-icon-large {
    font-size: 56px;
    margin-bottom: 16px;
    display: block;
    line-height: 1;
}

.solution-comparison-card h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.solution-comparison-card p {
    font-size: 16px;
    color: var(--text-secondary);
    margin: 0;
}

.recommended-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--artemed-blue);
    color: white;
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Comparison Metrics */
.comparison-metrics {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 0 20px;
}

.metric-row {
    display: grid;
    grid-template-columns: 180px 1fr;
    align-items: center;
    gap: 32px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
}

.metric-row:last-child {
    border-bottom: none;
}

.metric-label {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
}

.metric-values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.metric-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.metric-item.highlight {
    position: relative;
}

.metric-icon {
    font-size: 32px;
    display: block;
}

/* Progress Indicators */
.progress-indicator {
    width: 100%;
    max-width: 150px;
    height: 8px;
    background: var(--gray-200);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--artemed-blue);
    transition: width 0.6s ease;
    border-radius: 4px;
}

.progress-indicator.short .progress-fill {
    background: var(--accent-green);
}

.progress-indicator.long .progress-fill {
    background: var(--accent-orange);
}

/* ROI Indicators */
.roi-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 20px;
    background: var(--background-secondary);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    min-width: 100px;
}

.roi-indicator.best {
    background: linear-gradient(135deg, rgba(115, 192, 136, 0.1) 0%, rgba(115, 192, 136, 0.2) 100%);
    border-color: var(--accent-green);
}

.roi-value {
    font-size: 32px;
    font-weight: 700;
    line-height: 1;
    color: var(--text-primary);
}

.roi-unit {
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 4px;
}

/* Star Rating */
.star-rating {
    display: flex;
    gap: 4px;
    font-size: 20px;
}

.star {
    color: var(--gray-300);
}

.star.filled {
    color: var(--accent-orange);
}

/* Complexity Dots */
.complexity-dots {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
}

.complexity-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gray-300);
}

.complexity-dots .dot.active {
    background: var(--artemed-blue);
}

/* Special styling for slide-22 to maximize space */
#slide-22 .content {
    max-width: 1400px;
}

#slide-22 .section-title {
    margin-bottom: 30px;
}

/* Responsive */
@media (max-width: 1024px) {
    .apple-comparison-grid {
        margin-left: 0;
        margin-right: 0;
    }
    
    .comparison-solutions {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 0;
    }
    
    .solution-comparison-card {
        min-height: auto;
        padding: 24px 20px;
    }
    
    .solution-comparison-card.featured {
        transform: scale(1);
        order: -1; /* Featured card first on mobile */
    }
    
    .solution-icon-large {
        font-size: 48px;
    }
    
    .metric-row {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 16px 0;
    }
    
    .metric-label {
        font-size: 14px;
        text-align: center;
        margin-bottom: 12px;
    }
    
    .metric-values {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .metric-item {
        background: var(--background-card);
        padding: 16px;
        border-radius: 12px;
        border: 1px solid var(--border-color);
    }
    
    .comparison-metrics {
        padding: 0;
        gap: 20px;
    }
    
    /* Hide complex elements on very small screens */
    .progress-indicator {
        max-width: 120px;
    }
    
    .roi-indicator {
        padding: 8px 16px;
    }
    
    .roi-value {
        font-size: 24px;
    }
    
    /* Simplify star rating */
    .star-rating {
        font-size: 16px;
    }
    
    /* Stack complexity dots vertically */
    .complexity-dots {
        justify-content: center;
    }
}

/* Very small screens */
@media (max-width: 480px) {
    #slide-19 .section-title {
        font-size: 32px;
        margin-bottom: 20px;
    }
    
    .solution-comparison-card h3 {
        font-size: 20px;
    }
    
    .solution-comparison-card p {
        font-size: 14px;
    }
    
    .recommended-badge {
        font-size: 10px;
        padding: 3px 8px;
    }
}