
/* =========================================================
   VARIABLES
========================================================= */

:root {

    --bg: #050816;

    --surface: rgba(14, 20, 43, 0.62);

    --surface-light: rgba(28, 37, 72, 0.65);

    --text: #f7f9ff;

    --muted: #98a4c2;

    --line: rgba(255, 255, 255, 0.10);

    --line-light: rgba(255, 255, 255, 0.16);

    --purple: #8b5cf6;

    --purple-light: #a78bfa;

    --cyan: #22d3ee;

    --pink: #ec4899;

    --blue: #3b82f6;

    --max-width: 1240px;

    --radius: 24px;

    --font-main: "Manrope", sans-serif;

    --font-mono: "DM Mono", monospace;

}


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

* {
    margin: 0;

    padding: 0;

    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {

    min-height: 100vh;

    background:
        radial-gradient(
            circle at 10% 10%,
            rgba(139, 92, 246, 0.18),
            transparent 30%
        ),

        radial-gradient(
            circle at 90% 15%,
            rgba(34, 211, 238, 0.14),
            transparent 30%
        ),

        radial-gradient(
            circle at 50% 90%,
            rgba(236, 72, 153, 0.10),
            transparent 35%
        ),

        linear-gradient(
            135deg,
            #040612 0%,
            #081027 45%,
            #080a1b 100%
        );

    background-attachment: fixed;

    color: var(--text);

    font-family: var(--font-main);

    overflow-x: hidden;
}


a {
    color: inherit;

    text-decoration: none;
}


img {
    max-width: 100%;

    display: block;
}


/* =========================================================
   AURORA BACKGROUND
========================================================= */

.aurora {

    position: fixed;

    width: 500px;

    height: 500px;

    border-radius: 50%;

    filter: blur(110px);

    pointer-events: none;

    z-index: -5;

    opacity: 0.35;

    animation: auroraFloat 14s ease-in-out infinite;
}


.aurora-one {

    top: -200px;

    left: -150px;

    background: var(--purple);
}


.aurora-two {

    top: 25%;

    right: -250px;

    background: var(--cyan);

    animation-delay: -5s;
}


.aurora-three {

    bottom: -250px;

    left: 35%;

    background: var(--pink);

    animation-delay: -9s;
}


@keyframes auroraFloat {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(60px, -40px) scale(1.15);
    }

}


/* =========================================================
   GRID
========================================================= */

.grid {

    position: fixed;

    inset: 0;

    background-image:

        linear-gradient(
            rgba(139, 92, 246, 0.035) 1px,
            transparent 1px
        ),

        linear-gradient(
            90deg,
            rgba(34, 211, 238, 0.035) 1px,
            transparent 1px
        );

    background-size: 70px 70px;

    mask-image:
        linear-gradient(
            to bottom,
            black 0%,
            rgba(0, 0, 0, 0.5) 55%,
            transparent 100%
        );

    pointer-events: none;

    z-index: -4;
}


/* =========================================================
   NOISE
========================================================= */

.noise {

    position: fixed;

    inset: 0;

    opacity: 0.025;

    pointer-events: none;

    z-index: 100;

    background-image:
        url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E");
}


/* =========================================================
   NAVBAR
========================================================= */

.navbar {

    width: min(
        var(--max-width),
        calc(100% - 48px)
    );

    margin: 20px auto 0;

    padding: 15px 18px;

    display: flex;

    align-items: center;

    justify-content: space-between;

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

    border-radius: 18px;

    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,0.07),
            rgba(255,255,255,0.025)
        );

    backdrop-filter: blur(25px);

    box-shadow:
        0 25px 80px rgba(0,0,0,0.25),

        inset 0 1px
        rgba(255,255,255,0.08);

    position: relative;

    z-index: 20;
}


/* LOGO */

.logo {

    display: flex;

    align-items: center;

    gap: 10px;

    font-size: 13px;

    font-weight: 800;

    letter-spacing: 1px;
}


.logo-mark {

    width: 31px;

    height: 31px;

    display: grid;

    place-items: center;

    border-radius: 9px;

    background:
        linear-gradient(
            135deg,
            var(--purple),
            var(--cyan)
        );

    color: white;

    box-shadow:
        0 0 25px
        rgba(139,92,246,0.35);
}


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


/* NAV LINKS */

.navbar nav {

    display: flex;

    gap: 35px;
}


.navbar nav a {

    color: var(--muted);

    font-size: 12px;

    font-weight: 600;

    transition: 0.3s ease;
}


.navbar nav a:hover {

    color: white;

    transform: translateY(-2px);
}


/* NAV BUTTON */

.nav-button {

    display: flex;

    align-items: center;

    gap: 9px;

    padding: 11px 15px;

    border-radius: 10px;

    background: white;

    color: #080b18;

    font-size: 11px;

    font-weight: 800;

    transition: 0.3s ease;
}


.nav-button:hover {

    background:
        linear-gradient(
            135deg,
            var(--purple-light),
            var(--cyan)
        );

    color: white;

    transform: translateY(-3px);

    box-shadow:
        0 10px 30px
        rgba(139,92,246,0.25);
}


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

.hero {

    width: min(
        var(--max-width),
        calc(100% - 48px)
    );

    min-height: 850px;

    margin: auto;

    display: grid;

    grid-template-columns:
        1.05fr
        0.95fr;

    align-items: center;

    gap: 50px;

    padding: 100px 0;

    position: relative;
}


/* STATUS */

.status {

    display: inline-flex;

    align-items: center;

    gap: 9px;

    padding: 8px 13px;

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

    border-radius: 100px;

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

    color: var(--muted);

    font-family: var(--font-mono);

    font-size: 9px;

    letter-spacing: 1px;

    margin-bottom: 30px;
}


.status-dot {

    width: 7px;

    height: 7px;

    border-radius: 50%;

    background: #4ade80;

    box-shadow:
        0 0 15px #4ade80;

    animation: pulse 2s infinite;
}


@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.35;
    }

}


/* EYEBROW */

.eyebrow {

    color: var(--cyan);

    font-family: var(--font-mono);

    font-size: 10px;

    letter-spacing: 2px;

    margin-bottom: 20px;
}


.eyebrow span {
    color: var(--muted);

    margin: 0 5px;
}


/* HERO TITLE */

.hero h1 {

    max-width: 800px;

    font-size:
        clamp(
            60px,
            7.5vw,
            110px
        );

    line-height: 0.93;

    letter-spacing: -6px;

    font-weight: 800;
}


/* GRADIENT TEXT */

.gradient-text {

    color: transparent;

    background:
        linear-gradient(
            90deg,
            var(--purple-light),
            var(--cyan),
            var(--pink)
        );

    background-size: 200%;

    -webkit-background-clip: text;

    background-clip: text;

    animation: gradientMove 5s ease infinite;
}


@keyframes gradientMove {

    0% {
        background-position: 0%;
    }

    50% {
        background-position: 100%;
    }

    100% {
        background-position: 0%;
    }

}


/* DESCRIPTION */

.hero-description {

    max-width: 520px;

    margin-top: 35px;

    color: var(--muted);

    font-size: 15px;

    line-height: 1.9;
}


/* HERO BUTTONS */

.hero-actions {

    display: flex;

    gap: 12px;

    margin-top: 35px;
}


.primary-button,
.secondary-button {

    padding: 15px 20px;

    border-radius: 12px;

    font-size: 11px;

    font-weight: 800;

    transition: 0.3s ease;
}


.primary-button {

    display: flex;

    align-items: center;

    gap: 18px;

    background:
        linear-gradient(
            135deg,
            var(--purple),
            var(--blue)
        );

    color: white;

    box-shadow:
        0 15px 40px
        rgba(99,102,241,0.25);
}


.primary-button:hover {

    transform: translateY(-4px);

    box-shadow:
        0 20px 50px
        rgba(139,92,246,0.4);
}


.secondary-button {

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

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

    color: var(--muted);
}


.secondary-button:hover {

    color: white;

    border-color:
        rgba(255,255,255,0.3);

    background:
        rgba(255,255,255,0.06);
}


/* HERO META */

.hero-meta {

    display: flex;

    gap: 45px;

    margin-top: 65px;

    padding-top: 25px;

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


.hero-meta div {

    display: flex;

    flex-direction: column;

    gap: 7px;
}


.hero-meta span {

    color: #66708b;

    font-family: var(--font-mono);

    font-size: 8px;

    letter-spacing: 1px;
}


.hero-meta strong {

    font-size: 10px;

    font-weight: 600;
}


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

.hero-visual {

    height: 570px;

    position: relative;

    display: grid;

    place-items: center;
}


.glow {

    width: 280px;

    height: 280px;

    position: absolute;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            var(--purple),
            var(--cyan)
        );

    filter: blur(100px);

    opacity: 0.22;

    animation:
        glowPulse 5s ease-in-out infinite;
}


@keyframes glowPulse {

    0%,
    100% {
        transform: scale(1);

        opacity: 0.18;
    }

    50% {
        transform: scale(1.25);

        opacity: 0.30;
    }

}


/* ORBITS */

.orbit {

    position: absolute;

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

    border-radius: 50%;

    transform: rotate(-20deg);
}


.orbit-one {

    width: 330px;

    height: 170px;

    animation:
        orbitRotate 12s linear infinite;
}


.orbit-two {

    width: 440px;

    height: 240px;

    transform: rotate(55deg);

    animation:
        orbitReverse 17s linear infinite;
}


.orbit-three {

    width: 540px;

    height: 330px;

    transform: rotate(120deg);

    animation:
        orbitRotate 22s linear infinite;
}


@keyframes orbitRotate {

    from {
        transform:
            rotate(0deg);
    }

    to {
        transform:
            rotate(360deg);
    }

}


@keyframes orbitReverse {

    from {
        transform:
            rotate(360deg);
    }

    to {
        transform:
            rotate(0deg);
    }

}


/* CORE */

.core {

    width: 190px;

    height: 190px;

    border-radius: 50%;

    padding: 3px;

    display: grid;

    place-items: center;

    background:
        conic-gradient(
            from 0deg,
            var(--purple),
            var(--cyan),
            var(--pink),
            var(--purple)
        );

    box-shadow:
        0 0 80px
        rgba(139,92,246,0.25);

    position: relative;

    z-index: 5;

    animation:
        coreFloat 5s ease-in-out infinite;
}


.core::before {

    content: "";

    position: absolute;

    inset: 3px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle at 30% 20%,
            #1b2450,
            #080b1a 70%
        );
}


.core-inner {

    position: relative;

    z-index: 2;

    text-align: center;
}


.core-inner span {

    display: block;

    font-family: var(--font-mono);

    font-size: 25px;

    background:
        linear-gradient(
            90deg,
            var(--purple-light),
            var(--cyan)
        );

    color: transparent;

    -webkit-background-clip: text;

    background-clip: text;
}


.core-inner small {

    display: block;

    margin-top: 5px;

    color: #65708f;

    font-family: var(--font-mono);

    font-size: 9px;
}


@keyframes coreFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }

}


/* =========================================================
   FLOATING CARDS
========================================================= */

.floating-card {

    position: absolute;

    display: flex;

    align-items: center;

    gap: 12px;

    padding: 12px;

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

    border-radius: 13px;

    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,0.08),
            rgba(255,255,255,0.025)
        );

    backdrop-filter: blur(20px);

    box-shadow:
        0 20px 50px rgba(0,0,0,0.25);

    z-index: 10;

    animation:
        cardFloat 6s ease-in-out infinite;
}


.floating-card strong {

    display: block;

    font-size: 9px;

    letter-spacing: 1px;
}


.floating-card small {

    display: block;

    margin-top: 4px;

    color: var(--muted);

    font-family: var(--font-mono);

    font-size: 7px;
}


.floating-icon {

    width: 34px;

    height: 34px;

    display: grid;

    place-items: center;

    border-radius: 9px;

    background:
        rgba(139,92,246,0.13);

    color: var(--purple-light);

    font-family: var(--font-mono);

    font-size: 10px;
}


.card-html {

    top: 75px;

    right: 30px;
}


.card-python {

    bottom: 75px;

    left: 0;

    animation-delay: -2s;
}


.card-security {

    top: 48%;

    right: -25px;

    animation-delay: -4s;
}


@keyframes cardFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }

}


/* =========================================================
   MARQUEE
========================================================= */
/* =========================
   SMOOTH MOVING MARQUEE
========================= */

.marquee {
    width: 100%;
    overflow: hidden;

    padding: 24px 0;

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

    background:
        linear-gradient(
            90deg,
            rgba(139, 92, 246, 0.04),
            rgba(34, 211, 238, 0.04),
            rgba(139, 92, 246, 0.04)
        );

    position: relative;
}


/* Soft fade at both edges */

.marquee::before,
.marquee::after {
    content: "";

    position: absolute;

    top: 0;

    width: 120px;

    height: 100%;

    z-index: 2;

    pointer-events: none;
}


.marquee::before {
    left: 0;

    background:
        linear-gradient(
            90deg,
            #070b1a,
            transparent
        );
}


.marquee::after {
    right: 0;

    background:
        linear-gradient(
            270deg,
            #070b1a,
            transparent
        );
}


/* Moving content */

.marquee-track {
    display: flex;

    align-items: center;

    width: max-content;

    gap: 55px;

    white-space: nowrap;

    animation:
        marquee 10s linear infinite;

    will-change: transform;
}


/* Text */

.marquee span {
    flex-shrink: 0;

    font-size: 13px;

    font-weight: 800;

    letter-spacing: 3px;

    color: #dfe5f7;

    transition:
        color 0.3s ease,
        text-shadow 0.3s ease;
}


/* Dot / separator */

.marquee i {
    flex-shrink: 0;

    color: var(--cyan);

    font-style: normal;

    font-size: 18px;

    text-shadow:
        0 0 15px
        rgba(34, 211, 238, 0.7);
}


/* Smooth movement */

@keyframes marquee {

    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }

}


/* Pause when mouse is over it */

.marquee:hover .marquee-track {
    animation-play-state: paused;
}

/* =========================================================
   SECTIONS
========================================================= */

.section {

    width: min(
        var(--max-width),
        calc(100% - 48px)
    );

    margin: auto;

    padding: 150px 0;
}


.section-label {

    display: flex;

    align-items: center;

    gap: 14px;

    margin-bottom: 70px;

    color: var(--muted);

    font-family: var(--font-mono);

    font-size: 9px;

    letter-spacing: 2px;
}


.section-label span {

    color: var(--cyan);
}


.mini-label {

    color: var(--purple-light);

    font-family: var(--font-mono);

    font-size: 9px;

    letter-spacing: 2px;

    margin-bottom: 18px;
}


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

.about-layout {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 100px;
}


.about h2,
.skills h2,
.projects h2,
.process h2 {

    font-size:
        clamp(
            42px,
            5vw,
            70px
        );

    line-height: 1;

    letter-spacing: -4px;
}


.about h2 span,
.skills h2 span,
.projects h2 span,
.process h2 span {

    display: block;

    color: var(--muted);
}


.about-text {

    max-width: 560px;
}


.about-text > p {

    color: var(--muted);

    line-height: 1.9;

    margin-bottom: 25px;

    font-size: 14px;
}


/* STATS */

.stats {

    display: grid;

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

    margin-top: 55px;

    padding-top: 25px;

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


.stat {

    display: flex;

    flex-direction: column;

    gap: 6px;
}


.stat strong {

    font-size: 32px;

    background:
        linear-gradient(
            90deg,
            white,
            var(--purple-light)
        );

    color: transparent;

    -webkit-background-clip: text;

    background-clip: text;
}


.stat span {

    color: #68738f;

    font-family: var(--font-mono);

    font-size: 8px;

    letter-spacing: 1px;
}


/* =========================================================
   SECTION HEADING
========================================================= */

.section-heading {

    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 50px;

    margin-bottom: 70px;
}


.section-heading > p {

    max-width: 380px;

    color: var(--muted);

    font-size: 13px;

    line-height: 1.9;
}


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

.skills-grid {

    display: grid;

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

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

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


.skill-card {

    min-height: 390px;

    padding: 30px;

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

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

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,0.035),
            rgba(255,255,255,0.008)
        );

    position: relative;

    overflow: hidden;

    transition:
        0.4s ease;
}


.skill-card::after {

    content: "";

    position: absolute;

    width: 180px;

    height: 180px;

    right: -100px;

    bottom: -100px;

    border-radius: 50%;

    background:
        var(--purple);

    filter:
        blur(70px);

    opacity: 0;

    transition:
        0.5s ease;
}


.skill-card:hover {

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

    transform:
        translateY(-5px);
}


.skill-card:hover::after {

    opacity: 0.22;
}


.skill-top {

    display: flex;

    justify-content: space-between;

    color: #68738f;

    font-family: var(--font-mono);

    font-size: 9px;
}


.skill-arrow {

    color: var(--cyan);

    transition:
        0.3s ease;
}


.skill-card:hover .skill-arrow {

    transform:
        translate(4px,-4px);
}


.skill-icon {

    margin-top: 55px;

    color: var(--purple-light);

    font-family: var(--font-mono);

    font-size: 28px;

    text-shadow:
        0 0 25px
        rgba(139,92,246,0.5);
}


.skill-card h3 {

    margin-top: 25px;

    font-size: 21px;
}


.skill-card p {

    margin-top: 12px;

    color: var(--muted);

    line-height: 1.7;

    font-size: 12px;
}


.skill-tags {

    display: flex;

    flex-wrap: wrap;

    gap: 6px;

    margin-top: 25px;
}


.skill-tags span,
.project-tech span {

    padding: 6px 8px;

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

    border-radius: 6px;

    color: #8490ad;

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

    font-family: var(--font-mono);

    font-size: 7px;
}


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

.project-list {

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


.project {

    min-height: 650px;

    display: grid;

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

    align-items: center;

    gap: 50px;

    padding: 80px 0;

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


.project-index {

    align-self: start;

    color: var(--cyan);

    font-family: var(--font-mono);

    font-size: 10px;
}


.project-type {

    color: var(--purple-light);

    font-family: var(--font-mono);

    font-size: 8px;

    letter-spacing: 2px;

    margin-bottom: 20px;
}


.project-info h3 {

    font-size:
        clamp(
            38px,
            4vw,
            58px
        );

    line-height: 0.98;

    letter-spacing: -3px;
}


.project-info > p {

    max-width: 480px;

    margin-top: 25px;

    color: var(--muted);

    font-size: 13px;

    line-height: 1.8;
}


.project-tech {

    display: flex;

    flex-wrap: wrap;

    gap: 6px;

    margin-top: 25px;
}


.project-link {

    display: inline-flex;

    gap: 20px;

    margin-top: 35px;

    padding-bottom: 7px;

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

    color: var(--cyan);

    font-family: var(--font-mono);

    font-size: 9px;

    transition:
        0.3s ease;
}


.project-link:hover {

    gap: 30px;

    color: white;
}
/* =========================================================
   TERMINAL
========================================================= */

.terminal {

    width: 78%;

    background:
        #070b16;

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

    border-radius: 12px;

    overflow: hidden;

    box-shadow:
        0 35px 90px
        rgba(0,0,0,0.5);

    transform:
        rotate(-2deg);

    transition:
        0.5s ease;
}


.project:hover .terminal {

    transform:
        rotate(0)
        translateY(-8px);
}


.terminal-top {

    padding: 14px 18px;

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

    color: var(--muted);

    font-family: var(--font-mono);

    font-size: 8px;
}


.terminal-body {

    min-height: 250px;

    padding: 30px;

    color: #69748e;

    font-family: var(--font-mono);

    font-size: 9px;

    line-height: 2.4;
}


.terminal-body span,
.terminal-success {

    color:
        var(--cyan);

    text-shadow:
        0 0 12px
        rgba(34,211,238,0.4);
}


/* =========================================================
   PROCESS
========================================================= */

.process {

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


.process h2 {

    max-width: 700px;

    margin-bottom: 70px;
}


.process-grid {

    display: grid;

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

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

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


.process-item {

    min-height: 250px;

    padding: 30px;

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

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

    transition:
        0.3s ease;
}


.process-item:hover {

    background:
        rgba(139,92,246,0.05);
}


.process-item > span {

    color: var(--cyan);

    font-family: var(--font-mono);

    font-size: 9px;
}


.process-item h3 {

    margin-top: 60px;

    font-size: 20px;
}


.process-item p {

    color: var(--muted);

    font-size: 12px;

    line-height: 1.7;

    margin-top: 10px;
}


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

.contact {

    width: min(
        var(--max-width),
        calc(100% - 48px)
    );

    margin: 0 auto 80px;

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

    border-radius: 30px;

    overflow: hidden;

    position: relative;

    background:

        radial-gradient(
            circle at 80% 20%,
            rgba(139,92,246,0.18),
            transparent 35%
        ),

        radial-gradient(
            circle at 20% 90%,
            rgba(34,211,238,0.10),
            transparent 35%
        ),

        rgba(12,17,38,0.7);

    box-shadow:
        0 40px 120px
        rgba(0,0,0,0.25);
}


.contact::after {

    content: "";

    position: absolute;

    width: 500px;

    height: 500px;

    right: -250px;

    bottom: -300px;

    border:
        1px solid
        rgba(139,92,246,0.15);

    border-radius: 50%;
}


.contact-inner {

    padding:
        100px 10%;

    position: relative;

    z-index: 2;
}


.contact .section-label {

    margin-bottom: 90px;
}


.contact-small {

    color: var(--cyan);

    font-family: var(--font-mono);

    font-size: 9px;

    letter-spacing: 2px;
}


.contact h2 {

    max-width: 850px;

    margin-top: 20px;

    font-size:
        clamp(
            48px,
            7vw,
            95px
        );

    line-height: 0.95;

    letter-spacing: -5px;
}


.contact h2 span {

    display: block;

    color: var(--muted);
}


.email {

    display: inline-flex;

    align-items: center;

    gap: 25px;

    margin-top: 60px;

    padding-bottom: 10px;

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

    color: white;

    font-size: 20px;

    transition:
        0.3s ease;
}


.email:hover {

    color: var(--cyan);

    gap: 40px;
}


.socials {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.socials a {
    display: flex;
    flex-direction: column;
    gap: 5px;

    text-decoration: none;

    padding: 14px 16px;

    border: 1px solid var(--line);
    border-radius: 10px;

    transition: 0.3s ease;
}

.socials a span {
    color: #ffffff;

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

.socials a small {
    color: var(--muted);

    font-family: var(--font-mono);

    font-size: 9px;
}

.socials a:hover {
    border-color: var(--purple-light);

    background:
        rgba(139, 92, 246, 0.06);

    transform:
        translateX(5px);
}

.socials a:hover small {
    color: var(--cyan);
}


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

footer {

    width: min(
        var(--max-width),
        calc(100% - 48px)
    );

    margin: auto;

    padding:
        30px 0 50px;

    display: flex;

    justify-content: space-between;

    color: #59647e;

    font-family: var(--font-mono);

    font-size: 8px;

    letter-spacing: 1px;
}


footer a:hover {

    color: white;
}


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

@media (max-width: 1050px) {

    .hero {

        grid-template-columns: 1fr;

        padding-top: 100px;
    }


    .hero-visual {

        height: 480px;

        margin-top: 30px;
    }


    .skills-grid {

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


    .project {

        grid-template-columns:
            50px 1fr;
    }


    .project-visual {

        grid-column: 2;

        margin-top: 30px;
    }


    .process-grid {

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

}


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

@media (max-width: 750px) {

    .navbar {

        width:
            calc(100% - 24px);

        margin-top: 12px;
    }


    .navbar nav {

        display: none;
    }


    .nav-button {

        padding:
            9px 12px;
    }


    .hero {

        width:
            calc(100% - 30px);

        min-height:
            auto;

        padding:
            90px 0 60px;
    }


    .hero h1 {

        font-size:
            clamp(
                52px,
                16vw,
                78px
            );

        letter-spacing:
            -4px;
    }


    .hero-meta {

        gap: 20px;

        flex-wrap: wrap;
    }


    .hero-visual {

        height: 400px;
    }


    .core {

        width: 145px;

        height: 145px;
    }


    .orbit-one {

        width: 260px;

        height: 130px;
    }


    .orbit-two {

        width: 340px;

        height: 190px;
    }


    .orbit-three {

        width: 400px;

        height: 250px;
    }


    .floating-card {

        transform:
            scale(0.8);
    }


    .card-html {

        top: 30px;

        right: -5px;
    }


    .card-python {

        bottom: 20px;

        left: -10px;
    }


    .card-security {

        right: -25px;
    }


    .section {

        width:
            calc(100% - 30px);

        padding:
            100px 0;
    }


    .about-layout {

        grid-template-columns:
            1fr;

        gap: 50px;
    }


    .about h2,
    .skills h2,
    .projects h2,
    .process h2 {

        font-size: 48px;

        letter-spacing:
            -3px;
    }


    .section-heading {

        display: block;
    }


    .section-heading > p {

        margin-top: 25px;
    }


    .skills-grid {

        grid-template-columns:
            1fr;
    }


    .project {

        grid-template-columns:
            35px 1fr;

        gap: 20px;

        padding:
            60px 0;
    }


    .project-visual {

        grid-column: 2;

        min-height:
            300px;
    }


    .project-info h3 {

        font-size: 38px;
    }


    .dashboard-preview,
    .mini-browser,
    .terminal {

        width: 90%;
    }


    .process-grid {

        grid-template-columns:
            1fr;
    }


    .contact {

        width:
            calc(100% - 20px);

        border-radius:
            22px;
    }


    .contact-inner {

        padding:
            70px 25px;
    }


    .contact h2 {

        font-size: 52px;

        letter-spacing:
            -4px;
    }


    .email {

        font-size: 16px;
    }


    .socials {

        flex-wrap: wrap;

        margin-top: 55px;
    }


    footer {

        width:
            calc(100% - 30px);

        flex-direction:
            column;

        gap: 15px;
    }

}


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

@media (max-width: 450px) {

    .status {

        font-size: 7px;
    }


    .eyebrow {

        font-size: 8px;

        line-height: 1.8;
    }


    .hero h1 {

        font-size: 55px;
    }


    .hero-description {

        font-size: 13px;
    }


    .hero-actions {

        flex-direction:
            column;

        align-items:
            stretch;
    }


    .primary-button,
    .secondary-button {

        justify-content:
            center;

        text-align:
            center;
    }


    .hero-meta {

        display:
            grid;

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


    .hero-visual {

        height: 330px;
    }


    .core {

        width: 120px;

        height: 120px;
    }


    .core-inner span {

        font-size: 18px;
    }


    .orbit-one {

        width: 210px;

        height: 105px;
    }


    .orbit-two {

        width: 280px;

        height: 160px;
    }


    .orbit-three {

        width: 330px;

        height: 210px;
    }


    .floating-card {

        transform:
            scale(0.65);
    }


    .card-html {

        right: -30px;
    }


    .card-python {

        left: -40px;
    }


    .card-security {

        right: -55px;
    }


    .about h2,
    .skills h2,
    .projects h2,
    .process h2 {

        font-size:
            42px;
    }


    .stats {

        gap: 10px;
    }


    .stat strong {

        font-size: 25px;
    }


    .project-info h3 {

        font-size: 34px;

        letter-spacing:
            -2px;
    }


    .project-visual {

        min-height:
            260px;
    }


    .contact h2 {

        font-size:
            43px;
    }


    .email {

        font-size:
            14px;
    }

}


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

.navbar {

    transition:
        background 0.4s ease,
        box-shadow 0.4s ease,
        transform 0.4s ease;
}


.navbar.scrolled {

    background:
        rgba(7, 11, 26, 0.85);

    box-shadow:
        0 20px 60px
        rgba(0,0,0,0.35),

        inset 0 1px
        rgba(255,255,255,0.08);

    transform:
        translateY(-3px);
}


/* =========================================================
   ACTIVE NAV LINK
========================================================= */

.navbar nav a {

    position: relative;

    padding:
        5px 0;
}


.navbar nav a::after {

    content: "";

    position: absolute;

    left: 0;

    bottom: -5px;

    width: 0;

    height: 1px;

    background:
        linear-gradient(
            90deg,
            var(--purple-light),
            var(--cyan)
        );

    transition:
        width 0.3s ease;
}


.navbar nav a:hover::after,
.navbar nav a.active::after {

    width: 100%;
}


.navbar nav a.active {

    color: white;
}


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

.reveal {

    opacity: 0;

    transform:
        translateY(35px);

    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}


.reveal.revealed {

    opacity: 1;

    transform:
        translateY(0);
}


/* =========================================================
   SKILL MOUSE GLOW
========================================================= */

.skill-card {

    --mouse-x: 50%;

    --mouse-y: 50%;
}


.skill-card::before {

    content: "";

    position: absolute;

    inset: 0;

    background:
        radial-gradient(
            180px circle at
            var(--mouse-x)
            var(--mouse-y),

            rgba(139,92,246,0.12),

            transparent 70%
        );

    opacity: 0;

    transition:
        opacity 0.3s ease;

    pointer-events: none;
}


.skill-card:hover::before {

    opacity: 1;
}


/* =========================================================
   MOUSE GLOW
========================================================= */

.mouse-glow {

    position: fixed;

    width: 250px;

    height: 250px;

    border-radius: 50%;

    pointer-events: none;

    z-index: -1;

    background:
        radial-gradient(
            circle,
            rgba(139,92,246,0.10),
            transparent 70%
        );

    transform:
        translate3d(-50%, -50%, 0);

    filter:
        blur(20px);
}


/* =========================================================
   PAGE LOAD
========================================================= */

body:not(.page-loaded) .navbar {

    opacity: 0;

    transform:
        translateY(-20px);
}


body.page-loaded .navbar {

    opacity: 1;

    transform:
        translateY(0);

    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}


/* =========================================================
   PROJECT HOVER
========================================================= */

.project-visual {

    transition:
        transform 0.15s ease,
        box-shadow 0.4s ease;
}


.project:hover .project-visual {

    box-shadow:
        0 30px 80px
        rgba(0,0,0,0.35),

        0 0 60px
        rgba(139,92,246,0.08);
}


/* =========================================================
   BUTTON CLICK FEEDBACK
========================================================= */

.primary-button:active,
.secondary-button:active,
.nav-button:active {

    transform:
        scale(0.96);
}


/* =========================================================
   SELECTION
========================================================= */

::selection {

    background:
        rgba(139,92,246,0.45);

    color: white;
}


/* =========================================================
   CUSTOM SCROLLBAR
========================================================= */

::-webkit-scrollbar {

    width: 8px;
}


::-webkit-scrollbar-track {

    background:
        #050816;
}


::-webkit-scrollbar-thumb {

    background:
        linear-gradient(
            var(--purple),
            var(--cyan)
        );

    border-radius:
        10px;
}


::-webkit-scrollbar-thumb:hover {

    background:
        linear-gradient(
            var(--cyan),
            var(--pink)
        );
}