/* Use Cases Section */
.use-cases-section {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    position: relative;
    overflow: hidden;
    margin: 0 1rem 1rem 1rem;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.use-cases-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at top right, rgba(255, 107, 53, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at bottom left, rgba(71, 164, 160, 0.06) 50%, transparent 100%),
        linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.4) 50%, transparent 100%);
    pointer-events: none;
    z-index: 0;
}

.use-cases-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 10% 15%, rgba(34, 197, 94, 0.4) 1px, transparent 1px),
        radial-gradient(circle at 90% 20%, rgba(34, 197, 94, 0.35) 1px, transparent 1px),
        radial-gradient(circle at 25% 25%, rgba(34, 197, 94, 0.3) 1px, transparent 1px),
        radial-gradient(circle at 75% 30%, rgba(34, 197, 94, 0.25) 1px, transparent 1px),
        radial-gradient(circle at 15% 40%, rgba(34, 197, 94, 0.2) 1px, transparent 1px),
        radial-gradient(circle at 85% 45%, rgba(34, 197, 94, 0.15) 1px, transparent 1px),
        radial-gradient(circle at 30% 55%, rgba(34, 197, 94, 0.1) 1px, transparent 1px),
        radial-gradient(circle at 70% 60%, rgba(34, 197, 94, 0.08) 1px, transparent 1px),
        radial-gradient(circle at 20% 70%, rgba(34, 197, 94, 0.06) 1px, transparent 1px),
        radial-gradient(circle at 80% 75%, rgba(34, 197, 94, 0.04) 1px, transparent 1px),
        radial-gradient(circle at 40% 85%, rgba(34, 197, 94, 0.02) 1px, transparent 1px),
        radial-gradient(circle at 60% 90%, rgba(34, 197, 94, 0.01) 1px, transparent 1px);
    background-size: 
        80px 80px,
        85px 85px,
        90px 90px,
        95px 95px,
        100px 100px,
        105px 105px,
        110px 110px,
        115px 115px,
        120px 120px,
        125px 125px,
        130px 130px,
        135px 135px;
    mask: linear-gradient(180deg, 
        rgba(0,0,0,1) 0%, 
        rgba(0,0,0,0.8) 20%, 
        rgba(0,0,0,0.6) 40%, 
        rgba(0,0,0,0.4) 60%, 
        rgba(0,0,0,0.2) 80%, 
        rgba(0,0,0,0.05) 100%
    );
    -webkit-mask: linear-gradient(180deg, 
        rgba(0,0,0,1) 0%, 
        rgba(0,0,0,0.8) 20%, 
        rgba(0,0,0,0.6) 40%, 
        rgba(0,0,0,0.4) 60%, 
        rgba(0,0,0,0.2) 80%, 
        rgba(0,0,0,0.05) 100%
    );
    pointer-events: none;
    z-index: 0;
    animation: checkmarkFloat 15s ease-in-out infinite;
}

@keyframes checkmarkFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-5px) rotate(1deg);
        opacity: 1;
    }
}

.use-cases-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

.use-cases-container::before {
    content: '✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓';
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 100%;
    font-size: 14px;
    color: rgba(34, 197, 94, 0.6);
    letter-spacing: 60px;
    line-height: 80px;
    word-spacing: 20px;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
    mask: linear-gradient(180deg, 
        rgba(0,0,0,1) 0%, 
        rgba(0,0,0,0.9) 15%, 
        rgba(0,0,0,0.7) 30%, 
        rgba(0,0,0,0.5) 45%, 
        rgba(0,0,0,0.3) 60%, 
        rgba(0,0,0,0.15) 75%, 
        rgba(0,0,0,0.05) 90%, 
        rgba(0,0,0,0) 100%
    );
    -webkit-mask: linear-gradient(180deg, 
        rgba(0,0,0,1) 0%, 
        rgba(0,0,0,0.9) 15%, 
        rgba(0,0,0,0.7) 30%, 
        rgba(0,0,0,0.5) 45%, 
        rgba(0,0,0,0.3) 60%, 
        rgba(0,0,0,0.15) 75%, 
        rgba(0,0,0,0.05) 90%, 
        rgba(0,0,0,0) 100%
    );
    animation: checkmarkDrift 20s linear infinite;
}

.use-cases-container::after {
    content: '✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓';
    position: absolute;
    top: 60px;
    left: 30px;
    right: 0;
    height: 100%;
    font-size: 12px;
    color: rgba(34, 197, 94, 0.4);
    letter-spacing: 80px;
    line-height: 100px;
    word-spacing: 30px;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
    mask: linear-gradient(180deg, 
        rgba(0,0,0,0.8) 0%, 
        rgba(0,0,0,0.7) 15%, 
        rgba(0,0,0,0.5) 30%, 
        rgba(0,0,0,0.3) 45%, 
        rgba(0,0,0,0.2) 60%, 
        rgba(0,0,0,0.1) 75%, 
        rgba(0,0,0,0.03) 90%, 
        rgba(0,0,0,0) 100%
    );
    -webkit-mask: linear-gradient(180deg, 
        rgba(0,0,0,0.8) 0%, 
        rgba(0,0,0,0.7) 15%, 
        rgba(0,0,0,0.5) 30%, 
        rgba(0,0,0,0.3) 45%, 
        rgba(0,0,0,0.2) 60%, 
        rgba(0,0,0,0.1) 75%, 
        rgba(0,0,0,0.03) 90%, 
        rgba(0,0,0,0) 100%
    );
    animation: checkmarkDrift 25s linear infinite reverse;
}

@keyframes checkmarkDrift {
    0% {
        transform: translateX(-50px) translateY(0px);
    }
    100% {
        transform: translateX(50px) translateY(-20px);
    }
}

.use-cases-header {
    text-align: center;
    margin-bottom: 60px;
}

.use-cases-title {
    font-family: 'DegularVariable', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 16px;
    line-height: 1.2;
}

.use-cases-subtitle {
    font-size: 1.25rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 40px;
}

.use-case-item {
    background: white;
    border-radius: 12px;
    padding: 20px 16px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
}

.use-case-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.use-case-item:hover::before {
    transform: scaleX(1);
}

.use-case-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.use-case-icon {
    font-size: 2rem;
    margin-bottom: 12px;
    display: block;
}

.use-case-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1a202c;
    margin: 0;
    line-height: 1.3;
}

.use-cases-cta {
    text-align: center;
    margin-top: 50px;
}

.use-cases-cta h3 {
    font-size: 1.5rem;
    color: #1a202c;
    margin-bottom: 12px;
}

.use-cases-cta p {
    color: #64748b;
    margin-bottom: 24px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .use-cases-section {
        padding: 60px 0;
    }
    
    .use-cases-title {
        font-size: 2.5rem;
    }
    
    .use-cases-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 12px;
    }
    
    .use-case-item {
        padding: 16px 12px;
    }
    
    .use-case-icon {
        font-size: 1.5rem;
        margin-bottom: 8px;
    }
    
    .use-case-title {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .use-cases-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    
    .use-case-item {
        padding: 12px 8px;
    }
    
    .use-case-title {
        font-size: 0.7rem;
        line-height: 1.2;
    }
    
    .use-case-icon {
        font-size: 1.2rem;
        margin-bottom: 6px;
    }
}

/* Animation for scroll reveal */
.use-case-item {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.use-case-item:nth-child(n) {
    animation-delay: calc(var(--index) * 0.05s);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
