* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Inter, Arial, sans-serif;
    background: #07090d;
    color: #f5f7fa;
    min-height: 100vh;
}


/* ================= NAVBAR ================= */

.navbar {
    width: 100%;
    border-bottom: 1px solid #181c24;
    background: rgba(7, 9, 13, 0.88);
    backdrop-filter: blur(14px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1180px;
    margin: auto;
    height: 72px;
    padding: 0 24px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;

    color: white;
    text-decoration: none;

    font-size: 18px;
    font-weight: 700;
}

.logo-icon {
    width: 34px;
    height: 34px;

    display: grid;
    place-items: center;

    border: 1px solid #2b313d;
    border-radius: 9px;

    font-size: 14px;
    color: #9da7b8;

    transition: 0.25s ease;
}

.logo:hover .logo-icon {
    border-color: #6366f1;
    color: #9ba5ff;
}

.logo-accent {
    color: #7c8cff;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: #9299a8;
    text-decoration: none;

    font-size: 14px;

    transition: 0.2s ease;
}

.nav-links a:hover {
    color: white;
}

.login-btn {
    border: 1px solid #303641;
    background: #11151c;

    color: white;

    padding: 9px 17px;

    border-radius: 8px;

    cursor: pointer;

    transition: 0.2s ease;
}

.login-btn:hover {
    background: #181d26;
    border-color: #454d5c;
}


/* ================= HERO ================= */

.hero {
    min-height: 570px;

    display: flex;
    justify-content: center;
    align-items: center;

    text-align: center;

    position: relative;
    overflow: hidden;
}

.hero-glow {
    position: absolute;

    width: 650px;
    height: 350px;

    background: rgba(82, 96, 255, 0.13);

    filter: blur(110px);

    border-radius: 50%;

    top: 70px;

    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;

    width: min(800px, 90%);

    animation: heroEnter 0.7s ease both;
}

@keyframes heroEnter {

    from {
        opacity: 0;
        transform: translateY(15px);
    }

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

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    border: 1px solid #272d39;
    background: #0d1016;

    padding: 7px 12px;

    border-radius: 999px;

    color: #aab2c0;

    font-size: 12px;
}

.status-dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #6dff9a;

    box-shadow: 0 0 10px rgba(109, 255, 154, 0.5);
}

.hero h1 {
    margin-top: 25px;

    font-size: clamp(48px, 7vw, 82px);

    line-height: 0.98;

    letter-spacing: -4px;
}

.hero h1 span {
    color: #8994ff;
}

.hero p {
    max-width: 560px;

    margin: 25px auto 30px;

    color: #8d95a5;

    font-size: 17px;

    line-height: 1.7;
}


/* ================= SEARCH ================= */

.search-box {
    width: min(600px, 100%);
    height: 58px;

    margin: auto;

    display: flex;
    align-items: center;

    padding: 0 17px;

    background: rgba(13, 17, 24, 0.95);

    border: 1px solid #292f3a;

    border-radius: 12px;

    transition: 0.25s ease;
}

.search-box:hover {
    border-color: #394150;
}

.search-box:focus-within {
    border-color: #5965c9;

    box-shadow:
        0 0 0 4px rgba(89, 101, 201, 0.08),
        0 10px 40px rgba(0, 0, 0, 0.2);
}

.search-icon {
    font-size: 25px;

    color: #70798a;

    margin-right: 10px;
}

.search-box input {
    flex: 1;

    min-width: 0;

    background: transparent;

    border: none;
    outline: none;

    color: white;

    font-size: 15px;
}

.search-box input::placeholder {
    color: #626b7a;
}

.search-key {
    border: 1px solid #303642;

    border-radius: 6px;

    padding: 3px 8px;

    color: #737c8c;

    font-size: 12px;
}


/* ================= TOOLS ================= */

.tools-section {
    max-width: 1180px;

    margin: auto;

    padding: 80px 24px;
}

.section-heading {
    display: flex;

    justify-content: space-between;
    align-items: end;

    margin-bottom: 30px;
}

.section-label {
    color: #687182;

    font-size: 11px;

    letter-spacing: 2px;

    font-weight: 700;
}

.section-heading h2 {
    margin-top: 8px;

    font-size: 32px;

    letter-spacing: -1px;
}

.tool-count {
    color: #697283;

    font-size: 13px;
}


/* ================= TOOL GRID ================= */

.tools-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 14px;
}


/* ================= TOOL CARD ================= */

.tool-card {
    position: relative;

    display: block;

    padding: 24px;

    min-height: 180px;

    background: #0c1016;

    border: 1px solid #1d222c;

    border-radius: 14px;

    cursor: pointer;

    text-decoration: none;
    color: inherit;

    overflow: hidden;

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease;
}

.tool-card::before {
    content: "";

    position: absolute;

    width: 180px;
    height: 180px;

    top: -100px;
    right: -100px;

    background: rgba(99, 102, 241, 0.08);

    border-radius: 50%;

    filter: blur(30px);

    opacity: 0;

    transition: 0.3s ease;
}

.tool-card:hover {
    transform: translateY(-5px);

    border-color: #353d4d;

    background: #10151d;

    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.22);
}

.tool-card:hover::before {
    opacity: 1;
}

.tool-icon {
    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    margin-bottom: 20px;

    border-radius: 10px;

    background: #151a23;

    border: 1px solid #272e3a;

    color: #9ba5ff;

    font-size: 15px;

    font-weight: 700;

    transition: 0.25s ease;
}

.tool-card:hover .tool-icon {
    border-color: #414a5d;

    background: #191f2a;

    transform: scale(1.04);
}

.tool-card h3 {
    font-size: 16px;

    margin-bottom: 8px;
}

.tool-card p {
    color: #737c8b;

    font-size: 13px;

    line-height: 1.6;

    max-width: 270px;
}

.card-arrow {
    position: absolute;

    right: 20px;
    bottom: 18px;

    color: #535d6e;

    font-size: 20px;

    transition: 0.25s ease;
}

.tool-card:hover .card-arrow {
    color: #9ba5ff;

    transform: translateX(5px);
}


/* ================= NO RESULTS ================= */

.no-results {
    display: none;

    text-align: center;

    padding: 70px 20px;

    border: 1px dashed #242b36;

    border-radius: 16px;

    margin-top: 10px;
}

.no-results-icon {
    font-size: 30px;

    color: #626b7a;

    margin-bottom: 12px;
}

.no-results h3 {
    font-size: 18px;

    margin-bottom: 8px;
}

.no-results p {
    color: #70798a;

    font-size: 13px;
}


/* ================= ABOUT ================= */

.about-section {
    max-width: 800px;

    margin: 50px auto;

    padding: 80px 24px;

    text-align: center;
}

.about-section h2 {
    margin: 15px 0;

    font-size: 38px;

    letter-spacing: -1px;
}

.about-section p {
    color: #7f8796;

    line-height: 1.8;
}


/* ================= FOOTER ================= */

footer {
    border-top: 1px solid #181c24;

    padding: 30px 20px;

    text-align: center;

    color: #555e6d;

    font-size: 12px;
}


/* ================= RESPONSIVE ================= */

@media (max-width: 900px) {

    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


@media (max-width: 800px) {

    .nav-links {
        display: none;
    }

    .hero h1 {
        letter-spacing: -2px;
    }

}


@media (max-width: 520px) {

    .nav-container {
        padding: 0 16px;
    }

    .login-btn {
        padding: 8px 13px;
        font-size: 12px;
    }

    .tools-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: 520px;
    }

    .hero h1 {
        font-size: 48px;
    }

    .hero p {
        font-size: 15px;
    }

    .search-box {
        height: 54px;
    }

    .section-heading {
        align-items: start;

        gap: 15px;
    }

    .tool-count {
        display: none;
    }

    .tools-section {
        padding: 60px 16px;
    }

    .about-section {
        padding: 60px 20px;
    }

}