:root {
    --white: #fff;
    --blue-light: #e7f6ff;
    --blue: #0067ff;
    --text: #111827;
    --muted: #667085;
    --border: #e5e7eb;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--white);
    color: var(--text);
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    width: 100%;
}

.container {
    width: min(1200px, calc(100% - 40px));
    margin-inline: auto;
}

/* Header */

header {
    padding: 10px 0;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.04em;

    img {
        width: 60px;
    }
}

.nav {
    display: flex;
    align-items: center;
    gap: 28px;
    color: var(--muted);
    font-size: 0.95rem;
}

.nav a:hover {
    color: var(--blue);
}

/* Hero */

.hero {
    padding: 120px 0 140px;
    text-align: center;
}

.hero h1 {
    max-width: 760px;
    margin: 0 auto 20px;
    font-size: clamp(2.5rem, 6vw, 4.75rem);
    line-height: 1.05;
    letter-spacing: -0.055em;
    font-weight: 700;
}

.hero h1 span {
    color: var(--blue);
}

.hero p {
    max-width: 590px;
    margin: 0 auto;
    color: var(--muted);
    font-size: 1.08rem;
}

/* Projects */

.projects {
    padding: 80px 0;
    background: var(--blue-light);
}

.section-heading {
    margin-bottom: 42px;
}

.section-heading h2 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    letter-spacing: -0.04em;
    line-height: 1.2;
    margin-bottom: 8px;
}

.section-heading p {
    color: var(--muted);
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.project-card {
    background: var(--white);
    /* border: 1px solid rgba(0, 103, 255, 0.08); */
    border: 1px solid rgba(0, 0, 0, 0.100);
    border-radius: 12px;
    overflow: hidden;
}

.project-image {
    aspect-ratio: 16 / 10;
    /* aspect-ratio: 3 / 2; */
    background: #d8efff;
    object-fit: cover;
}

.project-content {
    padding: 22px;
}

.project-content h3 {
    font-size: 1.15rem;
    line-height: 1.3;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.project-description {
    color: var(--muted);
    font-size: 0.93rem;
    line-height: 1.6;
    margin-bottom: 18px;
}

.built-with {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 22px;
    font-size: 0.82rem;
    color: var(--muted);
}

.built-with strong {
    color: var(--text);
    font-weight: 600;
}

.tech {
    padding: 3px 8px;
    border-radius: 4px;
    background: var(--blue-light);
    color: var(--blue);
    font-size: 0.78rem;
}

.project-actions {
    display: flex;
    gap: 10px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 15px;
    border-radius: 6px;
    border: 1px solid var(--border);
    font-size: 0.85rem;
    font-weight: 600;
    transition: none;
}

.button-primary {
    background: var(--blue);
    border-color: var(--blue);
    color: var(--white);
}

.button-secondary {
    background: var(--white);
    color: var(--text);
}

.button:hover {
    opacity: 0.85;
}

/* About */

.about {
    padding: 130px 0;
}

.about-inner {
    max-width: 820px;
}

.about h2 {
    margin-bottom: 24px;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.1;
    letter-spacing: -0.05em;
}

.about p {
    color: var(--muted);
    font-size: 1.08rem;
    line-height: 1.8;
}

/* Footer */

footer {
    padding: 28px 0;
    border-top: 1px solid var(--border);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    color: var(--muted);
    font-size: 0.85rem;
}

.footer-logo {
    color: var(--text);
    font-weight: 500;
}

/* Responsive */

@media (max-width: 900px) {
    .project-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero {
        padding: 90px 0 110px;
    }

    .about {
        padding: 100px 0;
    }
}

@media (max-width: 600px) {
    .container {
        width: min(100% - 28px, 1200px);
    }

    header {
        padding: 22px 0;
    }

    .nav {
        gap: 18px;
    }

    .hero {
        padding: 75px 0 90px;
    }

    .hero p {
        font-size: 1rem;
    }

    .projects {
        padding: 60px 0;
    }

    .project-grid {
        grid-template-columns: 1fr;
    }

    .about {
        padding: 80px 0;
    }

    .about p {
        font-size: 1rem;
    }

    .footer-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }
}