/* /assets/css/home.css */

:root {

    --bg: #0f1115;

    --surface: #1b1f27;
    --surface-hover: #232a36;

    --border: #2f3745;

    --text: #f4f7fa;
    --text-muted: #9aa6bb;

    --primary: #76a9ff;

    --radius: 18px;
}

* {
    box-sizing: border-box;
}

body {

    margin: 0;

    font-family: Inter, system-ui, sans-serif;

    background: var(--bg);

    color: var(--text);
}

/* ================= NAV ================= */

.nav {

    display: flex;

    justify-content: center;

    padding: 18px 26px;

    border-bottom: 1px solid var(--border);

    background: rgba(15,17,21,0.85);

    backdrop-filter: blur(12px);

    position: sticky;

    top: 0;
}

.logo {

    font-weight: 800;

    letter-spacing: -0.04em;
}

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

.hero {

    padding: 70px 26px 30px;

    max-width: 900px;

    margin: auto;

    text-align: center;
}

.hero h1 {

    font-size: 3rem;

    margin: 0 0 10px;

    letter-spacing: -0.05em;
}

.hero p {

    color: var(--text-muted);

    line-height: 1.6;
}

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

.tools {

    display: grid;

    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));

    gap: 18px;

    padding: 20px 26px 80px;

    max-width: 1100px;

    margin: auto;
}

.tool-card {

    display: block;

    padding: 22px;

    border-radius: var(--radius);

    background: var(--surface);

    border: 1px solid var(--border);

    text-decoration: none;

    color: inherit;

    transition: 150ms ease;

    cursor: pointer;
}

.tool-card:hover {

    transform: translateY(-5px);

    border-color: var(--primary);
}

.tool-title {

    font-weight: 800;

    margin-bottom: 8px;
}

.tool-desc {

    color: var(--text-muted);

    font-size: 0.95rem;

    line-height: 1.45;
}

.disabled {

    opacity: 0.45;

    pointer-events: none;
}

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

.footer {

    text-align: center;

    color: var(--text-muted);

    padding: 40px 20px;

    border-top: 1px solid var(--border);
}

/* ================= MOBILE ================= */

@media (max-width: 700px) {

    .hero h1 {

        font-size: 2.2rem;
    }

    .tools {

        grid-template-columns: 1fr;
    }
}