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

/* =========================
   VARIABLES
========================= */
:root {
    --accent: #3b82f6;
    --accent-dark: #2563eb;
    --bg: #f7f9fc;
    --surface: #ffffff;
    --text: #222;
    --muted: #666;
    --border: #e5e7eb;
}

/* =========================
   GLOBAL
========================= */
body {
    font-family: Arial, Helvetica, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

html {
    scroll-behavior: smooth;
}

/* =========================
   NAVBAR
========================= */
.navbar {
    background: white;
    border-bottom: 1px solid var(--border);
    padding: 16px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    font-size: 22px;
    font-weight: bold;
}

.logo span {
    color: var(--accent);
}

.navbar nav {
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
}

.navbar nav a {
    text-decoration: none;
    color: var(--text);
    font-size: 15px;
    transition: 0.25s ease;
}

.navbar nav a:hover {
    color: var(--accent);
}

/* =========================
   INTRO
========================= */
.intro {
    background: white;
    padding: 70px 5%;
    border-bottom: 1px solid var(--border);
}

.intro-content {
    max-width: 1200px;
    margin: auto;
}

.intro-text {
    text-align: center;
    margin-bottom: 40px;
}

.intro h1 {
    font-size: clamp(2rem, 5vw, 3.4rem);
    margin-bottom: 18px;
}

.intro p {
    color: var(--muted);
    font-size: 18px;
    max-width: 760px;
    margin: auto;
}

/* =========================
   STATS
========================= */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.stat-card {
    background: #fafafa;
    border: 1px solid var(--border);
    padding: 24px;
    text-align: center;
    border-radius: 8px;
}

.stat-card h3 {
    color: var(--accent);
    font-size: 30px;
    margin-bottom: 8px;
}

.stat-card p {
    color: var(--muted);
}

/* =========================
   TOOLS SECTION
========================= */
.tools-section {
    padding: 70px 5%;
}

.tools-section h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
}

/* =========================
   TOOLS GRID
========================= */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.tool-card {
    background: white;
    border: 1px solid var(--border);
    padding: 24px;
    border-radius: 8px;
    transition: 0.25s ease;
}

.tool-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
}

.tool-card h3 {
    margin-bottom: 14px;
}

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

.tool-card a {
    text-decoration: none;
    color: var(--accent-dark);
    font-weight: bold;
}

/* =========================
   ABOUT
========================= */
.about {
    background: white;
    border-top: 1px solid var(--border);
    padding: 70px 5%;
    text-align: center;
}

.about h2 {
    margin-bottom: 18px;
}

.about p {
    max-width: 850px;
    margin: auto;
    color: var(--muted);
}

/* =========================
   FOOTER
========================= */
footer {
    background: white;
    border-top: 1px solid var(--border);
    text-align: center;
    padding: 24px;
    color: var(--muted);
}

/* =========================
   TABLET
========================= */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 14px;
        text-align: center;
    }

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

    .intro {
        padding: 60px 20px;
    }
}

/* =========================
   MOBILE
========================= */
@media (max-width: 480px) {
    .tools-grid {
        grid-template-columns: 1fr;
    }

    .intro h1 {
        font-size: 2rem;
    }

    .intro p {
        font-size: 16px;
    }
}

