/* =========================================================
   eduIT — Premium Personal Website
   Władysław Czaja
   ========================================================= */

:root {
    --background: #08090b;
    --surface: #101216;
    --surface-light: #17191e;

    --text: #f3f4f6;
    --muted: #969aa3;
    --border: #272a30;

    --accent: #b7ff4a;

    --max-width: 1180px;
}


/* RESET */

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--background);
    color: var(--text);

    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;

    line-height: 1.6;
}

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

.container {
    width: min(var(--max-width), 90%);
    margin: auto;
}


/* HEADER */

.header {
    position: fixed;

    top: 0;
    left: 0;
    right: 0;

    z-index: 100;

    border-bottom: 1px solid rgba(255,255,255,0.08);

    background: rgba(8,9,11,0.85);

    backdrop-filter: blur(14px);
}

.nav {
    height: 78px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;

    font-weight: 600;
}

.logo-mark {
    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

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

    font-size: 14px;
}

.logo-text {
    font-size: 14px;
    letter-spacing: .2px;
}

nav {
    display: flex;
    gap: 35px;
}

nav a {
    color: var(--muted);

    font-size: 13px;

    transition: color .2s ease;
}

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


/* HERO */

.hero {
    min-height: 100vh;

    position: relative;

    padding: 160px 5% 70px;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-grid {
    max-width: 1280px;
    width: 100%;

    margin: auto;

    display: grid;
    grid-template-columns: 1.15fr .85fr;

    gap: 80px;

    align-items: center;
}

.status {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    color: var(--muted);

    font-size: 12px;
    letter-spacing: 1.5px;
    text-transform: uppercase;

    margin-bottom: 30px;
}

.status-dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: var(--accent);
}

.hero h1 {
    max-width: 850px;

    font-size: clamp(48px, 6vw, 82px);

    line-height: .98;

    letter-spacing: -4px;

    margin-bottom: 35px;
}

.hero h1 span {
    color: #6f737b;
}

.hero-description {
    max-width: 650px;

    color: var(--muted);

    font-size: 18px;

    line-height: 1.7;

    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 30px;
}

.button {
    display: inline-flex;
    align-items: center;
    gap: 20px;

    font-size: 13px;
}

.button-primary {
    padding: 15px 22px;

    background: var(--accent);

    color: #08090b;

    font-weight: 700;
}

.button-primary span {
    font-size: 18px;
}

.button-link {
    color: var(--muted);
}

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


/* HERO VISUAL */

.hero-visual {
    position: relative;

    min-height: 450px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.grid-background {
    position: absolute;

    inset: -100px;

    opacity: .25;

    background-image:
        linear-gradient(var(--border) 1px, transparent 1px),
        linear-gradient(90deg, var(--border) 1px, transparent 1px);

    background-size: 45px 45px;

    mask-image: radial-gradient(
        circle,
        black 20%,
        transparent 70%
    );
}

.code-card {
    position: relative;

    width: 100%;
    max-width: 470px;

    background: #0e1014;

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

    box-shadow:
        0 30px 80px rgba(0,0,0,.5);
}

.code-header {
    height: 42px;

    display: flex;
    align-items: center;

    gap: 7px;

    padding: 0 16px;

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

.code-header span {
    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: #3b3e44;
}

.code {
    padding: 35px;

    font-family:
        "SFMono-Regular",
        Consolas,
        "Liberation Mono",
        monospace;

    font-size: 13px;

    line-height: 2;
}

.indent {
    padding-left: 25px;
}

.indent2 {
    padding-left: 50px;
}

.purple { color: #c792ea; }
.blue { color: #82aaff; }
.green { color: #c3e88d; }
.orange { color: #f78c6c; }
.yellow { color: #ffcb6b; }
.white { color: #d6deeb; }


/* HERO BOTTOM */

.hero-bottom {
    max-width: 1280px;
    width: 100%;

    margin: 60px auto 0;

    display: flex;
    align-items: center;

    gap: 20px;

    color: #5e626a;

    font-size: 10px;

    letter-spacing: 1.5px;

    text-transform: uppercase;
}

.line {
    height: 1px;

    flex: 1;

    background: var(--border);
}


/* SECTIONS */

.section {
    padding: 150px 0;

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

.section-number {
    color: #555960;

    font-size: 11px;

    letter-spacing: 2px;

    margin-bottom: 70px;
}


/* INTRO */

.intro-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 120px;
}

.intro h2 {
    font-size: clamp(40px, 5vw, 65px);

    line-height: 1.05;

    letter-spacing: -3px;
}

.intro h2 span {
    color: #666a72;
}

.large-text {
    font-size: 25px;

    line-height: 1.4;

    margin-bottom: 30px;
}

.muted-text {
    max-width: 600px;

    color: var(--muted);

    font-size: 16px;

    margin-bottom: 20px;
}


/* EXPERTISE */

.expertise {
    background: var(--surface);
}

.section-title {
    font-size: clamp(40px, 5vw, 64px);

    line-height: 1.05;

    letter-spacing: -3px;

    margin-bottom: 80px;
}

.expertise-list {
    border-top: 1px solid var(--border);
}

.expertise-item {
    display: grid;

    grid-template-columns: 80px 1fr 1fr;

    gap: 40px;

    align-items: center;

    padding: 35px 0;

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

.expertise-number {
    color: #555960;

    font-family: monospace;

    font-size: 12px;
}

.expertise-main h3 {
    font-size: 22px;

    margin-bottom: 7px;
}

.expertise-main p {
    color: var(--muted);

    font-size: 14px;
}

.expertise-tags {
    color: var(--text);

    font-size: 13px;
}

.expertise-tags span {
    color: #666a72;

    margin-left: 20px;
}


/* EDUCATION */

.education-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 120px;
}

.education .section-title span {
    color: #666a72;
}

.education-points {
    margin-top: 50px;

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

.education-points div {
    padding: 18px 0;

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

    color: #c5c7cc;

    font-size: 14px;
}

.education-points strong {
    color: var(--accent);

    font-family: monospace;

    margin-right: 20px;
}


/* EDUIT */

.eduit {
    padding: 140px 0;

    background: var(--accent);

    color: #08090b;
}

.eduit-content {
    max-width: 900px;
}

.eduit-label {
    font-size: 11px;

    letter-spacing: 2px;

    margin-bottom: 30px;
}

.eduit h2 {
    font-size: clamp(70px, 12vw, 150px);

    line-height: .8;

    letter-spacing: -8px;

    margin-bottom: 45px;
}

.eduit h2 span {
    font-weight: 300;
}

.eduit p {
    max-width: 500px;

    font-size: 19px;

    line-height: 1.5;

    margin-bottom: 40px;
}

.eduit-link {
    display: inline-flex;

    gap: 15px;

    font-weight: 700;

    border-bottom: 1px solid #08090b;

    padding-bottom: 5px;
}


/* CONTACT */

.contact {
    min-height: 750px;

    display: flex;
    align-items: center;
}

.contact-content h2 {
    font-size: clamp(50px, 7vw, 95px);

    line-height: .95;

    letter-spacing: -4px;

    margin-bottom: 35px;
}

.contact-content h2 span {
    color: #666a72;
}

.contact-content > p {
    color: var(--muted);

    font-size: 17px;

    margin-bottom: 45px;
}

.contact-email {
    display: inline-flex;

    align-items: center;

    gap: 20px;

    font-size: clamp(22px, 3vw, 34px);

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

    padding-bottom: 8px;
}

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

.contact-links {
    display: flex;

    gap: 30px;

    margin-top: 70px;
}

.contact-links a {
    color: var(--muted);

    font-size: 13px;
}

.contact-links span {
    color: var(--accent);

    margin-left: 8px;
}


/* FOOTER */

footer {
    border-top: 1px solid var(--border);

    padding: 35px 0;

    color: #5f636b;

    font-size: 12px;
}

.footer-content {
    display: flex;

    justify-content: space-between;
}

.footer-content strong {
    color: var(--text);

    margin-right: 15px;
}


/* RESPONSIVE */

@media (max-width: 900px) {

    nav {
        gap: 18px;
    }

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

    .hero-visual {
        min-height: 350px;
    }

    .intro-grid,
    .education-grid {
        grid-template-columns: 1fr;

        gap: 60px;
    }

    .expertise-item {
        grid-template-columns: 50px 1fr;
    }

    .expertise-tags {
        grid-column: 2;
    }
}


@media (max-width: 600px) {

    .header {
        position: absolute;
    }

    .nav {
        height: 65px;
    }

    .logo-text {
        display: none;
    }

    nav a {
        font-size: 11px;
    }

    nav a:nth-child(2),
    nav a:nth-child(3) {
        display: none;
    }

    .hero {
        padding: 130px 5% 50px;
    }

    .hero h1 {
        font-size: 48px;

        letter-spacing: -2.5px;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-actions {
        flex-direction: column;

        align-items: flex-start;
    }

    .hero-visual {
        min-height: 280px;
    }

    .code {
        padding: 20px;

        font-size: 10px;
    }

    .section {
        padding: 90px 0;
    }

    .section-number {
        margin-bottom: 45px;
    }

    .intro h2,
    .section-title {
        letter-spacing: -2px;
    }

    .expertise-item {
        grid-template-columns: 35px 1fr;

        gap: 15px;
    }

    .expertise-tags {
        grid-column: 2;

        font-size: 12px;
    }

    .expertise-tags span {
        margin-left: 8px;
    }

    .eduit {
        padding: 100px 0;
    }

    .eduit h2 {
        letter-spacing: -5px;
    }

    .contact {
        min-height: auto;
    }

    .contact-email {
        font-size: 21px;
    }

    .footer-content {
        flex-direction: column;

        gap: 15px;
    }
}