/* Modern Premium Index Styling for 71Tools */
body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    background-color: #f8fafc !important;
}

.index-background {
    background: radial-gradient(circle at 50% 10%, rgba(99, 102, 241, 0.08) 0%, rgba(248, 250, 252, 0) 70%), linear-gradient(180deg, rgba(241, 245, 249, 0.6) 0%, #f8fafc 100%) !important;
    position: relative;
    overflow: hidden;
}

.index-header {
    font-size: 3.25rem !important;
    font-weight: 800 !important;
    letter-spacing: -0.03em !important;
    line-height: 1.15 !important;
    background: linear-gradient(135deg, #0f172a 0%, #4338ca 40%, #ec4899 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

.index-subheader {
    font-size: 1.15rem !important;
    line-height: 1.6 !important;
    color: #64748b !important;
}

.hero-badge {
    transition: all 0.3s ease;
}

.hero-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -4px rgba(99, 102, 241, 0.2) !important;
}

.hero-search-wrapper {
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 30px -5px rgba(99, 102, 241, 0.12) !important;
    border: 1px solid rgba(226, 232, 240, 0.8) !important;
}

.hero-search-wrapper:focus-within {
    box-shadow: 0 15px 35px -5px rgba(99, 102, 241, 0.25) !important;
    transform: translateY(-2px);
    border-color: #6366f1 !important;
}

.category-pills-row .btn {
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

.category-pills-row .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px -2px rgba(0, 0, 0, 0.08) !important;
    border-color: #6366f1 !important;
    color: #4f46e5 !important;
}

.feature-card {
    transition: all 0.25s ease;
    border-color: rgba(226, 232, 240, 0.8) !important;
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px -4px rgba(0, 0, 0, 0.06) !important;
}

#tools .card {
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(226, 232, 240, 0.8) !important;
    border-radius: 1rem !important;
}

#tools .card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px -4px rgba(99, 102, 241, 0.12), 0 4px 12px -2px rgba(15, 23, 42, 0.03) !important;
    border-color: rgba(99, 102, 241, 0.35) !important;
}

#tools .tool-icon {
    border-radius: 0.85rem !important;
    transition: transform 0.25s ease;
}

#tools .card:hover .tool-icon {
    transform: scale(1.1) rotate(3deg);
}

/* Category Banners */
#tools .card[data-category] {
    border-radius: 1.25rem !important;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1) !important;
}

.navbar-main {
    border-radius: 1.25rem !important;
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.04) !important;
    border: 1px solid rgba(226, 232, 240, 0.8) !important;
    padding: 0.6rem 1.25rem !important;
}

.navbar-main .navbar-nav {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 4px !important;
}

.navbar-logo {
    max-height: 38px !important;
    height: auto !important;
    width: auto !important;
    object-fit: contain !important;
}

/* Top Navbar Links Styling */
.top-nav-link {
    color: #334155 !important;
    font-weight: 600 !important;
    font-size: 0.88rem !important;
    line-height: 1 !important;
    transition: all 0.2s ease !important;
    padding: 0.45rem 0.85rem !important;
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: nowrap !important;
    border-radius: 50rem !important;
    text-decoration: none !important;
}

.top-nav-link i, 
.top-nav-link svg {
    margin-right: 6px !important;
    margin-bottom: 0 !important;
    margin-top: 0 !important;
    display: inline-block !important;
    vertical-align: middle !important;
    flex-shrink: 0 !important;
    font-size: 0.9rem !important;
}

.top-nav-link:hover {
    color: #4f46e5 !important;
    background-color: rgba(99, 102, 241, 0.08) !important;
    transform: translateY(-1px);
}

.dropdown-item {
    font-size: 0.875rem !important;
    transition: all 0.15s ease !important;
}

.dropdown-item:hover {
    background-color: rgba(99, 102, 241, 0.08) !important;
    color: #4f46e5 !important;
}

@media (max-width: 768px) {
    .index-header {
        font-size: 2.2rem !important;
    }
    .index-subheader {
        font-size: 1rem !important;
    }
}
