/* ========================================
   RESET
======================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    background: #08090d;
    color: #f5f5f5;
    line-height: 1.6;
}

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

ul {
    list-style: none;
}


/* ========================================
   HEADER
======================================== */

.header {
    position: sticky;
    top: 0;
    z-index: 1000;

    width: 100%;

    background: rgba(8, 9, 13, 0.78);

    backdrop-filter: blur(16px);

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

.navbar {
    max-width: 1200px;

    margin: auto;

    padding: 20px 24px;

    display: flex;

    align-items: center;

    justify-content: space-between;
}

.logo {
    font-size: 21px;

    font-weight: 700;

    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;

    align-items: center;

    gap: 32px;
}

.nav-links a {
    color: #a7a7b0;

    font-size: 14px;

    font-weight: 500;

    transition: color 0.25s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: #ffffff;
}

.menu-button {
    display: none;

    border: none;

    background: transparent;

    color: #ffffff;

    font-size: 24px;

    cursor: pointer;
}


/* ========================================
   GENERAL
======================================== */

.section-label {
    color: #8b8bff;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 2px;

    margin-bottom: 15px;
}


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

.about-hero {
    position: relative;

    max-width: 1100px;

    margin: auto;

    padding: 120px 24px 100px;

    text-align: center;

    overflow: hidden;
}

.about-hero::before {
    content: "";

    position: absolute;

    width: 400px;
    height: 400px;

    top: 30px;
    left: 50%;

    transform: translateX(-50%);

    background: #5b5bf7;

    opacity: 0.10;

    filter: blur(120px);

    border-radius: 50%;

    pointer-events: none;
}

.about-hero > * {
    position: relative;

    z-index: 1;
}

.about-hero h1 {
    font-size: clamp(48px, 7vw, 78px);

    line-height: 1;

    letter-spacing: -4px;

    margin-bottom: 30px;

    background: linear-gradient(
        135deg,
        #ffffff 20%,
        #8b8bff 100%
    );

    -webkit-background-clip: text;

    -webkit-text-fill-color: transparent;
}

.about-intro {
    max-width: 700px;

    margin: auto;

    color: #92929d;

    font-size: 18px;

    line-height: 1.8;
}


/* ========================================
   ABOUT CONTENT
======================================== */

.about-content {
    max-width: 1100px;

    margin: auto;

    padding: 80px 24px;
}

.about-text {
    max-width: 800px;
}

.about-text h2 {
    font-size: clamp(32px, 5vw, 48px);

    line-height: 1.1;

    letter-spacing: -2px;

    margin-bottom: 30px;
}

.about-text p:not(.section-label) {
    color: #92929d;

    font-size: 17px;

    line-height: 1.8;

    margin-bottom: 20px;
}


/* ========================================
   EDUCATION
======================================== */

.education {
    max-width: 1100px;

    margin: auto;

    padding: 80px 24px;
}

.education > h2,
.skills-section > h2 {
    font-size: clamp(32px, 5vw, 48px);

    line-height: 1.1;

    letter-spacing: -2px;

    margin-bottom: 35px;
}

.education-card {
    padding: 30px;

    border-radius: 16px;

    background: rgba(255, 255, 255, 0.035);

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

    transition:
        transform 0.3s ease,
        border-color 0.3s ease;
}

.education-card:hover {
    transform: translateY(-5px);

    border-color: rgba(139, 139, 255, 0.35);
}

.education-card h3 {
    font-size: 20px;

    margin-bottom: 8px;
}

.education-card p {
    color: #92929d;

    font-size: 15px;
}

.education-card .location {
    margin-top: 4px;

    color: #6f6f79;
}


/* ========================================
   SKILLS
======================================== */

.skills-section {
    max-width: 1100px;

    margin: auto;

    padding: 80px 24px;
}

.skills-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 16px;
}

.skill-card {
    padding: 28px;

    min-height: 150px;

    border-radius: 14px;

    background: rgba(255, 255, 255, 0.035);

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

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        background 0.3s ease;
}

.skill-card:hover {
    transform: translateY(-6px);

    background: rgba(255, 255, 255, 0.05);

    border-color: rgba(139, 139, 255, 0.35);
}

.skill-card h3 {
    font-size: 18px;

    margin-bottom: 12px;
}

.skill-card p {
    color: #858590;

    font-size: 14px;
}


/* ========================================
   CTA
======================================== */

.about-cta {
    max-width: 1100px;

    margin: auto;

    padding: 120px 24px;

    text-align: center;

    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.about-cta h2 {
    font-size: clamp(34px, 5vw, 52px);

    line-height: 1.1;

    letter-spacing: -2px;

    margin-bottom: 18px;
}

.about-cta p:not(.section-label) {
    color: #92929d;

    margin-bottom: 30px;
}


/* ========================================
   BUTTON
======================================== */

.btn {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 13px 22px;

    border-radius: 8px;

    background: #ffffff;

    color: #08090d;

    font-size: 14px;

    font-weight: 600;

    transition:
        transform 0.25s ease,
        background 0.25s ease;
}

.btn:hover {
    transform: translateY(-3px);

    background: #dddddd;
}


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

.footer {
    border-top: 1px solid rgba(255, 255, 255, 0.07);

    padding: 30px 24px;

    text-align: center;

    color: #6f6f79;

    font-size: 13px;
}


/* ========================================
   TABLET
======================================== */

@media (max-width: 850px) {

    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


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

@media (max-width: 700px) {

    .navbar {
        padding: 18px 20px;
    }

    .nav-links {
        display: none;

        position: absolute;

        top: 70px;

        left: 20px;

        right: 20px;

        padding: 20px;

        flex-direction: column;

        gap: 18px;

        background: #111218;

        border: 1px solid rgba(255, 255, 255, 0.1);

        border-radius: 12px;
    }

    .nav-links.show {
        display: flex;
    }

    .menu-button {
        display: block;
    }


    .about-hero {
        padding-top: 80px;

        padding-bottom: 70px;
    }

    .about-hero h1 {
        letter-spacing: -3px;
    }

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


    .about-content,
    .education,
    .skills-section {
        padding-top: 60px;

        padding-bottom: 60px;
    }


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


    .about-cta {
        padding-top: 80px;

        padding-bottom: 80px;
    }

}