/* Styles from home.html */
.modern-search-container {
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.06);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    border-radius: 50px;
    background: #fff;
}

.modern-search-container:focus-within {
    border-color: rgba(10, 102, 194, 0.3);
    box-shadow: 0 12px 35px rgba(10, 102, 194, 0.1);
}

.modern-tool-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.03);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.modern-tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(10, 102, 194, 0.08);
    border-color: rgba(10, 102, 194, 0.1);
}

.modern-tool-icon-wrapper {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(10, 102, 194, 0.05) 0%, rgba(10, 102, 194, 0.15) 100%);
    margin-bottom: 20px;
    color: #0a66c2;
    transition: all 0.3s ease;
}

.modern-tool-card:hover .modern-tool-icon-wrapper {
    background: #0a66c2;
    color: #fff !important;
    transform: scale(1.05);
}

.modern-tool-card:hover .modern-tool-icon-wrapper i {
    color: #fff !important;
}

.filter-tag {
    border-radius: 30px;
    padding: 8px 20px;
    font-size: 0.9rem;
    font-weight: 500;
    background: #f8f9fa;
    border: 1px solid #eaeaea;
    color: #555;
    transition: all 0.2s ease;
}

.filter-tag:hover {
    background: #e9ecef;
    color: #333;
}

.filter-tag.active {
    background: #0a66c2;
    color: #fff;
    border-color: #0a66c2;
    box-shadow: 0 4px 10px rgba(10, 102, 194, 0.2);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #111;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
}



/* Custom Elegant Badges */
.badge-premium-success {
    background-color: #ecfdf5 !important;
    color: #065f46 !important;
    border: 1px solid #d1fae5;
}

.badge-premium-warning {
    background-color: #fffbeb !important;
    color: #92400e !important;
    border: 1px solid #fef3c7;
}

.badge-premium-danger {
    background-color: #fef2f2 !important;
    color: #991b1b !important;
    border: 1px solid #fee2e2;
}

.badge-premium-neutral {
    background-color: #f8fafc !important;
    color: #475569 !important;
    border: 1px solid #e2e8f0;
}



.text-truncate-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}