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

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

:root {
    --bg: #08090d;
    --bg-soft: #0d0f14;
    --card: #11141b;
    --border: rgba(255,255,255,0.09);

    --text: #f4f4f5;
    --muted: #9297a3;

    --accent: #8b5cf6;
    --accent-2: #22d3ee;

    --max-width: 1180px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
}

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

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


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

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;

    background: rgba(8, 9, 13, 0.75);
    backdrop-filter: blur(20px);

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

.nav {
    height: 78px;

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

.logo {
    width: 42px;
    height: 42px;

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

    border: 1px solid var(--border);
    border-radius: 50%;

    font-size: 17px;
    font-weight: 800;

    background: linear-gradient(
        135deg,
        rgba(139,92,246,.2),
        rgba(34,211,238,.1)
    );
}

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

.menu {
    display: flex;
    gap: 32px;
}

.menu a {
    font-size: 13px;
    color: var(--muted);
    transition: .3s;
}

.menu a:hover {
    color: white;
}

.nav-btn {
    border: 1px solid var(--border);
    padding: 9px 18px;
    border-radius: 50px;

    font-size: 12px;
    font-weight: 600;

    transition: .3s;
}

.nav-btn:hover {
    border-color: var(--accent);
    background: rgba(139,92,246,.1);
}


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

.hero {
    min-height: 100vh;
    position: relative;

    display: flex;
    align-items: center;

    padding-top: 100px;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 75% 30%,
            rgba(139,92,246,.14),
            transparent 30%
        ),
        radial-gradient(
            circle at 20% 70%,
            rgba(34,211,238,.08),
            transparent 30%
        );
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 70px;

    align-items: center;
}

.availability {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    padding: 7px 13px;

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

    color: var(--muted);
    font-size: 11px;
    letter-spacing: .5px;

    background: rgba(255,255,255,.025);
}

.availability span {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #22c55e;
    box-shadow: 0 0 12px #22c55e;
}

.intro {
    margin-top: 35px;

    color: var(--accent-2);
    font-size: 12px;
    font-weight: 700;

    letter-spacing: 4px;
}

.hero h1 {
    margin-top: 5px;

    font-size: clamp(65px, 8vw, 105px);
    line-height: .95;

    letter-spacing: -6px;
    font-weight: 800;
}

.hero h1 strong {
    display: block;

    background: linear-gradient(
        90deg,
        #fff,
        #8b5cf6,
        #22d3ee
    );

    -webkit-background-clip: text;
    background-clip: text;

    color: transparent;
}

.hero h2 {
    margin-top: 25px;

    font-size: 20px;
    font-weight: 500;

    color: #d7d9df;
}

.hero h2 span {
    color: var(--accent);
    padding: 0 8px;
}

.hero-text {
    max-width: 620px;

    margin-top: 20px;

    color: var(--muted);
    font-size: 15px;
}

.hero-buttons {
    display: flex;
    gap: 12px;

    margin-top: 35px;
}

.primary-btn,
.secondary-btn {
    padding: 13px 21px;

    border-radius: 8px;

    font-size: 13px;
    font-weight: 600;

    transition: .3s;
}

.primary-btn {
    color: white;

    background: linear-gradient(
        135deg,
        #7c3aed,
        #06b6d4
    );
}

.primary-btn span {
    margin-left: 10px;
}

.primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(124,58,237,.25);
}

.secondary-btn {
    border: 1px solid var(--border);
    color: #d4d4d8;
}

.secondary-btn:hover {
    background: rgba(255,255,255,.05);
}

.hero-stats {
    display: flex;
    gap: 45px;

    margin-top: 65px;
}

.hero-stats div {
    display: flex;
    flex-direction: column;
}

.hero-stats strong {
    font-size: 25px;
}

.hero-stats span {
    color: var(--muted);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}


/* =========================================================
   PROFILE CARD
========================================================= */

.profile-area {
    display: flex;
    justify-content: center;
}

.profile-card {
    position: relative;

    width: 340px;
    padding: 25px;

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

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.07),
            rgba(255,255,255,.015)
        );

    box-shadow:
        0 40px 100px rgba(0,0,0,.5);

    backdrop-filter: blur(20px);

    transform: rotate(2deg);

    transition: .5s;
}

.profile-card:hover {
    transform: rotate(0deg) translateY(-8px);
}

.card-top {
    display: flex;
    justify-content: space-between;

    color: #656a76;
    font-size: 9px;
    letter-spacing: 1.5px;
}

.status {
    color: #22c55e;
}

.avatar {
    width: 150px;
    height: 150px;

    margin: 45px auto 25px;

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

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            rgba(139,92,246,.3),
            rgba(34,211,238,.2)
        );

    border: 1px solid rgba(255,255,255,.12);
}

.avatar-inner {
    width: 120px;
    height: 120px;

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

    border-radius: 50%;

    background:
        radial-gradient(
            circle at 30% 20%,
            #8b5cf6,
            #111827 70%
        );

    font-size: 38px;
    font-weight: 800;

    box-shadow:
        inset 0 0 30px rgba(255,255,255,.08),
        0 0 50px rgba(139,92,246,.2);
}

.profile-card h3 {
    text-align: center;

    font-size: 23px;
}

.profile-card > p {
    text-align: center;

    margin-top: 5px;

    color: var(--muted);
    font-size: 12px;
}

.location {
    margin: 22px auto 0;

    width: fit-content;

    color: #aaaeba;
    font-size: 11px;
}

.location span {
    color: var(--accent-2);
    margin-right: 5px;
}

.card-line {
    height: 1px;

    margin: 25px 0;

    background: var(--border);
}

.mini-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.mini-info div + div {
    border-left: 1px solid var(--border);
    padding-left: 20px;
}

.mini-info small {
    display: block;

    color: #626773;
    font-size: 8px;
    letter-spacing: 1px;
}

.mini-info strong {
    font-size: 12px;
}


/* =========================================================
   SCROLL
========================================================= */

.scroll {
    position: absolute;

    bottom: 30px;
    left: 50%;

    transform: translateX(-50%);

    display: flex;
    align-items: center;
    gap: 10px;

    color: #555b68;

    font-size: 9px;
    letter-spacing: 2px;
}

.scroll span {
    width: 25px;
    height: 1px;

    background: #555b68;
}


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

.section {
    padding: 130px 0;
}

.dark-section {
    background: #0b0d12;

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

.section-heading > span {
    color: var(--accent-2);

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 3px;
}

.section-heading h2 {
    max-width: 750px;

    margin-top: 15px;

    font-size: clamp(38px, 5vw, 65px);
    line-height: 1.05;

    letter-spacing: -3px;
}

.section-heading em {
    font-style: normal;

    color: var(--muted);
}


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

.about-grid {
    display: grid;

    grid-template-columns: 1.1fr .9fr;

    gap: 100px;

    margin-top: 70px;
}

.about-text p {
    margin-bottom: 20px;

    color: var(--muted);
    font-size: 14px;
}

.about-text .large {
    color: #e5e7eb;

    font-size: 21px;
    line-height: 1.6;
}

.about-box {
    border-top: 1px solid var(--border);
}

.about-item {
    display: flex;
    align-items: center;
    gap: 25px;

    padding: 23px 0;

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

.about-item > span {
    color: #4c515d;

    font-size: 10px;
}

.about-item small {
    display: block;

    color: #5f6470;

    font-size: 8px;
    letter-spacing: 1.5px;
}

.about-item strong {
    font-size: 13px;
}


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

.skills-grid {
    display: grid;

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

    margin-top: 70px;

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

.skill {
    min-height: 190px;

    padding: 25px;

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

    transition: .3s;
}

.skill:hover {
    background: rgba(139,92,246,.05);
}

.skill > span {
    color: var(--accent);

    font-size: 10px;
}

.skill h3 {
    margin-top: 35px;

    font-size: 18px;
}

.skill p {
    margin-top: 8px;

    color: var(--muted);

    font-size: 11px;
}


/* =========================================================
   EXPERIENCE
========================================================= */

.experience {
    margin-top: 70px;
}

.experience-item {
    display: grid;

    grid-template-columns: 150px 1fr;

    padding: 40px 0;

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

.experience-date {
    color: var(--accent-2);

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 2px;
}

.experience-content h3 {
    font-size: 25px;
}

.experience-content h4 {
    margin-top: 5px;

    color: var(--accent);

    font-size: 13px;
    font-weight: 500;
}

.experience-content p {
    max-width: 700px;

    margin-top: 18px;

    color: var(--muted);

    font-size: 13px;
}

.tags,
.project-tags {
    display: flex;
    flex-wrap: wrap;

    gap: 7px;

    margin-top: 20px;
}

.tags span,
.project-tags span {
    padding: 5px 9px;

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

    color: #888e9b;

    font-size: 9px;
}


/* =========================================================
   PROJECTS
========================================================= */

.projects-section {
    background: #0a0b0f;
}

.projects-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 15px;

    margin-top: 70px;
}

.project {
    position: relative;

    min-height: 340px;

    padding: 30px;

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

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.035),
            rgba(255,255,255,.008)
        );

    overflow: hidden;

    transition: .4s;
}

.project:hover {
    border-color: rgba(139,92,246,.4);

    transform: translateY(-5px);
}

.project::after {
    content: "";

    position: absolute;

    width: 150px;
    height: 150px;

    right: -80px;
    bottom: -80px;

    border-radius: 50%;

    background: rgba(139,92,246,.08);

    filter: blur(20px);
}

.project-number {
    color: #4e5360;

    font-size: 11px;
}

.project-content {
    position: absolute;

    left: 30px;
    right: 30px;
    bottom: 30px;
}

.project-content > span {
    color: var(--accent-2);

    font-size: 9px;
    letter-spacing: 1.5px;
}

.project h3 {
    max-width: 500px;

    margin-top: 10px;

    font-size: 25px;
    line-height: 1.2;
}

.project p {
    max-width: 520px;

    margin-top: 12px;

    color: var(--muted);

    font-size: 12px;
}

.project-arrow {
    position: absolute;

    top: 25px;
    right: 25px;

    width: 38px;
    height: 38px;

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

    border: 1px solid var(--border);
    border-radius: 50%;

    color: #aaa;

    transition: .3s;
}

.project:hover .project-arrow {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}


/* =========================================================
   VISION
========================================================= */

.vision {
    padding: 160px 0;

    text-align: center;

    background:
        radial-gradient(
            circle at center,
            rgba(139,92,246,.12),
            transparent 45%
        );
}

.vision-label {
    color: var(--accent-2);

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 3px;
}

.vision h2 {
    margin-top: 25px;

    font-size: clamp(42px, 6vw, 80px);

    line-height: 1.05;
    letter-spacing: -4px;
}

.vision h2 span {
    background: linear-gradient(
        90deg,
        #8b5cf6,
        #22d3ee
    );

    -webkit-background-clip: text;
    background-clip: text;

    color: transparent;
}

.vision p {
    max-width: 650px;

    margin: 30px auto 0;

    color: var(--muted);

    font-size: 14px;
}

.vision-line {
    width: 80px;
    height: 1px;

    margin: 45px auto 0;

    background: linear-gradient(
        90deg,
        #8b5cf6,
        #22d3ee
    );
}


/* =========================================================
   CONTACT
========================================================= */

.contact {
    padding: 150px 0;

    background: #0b0d12;

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

.contact-inner {
    max-width: 850px;
}

.contact-label {
    color: var(--accent-2);

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 3px;
}

.contact h2 {
    margin-top: 25px;

    font-size: clamp(55px, 8vw, 100px);

    line-height: .95;
    letter-spacing: -5px;
}

.contact h2 em {
    color: var(--muted);
    font-style: normal;
}

.contact p {
    max-width: 550px;

    margin-top: 30px;

    color: var(--muted);

    font-size: 14px;
}

.email {
    display: inline-flex;
    align-items: center;
    gap: 25px;

    margin-top: 40px;

    padding-bottom: 10px;

    border-bottom: 1px solid #555;

    font-size: 18px;

    transition: .3s;
}

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

.email:hover {
    color: var(--accent-2);
    border-color: var(--accent-2);
}


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

footer {
    background: #08090d;

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

.footer {
    min-height: 110px;

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

    gap: 30px;
}

.footer strong {
    display: block;

    font-size: 14px;
}

.footer > div > span {
    color: #555b66;

    font-size: 10px;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: #777c88;

    font-size: 10px;

    transition: .3s;
}

.footer-links a:hover {
    color: white;
}

.footer p {
    color: #4e535e;

    font-size: 9px;
}


/* =========================================================
   BACKGROUND GLOW
========================================================= */

.hero-glow {
    position: absolute;

    border-radius: 50%;

    filter: blur(100px);

    pointer-events: none;
}

.glow-1 {
    width: 300px;
    height: 300px;

    right: 5%;
    top: 20%;

    background: rgba(139,92,246,.08);
}

.glow-2 {
    width: 250px;
    height: 250px;

    left: -100px;
    bottom: 10%;

    background: rgba(34,211,238,.05);
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 950px) {

    .menu {
        gap: 18px;
    }

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

    .profile-area {
        display: none;
    }

    .hero-content {
        max-width: 750px;
    }

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

    .about-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

}


@media (max-width: 700px) {

    .header .nav-btn {
        display: none;
    }

    .menu {
        gap: 12px;
    }

    .menu a {
        font-size: 10px;
    }

    .hero {
        padding-top: 130px;
    }

    .hero h1 {
        font-size: 65px;
        letter-spacing: -4px;
    }

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

    .hero-text {
        font-size: 13px;
    }

    .hero-stats {
        gap: 25px;
        margin-top: 50px;
    }

    .hero-stats strong {
        font-size: 20px;
    }

    .section {
        padding: 90px 0;
    }

    .section-heading h2 {
        font-size: 42px;
        letter-spacing: -2px;
    }

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

    .experience-item {
        grid-template-columns: 1fr;
        gap: 20px;
    }

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

    .project {
        min-height: 380px;
    }

    .vision {
        padding: 110px 0;
    }

    .vision h2 {
        font-size: 45px;
        letter-spacing: -2px;
    }

    .contact {
        padding: 100px 0;
    }

    .contact h2 {
        font-size: 60px;
        letter-spacing: -3px;
    }

    .footer {
        padding: 30px 0;

        flex-direction: column;

        text-align: center;
    }

}


@media (max-width: 450px) {

    .menu a:nth-child(3),
    .menu a:nth-child(4) {
        display: none;
    }

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

    .hero-buttons {
        flex-direction: column;
    }

    .primary-btn,
    .secondary-btn {
        text-align: center;
    }

    .hero-stats {
        flex-wrap: wrap;
    }

    .section-heading h2 {
        font-size: 36px;
    }

    .contact h2 {
        font-size: 48px;
    }

}
