/* Solutions Page Styles */

/* Smooth animations for impact points */
.impact-point {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
}

.impact-point[data-index="0"] { animation-delay: 0.1s; }
.impact-point[data-index="1"] { animation-delay: 0.2s; }
.impact-point[data-index="2"] { animation-delay: 0.3s; }
.impact-point[data-index="3"] { animation-delay: 0.4s; }
.impact-point[data-index="4"] { animation-delay: 0.5s; }
.impact-point[data-index="5"] { animation-delay: 0.6s; }
.impact-point[data-index="6"] { animation-delay: 0.7s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Use case card hover effects */
.use-case {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.use-case::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #C7E700, #16366B);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.use-case:hover::before {
    transform: scaleX(1);
}

.use-case:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .impact-point {
        padding: 1rem;
    }
    
    .impact-point h3 {
        font-size: 1rem;
    }
    
    .use-case {
        padding: 0.75rem;
        font-size: 0.875rem;
    }
}

@media (max-width: 640px) {
    .impact-point {
        border-radius: 0.75rem;
        margin-bottom: 1rem;
    }
    
    .impact-point > div:first-child {
        flex-direction: row;
        align-items: center;
        padding-bottom: 0.75rem;
        margin-bottom: 0.75rem;
        border-bottom: 1px solid #f3f4f6;
    }
    
    .impact-point > div:first-child .w-10 {
        width: 2.5rem;
        height: 2.5rem;
    }
}

/* Tablet specific styles */
@media (min-width: 641px) and (max-width: 1024px) {
    .impact-point {
        grid-template-columns: 1fr;
    }
    
    .impact-point > div:first-child {
        flex-direction: row;
        align-items: center;
        padding-bottom: 1rem;
        margin-bottom: 1rem;
        border-bottom: 1px solid #f3f4f6;
        border-right: none;
        padding-right: 0;
    }
    
    .impact-point h3 {
        font-size: 1.125rem;
    }
}

/* Large desktop styles */
@media (min-width: 1536px) {
    .container {
        max-width: 1280px;
    }
    
    .impact-point {
        padding: 2rem;
    }
    
    .use-case {
        padding: 1.5rem;
        font-size: 1rem;
    }
}

/* Custom scrollbar for better UX */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a1a1a1;
}

/* Print styles */
@media print {
    .impact-point {
        break-inside: avoid;
        border: 1px solid #ddd;
        box-shadow: none;
    }
    
    .use-case {
        border: 1px solid #eee;
        box-shadow: none;
    }
}

/* Dark mode support (optional) */
@media (prefers-color-scheme: dark) {
    .impact-point {
        background-color: #1f2937;
        border-color: #374151;
    }
    
    .use-case {
        background-color: #111827;
        border-color: #374151;
        color: #d1d5db;
    }
    
    .use-case:hover {
        background-color: #1f2937;
        border-color: #C7E700;
    }
    
    .impact-point h3 {
        color: #f3f4f6;
    }
}