/* Home Page Non-Critical Styles - Loaded Async */

/* Transition and Hover Effects (Non-Critical) */
.tag {
    transition: all 0.3s;
}

.tools__item {
    transition: transform 0.3s, box-shadow 0.3s;
}

.tools__item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Premium and Featured Tool Styles */
.tools__item--premium {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: 2px solid #fff;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    transform: translateY(-2px);
}

.tools__item--premium:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.4);
}

.tools__item--premium h3,
.tools__item--premium .tools__item__content {
    color: #fff;
}

.tools__item--featured {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    border: 2px solid #ff9a76;
    box-shadow: 0 6px 20px rgba(252, 182, 159, 0.3);
    transform: translateY(-1px);
}

.tools__item--featured:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(252, 182, 159, 0.4);
}

/* Badge Styles - Modern & Improved */
.badge {
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    padding: 4px 10px !important;
    border-radius: 12px !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    z-index: 2 !important;
    line-height: 1.3 !important;
    backdrop-filter: blur(10px) !important;
    transition: all 0.3s ease !important;
}

.badge--new {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
    color: #fff;
    box-shadow: 0 2px 8px rgba(238, 90, 82, 0.4), 0 0 20px rgba(238, 90, 82, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.badge--premium {
    background: linear-gradient(135deg, #ffd700 0%, #ffb347 100%);
    color: #333;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.5), 0 0 20px rgba(255, 215, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.5);
    font-weight: 800;
}

.badge--featured {
    background: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%);
    color: #fff;
    box-shadow: 0 2px 8px rgba(78, 205, 196, 0.4), 0 0 20px rgba(78, 205, 196, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.badge--coming-soon {
    background: linear-gradient(135deg, #f39c12 0%, #f1c40f 100%);
    color: #333;
    box-shadow: 0 2px 8px rgba(243, 156, 18, 0.4), 0 0 20px rgba(243, 156, 18, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.5);
    font-weight: 800;
    animation: coming-soon-pulse 2s ease-in-out infinite;
}

@keyframes coming-soon-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.tools__item:hover .badge {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3), 0 0 30px currentColor;
}

/* Enhanced icon hover effects */
.tools__item__icon svg {
    transition: transform 0.3s ease;
}

.tools__item:hover .tools__item__icon svg {
    transform: scale(1.1) rotate(5deg);
}

.tools__item--premium:hover .tools__item__icon svg,
.tools__item--featured:hover .tools__item__icon svg {
    transform: scale(1.15) rotate(-5deg);
}

/* Pulse animation for premium tools */
.tools__item--premium {
    animation: premium-pulse 3s infinite;
}

@keyframes premium-pulse {
    0% { box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3); }
    50% { box-shadow: 0 8px 25px rgba(102, 126, 234, 0.5); }
    100% { box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3); }
}

/* Shimmer effect for featured tools */
.tools__item--featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

