/*
 * [ zrfisaac ]
 *
 * [ about ]
 * - author  : Isaac Caires Santana
 * . - email : zrfisaac@gmail.com
 * . - site  : zrfisaac.github.io
 * - version : zrfisaac.web.style : 26.8.30.1
 */

/* [ base ] */

:root {
    --background: #0b0b0d;
    --surface: #111114;
    --border: #242428;
    --text: #f4f4f5;
    --muted: #a1a1aa;
    --accent: #7c3aed;
    --accent-light: #a78bfa;
    --content-width: 1040px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background: var(--background);
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    line-height: 1.6;
}

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

img {
    display: block;
    max-width: 100%;
}

button {
    font: inherit;
}

.container {
    width: min(var(--content-width), calc(100% - 40px));
    margin-inline: auto;
}

/* [ header ] */

.header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(11, 11, 13, 0.96);
    border-bottom: 1px solid var(--border);
}

.navigation {
    min-height: 72px;
    display: flex;
    align-items: center;
    gap: 28px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.brand img {
    width: 34px;
    height: 34px;
    object-fit: contain;
}

.brand strong {
    color: var(--accent-light);
}

.navigation-links {
    display: flex;
    gap: 28px;
    margin-left: auto;
    color: #d4d4d8;
    font-size: 13px;
}

.navigation-links a:hover {
    color: var(--accent-light);
}

.language {
    position: relative;
}

.language-button,
.menu-button {
    cursor: pointer;
    color: var(--text);
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 7px;
    padding: 8px 10px;
}

.language-options {
    position: absolute;
    top: 44px;
    right: 0;
    min-width: 140px;
    display: none;
    padding: 6px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
}

.language-options.open {
    display: block;
}

.language-options a {
    display: block;
    padding: 8px 10px;
    border-radius: 5px;
    font-size: 13px;
}

.language-options a:hover {
    background: #1c1c20;
}

.menu-button {
    display: none;
    font-size: 20px;
}

/* [ buttons ] */

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 15px;
    color: var(--text);
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 7px;
    font-size: 14px;
    font-weight: 700;
}

.button-primary {
    background: var(--accent);
    border-color: var(--accent);
}

.button:hover {
    filter: brightness(1.15);
}

/* [ hero ] */

.hero {
    min-height: 460px;
    display: grid;
    grid-template-columns: 1.35fr 0.65fr;
    align-items: center;
    gap: 60px;
    padding-block: 70px;
}

.eyebrow {
    color: var(--accent-light);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.17em;
    text-transform: uppercase;
}

.hero h1 {
    max-width: 680px;
    margin: 15px 0 18px;
    font-size: clamp(42px, 5.4vw, 64px);
    line-height: 1.05;
    letter-spacing: -0.045em;
}

.hero h1 span {
    color: var(--accent-light);
}

.hero p {
    max-width: 590px;
    margin: 0 0 24px;
    color: var(--muted);
}

.hero-logo {
    width: min(220px, 100%);
    margin-inline: auto;
}

/* [ sections ] */

.section {
    margin-bottom: 64px;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
}

.section-header h2 {
    margin: 0;
    font-size: 13px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.section-header a {
    color: var(--accent-light);
    font-size: 12px;
}

/* [ apps ] */

.app-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.app-card,
.project-card {
    padding: 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 9px;
}

.app-card:hover,
.project-card:hover {
    border-color: #52525b;
}

.app-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 18px;
    object-fit: cover;
    border-radius: 14px;
}

.app-card h3,
.project-card h3 {
    margin: 0;
    font-size: 17px;
}

.app-card p,
.project-card p {
    margin: 3px 0 10px;
    color: var(--muted);
    font-size: 13px;
}

.tag {
    display: inline-block;
    padding: 3px 8px;
    color: var(--muted);
    border: 1px solid #333338;
    border-radius: 5px;
    font-size: 10px;
}

/* [ projects ] */

.project-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.project-card {
    min-height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

/* [ footer ] */

.footer {
    display: grid;
    grid-template-columns: 1.4fr 0.7fr 0.8fr 1fr;
    gap: 30px;
    padding-block: 42px;
    border-top: 1px solid var(--border);
}

.footer h2 {
    margin: 0 0 10px;
    color: #d4d4d8;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.footer a,
.footer p {
    display: block;
    margin: 5px 0;
    color: var(--muted);
    font-size: 12px;
}

.footer a:hover {
    color: var(--accent-light);
}

.footer .button {
    display: inline-flex;
    color: var(--text);
}

/* [ privacy ] */

.privacy {
    max-width: 850px;
    padding-block: 80px;
}

.privacy h1 {
    margin: 12px 0 18px;
    font-size: clamp(38px, 6vw, 64px);
    line-height: 1.05;
}

.privacy > p,
.privacy-card p {
    color: var(--muted);
}

.privacy-list {
    display: grid;
    gap: 14px;
    margin-top: 36px;
}

.privacy-card {
    padding: 25px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 9px;
}

.privacy-card h2,
.privacy-card p {
    margin: 0;
}

.privacy-card h2 {
    margin-bottom: 8px;
    font-size: 19px;
}

/* [ mobile ] */

@media (max-width: 760px) {
    .container {
        width: min(100% - 28px, var(--content-width));
    }

    .navigation {
        flex-wrap: wrap;
    }

    .navigation-links,
    .header-contact {
        display: none;
    }

    .navigation.open {
        padding-bottom: 12px;
    }

    .navigation.open .navigation-links {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 0;
        order: 10;
    }

    .navigation-links a {
        padding: 10px 0;
        border-top: 1px solid var(--border);
    }

    .language {
        margin-left: auto;
    }

    .menu-button {
        display: block;
    }

    .hero {
        min-height: auto;
        grid-template-columns: 1fr;
        padding-block: 48px;
    }

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

    .hero-logo {
        display: none;
    }

    .app-list,
    .project-list,
    .footer {
        grid-template-columns: 1fr;
    }

    .app-card {
        display: grid;
        grid-template-columns: 56px 1fr;
        align-items: center;
        column-gap: 15px;
    }

    .app-icon {
        width: 56px;
        height: 56px;
        grid-row: 1 / 4;
        margin: 0;
    }

    .app-card p {
        margin: 2px 0 8px;
    }

    .tag {
        width: max-content;
    }

    .section {
        margin-bottom: 48px;
    }

    .footer {
        gap: 22px;
    }
}
