* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family:
        Inter,
        Arial,
        Helvetica,
        sans-serif;

    color: #111827;

    background:
        linear-gradient(
            180deg,
            #fafaff 0%,
            #ffffff 55%,
            #f8fafc 100%
        );
}


/* =========================
   NAVBAR
========================= */

.navbar {
    height: 74px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 6%;

    position: sticky;
    top: 0;
    z-index: 100;

    background: rgba(
        255,
        255,
        255,
        .88
    );

    backdrop-filter: blur(16px);

    border-bottom:
        1px solid #eef0f4;
}

.logo {
    text-decoration: none;

    color: #111827;

    font-size: 21px;

    font-weight: 800;

    display: flex;

    align-items: center;

    gap: 8px;
}

.logo span:last-child span {
    color: #4f46e5;
}

.logo-icon {
    width: 34px;
    height: 34px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 10px;

    background: #4f46e5;

    color: #fff;
}

.nav-menu {
    display: flex;

    gap: 30px;
}

.nav-menu a {
    text-decoration: none;

    color: #4b5563;

    font-size: 14px;

    font-weight: 600;
}

.nav-menu a:hover {
    color: #4f46e5;
}

.mobile-menu-btn {
    display: none;

    border: none;

    background: none;

    font-size: 25px;

    cursor: pointer;
}

.mobile-menu {
    display: none;
}


/* =========================
   HERO
========================= */

.hero {
    max-width: 900px;

    margin: auto;

    text-align: center;

    padding:
        100px 20px 80px;
}

.hero-badge {
    display: inline-block;

    padding:
        8px 15px;

    border-radius: 30px;

    background: #eef2ff;

    color: #4f46e5;

    font-size: 13px;

    font-weight: 700;

    margin-bottom: 20px;
}

.hero h1 {
    margin: 0;

    font-size: clamp(
        42px,
        7vw,
        72px
    );

    line-height: 1.04;

    letter-spacing: -3px;
}

.hero h1 span {
    color: #4f46e5;
}

.hero > p {
    max-width: 650px;

    margin:
        25px auto 30px;

    color: #6b7280;

    line-height: 1.7;

    font-size: 17px;
}

.hero-search {
    max-width: 600px;

    margin: auto;

    height: 58px;

    display: flex;

    align-items: center;

    gap: 12px;

    padding: 0 20px;

    background: #fff;

    border:
        1px solid #e5e7eb;

    border-radius: 15px;

    box-shadow:
        0 10px 35px
        rgba(
            15,
            23,
            42,
            .08
        );
}

.hero-search span {
    font-size: 20px;
}

.hero-search input {
    width: 100%;

    border: none;

    outline: none;

    font-size: 15px;

    background: transparent;
}

.hero-stats {
    display: flex;

    justify-content: center;

    gap: 55px;

    margin-top: 45px;
}

.hero-stats div {
    display: flex;

    flex-direction: column;

    gap: 4px;
}

.hero-stats strong {
    font-size: 21px;
}

.hero-stats span {
    color: #9ca3af;

    font-size: 13px;
}


/* =========================
   TOOLS
========================= */

.tools-section {
    max-width: 1180px;

    margin: auto;

    padding:
        30px 20px 100px;
}

.section-heading {
    margin:
        55px 0 25px;
}

.section-label {
    color: #4f46e5;

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 1px;
}

.section-heading h2 {
    font-size: 30px;

    margin:
        7px 0 5px;
}

.section-heading p {
    margin: 0;

    color: #6b7280;
}

.tools-grid {
    display: grid;

    grid-template-columns:
        repeat(
            3,
            1fr
        );

    gap: 18px;
}

.tool-card {
    display: flex;

    gap: 17px;

    padding: 22px;

    text-decoration: none;

    color: #111827;

    background: #fff;

    border:
        1px solid #e8eaf0;

    border-radius: 18px;

    transition:
        transform .2s,
        box-shadow .2s,
        border-color .2s;
}

.tool-card:hover {
    transform:
        translateY(-4px);

    border-color:
        #c7d2fe;

    box-shadow:
        0 18px 40px
        rgba(
            15,
            23,
            42,
            .09
        );
}

.tool-icon {
    min-width: 52px;
    height: 52px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 14px;

    font-size: 24px;
}

.purple {
    background: #ede9fe;
}

.blue {
    background: #dbeafe;
}

.orange {
    background: #ffedd5;
}

.red {
    background: #fee2e2;
}

.green {
    background: #dcfce7;
}

.pink {
    background: #fce7f3;
}

.yellow {
    background: #fef3c7;
}

.cyan {
    background: #cffafe;
}

.tool-content {
    min-width: 0;
}

.tool-content h3 {
    margin:
        1px 0 7px;

    font-size: 17px;
}

.tool-content p {
    margin: 0;

    color: #6b7280;

    font-size: 13px;

    line-height: 1.5;
}

.tool-link {
    display: block;

    margin-top: 12px;

    color: #4f46e5;

    font-size: 13px;

    font-weight: 700;
}

.no-results {
    display: none;

    text-align: center;

    padding: 60px 20px;

    color: #6b7280;
}


/* =========================
   CTA
========================= */

.cta-section {
    max-width: 1180px;

    margin:
        0 auto 80px;

    padding: 65px 30px;

    border-radius: 25px;

    text-align: center;

    background:
        linear-gradient(
            135deg,
            #eef2ff,
            #f5f3ff
        );
}

.cta-section span {
    color: #4f46e5;

    font-size: 12px;

    font-weight: 800;
}

.cta-section h2 {
    margin:
        10px 0;

    font-size: 36px;
}

.cta-section p {
    margin: 0;

    color: #6b7280;
}


/* =========================
   FOOTER
========================= */

footer {
    border-top:
        1px solid #e5e7eb;

    background: #fff;
}

.footer-inner {
    max-width: 1180px;

    margin: auto;

    padding:
        30px 20px;

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 20px;
}

.footer-inner p {
    margin: 0;

    color: #9ca3af;

    font-size: 13px;
}


/* =========================
   MOBILE
========================= */

@media (max-width: 850px) {

    .hero {
        padding:
            70px 20px 60px;
    }

    .tools-grid {
        grid-template-columns:
            repeat(
                2,
                1fr
            );
    }

}

@media (max-width: 600px) {

    .hero h1 {
        letter-spacing: -2px;
    }

    .hero-stats {
        gap: 25px;
    }

    .tools-grid {
        grid-template-columns:
            1fr;
    }

    .tool-card {
        padding: 18px;
    }

    .cta-section {
        margin:
            0 15px 60px;

        padding:
            45px 20px;
    }

    .cta-section h2 {
        font-size: 28px;
    }

    .footer-inner {
        flex-direction: column;

        text-align: center;
    }

}

/* =========================================
   ADSENSE
========================================= */

.ad-container {
    width: 100%;
    max-width: 970px;

    min-height: 90px;

    margin: 30px auto;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    overflow: hidden;
}

.ad-label {
    color: #9ca3af;

    font-size: 10px;

    letter-spacing: .7px;

    text-transform: uppercase;

    margin-bottom: 5px;
}

.ad-top {
    margin-top: 10px;
    margin-bottom: 35px;
}

.ad-middle {
    margin-top: 50px;
    margin-bottom: 50px;
}

.ad-bottom {
    margin-top: 50px;
    margin-bottom: 40px;
}


@media (max-width: 600px) {

    .ad-container {
        min-height: 70px;

        margin-left: auto;
        margin-right: auto;
    }

}

@media (max-width: 650px) {

    .mobile-menu-btn {
        display: block;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;

        background: #fff;

        flex-direction: column;
        gap: 5px;

        padding: 15px 20px;

        border-top: 1px solid #e5e7eb;
        border-bottom: 1px solid #e5e7eb;

        box-shadow: 0 10px 25px rgba(0,0,0,.08);

        z-index: 999;
    }

    .nav-menu.show {
        display: flex;
    }

    .nav-menu a {
        display: block;
        padding: 13px 10px;
    }
}

/* =========================================
   LEGAL PAGES
========================================= */

.legal-page {
    padding: 70px 20px 100px;
}

.legal-container {
    max-width: 900px;
    margin: auto;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    padding: 50px;
    box-shadow: 0 15px 40px rgba(0,0,0,.05);
}

.legal-header {
    text-align: center;
    margin-bottom: 50px;
}

.legal-header h1 {
    margin: 10px 0;
    font-size: 42px;
}

.legal-header p {
    color: #9ca3af;
    font-size: 14px;
}

.legal-section {
    margin-bottom: 35px;
}

.legal-section h2 {
    margin-bottom: 12px;
    font-size: 22px;
}

.legal-section p {
    color: #4b5563;
    line-height: 1.8;
    margin: 8px 0;
}

.legal-button {
    display: inline-block;
    margin-top: 12px;
    padding: 12px 18px;
    border-radius: 10px;
    background: #4f46e5;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
}

.legal-button:hover {
    background: #4338ca;
}

@media (max-width: 650px) {

    .legal-page {
        padding: 30px 15px 60px;
    }

    .legal-container {
        padding: 25px 20px;
        border-radius: 18px;
    }

    .legal-header h1 {
        font-size: 32px;
    }

    .legal-section h2 {
        font-size: 19px;
    }

}

/* =========================================
   ABOUT PAGE
========================================= */

.about-page {
    padding: 70px 20px 100px;
}

.about-container {
    max-width: 1000px;
    margin: auto;
}

.about-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.about-header h1 {
    font-size: 48px;
    line-height: 1.1;
    letter-spacing: -2px;
    margin: 12px 0 20px;
}

.about-header h1 span {
    color: #4f46e5;
}

.about-header p {
    color: #6b7280;
    line-height: 1.8;
    font-size: 17px;
}

.about-section {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 22px;
    padding: 35px;
    margin-bottom: 25px;
}

.about-section h2 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 25px;
}

.about-section p {
    color: #4b5563;
    line-height: 1.8;
    margin: 10px 0;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 25px;
}

.about-feature {
    padding: 25px;
    border: 1px solid #e5e7eb;
    border-radius: 17px;
    background: #fafafa;
}

.about-feature-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    background: #eef2ff;
    font-size: 24px;
    margin-bottom: 15px;
}

.about-feature h3 {
    margin: 0 0 8px;
    font-size: 18px;
}

.about-feature p {
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.about-cta {
    padding: 55px 30px;
    text-align: center;
    border-radius: 24px;
    background: linear-gradient(
        135deg,
        #eef2ff,
        #f5f3ff
    );
}

.about-cta h2 {
    margin: 0 0 10px;
    font-size: 32px;
}

.about-cta p {
    color: #6b7280;
    margin-bottom: 25px;
}

.about-cta a {
    display: inline-block;
    padding: 13px 20px;
    border-radius: 11px;
    background: #4f46e5;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
}

.about-cta a:hover {
    background: #4338ca;
}


@media (max-width: 700px) {

    .about-page {
        padding: 35px 15px 60px;
    }

    .about-header h1 {
        font-size: 35px;
        letter-spacing: -1px;
    }

    .about-section {
        padding: 25px 20px;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .about-cta {
        padding: 40px 20px;
    }

}

/* =========================================
   FOOTER LINKS
========================================= */

.footer-brand {
    max-width: 360px;
}

.footer-brand .logo {
    margin-bottom: 15px;
}

.footer-brand p {
    color: #6b7280;
    font-size: 13px;
    line-height: 1.6;
    margin: 0;
}


.footer-links {
    display: flex;
    gap: 80px;
}


.footer-column {
    display: flex;
    flex-direction: column;
    gap: 10px;
}


.footer-column h4 {
    margin: 0 0 5px;
    font-size: 14px;
}


.footer-column a {
    color: #6b7280;
    text-decoration: none;
    font-size: 13px;
}


.footer-column a:hover {
    color: #4f46e5;
}


.footer-bottom {
    max-width: 1180px;
    margin: auto;
    padding: 20px;
    border-top: 1px solid #e5e7eb;
    text-align: center;
}


.footer-bottom p {
    margin: 0;
    color: #9ca3af;
    font-size: 12px;
}


@media (max-width: 650px) {

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }

    .footer-links {
        width: 100%;
        justify-content: space-between;
        gap: 30px;
    }

}