/* ===== RESET & VARIABLES ===== */
:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --secondary: #ec4899;
    --accent: #f59e0b;
    --gradient: linear-gradient(135deg, #6366f1 0%, #ec4899 100%);
    --gradient-2: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --bg: #ffffff;
    --bg-light: #f8fafc;
    --bg-soft: #f1f5f9;
    --text: #1e293b;
    --text-light: #64748b;
    --border: #e2e8f0;
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.05);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 60px rgba(99, 102, 241, 0.15);
    --radius: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', 'Poppins', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    text-align: center;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== BUTTON ===== */
.btn-primary-custom {
    background: var(--gradient);
    color: #fff !important;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

.btn-primary-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(99, 102, 241, 0.5);
    color: #fff;
}

/* ===== NAVBAR ===== */
.navbar {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 15px 0;
    transition: var(--transition);
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid var(--border);
    padding: 10px 0;
}

.navbar-brand {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient);
    color: #fff;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 6px 15px rgba(99, 102, 241, 0.4);
}

.logo-accent {
    color: var(--primary);
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--text);
    margin: 0 12px;
    position: relative;
    transition: var(--transition);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: width 0.3s;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 100%;
}

.navbar-nav .nav-link.active {
    color: var(--primary) !important;
    font-weight: 600;
}

.navbar-nav .nav-link:hover {
    color: var(--primary);
}

.navbar-toggler {
    border: none;
    font-size: 1.5rem;
    color: var(--primary);
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* ===== HERO SECTION ===== */
.hero-section {
    position: relative;
    padding: 160px 0 100px;
    background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 50%, #fdf2f8 100%);
    overflow: hidden;
}

.hero-bg-shapes .shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: floatShape 8s ease-in-out infinite;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: #a5b4fc;
    top: -100px;
    left: -100px;
}

.shape-2 {
    width: 350px;
    height: 350px;
    background: #f9a8d4;
    bottom: -80px;
    right: -80px;
    animation-delay: -2s;
}

.shape-3 {
    width: 250px;
    height: 250px;
    background: #fde68a;
    top: 50%;
    left: 50%;
    animation-delay: -4s;
}

@keyframes floatShape {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(30px, -30px) scale(1.1);
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.hero-title {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.typed-text {
    color: var(--secondary);
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 40px;
}

.hero-search {
    max-width: 600px;
    margin: 0 auto 50px;
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 50px;
    padding: 8px 8px 8px 24px;
    box-shadow: var(--shadow);
    position: relative;
}

.hero-search i {
    color: var(--text-light);
    margin-right: 12px;
}

.hero-search input {
    flex: 1;
    border: none;
    outline: none;
    padding: 14px 0;
    font-size: 1rem;
    background: transparent;
}

.search-btn {
    background: var(--gradient);
    color: #fff;
    border: none;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.search-btn:hover {
    transform: scale(1.05);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 5px;
}

.stat-item p {
    color: var(--text-light);
    font-weight: 500;
}

/* ===== SECTION HEADER ===== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.section-desc {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== TOOLS SECTION ===== */
/* ===== TOOLS SECTION ===== */
.tools-section {
    padding: 100px 0;
    background: var(--bg);
}

/* ✅ Categories Wrapper - Horizontal Scroll */
.tool-categories-wrapper {
    position: relative;
    margin-bottom: 30px;
    overflow: hidden;
}

.tool-categories-wrapper::before,
.tool-categories-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    width: 40px;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.tool-categories-wrapper::before {
    left: 0;
    background: linear-gradient(90deg, var(--bg) 0%, transparent 100%);
}

.tool-categories-wrapper::after {
    right: 0;
    background: linear-gradient(-90deg, var(--bg) 0%, transparent 100%);
}

.tool-categories {
    display: flex;
    flex-wrap: nowrap;
    /* ✅ NO LINE BREAK */
    overflow-x: auto;
    /* ✅ HORIZONTAL SCROLL */
    overflow-y: hidden;
    gap: 12px;
    padding: 5px 30px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) transparent;
}

/* Custom scrollbar */
.tool-categories::-webkit-scrollbar {
    height: 5px;
}

.tool-categories::-webkit-scrollbar-track {
    background: transparent;
}

.tool-categories::-webkit-scrollbar-thumb {
    background: var(--gradient);
    border-radius: 10px;
}

.cat-btn {
    background: var(--bg-soft);
    border: 2px solid transparent;
    padding: 10px 22px;
    border-radius: 50px;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    /* ✅ TEXT EK LINE MEIN */
    flex-shrink: 0;
    /* ✅ SHRINK NA HO */
    font-size: 0.95rem;
}

.cat-btn:hover {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
    transform: translateY(-2px);
}

.cat-btn.active {
    background: var(--gradient);
    color: #fff;
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

/* ===== ✅ TOOLS SEARCH BAR ===== */
.tools-search-wrapper {
    max-width: 600px;
    margin: 0 auto 50px;
    position: relative;
}

.tools-search-box {
    display: flex;
    align-items: center;
    background: #fff;
    border: 2px solid var(--border);
    border-radius: 50px;
    padding: 6px 6px 6px 22px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
}

.tools-search-box:focus-within {
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.15);
    transform: translateY(-2px);
}

.tools-search-box .search-icon {
    color: var(--primary);
    font-size: 1.1rem;
    margin-right: 12px;
}

.tools-search-box input {
    flex: 1;
    border: none;
    outline: none;
    padding: 14px 0;
    font-size: 1rem;
    background: transparent;
    color: var(--text);
}

.tools-search-box input::placeholder {
    color: var(--text-light);
}

.clear-search {
    background: var(--bg-soft);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--text-light);
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.clear-search.show {
    display: flex;
}

.clear-search:hover {
    background: var(--secondary);
    color: #fff;
    transform: rotate(90deg);
}

/* ===== SCROLL BUTTONS ===== */
.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    background: var(--gradient);
    color: #fff;
    z-index: 5;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: 0.3s;
}

.scroll-btn:hover {
    transform: translateY(-50%) scale(1.1);
}

.scroll-btn.left {
    left: 5px;
    display: none;
}

.scroll-btn.right {
    right: 5px;
}

/* ❌ REMOVE SUGGESTIONS COMPLETELY */
.search-suggestions {
    display: none !important;
}


.suggestion-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 20px;
    cursor: pointer;
    transition: var(--transition);
    border-bottom: 1px solid var(--bg-soft);
    text-align: left;
}

.suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-item:hover {
    background: var(--bg-soft);
    padding-left: 25px;
}

.suggestion-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1rem;
    flex-shrink: 0;
}

.suggestion-info h6 {
    margin: 0 0 2px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
}

.suggestion-info p {
    margin: 0;
    font-size: 0.8rem;
    color: var(--text-light);
}

.suggestion-empty {
    padding: 30px 20px;
    text-align: center;
    color: var(--text-light);
}

.suggestion-empty i {
    font-size: 2rem;
    color: var(--secondary);
    margin-bottom: 10px;
    display: block;
}

.suggestion-empty h6 {
    color: var(--text);
    font-weight: 700;
    margin-bottom: 5px;
}

.suggestion-empty p {
    margin: 0;
    font-size: 0.88rem;
}

/* ===== ✅ NO RESULTS MESSAGE ===== */
.no-results-box {
    background: linear-gradient(135deg, #fef3f2 0%, #fef9f3 100%);
    border: 2px dashed var(--secondary);
    border-radius: var(--radius);
    padding: 60px 30px;
    text-align: center;
    margin: 30px auto;
    max-width: 600px;
}

.no-results-box i {
    font-size: 4rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
}

.no-results-box h3 {
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--text);
}

.no-results-box p {
    color: var(--text-light);
    margin-bottom: 25px;
    font-size: 1rem;
}

/* Mobile responsive */
@media (max-width: 576px) {
    .tool-categories {
        gap: 8px;
        padding: 5px 20px;
    }

    .cat-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    .tools-search-box input {
        padding: 12px 0;
        font-size: 0.95rem;
    }

    .no-results-box {
        padding: 40px 20px;
    }

    .no-results-box i {
        font-size: 3rem;
    }
}

.tool-card {
    display: block;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px 22px;
    text-align: center;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient);
    opacity: 0;
    transition: var(--transition);
    z-index: 0;
}

.tool-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.tool-icon {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    color: #fff;
    font-size: 1.8rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.tool-card:hover .tool-icon {
    transform: rotate(-8deg) scale(1.1);
}

.tool-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text);
    position: relative;
    z-index: 1;
}

.tool-card p {
    font-size: 0.88rem;
    color: var(--text-light);
    margin-bottom: 0;
    position: relative;
    z-index: 1;
}

.tool-arrow {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 35px;
    height: 35px;
    background: var(--bg-soft);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    opacity: 0;
    transition: var(--transition);
    z-index: 1;
}

.tool-card:hover .tool-arrow {
    opacity: 1;
    right: 15px;
}

/* ===== HOW IT WORKS ===== */
.how-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg-light) 0%, #fff 100%);
}

.step-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    position: relative;
    transition: var(--transition);
    height: 100%;
}

.step-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.step-number {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 4rem;
    font-weight: 900;
    color: rgba(99, 102, 241, 0.08);
    line-height: 1;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    color: #fff;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 2rem;
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.3);
}

.step-card h4 {
    font-weight: 700;
    margin-bottom: 12px;
    font-size: 1.3rem;
}

.step-card p {
    color: var(--text-light);
}

/* ===== FEATURES ===== */
.features-section {
    padding: 100px 0;
    background: var(--bg);
}

.feature-box {
    background: #fff;
    padding: 35px 25px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    text-align: center;
    transition: var(--transition);
    height: 100%;
}

.feature-box:hover {
    transform: translateY(-6px);
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.feature-box i {
    font-size: 2.5rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 18px;
}

.feature-box h5 {
    font-weight: 700;
    margin-bottom: 10px;
}

.feature-box p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin: 0;
}

/* ===== FAQs ===== */
.faqs-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #fff 0%, var(--bg-light) 100%);
}

.accordion-item {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius) !important;
    margin-bottom: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.accordion-button {
    font-weight: 600;
    font-size: 1.05rem;
    padding: 20px 24px;
    color: var(--text);
    background: #fff;
    display: flex;
    align-items: center;
    gap: 12px;
}

.accordion-button:not(.collapsed) {
    color: var(--primary);
    background: rgba(99, 102, 241, 0.05);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border: none;
}

.accordion-button i {
    color: var(--primary);
}

.accordion-body {
    padding: 8px 24px 24px;
    color: var(--text-light);
    text-align: left;
}

/* ===== CTA ===== */
.cta-section {
    padding: 80px 0;
}

.cta-box {
    background: var(--gradient);
    border-radius: 30px;
    padding: 70px 40px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.cta-box h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    position: relative;
}

.cta-box p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.95;
    position: relative;
}

.cta-box .btn-primary-custom {
    background: #fff;
    color: var(--primary) !important;
    position: relative;
}

/* ===== FOOTER ===== */
/* ===== FOOTER ===== */
.footer {
    background: #0f172a;
    color: #cbd5e1;
    padding: 100px 0 30px;
    /* ✅ Bigger footer */
    text-align: center;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.5), transparent);
}

.footer-logo {
    font-size: 2rem;
    /* ✅ Bigger logo */
    font-weight: 800;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-logo .logo-icon {
    width: 45px;
    height: 45px;
    font-size: 1.4rem;
}

.footer p {
    color: #94a3b8;
    line-height: 1.8;
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto 25px;
}

.footer h5 {
    color: #fff;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer ul li {
    margin-bottom: 10px;
}

.footer ul li a {
    color: #94a3b8;
    transition: var(--transition);
}

.footer ul li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

/* ✅ Social icons CENTER */
.social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.social-icons a {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    transition: var(--transition);
}

.social-icons a:hover {
    background: var(--gradient);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.4);
    border-color: transparent;
}

.footer hr {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 50px 0 25px;
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    width: 100%;
}

.footer-bottom p {
    margin: 0 auto;
    font-size: 0.95rem;
    color: #94a3b8;
    text-align: center;
    max-width: 100%;
    display: block;
}

.footer-bottom i {
    color: #ec4899;
    animation: heartBeat 1.5s ease-in-out infinite;
}

@keyframes heartBeat {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }
}

/* ===== BACK TO TOP ===== */
/* ===== BACK TO TOP ===== */
#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 55px;
    height: 55px;
    background: var(--gradient);
    color: #fff !important;
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.4);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

#backToTop.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#backToTop:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 15px 35px rgba(99, 102, 241, 0.6);
}

#backToTop i {
    color: #fff;
    pointer-events: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    .navbar-collapse {
        background: #fff;
        margin-top: 15px;
        padding: 20px;
        border-radius: var(--radius);
        box-shadow: var(--shadow);
    }

    .navbar-nav {
        margin-bottom: 15px;
    }

    .hero-stats {
        gap: 30px;
    }

    .stat-item h3 {
        font-size: 2rem;
    }

    .cta-box h2 {
        font-size: 1.8rem;
    }

    .cta-box {
        padding: 50px 25px;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 130px 0 70px;
    }

    .hero-search {
        flex-direction: column;
        padding: 12px;
        gap: 10px;
        border-radius: 20px;
    }

    .hero-search input {
        width: 100%;
        text-align: center;
    }

    .search-btn {
        width: 100%;
    }

    .hero-stats {
        gap: 25px;
    }

    .tool-categories {
        gap: 8px;
    }

    .cat-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    #backToTop {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}



/* ===== TOOL BADGES ===== */
.tool-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 10px;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 50px;
    color: #fff;
    z-index: 2;
}

/* 🔥 Popular */
.tool-badge.popular {
    background: linear-gradient(135deg, #ff416c, #ff4b2b);
}

/* 🆕 New */
.tool-badge.new {
    background: linear-gradient(135deg, #00c6ff, #0072ff);
}