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

:root {
    --bg: #08090d;
    --surface: #10121a;
    --surface-light: #171a24;
    --border: rgba(255, 255, 255, 0.08);
    --text: #f5f7ff;
    --muted: #9da3b5;
    --accent: #8b7cff;
    --accent-2: #b48cff;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.5;
    overflow-x: hidden;
}

button,
input {
    font: inherit;
}

button {
    cursor: pointer;
}

a {
    color: inherit;
    text-decoration: none;
}


/* NAVBAR */

.navbar {
    width: 100%;
    min-height: 72px;
    padding: 0 6%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border);
    background: rgba(8, 9, 13, 0.82);
    backdrop-filter: blur(18px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 19px;
    font-weight: 700;
}

.logo-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: white;
    box-shadow: 0 0 25px rgba(139, 124, 255, 0.35);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    color: var(--muted);
    font-size: 14px;
    transition: 0.2s ease;
}

.nav-links a:hover {
    color: var(--text);
}

.syra-button {
    border: 1px solid rgba(139, 124, 255, 0.45);
    background: rgba(139, 124, 255, 0.1);
    color: #ddd9ff;
    padding: 10px 16px;
    border-radius: 12px;
    transition: 0.2s ease;
}

.syra-button:hover {
    background: rgba(139, 124, 255, 0.2);
}


/* HERO */

.hero {
    min-height: 620px;
    padding: 100px 6% 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(
        circle,
        rgba(139, 124, 255, 0.18),
        transparent 65%
    );
    top: -250px;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
}

.hero-content {
    width: 100%;
    max-width: 850px;
    position: relative;
    z-index: 1;
}

.badge {
    display: inline-flex;
    padding: 8px 14px;
    border: 1px solid var(--border);
    border-radius: 999px;
    color: #c9c3ff;
    background: rgba(255, 255, 255, 0.03);
    font-size: 13px;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: clamp(42px, 7vw, 76px);
    line-height: 1.05;
    letter-spacing: -3px;
    max-width: 850px;
    margin: auto;
}

.hero h1 span {
    display: block;
    background: linear-gradient(
        90deg,
        #9b8cff,
        #d0a2ff
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero p {
    max-width: 650px;
    margin: 24px auto 34px;
    color: var(--muted);
    font-size: 17px;
}

.hero-search {
    max-width: 680px;
    margin: auto;
    padding: 6px;
    display: flex;
    gap: 6px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 20px 70px rgba(0, 0, 0, 0.3);
}

.hero-search input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: white;
    padding: 14px 16px;
}

.hero-search input::placeholder {
    color: #70778a;
}

.hero-search button {
    border: 0;
    border-radius: 11px;
    padding: 0 22px;
    background: linear-gradient(
        135deg,
        var(--accent),
        var(--accent-2)
    );
    color: white;
    font-weight: 700;
}

.quick-tags {
    margin-top: 18px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

.quick-tags button {
    border: 1px solid var(--border);
    background: transparent;
    color: var(--muted);
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 12px;
}


/* SECTIONS */

.section {
    width: min(1200px, 88%);
    margin: 0 auto;
    padding: 80px 0;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 28px;
}

.section-label {
    display: block;
    color: #9d91ff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.8px;
    margin-bottom: 7px;
}

.section-heading h2 {
    font-size: 30px;
    letter-spacing: -1px;
}

.view-all {
    border: 0;
    background: transparent;
    color: #b6adff;
}


/* TOOL CARDS */

.tools-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.tool-card {
    padding: 24px;
    min-height: 235px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.045),
        rgba(255, 255, 255, 0.015)
    );
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.tool-card:hover {
    transform: translateY(-5px);
    border-color: rgba(139, 124, 255, 0.4);
}

.tool-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: rgba(139, 124, 255, 0.12);
    font-size: 22px;
    margin-bottom: 20px;
}

.tool-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.tool-card p {
    color: var(--muted);
    font-size: 13px;
}

.tool-button {
    margin-top: 22px;
    border: 0;
    background: transparent;
    color: #bdb5ff;
    padding: 0;
}


/* SYRA */

.syra-section {
    width: min(1200px, 88%);
    margin: auto;
    padding: 30px 0 90px;
}

.syra-card {
    padding: 45px;
    display: flex;
    align-items: center;
    gap: 30px;
    border: 1px solid rgba(139, 124, 255, 0.2);
    border-radius: 28px;
    background:
        radial-gradient(
            circle at 10% 20%,
            rgba(139, 124, 255, 0.16),
            transparent 40%
        ),
        var(--surface);
}

.syra-avatar {
    flex: 0 0 auto;
    width: 90px;
    height: 90px;
    display: grid;
    place-items: center;
    border-radius: 25px;
    font-size: 38px;
    background: linear-gradient(
        135deg,
        var(--accent),
        var(--accent-2)
    );
    box-shadow: 0 0 45px rgba(139, 124, 255, 0.25);
}

.syra-content h2 {
    font-size: 34px;
    margin-bottom: 8px;
}

.syra-content p {
    color: var(--muted);
    margin-bottom: 18px;
}

.syra-content button {
    border: 0;
    padding: 11px 17px;
    border-radius: 12px;
    background: white;
    color: #111;
    font-weight: 700;
}


/* CATEGORIES */

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.category-card {
    min-height: 100px;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: var(--surface);
    color: var(--text);
    text-align: left;
    transition: 0.2s ease;
}

.category-card span {
    font-size: 24px;
}

.category-card:hover {
    border-color: rgba(139, 124, 255, 0.4);
    transform: translateY(-3px);
}


/* FOOTER */

footer {
    padding: 50px 6% 30px;
    border-top: 1px solid var(--border);
    text-align: center;
}

.footer-logo {
    font-size: 19px;
    font-weight: 700;
}

footer p {
    color: var(--muted);
    margin: 10px 0 22px;
    font-size: 13px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 25px;
}

.footer-links a {
    color: var(--muted);
    font-size: 12px;
}

.copyright {
    color: #5f6575;
    font-size: 11px;
}


/* MOBILE */

@media (max-width: 850px) {

    .navbar {
        padding: 0 5%;
    }

    .nav-links {
        display: none;
    }

    .hero {
        min-height: 590px;
        padding: 80px 5% 70px;
    }

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

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

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

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

    .syra-card {
        padding: 30px;
    }
}


@media (max-width: 520px) {

    .navbar {
        min-height: 64px;
    }

    .logo {
        font-size: 16px;
    }

    .logo-icon {
        width: 30px;
        height: 30px;
    }

    .syra-button {
        padding: 8px 11px;
        font-size: 12px;
    }

    .hero {
        padding-top: 70px;
    }

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

    .hero-search {
        flex-direction: column;
        padding: 7px;
    }

    .hero-search input {
        width: 100%;
        padding: 14px;
    }

    .hero-search button {
        min-height: 46px;
    }

    .section {
        width: 90%;
        padding: 60px 0;
    }

    .section-heading {
        align-items: start;
        flex-direction: column;
    }

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

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

    .syra-section {
        width: 90%;
    }

    .syra-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 28px;
    }

    .syra-content h2 {
        font-size: 29px;
    }
}
