:root {
    --bg: #080c18;
    --card: #0f1623;
    --card2: #141c2f;
    --border: rgba(255, 255, 255, 0.07);
    --a1: #4f8ef7;
    --a2: #7c5cbf;
    --a3: #22d3a8;
    --text: #e8ecf4;
    --muted: #7a8ba3;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

html {
    scroll-behavior: smooth
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    overflow-x: hidden
}

/* CANVAS */
#bgc {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none
}

/* AURORA */
.aur {
    position: fixed;
    z-index: 0;
    pointer-events: none;
    border-radius: 50%;
    filter: blur(90px)
}

.a1 {
    width: 700px;
    height: 500px;
    top: -150px;
    left: -120px;
    background: radial-gradient(ellipse, rgba(79, 142, 247, .18), transparent 70%);
    animation: d1 20s ease-in-out infinite alternate
}

.a2 {
    width: 600px;
    height: 600px;
    top: 25%;
    right: -200px;
    background: radial-gradient(ellipse, rgba(124, 92, 191, .14), transparent 70%);
    animation: d2 24s ease-in-out infinite alternate
}

.a3 {
    width: 500px;
    height: 420px;
    bottom: 8%;
    left: 18%;
    background: radial-gradient(ellipse, rgba(34, 211, 168, .10), transparent 70%);
    animation: d3 28s ease-in-out infinite alternate
}

@keyframes d1 {
    from {
        transform: translate(0, 0) scale(1)
    }

    to {
        transform: translate(70px, 50px) scale(1.15)
    }
}

@keyframes d2 {
    from {
        transform: translate(0, 0) scale(1)
    }

    to {
        transform: translate(-60px, 70px) scale(1.1)
    }
}

@keyframes d3 {
    from {
        transform: translate(0, 0) scale(1)
    }

    to {
        transform: translate(50px, -60px) scale(1.18)
    }
}

/* GRID */
.grd {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image: linear-gradient(rgba(79, 142, 247, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(79, 142, 247, .04) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 100%)
}

/* CONTENT */
.wrap {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    margin: 0 auto;
}

/* NAV */
nav {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    height: 72px;
    background: rgba(8, 12, 24, .95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(79, 142, 247, .08);
    transition: background .3s
}

.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 60px;
    height: 100%;
}

.nlogo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none
}

nav ul {
    list-style: none;
    display: flex;
    gap: 36px
}

nav.sc {
    background: rgba(8, 12, 24, .95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(79, 142, 247, .08)
}

/* SIDE NAV */
.side-nav {
    position: fixed;
    left: 20px;
    top: 50%;
    transform: translateY(-50%) translateX(-100px);
    z-index: 200;
    opacity: 0;
    visibility: hidden;
    transition: transform .5s cubic-bezier(0.4, 0, 0.2, 1), opacity .5s, visibility .5s;
    width: 60px;
    /* Fixed width to ensure it's a slim strip */
}

.side-nav.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
}

.side-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Center icons horizontally */
    gap: 10px;
    background: rgba(15, 22, 35, .6);
    backdrop-filter: blur(16px);
    padding: 20px 0;
    /* Vertical padding only */
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, .08);
    box-shadow: 0 15px 45px rgba(0, 0, 0, .4);
    width: 100%;
}

.side-nav ul li a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    text-decoration: none;
    font-size: 17px;
    transition: all .3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.side-nav ul li a:hover {
    color: var(--text);
    background: rgba(255, 255, 255, .05);
}

.side-nav ul li a.active {
    color: #fff;
    background: var(--a1);
    box-shadow: 0 0 20px rgba(79, 142, 247, .5);
}

.side-nav ul li a::after {
    content: attr(title);
    position: absolute;
    left: 65px;
    background: var(--card2);
    color: var(--text);
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 13px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all .3s;
    border: 1px solid var(--border);
    box-shadow: 0 5px 15px rgba(0, 0, 0, .3);
}

.side-nav ul li a:hover::after {
    opacity: 1;
    visibility: visible;
    left: 60px;
}

.nlogo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none
}

.navt {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--a1), var(--a2));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Michroma', sans-serif;
    font-weight: 800;
    font-size: 15px;
    color: #fff;
    box-shadow: 0 0 16px rgba(79, 142, 247, .3)
}

.nname {
    font-family: 'Michroma', sans-serif;
    font-weight: 700;
    font-size: 15px;
    color: var(--text)
}

.nname .na {
    background: linear-gradient(135deg, var(--a1), var(--a2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text
}

.nsub {
    font-size: 11px;
    color: var(--a3);
    letter-spacing: .06em
}

nav ul {
    list-style: none;
    display: flex;
    gap: 36px
}

nav ul a {
    text-decoration: none;
    font-size: 14px;
    color: var(--muted);
    letter-spacing: .03em;
    transition: color .2s;
    position: relative
}

nav ul a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, var(--a1), var(--a3));
    transition: width .25s
}

nav ul a:hover {
    color: var(--text)
}

nav ul a:hover::after {
    width: 100%
}

.hamburger {
    display: none;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 10px;
    background: rgba(15, 22, 35, .78);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer
}

.hamburger span {
    display: block;
    width: 20px;
    height: 2px;
    background: #fff;
    border-radius: 1px;
    transition: transform .25s ease, opacity .25s ease
}

.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg)
}

.hamburger.active span:nth-child(2) {
    opacity: 0
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg)
}

/* PROGRESS */
#pb {
    position: fixed;
    top: 0;
    left: 0;
    height: 2px;
    z-index: 200;
    background: linear-gradient(90deg, var(--a1), var(--a2), var(--a3));
    width: 0%;
    transition: width .1s;
    box-shadow: 0 0 8px rgba(79, 142, 247, .5)
}

/* SECTION */
section {
    padding: 110px 60px;
    position: relative;
    z-index: 2
}

.slbl {
    font-size: 11px;
    letter-spacing: .18em;
    color: var(--a3);
    text-transform: uppercase;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px
}

.slbl::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 1px;
    background: linear-gradient(90deg, var(--a3), transparent)
}

.stit {
    font-family: 'Michroma', sans-serif;
    font-size: clamp(28px, 3vw, 46px);
    font-weight: 800;
    margin-bottom: 14px;
    position: relative;
    display: inline-block
}

.stit::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 52px;
    height: 3px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--a1), var(--a2), var(--a3))
}

.ssub {
    color: var(--muted);
    font-size: 15px;
    max-width: 540px;
    margin-top: 18px
}

/* REVEAL */
.rv {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity .7s ease, transform .7s ease
}

.rv.on {
    opacity: 1;
    transform: translateY(0)
}

.d1 {
    transition-delay: .1s
}

.d2 {
    transition-delay: .2s
}

.d3 {
    transition-delay: .3s
}

.d4 {
    transition-delay: .4s
}

/* HERO */
#home {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 72px 60px 0;
    gap: 60px;
    overflow: visible
}

#home::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(79, 142, 247, .4), rgba(34, 211, 168, .35), transparent)
}

.hlbl {
    font-size: 12px;
    letter-spacing: .15em;
    color: var(--a3);
    text-transform: uppercase;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    animation: fu .7s ease both
}

.hlbl::before {
    content: '';
    display: inline-block;
    width: 32px;
    height: 1px;
    background: linear-gradient(90deg, var(--a3), transparent)
}

.htit {
    font-family: 'Michroma', sans-serif;
    font-size: clamp(42px, 5.5vw, 76px);
    font-weight: 800;
    line-height: 1.06;
    margin-bottom: 10px;
    animation: fu .7s .1s ease both
}

.htit .na {
    background: linear-gradient(135deg, var(--a1), var(--a2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text
}

.hrol {
    font-family: 'Michroma', sans-serif;
    font-weight: 600;
    font-size: clamp(17px, 2vw, 23px);
    color: var(--text);
    margin-bottom: 22px;
    animation: fu .7s .2s ease forwards;
    min-height: 2em;
    opacity: 1;
    word-wrap: break-word;
    overflow-wrap: break-word
}

.hdesc {
    font-size: 15px;
    color: var(--muted);
    max-width: 460px;
    margin-bottom: 36px;
    line-height: 1.85;
    animation: fu .7s .3s ease both
}

.hact {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    animation: fu .7s .4s ease both
}

.btn-p {
    display: inline-block;
    padding: 13px 30px;
    background: linear-gradient(135deg, var(--a1), var(--a2));
    color: #fff;
    font-family: 'Michroma', sans-serif;
    font-weight: 700;
    font-size: 14px;
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 0 4px 24px rgba(79, 142, 247, .35);
    transition: transform .2s, box-shadow .2s;
    position: relative;
    overflow: hidden
}

.btn-p::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, .12), transparent);
    opacity: 0;
    transition: opacity .2s
}

.btn-p:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(79, 142, 247, .5)
}

.btn-p:hover::before {
    opacity: 1
}

.soc {
    display: flex;
    gap: 10px
}

.soc a {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    font-size: 15px;
    text-decoration: none;
    transition: color .2s, border-color .2s, background .2s, box-shadow .2s
}

.soc a:hover {
    color: var(--a1);
    border-color: rgba(79, 142, 247, .5);
    background: rgba(79, 142, 247, .08);
    box-shadow: 0 0 14px rgba(79, 142, 247, .2)
}

.himg {
    position: relative;
    display: flex;
    justify-content: center;
    animation: fu .9s .2s ease both
}

.hframe {
    width: min(420px, 100%);
    aspect-ratio: 4/5;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(79, 142, 247, .15);
    background: var(--card2);
    position: relative;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .05)
}

.hframe::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 22px;
    background: conic-gradient(from 0deg, var(--a1), var(--a2), var(--a3), var(--a1));
    z-index: -1;
    animation: spin 8s linear infinite;
    opacity: .45
}

@keyframes spin {
    to {
        transform: rotate(360deg)
    }
}

.pphoto {
    width: 100%;
    height: 100%;
    background: linear-gradient(160deg, #141c30, #0a1020);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    position: relative
}

.pphoto i {
    font-size: 88px;
    color: rgba(79, 142, 247, .18)
}

.pphoto span {
    font-size: 12px;
    color: var(--muted);
    letter-spacing: .12em
}

.pphoto::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(79, 142, 247, .6), transparent);
    animation: scan 3s ease-in-out infinite
}

@keyframes scan {
    0% {
        top: 20%;
        opacity: 0
    }

    10% {
        opacity: 1
    }

    90% {
        opacity: 1
    }

    100% {
        top: 80%;
        opacity: 0
    }
}

.hstat {
    position: absolute;
    top: 28px;
    right: -24px;
    background: rgba(15, 22, 35, .9);
    border: 1px solid rgba(79, 142, 247, .2);
    border-radius: 12px;
    padding: 14px 20px;
    backdrop-filter: blur(14px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, .4)
}

.hstat .num {
    font-family: 'Michroma', sans-serif;
    font-size: 30px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--a1), var(--a3));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text
}

.hstat .lbl {
    font-size: 11px;
    color: var(--muted);
    letter-spacing: .06em
}

.cur {
    display: inline-block;
    width: 2px;
    height: .9em;
    background: var(--a3);
    margin-left: 3px;
    vertical-align: -2px;
    animation: blink .8s step-end infinite
}

@keyframes blink {

    0%,
    100% {
        opacity: 1
    }

    50% {
        opacity: 0
    }
}

@keyframes fu {
    from {
        opacity: 0;
        transform: translateY(28px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

/* ABOUT */
.agrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-top: 60px
}

.aiwrap {
    position: relative;
    max-width: 480px;
    margin: 0 auto
}

.ai {
    border-radius: 18px;
    overflow: hidden;
    background: var(--card2);
    border: 1px solid var(--border);
    /* aspect-ratio: 1; */
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 24px 64px rgba(0, 0, 0, .4)
}

.ai img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px
}

.ai i {
    font-size: 100px;
    color: rgba(79, 142, 247, .15)
}

.abadge {
    position: absolute;
    background: rgba(15, 22, 35, .95);
    border: 1px solid rgba(79, 142, 247, .2);
    border-radius: 10px;
    padding: 10px 16px;
    backdrop-filter: blur(10px);
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .4)
}

.abadge i {
    color: var(--a3);
    font-size: 14px
}

.ab1 {
    top: -16px;
    right: -16px;
    animation: bf 4s ease-in-out infinite alternate
}

.ab2 {
    bottom: 20px;
    left: -20px;
    animation: bf 4s 1.5s ease-in-out infinite alternate
}

@keyframes bf {
    from {
        transform: translateY(0)
    }

    to {
        transform: translateY(-8px)
    }
}

.atxt h3 {
    font-family: 'Michroma', sans-serif;
    font-weight: 700;
    font-size: 22px;
    margin-bottom: 16px
}

.atxt p {
    color: var(--muted);
    margin-bottom: 20px;
    font-size: 15px
}

.ainfo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 28px
}

.ainfo .k {
    font-size: 11px;
    color: var(--a3);
    letter-spacing: .12em;
    text-transform: uppercase;
}

.ainfo .v {
    font-size: 11px;
    color: var(--text);
    font-weight: 500;
}

/* SERVICES */
.sgrid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 60px
}

.sc {
    background: rgba(15, 22, 35, .7);
    border: 1px solid rgba(255, 255, 255, .06);
    border-radius: 16px;
    padding: 32px;
    transition: border-color .3s, transform .25s, box-shadow .3s;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px)
}

.sc::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(79, 142, 247, .05), transparent 60%);
    opacity: 0;
    transition: opacity .3s
}

.sc::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--a1), transparent);
    transform: scaleX(0);
    transition: transform .4s
}

.sc:hover {
    border-color: rgba(79, 142, 247, .3);
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, .4), 0 0 30px rgba(79, 142, 247, .08)
}

.sc:hover::before {
    opacity: 1
}

.sc:hover::after {
    transform: scaleX(1)
}

.si {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(79, 142, 247, .15), rgba(124, 92, 191, .1));
    border: 1px solid rgba(79, 142, 247, .2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--a1);
    margin-bottom: 20px;
    transition: box-shadow .3s
}

.sc:hover .si {
    box-shadow: 0 0 20px rgba(79, 142, 247, .3)
}

.sc h3 {
    font-family: 'Michroma', sans-serif;
    font-weight: 700;
    font-size: 17px;
    margin-bottom: 10px
}

.sc p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.75
}

/* RESUME */
.rtabs {
    display: flex;
    gap: 0;
    margin: 48px 0 0;
    border-bottom: 1px solid var(--border)
}

.tb {
    padding: 12px 28px;
    background: none;
    border: none;
    color: var(--muted);
    cursor: pointer;
    font-family: 'Michroma', sans-serif;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: .06em;
    text-transform: uppercase;
    position: relative;
    transition: color .2s
}

.tb::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--a1), var(--a3));
    transform: scaleX(0);
    transition: transform .3s
}

.tb.on {
    color: var(--text)
}

.tb.on::after {
    transform: scaleX(1)
}

.tp {
    display: none
}

.tp.on {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px 60px;
    margin-top: 36px
}

.ri {
    padding-bottom: 28px;
    border-bottom: 1px solid var(--border)
}

.ri:last-child {
    border-bottom: none
}

.rit {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 4px
}

.ri h4 {
    font-family: 'Michroma', sans-serif;
    font-weight: 700;
    font-size: 16px
}

.ri .dt {
    font-size: 12px;
    color: var(--a3);
    background: rgba(34, 211, 168, .1);
    border: 1px solid rgba(34, 211, 168, .2);
    padding: 3px 10px;
    border-radius: 20px;
    white-space: nowrap
}

.ri .og {
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 8px
}

.ri p {
    font-size: 14px;
    color: var(--muted)
}

.skgrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 60px;
    margin-top: 36px
}

.ski .skt {
    display: flex;
    justify-content: space-between;
    margin-bottom: 7px
}

.ski .skn {
    font-size: 14px;
    font-weight: 500
}

.ski .skp {
    font-size: 13px;
    color: var(--a1)
}

.skbar {
    height: 3px;
    background: rgba(255, 255, 255, .06);
    border-radius: 2px;
    overflow: hidden
}

.skf {
    height: 100%;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--a1), var(--a2), var(--a3));
    width: 0;
    transition: width 1.2s cubic-bezier(.4, 0, .2, 1);
    position: relative;
    overflow: hidden
}

.skf::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .3), transparent);
    animation: ss 2s ease-in-out infinite
}

@keyframes ss {
    0% {
        transform: translateX(-100%)
    }

    100% {
        transform: translateX(300%)
    }
}

/* PORTFOLIO */
.subsection-title {
    font-family: 'Michroma', sans-serif;
    font-size: clamp(18px, 2vw, 24px);
    font-weight: 700;
    margin-top: 48px;
    margin-bottom: 28px;
    color: var(--text);
    position: relative;
    display: inline-block
}

.subsection-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    border-radius: 1px;
    background: linear-gradient(90deg, var(--a1), var(--a2))
}

.section-separator {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(79, 142, 247, .3), transparent);
    margin: 48px 0
}

.pgrid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 60px
}

.pc {
    border-radius: 16px;
    overflow: hidden;
    background: var(--card);
    border: 1px solid var(--border);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 300px;
    transition: transform .3s, border-color .3s, box-shadow .3s;
    cursor: pointer
}

.pc:hover {
    transform: translateY(-6px);
    border-color: rgba(79, 142, 247, .35);
    box-shadow: 0 24px 60px rgba(0, 0, 0, .5), 0 0 30px rgba(79, 142, 247, .1)
}

.pci {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.pci.s1 {
    background: linear-gradient(135deg, #0f1a30, #1a1535)
}

.pci.s2 {
    background: linear-gradient(135deg, #0d1825, #102030)
}

.pci.s3 {
    background: linear-gradient(135deg, #12182e, #0b1120)
}

.pgb {
    display: none
}

.pd {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    height: 100%;
    padding: 20px;
}

.pd img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.pd i {
    font-size: 54px;
    color: rgba(79, 142, 247, .3)
}

.pd span {
    font-family: 'Michroma', sans-serif;
    font-size: 10px;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--muted)
}

.po {
    background: linear-gradient(0deg, rgba(8, 12, 24, .98), rgba(8, 12, 24, .85));
    padding: 16px 16px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    flex: 1;
    border-top: 1px solid rgba(79, 142, 247, .1);
}

.po h4 {
    font-family: 'Michroma', sans-serif;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 6px;
    line-height: 1.3
}

.po p {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.5
}

/* IMAGE LOADER */
.image-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(79, 142, 247, 0.2);
    border-top-color: var(--a1);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.image-loader.hidden {
    display: none;
}

/* CONTACT */
.cgrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    margin-top: 60px;
    align-items: start
}

.ci p {
    color: var(--muted);
    font-size: 15px;
    margin-bottom: 36px
}

.citems {
    display: flex;
    flex-direction: column;
    gap: 20px
}

.cit {
    display: flex;
    align-items: center;
    gap: 16px
}

.cit .ico {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(79, 142, 247, .12), rgba(124, 92, 191, .08));
    border: 1px solid rgba(79, 142, 247, .2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--a1);
    font-size: 16px;
    flex-shrink: 0;
    transition: box-shadow .25s, transform .2s
}

.cit:hover .ico {
    box-shadow: 0 0 18px rgba(79, 142, 247, .3);
    transform: scale(1.05)
}

.cit .lbl {
    font-size: 10px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .12em
}

.cit .val {
    font-size: 14px;
    color: var(--text);
    font-weight: 500;
    margin-top: 2px
}

.cf form {
    display: flex;
    flex-direction: column;
    gap: 16px
}

.frow {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px
}

.cf input,
.cf textarea {
    background: rgba(15, 22, 35, .8);
    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: 10px;
    padding: 16px 16px;
    color: var(--text);
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
    resize: none;
    width: 100%;
    backdrop-filter: blur(8px)
}

.cf input::placeholder,
.cf textarea::placeholder {
    color: var(--muted)
}

.cf input:focus,
.cf textarea:focus {
    border-color: rgba(79, 142, 247, .5);
    box-shadow: 0 0 0 3px rgba(79, 142, 247, .08), 0 0 20px rgba(79, 142, 247, .1)
}

.cf textarea {
    height: 120px
}

.bts {
    align-self: flex-start;
    padding: 13px 32px;
    background: linear-gradient(135deg, var(--a1), var(--a2));
    color: #fff;
    font-family: 'Michroma', sans-serif;
    font-weight: 700;
    font-size: 14px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(79, 142, 247, .35);
    transition: transform .2s, box-shadow .2s
}

.bts:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(79, 142, 247, .5)
}

.bts:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.form-message {
    font-size: 14px;
    border-radius: 4px;
    animation: fu .4s ease-out;
}

/* FOOTER */
footer {
    text-align: center;
    padding: 36px 60px;
    border-top: 1px solid rgba(79, 142, 247, .08);
    font-size: 13px;
    color: var(--muted);
    position: relative;
    z-index: 2
}

footer span {
    color: var(--text)
}

/* ORB */
.orb {
    position: fixed;
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
    animation: orbup linear infinite;
    opacity: 0
}

@keyframes orbup {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0
    }

    10% {
        opacity: 1
    }

    90% {
        opacity: 1
    }

    100% {
        transform: translateY(-100vh) rotate(360deg);
        opacity: 0
    }
}

@media(max-width:900px) {
    .side-nav {
        top: 100px;
        transform: translateY(0) translateX(-100px);
    }

    .side-nav.visible {
        transform: translateY(0) translateX(0);
    }

    .nav-container {
        padding: 0 24px
    }

    nav ul {
        gap: 20px
    }

    section {
        padding: 70px 24px
    }

    #home {
        grid-template-columns: 1fr;
        padding: 100px 24px 60px
    }

    .agrid,
    .cgrid {
        grid-template-columns: 1fr;
        gap: 40px
    }

    .sgrid,
    .pgrid {
        grid-template-columns: 1fr 1fr
    }

    .hstat {
        right: 0;
        top: -38px
    }

    .tp.on {
        grid-template-columns: 1fr
    }

    .skgrid {
        grid-template-columns: 1fr
    }
}

@media(max-width:600px) {
    .side-nav {
        display: none;
    }

    nav {
        position: fixed;
        top: 0;
        left: 0;
        transform: none;
        width: 100%;
        max-width: none;
        border-radius: 0;
        border-top: none;
        border-left: none;
        border-right: none;
        padding: 0 64px 0 16px;
        overflow: visible;
        background: rgba(8, 12, 24, .95);
        backdrop-filter: blur(20px);
    }

    .nav-container {
        padding: 0;
    }

    .nlogo {
        max-width: calc(100% - 76px)
    }

    .nname {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis
    }

    .hamburger {
        display: inline-flex;
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
        width: 44px;
        height: 44px;
        align-items: center;
        justify-content: center;
        border-color: rgba(255, 255, 255, .22);
        z-index: 102;
        flex-shrink: 0
    }

    nav ul {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        margin: 0;
        padding: 8px 16px 14px;
        display: flex;
        flex-direction: column;
        gap: 0;
        background: rgba(8, 12, 24, .98);
        border-bottom: 1px solid rgba(79, 142, 247, .15);
        transform: translateY(-120%);
        opacity: 0;
        pointer-events: none;
        transition: transform .25s ease, opacity .25s ease;
        z-index: 101
    }

    nav ul.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto
    }

    nav ul li {
        border-bottom: 1px solid rgba(255, 255, 255, .06)
    }

    nav ul li:last-child {
        border-bottom: none
    }

    nav ul a {
        display: block;
        padding: 14px 0
    }

    .sgrid,
    .pgrid {
        grid-template-columns: 1fr
    }

    .frow {
        grid-template-columns: 1fr
    }

    .ainfo {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .ainfo>div {
        display: flex;
        align-items: baseline;
    }

    .ainfo .k {
        flex: 0 0 110px;
        font-size: 11px;
    }

    .ainfo .v {
        margin-top: 0;
        font-size: 11px;
    }
}