/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=Outfit:wght@300;400;500;600;700&family=Poppins:wght@700;800;900&display=swap');

:root {
    --bg: #0B0C14;
    --bg2: #0F1020;
    --bg3: #141628;
    --bg4: #1a1d30;
    --border: rgba(255, 255, 255, .07);
    --border-hi: rgba(255, 255, 255, .14);
    --text: #E8E6FF;
    --text-sub: #8A88A8;
    --text-dim: #4A4868;
    --a1: #7C6EFA;
    --a2: #34D1C5;
    --a3: #F87171;
    --a1-glow: rgba(124, 110, 250, .22);
    --a2-glow: rgba(52, 209, 197, .18);
    --grad: linear-gradient(135deg, #7C6EFA 0%, #34D1C5 100%);
    --grad-text: linear-gradient(120deg, #7C6EFA 20%, #34D1C5 80%);
    --r: 16px;
    --r-sm: 12px;
    --nav-h: 68px;
}

/* ── LIGHT MODE ── */
body.light-mode,
html.light-mode-pre body {
    --bg: #F5F4FF;
    --bg2: #EEEEFF;
    --bg3: #FFFFFF;
    --bg4: #F0EFFF;
    --border: rgba(0, 0, 0, .08);
    --border-hi: rgba(0, 0, 0, .14);
    --text: #1A1830;
    --text-sub: #4A4870;
    --text-dim: #9A98B8;
    --a1: #6055E8;
    --a2: #1FB8AD;
    --a3: #E05555;
    --a1-glow: rgba(96, 85, 232, .18);
    --a2-glow: rgba(31, 184, 173, .15);
}

body.light-mode .bg-grid {
    background-image: linear-gradient(rgba(0, 0, 0, .03) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 0, 0, .03) 1px, transparent 1px);
}

body.light-mode .glow-1 {
    background: rgba(124, 110, 250, .08);
}

body.light-mode .glow-2 {
    background: rgba(52, 209, 197, .06);
}

body.light-mode .glow-3 {
    background: rgba(248, 113, 113, .04);
}

body.light-mode #navbar {
    background: rgba(245, 244, 255, .88);
}

body.light-mode .nav-links a:hover,
body.light-mode .nav-links a.active {
    background: rgba(0, 0, 0, .05);
}

body.light-mode .fg input,
body.light-mode .fg textarea {
    background: rgba(0, 0, 0, .03);
}

body.light-mode .skill-icon-card:hover {
    box-shadow: 0 8px 32px rgba(96, 85, 232, .14);
}

body.light-mode .proj-card:hover {
    box-shadow: 0 0 32px rgba(96, 85, 232, .14);
}

body.light-mode .ach-card:hover {
    box-shadow: 0 0 36px rgba(96, 85, 232, .12);
}

body.light-mode .abc {
    background-color: #EEEEFF;
    border: 1px solid rgba(96, 85, 232, .15);
}

body.light-mode .contact-form {
    box-shadow: 0 4px 24px rgba(0, 0, 0, .06);
}

.theme-toggle {
    width: 38px;
    height: 38px;
    border-radius: 9px;
    background: rgba(255, 255, 255, .06);
    border: 1.5px solid var(--border-hi);
    color: var(--text-sub);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .25s;
    flex-shrink: 0;
    font-size: 1.1rem;
}

.theme-toggle:hover {
    background: rgba(124, 110, 250, .12);
    border-color: var(--a1);
    color: var(--a1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 18px;
}

body {
    font-family: 'Outfit', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    transition: background .3s, color .3s;
    font-size: 1rem;
}

h1,
h2,
h3,
h4 {
    font-family: 'Syne', sans-serif;
    line-height: 1.15;
}

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

ul {
    list-style: none;
}

.bg-grid {
    position: fixed;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, .022) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .022) 1px, transparent 1px);
    background-size: 56px 56px;
    pointer-events: none;
    z-index: 0;
    transition: background-image .3s;
}

.bg-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(110px);
    pointer-events: none;
    z-index: 0;
    transition: background .3s;
}

.glow-1 {
    width: 550px;
    height: 550px;
    background: rgba(124, 110, 250, .1);
    top: -80px;
    right: -120px;
}

.glow-2 {
    width: 450px;
    height: 450px;
    background: rgba(52, 209, 197, .07);
    bottom: 0;
    left: -100px;
}

.glow-3 {
    width: 280px;
    height: 280px;
    background: rgba(248, 113, 113, .05);
    top: 55%;
    left: 42%;
}

section {
    position: relative;
    z-index: 1;
    max-width: 1380px;
    margin: 0 auto;
    padding: 90px 5%;
}

.sec-label {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--a1);
    margin-bottom: 16px;
}

.lline {
    display: inline-block;
    width: 28px;
    height: 2px;
    background: var(--grad);
    border-radius: 2px;
}

.sec-title {
    font-size: clamp(2rem, 3.8vw, 3.2rem);
    margin-bottom: 48px;
}

.grad-text {
    background: var(--grad-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ══════════════════════════════════════════
   CHANGE 1: Poppins for "Projects" & "Together"
══════════════════════════════════════════ */
#projects .sec-title,
#projects .sec-title .grad-text,
.footer-cta-headline,
.footer-cta-headline .grad-text {
    font-family: 'Poppins', sans-serif !important;
    font-weight: 800 !important;
    letter-spacing: -0.02em;
}

/* ══════════════════════════════════════════
   CHANGE 2: "Available for work" bounce
══════════════════════════════════════════ */
@keyframes badge-bounce {

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

    20% {
        transform: translateY(-8px);
    }

    40% {
        transform: translateY(-3px);
    }

    60% {
        transform: translateY(-6px);
    }

    80% {
        transform: translateY(-2px);
    }
}

.hero-badge {
    animation: badge-bounce 2.2s ease-in-out infinite !important;
    display: inline-flex;
}

/* ══════════════════════════════════════════
   CHANGE 3: Section labels — pill box + bounce
══════════════════════════════════════════ */
@keyframes label-bounce {

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

    25% {
        transform: translateY(-6px);
    }

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

    75% {
        transform: translateY(-5px);
    }
}

.sec-label>span:not(.lline) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(124, 110, 250, 0.10);
    border: 1.5px solid rgba(124, 110, 250, 0.35);
    border-radius: 8px;
    padding: 5px 16px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: var(--a1);
    animation: label-bounce 2.4s ease-in-out infinite;
}

#about .sec-label>span:not(.lline) {
    animation-delay: 0.0s;
}

#skills .sec-label>span:not(.lline) {
    animation-delay: 0.3s;
}

#projects .sec-label>span:not(.lline) {
    animation-delay: 0.6s;
}

#achievements .sec-label>span:not(.lline) {
    animation-delay: 0.9s;
}

#Experince .sec-label>span:not(.lline) {
    animation-delay: 1.2s;
}

#contact .sec-label>span:not(.lline) {
    animation-delay: 1.5s;
}

body.light-mode .sec-label>span:not(.lline) {
    background: rgba(96, 85, 232, 0.08);
    border-color: rgba(96, 85, 232, 0.30);
}

/* ══════════════════════════════════════════
   REST OF ORIGINAL CSS (unchanged)
══════════════════════════════════════════ */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nav-h);
    background: rgba(11, 12, 20, .8);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
    transition: border-color .3s, background .3s;
}

#navbar.scrolled {
    border-color: var(--border-hi);
}

.nav-inner {
    max-width: 1380px;
    margin: 0 auto;
    padding: 0 5%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.logo {
    font-family: 'Syne', sans-serif;
    font-size: 1rem;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -.01em;
    white-space: nowrap;
}

.logo-dot {
    color: var(--a1);
}

.nav-links {
    display: flex;
}

.nav-links a {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-sub);
    padding: 7px 14px;
    border-radius: 8px;
    transition: color .2s, background .2s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text);
    background: rgba(255, 255, 255, .06);
}

.nav-cta {
    font-size: .8rem;
    font-weight: 600;
    color: var(--a1);
    border: 1.5px solid rgba(124, 110, 250, .35);
    padding: 7px 18px;
    border-radius: 8px;
    transition: all .2s;
    white-space: nowrap;
}

.nav-cta:hover {
    background: rgba(124, 110, 250, .12);
    border-color: var(--a1);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all .3s;
}

.hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

#hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
    padding-top: calc(var(--nav-h) + 60px);
    padding-bottom: 80px;
}

.hero-left {
    flex: 1;
    max-width: 680px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: .78rem;
    font-weight: 500;
    color: var(--a2);
    background: rgba(52, 209, 197, .1);
    border: 1px solid rgba(52, 209, 197, .22);
    padding: 6px 15px;
    border-radius: 100px;
    margin-bottom: 24px;
}

.badge-pulse {
    width: 8px;
    height: 8px;
    background: var(--a2);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(52, 209, 197, .5);
    }

    70% {
        box-shadow: 0 0 0 8px rgba(52, 209, 197, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(52, 209, 197, 0);
    }
}

.hero-name {
    font-size: clamp(2.8rem, 6.5vw, 5.4rem);
    font-weight: 800;
    letter-spacing: -.03em;
    margin-bottom: 16px;
}

.name-grad {
    background: var(--grad-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.wave {
    display: inline-block;
    animation: wave 2.5s ease-in-out infinite;
}

@keyframes wave {

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

    20% {
        transform: rotate(-15deg);
    }

    40% {
        transform: rotate(15deg);
    }

    60% {
        transform: rotate(-5deg);
    }

    80% {
        transform: rotate(5deg);
    }
}

.typing-line {
    font-size: clamp(1.1rem, 2.2vw, 1.6rem);
    font-weight: 600;
    color: var(--a1);
    margin-bottom: 22px;
    height: 2.2rem;
    display: flex;
    align-items: center;
    gap: 2px;
}

.cursor {
    color: var(--a2);
    animation: blink 3s step-end infinite;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

.hero-tagline {
    font-size: 1.15rem;
    color: var(--text-sub);
    margin-bottom: 32px;
    line-height: 1.85;
    font-weight: 300;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 14px 28px;
    border-radius: var(--r-sm);
    font-family: 'Outfit', sans-serif;
    font-size: .92rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .25s;
    border: none;
}

.btn svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}

.btn-primary {
    background: var(--grad);
    color: #fff;
    box-shadow: 0 6px 24px var(--a1-glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(124, 110, 250, .38);
}

.btn-ghost {
    background: rgba(255, 255, 255, .06);
    color: var(--text);
    border: 1.5px solid var(--border-hi);
}

body.light-mode .btn-ghost {
    background: rgba(0, 0, 0, .04);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, .1);
    transform: translateY(-2px);
}

.hero-btns {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 44px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 18px;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-n {
    font-family: 'Syne', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text);
    line-height: 1;
}

.stat-l {
    font-size: .7rem;
    color: var(--text-dim);
    font-weight: 500;
    margin-top: 2px;
}

.stat-sep {
    width: 1px;
    height: 32px;
    background: var(--border-hi);
}

.hero-right {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-wrap {
    position: relative;
    width: 420px;
    height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-glow {
    position: absolute;
    inset: -20px;
    background: var(--a1-glow);
    border-radius: 50%;
    filter: blur(45px);
}

.profile-ring {
    width: 355px;
    height: 355px;
    border-radius: 50%;
    padding: 4px;
    background: var(--grad);
    box-shadow: 0 0 55px var(--a1-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.profile-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--bg3);
    border: 3px solid var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.profile-img img {
    width: 100%;
    height: 122%;
    object-fit: cover;
    object-position: center 30%;
    border-radius: 50%;
    transform: scale(1.58);
    transform-origin: center 55%;
}

.p-letter {
    font-family: 'Syne', sans-serif;
    font-size: 5rem;
    font-weight: 800;
    background: var(--grad-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: .55;
}

.orbit-tag {
    position: absolute;
    background: var(--bg3);
    border: 1px solid var(--border-hi);
    border-radius: 100px;
    padding: 7px 14px;
    font-size: .75rem;
    font-weight: 600;
    color: var(--text-sub);
    white-space: nowrap;
    backdrop-filter: blur(10px);
}

.ot-1 {
    top: 36px;
    right: 30px;
    animation: fl1 4s ease-in-out infinite;
}

.ot-2 {
    bottom: 60px;
    left: 30px;
    animation: fl2 5s ease-in-out infinite;
}

.ot-3 {
    top: 52%;
    right: -28px;
    animation: fl1 3.5s ease-in-out infinite;
}

@keyframes fl1 {

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

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

@keyframes fl2 {

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

    50% {
        transform: translateY(9px);
    }
}

#about {
    background: none;
}

.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.about-head h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800;
    color: var(--text);
    line-height: 1.25;
    position: sticky;
    top: 88px;
}

.about-head h2 em {
    font-style: normal;
    background: var(--grad-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-right p {
    color: var(--text-sub);
    font-size: .97rem;
    margin-bottom: 14px;
    font-weight: 300;
    line-height: 1.85;
}

.about-right strong {
    color: var(--text);
    font-weight: 600;
}

.personal-info {
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.pi-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}

.pi-row:last-child {
    border-bottom: none;
}

.pi-dot {
    width: 8px;
    height: 8px;
    background: var(--a2);
    border-radius: 50%;
    flex-shrink: 0;
}

.pi-label {
    font-size: .82rem;
    font-weight: 700;
    color: var(--text);
    min-width: 110px;
}

.pi-val {
    font-size: .82rem;
    color: var(--text-sub);
}

.about-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 28px;
}

.acard {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    padding: 16px 20px;
    transition: border-color .25s, transform .25s;
}

.acard:hover {
    border-color: rgba(124, 110, 250, .4);
    transform: translateX(5px);
}

.acard-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.acard strong {
    display: block;
    font-size: .88rem;
    color: var(--text);
    margin-bottom: 1px;
}

.acard span {
    font-size: .75rem;
    color: var(--text-dim);
}

#skills {
    background: none;
}

.sk-timeline {
    position: relative;
    padding: 0 0 60px;
}

.sk-spine {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(180deg, transparent 0%, var(--a1) 8%, var(--a1) 92%, transparent 100%);
    transform: translateX(-50%);
    opacity: 0.35;
}

.sk-spine::before,
.sk-spine::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--a1);
    box-shadow: 0 0 10px var(--a1);
}

.sk-spine::before {
    top: 0;
}

.sk-spine::after {
    bottom: 0;
}

.sk-row {
    display: grid;
    grid-template-columns: 1fr 60px 1fr;
    align-items: start;
    gap: 0;
    margin-bottom: 40px;
    position: relative;
    min-height: 160px;
}

.sk-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    position: relative;
    z-index: 2;
    padding-top: 24px;
}

.sk-node-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--bg);
    border: 2px solid var(--a1);
    box-shadow: 0 0 10px rgba(124, 110, 250, .5);
    flex-shrink: 0;
    transition: all .3s;
}

.sk-row:hover .sk-node-dot {
    background: var(--a1);
    box-shadow: 0 0 20px rgba(124, 110, 250, .8);
    transform: scale(1.3);
}

.sk-node-line {
    width: 1px;
    flex: 1;
    min-height: 20px;
    background: linear-gradient(180deg, var(--a1) 0%, transparent 100%);
    opacity: 0.3;
}

.sk-stage {
    display: flex;
    padding-top: 18px;
}

.sk-stage.left {
    justify-content: flex-end;
    padding-right: 24px;
}

.sk-stage.right {
    justify-content: flex-start;
    padding-left: 24px;
}

.sk-stage-empty {
    opacity: 0;
    pointer-events: none;
}

.sk-stage-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 210px;
    padding: 13px 28px;
    background: transparent;
    border: 1.5px solid var(--a1);
    border-radius: 6px;
    font-family: 'Syne', sans-serif;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--a1);
    cursor: pointer;
    transition: all .25s;
    position: relative;
    overflow: hidden;
}

.sk-stage-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--a1);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s ease;
}

.sk-stage-btn:hover::before,
.sk-stage-btn.active::before {
    transform: scaleX(1);
}

.sk-stage-btn:hover,
.sk-stage-btn.active {
    color: #fff;
}

.sk-stage-btn span {
    position: relative;
    z-index: 1;
}

body.light-mode .sk-stage-btn {
    border-color: var(--a1);
    color: var(--a1);
}

body.light-mode .sk-stage-btn:hover,
body.light-mode .sk-stage-btn.active {
    color: #fff;
}

.sk-card-wrap {
    padding-top: 18px;
}

.sk-card-wrap.left {
    padding-right: 24px;
    display: flex;
    justify-content: flex-end;
}

.sk-card-wrap.right {
    padding-left: 24px;
}

.sk-card {
    background: var(--bg3);
    border: 1.5px solid var(--border);
    border-radius: 10px;
    padding: 24px 26px;
    width: 100%;
    max-width: 380px;
    opacity: 0;
    transform: translateX(30px);
    transition: opacity .4s ease, transform .4s ease, border-color .25s, box-shadow .25s;
    pointer-events: none;
    will-change: transform;
}

.sk-card-wrap.left .sk-card {
    transform: translateX(-30px);
}

.sk-card.visible {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.sk-card:hover {
    border-color: rgba(124, 110, 250, .55);
    box-shadow: 0 16px 48px rgba(124, 110, 250, .22), 0 4px 16px rgba(124, 110, 250, .1);
}

.sk-card.tilt-reset {
    transition: opacity .4s ease, transform .55s cubic-bezier(.25, .8, .25, 1), border-color .25s, box-shadow .25s;
}

.sk-card-title {
    font-family: 'Syne', sans-serif;
    font-size: .66rem;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--a2);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.sk-card-title::before {
    content: '';
    display: inline-block;
    width: 14px;
    height: 1px;
    background: var(--a2);
}

.sk-skills-list,
.sk-tools-list {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-bottom: 16px;
}

.sk-skills-list:last-child,
.sk-tools-list:last-child {
    margin-bottom: 0;
}

.sk-skill-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .84rem;
    color: var(--text-sub);
    font-weight: 300;
}

.sk-skill-item::before {
    content: '▶';
    font-size: .5rem;
    color: var(--a1);
    flex-shrink: 0;
}

.sk-tool-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .78rem;
    color: var(--text-dim);
}

.sk-tool-item::before {
    content: '○';
    font-size: .6rem;
    color: var(--a2);
    flex-shrink: 0;
}

.sk-tool-icon::before {
    display: none;
}

.sk-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 48px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
    gap: 16px;
    flex-wrap: wrap;
}

.sk-topbar-label {
    font-family: 'Syne', sans-serif;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--a2);
}

#achievements {
    background: none;
}

.ach-sticky-wrapper {
    position: relative;
}

.ach-slide {
    position: sticky;
    top: calc(var(--nav-h) + 20px);
    margin-bottom: 24px;
    transition: transform .4s cubic-bezier(.25, .8, .25, 1), box-shadow .4s;
}

.ach-slide:nth-child(1) {
    z-index: 1;
}

.ach-slide:nth-child(2) {
    z-index: 2;
}

.ach-slide:nth-child(3) {
    z-index: 3;
}

.ach-spacer {
    height: 30vh;
}

.ach-list {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.ach-card {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 28px;
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 32px;
    transition: border-color .3s, box-shadow .3s, transform .3s;
    will-change: transform;
}

.ach-card:hover {
    border-color: rgba(124, 110, 250, .55);
    box-shadow: 0 16px 48px rgba(124, 110, 250, .22), 0 4px 16px rgba(124, 110, 250, .1);
}

.ach-card.tilt-reset {
    transition: transform .55s cubic-bezier(.25, .8, .25, 1), border-color .3s, box-shadow .3s;
}

.ach-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
}

.ach-emoji {
    font-size: 2.6rem;
    line-height: 1;
}

.ach-yr {
    font-size: .72rem;
    font-weight: 600;
    color: var(--text-dim);
    letter-spacing: .06em;
}

.ach-tag-pill {
    font-size: .67rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--a2);
    background: rgba(52, 209, 197, .1);
    border: 1px solid rgba(52, 209, 197, .22);
    padding: 4px 10px;
    border-radius: 100px;
}

.ach-right h3 {
    font-size: 1.18rem;
    color: var(--text);
    margin-bottom: 10px;
}

.ach-right p {
    font-size: .88rem;
    color: var(--text-sub);
    line-height: 1.8;
    font-weight: 300;
    margin-bottom: 22px;
}

.ach-imgs {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.ach-img {
    text-align: center;
}

.ach-img img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 0;
    border: none;
}

.ach-img p {
    margin-top: 10px;
    font-size: 18px;
    color: #ffffff;
}

body.light-mode .ach-img p {
    color: var(--text-sub);
}

#projects {
    background: none;
}

.proj-grid {
    display: none;
}

.proj-slider-section {
    margin-bottom: 28px;
    overflow: hidden;
    position: relative;
    padding: 0;
}

.proj-slider-section::before,
.proj-slider-section::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 60px;
    z-index: 2;
    pointer-events: none;
}

.proj-slider-section::before {
    left: 0;
    background: linear-gradient(to right, var(--bg), transparent);
}

.proj-slider-section::after {
    right: 0;
    background: linear-gradient(to left, var(--bg), transparent);
}

.proj-track {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: slide-infinite 40s linear infinite;
    padding: 0 20px;
}

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

.proj-track.reverse {
    animation-direction: reverse;
}

@keyframes slide-infinite {
    0% {
        transform: translateX(0);
    }

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

.proj-card {
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: border-color .3s, transform .3s, box-shadow .3s;
    position: relative;
    width: 460px;
    flex-shrink: 0;
}

.proj-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--grad);
    transform: scaleX(0);
    transition: transform .3s;
}

.proj-card:hover {
    border-color: rgba(124, 110, 250, .4);
    transform: translateY(-5px);
    box-shadow: 0 0 32px var(--a1-glow);
}

.proj-card:hover::after {
    transform: scaleX(1);
}

.proj-thumb {
    aspect-ratio: 16/9;
    background: var(--bg4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    border-bottom: 1px solid var(--border);
    min-height: 220px;
}

.proj-body {
    padding: 26px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.pc-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pc-num {
    font-family: 'Syne', sans-serif;
    font-size: .78rem;
    font-weight: 700;
    color: var(--text-dim);
}

.pc-btns {
    display: flex;
    gap: 7px;
}

.pc-btn {
    width: 30px;
    height: 30px;
    border-radius: 7px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-sub);
    transition: all .2s;
}

.pc-btn svg {
    width: 13px;
    height: 13px;
}

.pc-btn:hover {
    background: var(--a1);
    border-color: var(--a1);
    color: #fff;
}

.pc-btn-view {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 0 10px;
    height: 30px;
    border-radius: 7px;
    background: var(--grad);
    border: none;
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-size: .68rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s;
    white-space: nowrap;
    text-decoration: none;
}

.pc-btn-view:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(124, 110, 250, .4);
}

.pc-btn-view svg {
    width: 11px;
    height: 11px;
    fill: none;
    stroke: #fff;
    stroke-width: 2.5;
}

.proj-body h3 {
    font-size: 1.2rem;
    color: var(--text);
    font-family: 'Syne', sans-serif;
    font-weight: 700;
}

.proj-body p {
    font-size: .9rem;
    color: var(--text-sub);
    font-weight: 300;
    line-height: 1.75;
    flex: 1;
}

.pc-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 4px;
}

.pc-tech span {
    font-size: .72rem;
    font-weight: 600;
    color: var(--a2);
    background: rgba(52, 209, 197, .08);
    border: 1px solid rgba(52, 209, 197, .18);
    padding: 4px 12px;
    border-radius: 100px;
}

.project {
    width: 100%;
    height: 240px;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid var(--border);
    border-radius: 18px 18px 0 0;
    flex-shrink: 0;
}

.project img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

#contact {
    background: none;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 52px;
    align-items: start;
}

.c-intro {
    font-size: .95rem;
    color: var(--text-sub);
    margin-bottom: 28px;
    line-height: 1.85;
    font-weight: 300;
}

.c-links {
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.clink {
    display: flex;
    align-items: center;
    gap: 13px;
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    padding: 14px 18px;
    transition: all .25s;
}

.clink:hover {
    border-color: rgba(124, 110, 250, .4);
    transform: translateX(5px);
}

.cl-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.clink>div {
    flex: 1;
}

.cl-lbl {
    display: block;
    font-size: .68rem;
    color: var(--text-dim);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.cl-val {
    display: block;
    font-size: .85rem;
    font-weight: 600;
    color: var(--text);
}

.cl-arr {
    color: var(--a1);
    font-size: .9rem;
    transition: transform .2s;
}

.clink:hover .cl-arr {
    transform: translateX(4px);
}

.contact-form {
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.fg {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.fg label {
    font-size: .73rem;
    font-weight: 700;
    color: var(--text-sub);
    text-transform: uppercase;
    letter-spacing: .07em;
}

.fg input,
.fg textarea {
    padding: 12px 15px;
    border: 1.5px solid var(--border);
    border-radius: var(--r-sm);
    background: rgba(255, 255, 255, .03);
    color: var(--text);
    font-family: 'Outfit', sans-serif;
    font-size: .88rem;
    outline: none;
    resize: vertical;
    transition: border-color .2s, box-shadow .2s;
}

.fg input::placeholder,
.fg textarea::placeholder {
    color: var(--text-dim);
}

.fg input:focus,
.fg textarea:focus {
    border-color: var(--a1);
    box-shadow: 0 0 0 3px rgba(124, 110, 250, .12);
}

.fe {
    font-size: .73rem;
    color: var(--a3);
    min-height: 15px;
}

.f-success {
    font-size: .83rem;
    color: var(--a2);
    background: rgba(52, 209, 197, .1);
    border: 1px solid rgba(52, 209, 197, .22);
    padding: 11px 15px;
    border-radius: 9px;
    text-align: center;
    display: none;
}

.f-success.show {
    display: block;
}

footer {
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--border);
    padding: 26px 5%;
}

.footer-in {
    max-width: 1380px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.f-logo {
    font-family: 'Syne', sans-serif;
    font-size: 0.89rem;
    font-weight: 800;
    color: var(--text);
}

footer p {
    font-size: .8rem;
    color: var(--text-dim);
}

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

.f-socials a {
    font-size: 1.1rem;
    opacity: .5;
    transition: opacity .2s, transform .2s;
}

.f-socials a:hover {
    opacity: 1;
    transform: translateY(-3px);
}

.abc {
    align-items: center;
    background-color: #161717;
    border: 1px solid #001833;
    border-radius: 8px;
}

.scrtop {
    position: fixed;
    bottom: 26px;
    right: 26px;
    width: 44px;
    height: 44px;
    border-radius: 11px;
    background: var(--bg3);
    border: 1px solid var(--border-hi);
    color: var(--text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: all .3s;
    z-index: 900;
}

.scrtop svg {
    width: 17px;
    height: 17px;
}

.scrtop.show {
    opacity: 1;
    pointer-events: all;
}

.scrtop:hover {
    background: var(--a1);
    border-color: var(--a1);
    transform: translateY(-3px);
}

.reveal {
    opacity: 0;
    transform: translateX(80px);
    transition: opacity .7s cubic-bezier(.22, .68, 0, 1.2), transform .7s cubic-bezier(.22, .68, 0, 1.2);
}

.reveal.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal.exit-up {
    opacity: 0;
    transform: translateX(-80px);
}

.reveal-d1 {
    transition-delay: .08s;
}

.reveal-d2 {
    transition-delay: .16s;
}

.reveal-d3 {
    transition-delay: .24s;
}

.reveal-d4 {
    transition-delay: .32s;
}

.reveal-d5 {
    transition-delay: .40s;
}

.sec-header {
    text-align: center;
    position: relative;
    margin-bottom: 56px;
}

.sec-faded-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Syne', sans-serif;
    font-size: clamp(36px, 6vw, 80px);
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.028);
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
    line-height: 1;
    transition: color .3s;
}

body.light-mode .sec-faded-bg {
    color: rgba(0, 0, 0, 0.045);
}

.sec-header .sec-label {
    justify-content: center;
    margin-bottom: 12px;
}

.sec-header .sec-title {
    margin-bottom: 0;
    display: inline-block;
    position: relative;
}

#Experince {
    background: none;
}

.tl-outer {
    position: relative;
    padding: 8px 0 40px;
}

.tl-spine {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    transform: translateX(-50%);
    background: linear-gradient(to bottom, transparent 0%, var(--a1) 6%, var(--a2) 55%, var(--a1) 94%, transparent 100%);
    opacity: .28;
    border-radius: 4px;
}

.tl-spine::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--a1);
    transform: translateX(-50%);
    box-shadow: 0 0 12px var(--a1), 0 0 24px var(--a1-glow);
    animation: tl-bead 4s ease-in-out infinite;
}

@keyframes tl-bead {
    0% {
        top: 0%;
        opacity: 1;
    }

    100% {
        top: 100%;
        opacity: 0.3;
    }
}

.tl-row {
    display: grid;
    grid-template-columns: 1fr 56px 1fr;
    align-items: start;
    margin-bottom: 48px;
    position: relative;
}

.tl-row .tl-block-left {
    grid-column: 1;
    padding-right: 36px;
}

.tl-row .tl-node {
    grid-column: 2;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 22px;
}

.tl-row .tl-block-right {
    grid-column: 3;
    padding-left: 36px;
}

.tl-block-empty {
    opacity: 0;
    pointer-events: none;
}

.tl-node-dot {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--bg3);
    border: 2.5px solid var(--a1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--a1);
    z-index: 3;
    position: relative;
    box-shadow: 0 0 0 6px rgba(124, 110, 250, .08), 0 0 22px var(--a1-glow);
    transition: transform .3s, box-shadow .3s, border-color .3s;
    flex-shrink: 0;
}

.tl-row:hover .tl-node-dot {
    transform: scale(1.15);
    box-shadow: 0 0 0 10px rgba(124, 110, 250, .12), 0 0 32px var(--a1-glow);
}

.tl-node-dot svg {
    width: 18px;
    height: 18px;
}

.tl-block-left {
    position: relative;
}

.tl-block-left::after {
    content: '';
    position: absolute;
    right: 0;
    top: 45px;
    width: 36px;
    height: 2px;
    background: linear-gradient(to left, transparent, var(--a1));
    opacity: .35;
}

.tl-block-right {
    position: relative;
}

.tl-block-right::before {
    content: '';
    position: absolute;
    left: 0;
    top: 45px;
    width: 36px;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--a1));
    opacity: .35;
}

.tl-block {
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 28px 30px 24px;
    position: relative;
    overflow: hidden;
    transition: border-color .3s, box-shadow .3s;
    will-change: transform;
}

.tl-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    border-radius: var(--r) var(--r) 0 0;
    opacity: 0;
    transition: opacity .3s;
}

.tl-block.dev::before {
    background: linear-gradient(90deg, #7C6EFA, #34D1C5);
}

.tl-block.ai::before {
    background: linear-gradient(90deg, #34D1C5, #7C6EFA);
}

.tl-block.design::before {
    background: linear-gradient(90deg, #F8A171, #F87171);
}

.tl-block.community::before {
    background: linear-gradient(90deg, #A78BFA, #7C6EFA);
}

.tl-block:hover::before {
    opacity: 1;
}

.tl-block:hover {
    border-color: rgba(124, 110, 250, .42);
    box-shadow: 0 16px 48px var(--a1-glow), 0 4px 16px rgba(124, 110, 250, .1);
}

.tl-block.tilt-reset {
    transition: border-color .3s, box-shadow .3s, transform .55s cubic-bezier(.25, .8, .25, 1);
}

.tl-bhead {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.tl-pill {
    font-size: .6rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 100px;
}

.tl-pill.dev {
    background: rgba(124, 110, 250, .12);
    color: var(--a1);
    border: 1px solid rgba(124, 110, 250, .28);
}

.tl-pill.ai {
    background: rgba(52, 209, 197, .12);
    color: var(--a2);
    border: 1px solid rgba(52, 209, 197, .28);
}

.tl-pill.design {
    background: rgba(248, 161, 113, .12);
    color: #F8A171;
    border: 1px solid rgba(248, 161, 113, .28);
}

.tl-pill.community {
    background: rgba(167, 139, 250, .12);
    color: #A78BFA;
    border: 1px solid rgba(167, 139, 250, .28);
}

.tl-period {
    font-size: .7rem;
    font-weight: 600;
    color: var(--text-dim);
    letter-spacing: .06em;
    display: flex;
    align-items: center;
    gap: 6px;
}

.tl-period::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--a2);
    flex-shrink: 0;
}

.tl-title {
    font-family: 'Syne', sans-serif;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 2px;
    line-height: 1.2;
}

.tl-org {
    font-size: .76rem;
    font-weight: 600;
    color: var(--a1);
    margin-bottom: 16px;
    opacity: .9;
}

.tl-divider {
    height: 1px;
    background: var(--border);
    margin-bottom: 16px;
}

.tl-pts {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.tl-pts li {
    font-size: .83rem;
    color: var(--text-sub);
    font-weight: 300;
    line-height: 1.65;
    padding-left: 20px;
    position: relative;
}

.tl-pts li::before {
    content: '▸';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--a1);
    font-size: .7rem;
    opacity: .8;
}

.tl-techs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.tl-techs span {
    font-size: .66rem;
    font-weight: 600;
    color: var(--a2);
    background: rgba(52, 209, 197, .07);
    border: 1px solid rgba(52, 209, 197, .18);
    padding: 3px 10px;
    border-radius: 100px;
}

.about-extra {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height .6s cubic-bezier(.4, 0, .2, 1), opacity .5s ease;
}

.about-extra.expanded {
    max-height: 600px;
    opacity: 1;
}

.about-btns {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 24px;
    margin-bottom: 8px;
    align-items: center;
}

.btn-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    border-radius: var(--r-sm);
    font-family: 'Outfit', sans-serif;
    font-size: .84rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .25s;
    border: 1.5px solid rgba(124, 110, 250, .4);
    background: rgba(124, 110, 250, .08);
    color: var(--a1);
}

.btn-read-more:hover {
    background: rgba(124, 110, 250, .16);
    border-color: var(--a1);
    transform: translateY(-2px);
}

.btn-read-more .rm-arrow {
    display: inline-block;
    transition: transform .3s;
    font-style: normal;
}

.btn-read-more.open .rm-arrow {
    transform: rotate(180deg);
}

.btn-dl {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 11px 22px;
    border-radius: var(--r-sm);
    font-family: 'Outfit', sans-serif;
    font-size: .84rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .25s;
    border: none;
    background: var(--grad);
    color: #fff;
    box-shadow: 0 6px 24px var(--a1-glow);
    text-decoration: none;
}

.btn-dl:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(124, 110, 250, .38);
}

.btn-dl svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}

.about-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: start;
}

.about-left-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.about-left-col p {
    color: var(--text-sub);
    font-size: .97rem;
    line-height: 1.88;
    font-weight: 300;
}

.about-left-col p strong {
    color: var(--text);
    font-weight: 600;
}

.about-info-card {
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 30px 28px;
    position: relative;
    overflow: hidden;
    transition: border-color .3s, box-shadow .3s;
    will-change: transform;
}

.about-info-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(124, 110, 250, .05) 0%, transparent 55%);
    pointer-events: none;
}

.about-info-card:hover {
    border-color: rgba(124, 110, 250, .55);
    box-shadow: 0 16px 48px rgba(124, 110, 250, .22), 0 4px 16px rgba(124, 110, 250, .1);
}

.about-info-card.tilt-reset {
    transition: border-color .3s, box-shadow .3s, transform .55s cubic-bezier(.25, .8, .25, 1);
}

.aic-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border);
}

.aic-dot {
    width: 10px;
    height: 10px;
    background: var(--a2);
    border-radius: 50%;
    flex-shrink: 0;
    animation: aicpulse 2.5s ease-in-out infinite;
}

@keyframes aicpulse {

    0%,
    100% {
        box-shadow: 0 0 6px var(--a2);
    }

    50% {
        box-shadow: 0 0 18px var(--a2), 0 0 36px rgba(52, 209, 197, .3);
    }
}

.aic-title {
    font-family: 'Syne', sans-serif;
    font-size: .98rem;
    font-weight: 700;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
}

.aic-typed {
    color: var(--a1);
}

.aic-cursor {
    color: var(--a2);
    animation: blink2 1.1s step-end infinite;
}

@keyframes blink2 {
    50% {
        opacity: 0;
    }
}

.pi-list {
    display: flex;
    flex-direction: column;
    margin-bottom: 0;
}

.pi-row2 {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 0;
    border-bottom: 1px solid var(--border);
}

.pi-row2:last-child {
    border-bottom: none;
}

.pi-dot2 {
    width: 6px;
    height: 6px;
    background: var(--a2);
    border-radius: 50%;
    flex-shrink: 0;
}

.pi-label2 {
    font-size: .82rem;
    font-weight: 700;
    color: var(--text);
    min-width: 120px;
}

.pi-val2 {
    font-size: .82rem;
    color: var(--text-sub);
}

/* ══════════════════════════════════════
   FOOTER — Phitron-style
══════════════════════════════════════ */
footer {
    position: relative;
    z-index: 1;
    background: linear-gradient(160deg, #0D0E1F 0%, #111228 50%, #0A1020 100%);
    overflow: hidden;
    border-top: none;
    padding: 0;
}

footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(124, 110, 250, .2) 1.5px, transparent 1.5px);
    background-size: 28px 28px;
    animation: dotPulse 5s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes dotPulse {

    0%,
    100% {
        opacity: .25;
        background-size: 28px 28px;
    }

    50% {
        opacity: .55;
        background-size: 30px 30px;
    }
}

footer::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 40% at 80% 20%, rgba(124, 110, 250, .12) 0%, transparent 60%),
        radial-gradient(ellipse 50% 40% at 20% 80%, rgba(52, 209, 197, .10) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.footer-cta-wrap {
    position: relative;
    z-index: 1;
    border-bottom: none;
    padding: 36px 5% 28px;
}

/* gradient line under CTA */
.footer-cta-line {
    position: relative;
    z-index: 1;
    height: 2px;
    margin: 0 5%;
    background: linear-gradient(90deg, transparent 0%, rgba(124, 110, 250, .7) 25%, rgba(52, 209, 197, .7) 65%, transparent 100%);
    border-radius: 2px;
}

.footer-cta-inner {
    max-width: 1380px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}

.footer-cta-left {
    flex: 1;
    min-width: 260px;
}

.footer-cta-headline {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 6px;
    letter-spacing: -0.02em;
    background: linear-gradient(120deg, #ffffff 30%, #b8b0ff 70%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-cta-headline .grad-text {
    background: var(--grad-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body.light-mode .footer-cta-headline {
    background: linear-gradient(120deg, #ffffff 30%, #b8b0ff 70%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-cta-sub {
    font-size: .8rem;
    color: rgba(255, 255, 255, .5);
    font-weight: 300;
    line-height: 1.5;
}

body.light-mode .footer-cta-sub {
    color: rgba(255, 255, 255, .55);
}

.footer-cta-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.btn-get-touch {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 13px 32px;
    background: var(--grad);
    color: #fff;
    border: none;
    border-radius: 100px;
    font-family: 'Outfit', sans-serif;
    font-size: .88rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all .25s;
    box-shadow: 0 6px 24px rgba(124, 110, 250, .4);
}

.btn-get-touch:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 36px rgba(124, 110, 250, .55);
}

.footer-grid-wrap {
    position: relative;
    z-index: 1;
    max-width: 1380px;
    margin: 0 auto;
    padding: 28px 5% 24px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    border-bottom: 1px dashed rgba(124, 110, 250, .25);
}

.fg-col-title {
    font-size: .6rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--a1);
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(124, 110, 250, .2);
}

.fg-col ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.fg-col ul li a {
    font-size: .78rem;
    color: rgba(255, 255, 255, .45);
    transition: color .2s, padding-left .2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.fg-col ul li a:hover {
    color: #fff;
    padding-left: 6px;
}

body.light-mode .fg-col ul li a {
    color: rgba(255, 255, 255, .45);
}

body.light-mode .fg-col ul li a:hover {
    color: #fff;
}

.clock-card {
    background: rgba(124, 110, 250, .07);
    border: 1px solid rgba(124, 110, 250, .2);
    border-radius: var(--r-sm);
    padding: 10px 14px;
    transition: border-color .3s;
}

.clock-card:hover {
    border-color: rgba(124, 110, 250, .45);
}

.clock-live-dot {
    width: 7px;
    height: 7px;
    background: var(--a2);
    border-radius: 50%;
    display: inline-block;
    margin-right: 5px;
    animation: aicpulse 2s infinite;
}

#clock-time {
    font-family: 'Syne', sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
    background: var(--grad-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: .02em;
    line-height: 1.1;
}

#clock-date {
    font-size: .74rem;
    color: rgba(255, 255, 255, .4);
    margin-top: 5px;
}

.clock-loc-row {
    font-size: .66rem;
    color: rgba(255, 255, 255, .28);
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid rgba(124, 110, 250, .15);
}

.footer-bottom-bar {
    position: relative;
    z-index: 1;
    max-width: 1380px;
    margin: 0 auto;
    padding: 12px 5%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-copy {
    font-size: .78rem;
    color: rgba(255, 255, 255, .28);
}

body.light-mode .footer-copy {
    color: rgba(255, 255, 255, .28);
}

.footer-copy strong {
    color: var(--a1);
    font-weight: 600;
}

/* Privacy & Terms overlays */
#privacy-overlay {
    position: fixed;
    inset: 0;
    background: var(--bg);
    z-index: 8000;
    overflow: hidden;
    display: none;
    flex-direction: column;
    opacity: 0;
    transition: opacity .3s ease;
}

#privacy-overlay.open {
    display: flex;
}

#privacy-overlay.visible {
    opacity: 1;
}

.priv-topbar {
    height: 56px;
    background: var(--bg2);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    flex-shrink: 0;
}

.priv-topbar-title {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--text-sub);
}

.priv-close {
    width: 32px;
    height: 32px;
    background: var(--bg3);
    border: 1px solid var(--border-hi);
    border-radius: var(--r-sm);
    color: var(--text-sub);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .95rem;
    transition: all .2s;
}

.priv-close:hover {
    background: rgba(248, 113, 113, .15);
    border-color: var(--a3);
    color: var(--a3);
}

.priv-body {
    flex: 1;
    display: grid;
    grid-template-columns: 240px 1fr;
    overflow: hidden;
    height: calc(100vh - 56px);
}

.priv-sidebar {
    background: var(--bg2);
    border-right: 1px solid var(--border);
    overflow-y: auto;
    padding: 24px 0;
}

.priv-sidebar-lbl {
    font-size: .6rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--text-dim);
    padding: 0 20px;
    margin-bottom: 12px;
}

.priv-nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 0 8px;
}

.priv-nav-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    cursor: pointer;
    font-size: .82rem;
    color: var(--text-sub);
    border-left: 2px solid transparent;
    border-radius: 0 var(--r-sm) var(--r-sm) 0;
    transition: all .2s;
}

.priv-nav-item::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--text-dim);
    flex-shrink: 0;
    transition: all .2s;
}

.priv-nav-item:hover,
.priv-nav-item.active {
    color: var(--a1);
    background: rgba(124, 110, 250, .07);
    border-left-color: var(--a1);
}

.priv-nav-item:hover::before,
.priv-nav-item.active::before {
    background: var(--a1);
    box-shadow: 0 0 8px var(--a1);
}

.priv-nav-num {
    font-size: .6rem;
    color: var(--text-dim);
    margin-left: auto;
}

.priv-content {
    overflow-y: scroll;
    padding: 40px 5%;
    scroll-behavior: smooth;
}

.priv-content::-webkit-scrollbar {
    width: 4px;
}

.priv-content::-webkit-scrollbar-thumb {
    background: var(--border-hi);
    border-radius: 2px;
}

.pp-sec {
    max-width: 700px;
    margin: 0 auto 56px;
}

.pp-sec:last-child {
    margin-bottom: 0;
}

.pp-num {
    font-size: .66rem;
    font-weight: 700;
    letter-spacing: .14em;
    color: var(--a2);
    text-transform: uppercase;
    margin-bottom: 7px;
    display: flex;
    align-items: center;
    gap: 7px;
}

.pp-num::before {
    content: '';
    width: 16px;
    height: 1px;
    background: var(--a2);
}

.pp-sec h2 {
    font-family: 'Syne', sans-serif;
    font-size: 1.55rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.pp-sec p,
.pp-sec li {
    font-size: .88rem;
    color: var(--text-sub);
    line-height: 1.85;
    font-weight: 300;
    margin-bottom: 11px;
}

.pp-sec ul {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 0;
}

.pp-sec li {
    padding-left: 16px;
    position: relative;
    margin-bottom: 0;
}

.pp-sec li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--a1);
    font-size: .7rem;
    top: 3px;
}

.pp-sec strong {
    color: var(--text);
    font-weight: 600;
}

.pp-hl {
    background: rgba(124, 110, 250, .07);
    border: 1px solid rgba(124, 110, 250, .13);
    border-left: 3px solid var(--a1);
    border-radius: 0 var(--r-sm) var(--r-sm) 0;
    padding: 12px 16px;
    margin: 12px 0;
    font-size: .86rem;
    color: var(--text-sub);
    line-height: 1.7;
}

body.light-mode .pp-hl {
    background: rgba(96, 85, 232, .05);
    border-color: rgba(96, 85, 232, .12);
    border-left-color: var(--a1);
}

#terms-overlay {
    position: fixed;
    inset: 0;
    background: var(--bg);
    z-index: 8001;
    overflow: hidden;
    display: none;
    flex-direction: column;
    opacity: 0;
    transition: opacity .3s ease;
}

#terms-overlay.open {
    display: flex;
}

#terms-overlay.visible {
    opacity: 1;
}

.terms-topbar {
    height: 56px;
    background: var(--bg2);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    flex-shrink: 0;
}

.terms-topbar-title {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--text-sub);
}

.terms-close {
    width: 32px;
    height: 32px;
    background: var(--bg3);
    border: 1px solid var(--border-hi);
    border-radius: var(--r-sm);
    color: var(--text-sub);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .95rem;
    transition: all .2s;
}

.terms-close:hover {
    background: rgba(248, 113, 113, .15);
    border-color: var(--a3);
    color: var(--a3);
}

.terms-body {
    flex: 1;
    display: grid;
    grid-template-columns: 240px 1fr;
    overflow: hidden;
    height: calc(100vh - 56px);
}

.terms-sidebar {
    background: var(--bg2);
    border-right: 1px solid var(--border);
    overflow-y: auto;
    padding: 24px 0;
}

.terms-sidebar-lbl {
    font-size: .6rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--text-dim);
    padding: 0 20px;
    margin-bottom: 12px;
}

.terms-nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 0 8px;
}

.terms-nav-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    cursor: pointer;
    font-size: .82rem;
    color: var(--text-sub);
    border-left: 2px solid transparent;
    border-radius: 0 var(--r-sm) var(--r-sm) 0;
    transition: all .2s;
}

.terms-nav-item::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--text-dim);
    flex-shrink: 0;
    transition: all .2s;
}

.terms-nav-item:hover,
.terms-nav-item.active {
    color: var(--a1);
    background: rgba(124, 110, 250, .07);
    border-left-color: var(--a1);
}

.terms-nav-item:hover::before,
.terms-nav-item.active::before {
    background: var(--a1);
    box-shadow: 0 0 8px var(--a1);
}

.terms-nav-num {
    font-size: .6rem;
    color: var(--text-dim);
    margin-left: auto;
}

.terms-content {
    overflow-y: scroll;
    padding: 48px 6%;
    scroll-behavior: smooth;
}

.terms-content::-webkit-scrollbar {
    width: 4px;
}

.terms-content::-webkit-scrollbar-thumb {
    background: var(--border-hi);
    border-radius: 2px;
}

.terms-hero {
    max-width: 760px;
    margin: 0 auto 52px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 32px;
}

.terms-hero-title {
    font-family: 'Syne', sans-serif;
    font-size: clamp(2.4rem, 6vw, 4.5rem);
    font-weight: 800;
    font-style: italic;
    color: var(--text);
    line-height: 1.05;
    margin-bottom: 20px;
}

.terms-hero-title span {
    color: var(--text-sub);
}

.terms-version {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--text-dim);
}

.terms-version::before {
    content: '';
    width: 28px;
    height: 1px;
    background: var(--text-dim);
}

.ts-sec {
    max-width: 760px;
    margin: 0 auto 60px;
}

.ts-sec:last-child {
    margin-bottom: 0;
}

.ts-sec h2 {
    font-family: 'Syne', sans-serif;
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.ts-sec h2 .ts-num {
    font-size: .78rem;
    color: var(--a1);
    font-weight: 700;
    letter-spacing: .08em;
    font-style: normal;
    flex-shrink: 0;
}

.ts-sec p,
.ts-sec li {
    font-size: .9rem;
    color: var(--text-sub);
    line-height: 1.85;
    font-weight: 300;
    margin-bottom: 12px;
}

.ts-sec ul {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 0;
}

.ts-sec li {
    padding-left: 16px;
    position: relative;
    margin-bottom: 0;
}

.ts-sec li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--a1);
    font-size: .7rem;
    top: 3px;
}

.ts-sec strong {
    color: var(--text);
    font-weight: 600;
}

.ts-hl {
    background: rgba(124, 110, 250, .07);
    border: 1px solid rgba(124, 110, 250, .13);
    border-left: 3px solid var(--a1);
    border-radius: 0 var(--r-sm) var(--r-sm) 0;
    padding: 12px 16px;
    margin: 12px 0;
    font-size: .86rem;
    color: var(--text-sub);
    line-height: 1.7;
}

body.light-mode .ts-hl {
    background: rgba(96, 85, 232, .05);
    border-color: rgba(96, 85, 232, .12);
    border-left-color: var(--a1);
}

/* Chatbot styles */
:root {
    --nbot-accent1: #7C6EFA;
    --nbot-accent2: #34D1C5;
    --nbot-grad: linear-gradient(135deg, #7C6EFA, #34D1C5);
    --nbot-glass-bg: rgba(18, 18, 30, 0.72);
    --nbot-glass-border: rgba(124, 110, 250, 0.25);
    --nbot-msg-bot-bg: rgba(255, 255, 255, 0.05);
    --nbot-msg-bot-border: rgba(124, 110, 250, 0.18);
    --nbot-msg-user-bg: linear-gradient(135deg, #7C6EFA, #34D1C5);
    --nbot-text-primary: #f0f0f8;
    --nbot-text-secondary: rgba(240, 240, 248, 0.55);
    --nbot-input-bg: rgba(255, 255, 255, 0.06);
    --nbot-input-border: rgba(124, 110, 250, 0.22);
    --nbot-shadow: 0 24px 64px rgba(0, 0, 0, 0.55), 0 4px 16px rgba(124, 110, 250, 0.18);
    --nbot-chip-bg: rgba(124, 110, 250, 0.1);
    --nbot-chip-border: rgba(124, 110, 250, 0.3);
    --nbot-chip-hover: rgba(124, 110, 250, 0.22);
    --nbot-radius: 20px;
    --nbot-font: 'Outfit', 'Syne', system-ui, sans-serif;
}

body.light-mode {
    --nbot-glass-bg: rgba(255, 255, 255, 0.82);
    --nbot-glass-border: rgba(124, 110, 250, 0.2);
    --nbot-msg-bot-bg: rgba(124, 110, 250, 0.06);
    --nbot-msg-bot-border: rgba(124, 110, 250, 0.15);
    --nbot-text-primary: #1a1a2e;
    --nbot-text-secondary: rgba(26, 26, 46, 0.55);
    --nbot-input-bg: rgba(124, 110, 250, 0.06);
    --nbot-input-border: rgba(124, 110, 250, 0.25);
    --nbot-shadow: 0 24px 64px rgba(0, 0, 0, 0.14), 0 4px 16px rgba(124, 110, 250, 0.12);
    --nbot-chip-bg: rgba(124, 110, 250, 0.08);
    --nbot-chip-border: rgba(124, 110, 250, 0.25);
    --nbot-chip-hover: rgba(124, 110, 250, 0.16);
}

#nbot-fab {
    position: fixed;
    bottom: 88px;
    right: 28px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: var(--nbot-grad);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 8500;
    box-shadow: 0 6px 24px rgba(124, 110, 250, 0.45), 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: transform .28s cubic-bezier(.34, 1.56, .64, 1), box-shadow .22s ease;
    outline: none;
}

#nbot-fab::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: var(--nbot-grad);
    opacity: .3;
    animation: nbot-pulse 2.4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes nbot-pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: .3;
    }

    50% {
        transform: scale(1.28);
        opacity: 0;
    }
}

#nbot-fab:hover {
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 10px 32px rgba(124, 110, 250, 0.55), 0 4px 12px rgba(0, 0, 0, 0.3);
}

#nbot-fab:active {
    transform: scale(.95);
}

#nbot-fab.nbot-open .nbot-icon-open {
    opacity: 0;
    transform: rotate(90deg) scale(.6);
}

#nbot-fab.nbot-open .nbot-icon-close {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

.nbot-fab-icon {
    position: absolute;
    width: 24px;
    height: 24px;
    color: #fff;
    transition: opacity .22s ease, transform .28s cubic-bezier(.34, 1.56, .64, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.nbot-fab-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.nbot-icon-open {
    opacity: 1;
    transform: scale(1);
}

.nbot-icon-close {
    opacity: 0;
    transform: rotate(-90deg) scale(.6);
}

.nbot-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ff4e6a;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    font-family: var(--nbot-font);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid transparent;
    transition: transform .22s cubic-bezier(.34, 1.56, .64, 1), opacity .18s ease;
    animation: nbot-badge-pop .38s cubic-bezier(.34, 1.56, .64, 1);
}

.nbot-badge.nbot-hidden {
    transform: scale(0);
    opacity: 0;
    pointer-events: none;
}

@keyframes nbot-badge-pop {
    0% {
        transform: scale(0);
    }

    70% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

#nbot-window {
    position: fixed;
    bottom: 160px;
    right: 28px;
    width: 370px;
    max-width: calc(100vw - 32px);
    height: 560px;
    max-height: calc(100dvh - 180px);
    border-radius: var(--nbot-radius);
    background: var(--nbot-glass-bg);
    border: 1px solid var(--nbot-glass-border);
    backdrop-filter: blur(28px) saturate(1.6);
    -webkit-backdrop-filter: blur(28px) saturate(1.6);
    box-shadow: var(--nbot-shadow);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 8499;
    transform-origin: bottom right;
    transition: transform .38s cubic-bezier(.34, 1.56, .64, 1), opacity .28s ease;
    transform: scale(.72) translateY(24px);
    opacity: 0;
    pointer-events: none;
}

#nbot-window.nbot-visible {
    transform: scale(1) translateY(0);
    opacity: 1;
    pointer-events: all;
}

#nbot-window::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--nbot-radius);
    padding: 1px;
    background: linear-gradient(135deg, rgba(124, 110, 250, .5), rgba(52, 209, 197, .3), transparent 60%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.nbot-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    border-bottom: 1px solid var(--nbot-glass-border);
    background: linear-gradient(135deg, rgba(124, 110, 250, .12), rgba(52, 209, 197, .06));
    flex-shrink: 0;
}

.nbot-header-info {
    display: flex;
    align-items: center;
    gap: 11px;
}

.nbot-avatar {
    position: relative;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.nbot-avatar svg {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: block;
}

.nbot-status-dot {
    position: absolute;
    bottom: 1px;
    right: 1px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #2ecc71;
    border: 2px solid var(--nbot-glass-bg);
    animation: nbot-status-blink 2.8s ease-in-out infinite;
}

@keyframes nbot-status-blink {

    0%,
    90%,
    100% {
        opacity: 1;
    }

    45% {
        opacity: .45;
    }
}

.nbot-header-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.nbot-header-name {
    font-family: var(--nbot-font);
    font-size: 14px;
    font-weight: 700;
    color: var(--nbot-text-primary);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    line-height: 1;
}

.nbot-tag {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .06em;
    padding: 2px 6px;
    border-radius: 100px;
    background: var(--nbot-grad);
    color: #fff;
    line-height: 1.4;
}

.nbot-header-sub {
    font-family: var(--nbot-font);
    font-size: 11px;
    color: var(--nbot-text-secondary);
    margin: 0;
    line-height: 1;
}

.nbot-close-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .1);
    color: var(--nbot-text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .18s, color .18s, transform .18s;
    flex-shrink: 0;
}

.nbot-close-btn svg {
    width: 14px;
    height: 14px;
}

.nbot-close-btn:hover {
    background: rgba(255, 78, 106, .15);
    color: #ff4e6a;
    transform: scale(1.08);
}

.nbot-messages {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 16px 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    scroll-behavior: smooth;
}

.nbot-messages::-webkit-scrollbar {
    width: 4px;
}

.nbot-messages::-webkit-scrollbar-track {
    background: transparent;
}

.nbot-messages::-webkit-scrollbar-thumb {
    background: rgba(124, 110, 250, .3);
    border-radius: 4px;
}

.nbot-messages::-webkit-scrollbar-thumb:hover {
    background: rgba(124, 110, 250, .55);
}

.nbot-msg-row {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    animation: nbot-msg-in .32s cubic-bezier(.34, 1.4, .64, 1) both;
}

@keyframes nbot-msg-in {
    from {
        opacity: 0;
        transform: translateY(10px) scale(.96);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.nbot-msg-row.nbot-user-row {
    flex-direction: row-reverse;
}

.nbot-msg-avatar {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--nbot-grad);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    font-family: var(--nbot-font);
    margin-bottom: 2px;
}

.nbot-user-row .nbot-msg-avatar {
    display: none;
}

.nbot-bubble {
    max-width: 78%;
    padding: 10px 14px;
    border-radius: 16px;
    font-family: var(--nbot-font);
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--nbot-text-primary);
    word-break: break-word;
}

.nbot-msg-row:not(.nbot-user-row) .nbot-bubble {
    background: var(--nbot-msg-bot-bg);
    border: 1px solid var(--nbot-msg-bot-border);
    border-bottom-left-radius: 4px;
}

.nbot-user-row .nbot-bubble {
    background: var(--nbot-msg-user-bg);
    color: #fff;
    border-bottom-right-radius: 4px;
    box-shadow: 0 3px 12px rgba(124, 110, 250, .35);
}

.nbot-timestamp {
    font-size: 10px;
    color: var(--nbot-text-secondary);
    font-family: var(--nbot-font);
    margin-top: 3px;
    padding: 0 4px;
    opacity: .7;
}

.nbot-user-row .nbot-timestamp {
    text-align: right;
}

.nbot-typing-bubble {
    background: var(--nbot-msg-bot-bg);
    border: 1px solid var(--nbot-msg-bot-border);
    border-radius: 16px;
    border-bottom-left-radius: 4px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.nbot-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--nbot-accent1);
    animation: nbot-bounce 1.2s ease-in-out infinite;
}

.nbot-dot:nth-child(1) {
    animation-delay: 0s;
}

.nbot-dot:nth-child(2) {
    animation-delay: .18s;
}

.nbot-dot:nth-child(3) {
    animation-delay: .36s;
    background: var(--nbot-accent2);
}

@keyframes nbot-bounce {

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

    30% {
        transform: translateY(-6px);
    }
}

.nbot-quick-replies {
    padding: 8px 14px 6px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    border-top: 1px solid var(--nbot-glass-border);
    flex-shrink: 0;
}

.nbot-chip {
    padding: 5px 11px;
    border-radius: 100px;
    background: var(--nbot-chip-bg);
    border: 1px solid var(--nbot-chip-border);
    color: var(--nbot-text-primary);
    font-family: var(--nbot-font);
    font-size: 11.5px;
    font-weight: 500;
    cursor: pointer;
    transition: background .18s, border-color .18s, transform .18s, box-shadow .18s;
    white-space: nowrap;
}

.nbot-chip:hover {
    background: var(--nbot-chip-hover);
    border-color: rgba(124, 110, 250, .55);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(124, 110, 250, .2);
}

.nbot-chip:active {
    transform: scale(.96) translateY(0);
}

.nbot-input-wrap {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    padding: 10px 14px 14px;
    border-top: 1px solid var(--nbot-glass-border);
    flex-shrink: 0;
}

.nbot-input {
    flex: 1;
    background: var(--nbot-input-bg);
    border: 1px solid var(--nbot-input-border);
    border-radius: 12px;
    color: var(--nbot-text-primary);
    font-family: var(--nbot-font);
    font-size: 13.5px;
    line-height: 1.5;
    padding: 9px 13px;
    resize: none;
    outline: none;
    max-height: 100px;
    overflow-y: auto;
    transition: border-color .18s, box-shadow .18s;
    scrollbar-width: thin;
}

.nbot-input::placeholder {
    color: var(--nbot-text-secondary);
}

.nbot-input:focus {
    border-color: rgba(124, 110, 250, .55);
    box-shadow: 0 0 0 3px rgba(124, 110, 250, .1);
}

.nbot-send-btn {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--nbot-grad);
    border: none;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform .22s cubic-bezier(.34, 1.56, .64, 1), box-shadow .18s;
    box-shadow: 0 3px 10px rgba(124, 110, 250, .4);
}

.nbot-send-btn svg {
    width: 16px;
    height: 16px;
}

.nbot-send-btn:hover {
    transform: scale(1.08) translateY(-1px);
    box-shadow: 0 6px 18px rgba(124, 110, 250, .5);
}

.nbot-send-btn:active {
    transform: scale(.94);
}

.nbot-send-btn:disabled {
    opacity: .45;
    cursor: not-allowed;
    transform: none;
}

/* Responsive */

/* ══════════════════════════════════════
   TECH STACK MARQUEE
══════════════════════════════════════ */
.marquee-section {
    position: relative;
    z-index: 1;
    padding: 28px 0;
    overflow: hidden;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.marquee-wrapper {
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow: hidden;
}

.marquee-track {
    overflow: hidden;
    position: relative;
    /* fade edges */
    -webkit-mask: linear-gradient(90deg, transparent 0%, #fff 8%, #fff 92%, transparent 100%);
    mask: linear-gradient(90deg, transparent 0%, #fff 8%, #fff 92%, transparent 100%);
}

.marquee-inner {
    display: flex;
    gap: 12px;
    width: max-content;
    animation: marquee-ltr 35s linear infinite;
}

.marquee-reverse .marquee-inner {
    animation: marquee-rtl 35s linear infinite;
}

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

@keyframes marquee-ltr {
    0% {
        transform: translateX(0);
    }

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

@keyframes marquee-rtl {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}

.mq-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: var(--bg3);
    border: 1px solid var(--border-hi);
    border-radius: 100px;
    font-size: .82rem;
    font-weight: 600;
    color: var(--text-sub);
    white-space: nowrap;
    cursor: default;
    transition: border-color .2s, color .2s, transform .2s;
    user-select: none;
}

.mq-pill:hover {
    border-color: rgba(124, 110, 250, .5);
    color: var(--text);
    transform: translateY(-2px);
}

.mq-pill img {
    width: 18px;
    height: 18px;
    object-fit: contain;
    flex-shrink: 0;
}

body.light-mode .mq-pill {
    background: #fff;
    border-color: rgba(0, 0, 0, .1);
    color: #4A4870;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
}

body.light-mode .mq-pill:hover {
    border-color: rgba(96, 85, 232, .4);
    color: #1a1830;
}

/* github icon light mode fix */
body.light-mode .mq-pill img[alt="GitHub"],
body.light-mode .mq-pill img[alt="Three.js"] {
    filter: invert(1);
}

/* Django icon tint */
.mq-pill img[alt="Django"] {
    filter: invert(1) sepia(1) saturate(2) hue-rotate(100deg);
}

body.light-mode .mq-pill img[alt="Django"] {
    filter: none;
}


/* ── Project Slider Arrows ── */
.proj-slider-wrap {
    position: relative;
}

.proj-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(124, 110, 250, .18);
    border: 1.5px solid rgba(124, 110, 250, .45);
    color: var(--text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .25s;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 16px rgba(124, 110, 250, .25);
}

.proj-arrow:hover {
    background: var(--grad);
    border-color: transparent;
    color: #fff;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 24px rgba(124, 110, 250, .5);
}

.proj-arrow-left {
    left: 16px;
}

.proj-arrow-right {
    right: 16px;
}

body.light-mode .proj-arrow {
    background: rgba(255, 255, 255, .85);
    border-color: rgba(124, 110, 250, .3);
    color: var(--a1);
}

/* ═══════════════════════════════
   RESPONSIVE — fully fixed
═══════════════════════════════ */

/* Tablet landscape */
@media(max-width:1024px) {
    section {
        padding: 80px 4%;
    }

    .about-2col {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-grid-wrap {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
    }
}

/* Tablet portrait */
@media(max-width:900px) {
    .about-layout {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .about-head h2 {
        position: static;
    }

    .ach-card {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .profile-wrap {
        width: 300px;
        height: 300px;
    }

    .profile-ring {
        width: 260px;
        height: 260px;
    }

    .hero-name {
        font-size: clamp(2.2rem, 5vw, 3.5rem);
    }

    #hero {
        gap: 32px;
    }

    .sk-row {
        grid-template-columns: 1fr 48px 1fr;
    }

    .sk-stage-btn {
        min-width: 140px;
        font-size: .68rem;
        padding: 10px 16px;
    }

    .sk-card {
        max-width: 260px;
    }

    .tl-spine {
        left: 26px;
    }

    .tl-outer {
        padding-left: 0;
    }

    .tl-row {
        grid-template-columns: 56px 1fr;
        margin-bottom: 28px;
    }

    .tl-row .tl-node {
        grid-column: 1;
        grid-row: 1;
        padding-top: 18px;
    }

    .tl-row .tl-block-left,
    .tl-row .tl-block-right {
        grid-column: 2;
        grid-row: 1;
        padding-right: 0;
        padding-left: 16px;
    }

    .tl-block-empty {
        display: none;
    }

    .tl-block-left::after,
    .tl-block-right::before {
        display: none;
    }

    .tl-node-dot {
        width: 38px;
        height: 38px;
    }

    .tl-node-dot svg {
        width: 15px;
        height: 15px;
    }
}

/* Mobile landscape / small tablet */
@media(max-width:780px) {
    #hero {
        grid-template-columns: 1fr !important;
        text-align: center;
        padding-top: calc(var(--nav-h) + 32px);
        padding-bottom: 60px;
        gap: 32px;
    }

    .hero-left {
        order: 2;
    }

    .hero-right {
        order: 1;
        display: flex;
        justify-content: center;
    }

    .hero-btns,
    .hero-stats {
        justify-content: center;
    }

    .hero-badge {
        margin: 0 auto 24px;
    }

    .profile-wrap {
        width: 220px;
        height: 220px;
    }

    .profile-ring {
        width: 185px;
        height: 185px;
    }

    .p-letter {
        font-size: 3.5rem;
    }

    .ot-1 {
        top: 6px;
        right: -8px;
        font-size: .68rem;
        padding: 5px 10px;
    }

    .ot-2 {
        bottom: 10px;
        left: -10px;
        font-size: .68rem;
        padding: 5px 10px;
    }

    .ot-3 {
        display: none;
    }

    .nav-cta {
        display: none;
    }

    .proj-card {
        width: 320px;
    }

    .ach-slide {
        position: relative !important;
        top: auto !important;
        margin-bottom: 20px;
    }

    .ach-spacer {
        display: none;
    }

    .footer-cta-inner {
        flex-direction: column;
        gap: 20px;
    }

    .footer-grid-wrap {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
}

/* Mobile */
@media(max-width:600px) {
    html {
        font-size: 16px;
    }

    section {
        padding: 60px 4%;
    }

    /* Navbar */
    .nav-links {
        display: none;
        position: absolute;
        top: var(--nav-h);
        left: 0;
        right: 0;
        background: rgba(11, 12, 20, .98);
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        padding: 10px 0 18px;
        backdrop-filter: blur(18px);
        z-index: 999;
    }

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

    .nav-links a {
        padding: 12px 5%;
        border-bottom: 1px solid var(--border);
        font-size: .95rem;
    }

    .nav-links a:last-child {
        border-bottom: none;
    }

    .hamburger {
        display: flex;
    }

    body.light-mode .nav-links {
        background: rgba(245, 244, 255, .98);
    }

    /* Hero */
    #hero {
        padding-top: calc(var(--nav-h) + 20px);
        gap: 24px;
    }

    .hero-name {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .hero-tagline {
        font-size: .95rem;
    }

    .hero-btns {
        gap: 10px;
        flex-wrap: wrap;
    }

    .btn {
        padding: 12px 22px;
        font-size: .85rem;
    }

    .hero-stats {
        gap: 14px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .stat-n {
        font-size: 1.25rem;
    }

    .profile-wrap {
        width: 180px;
        height: 180px;
    }

    .profile-ring {
        width: 154px;
        height: 154px;
    }

    .ot-1,
    .ot-2 {
        font-size: .62rem;
        padding: 4px 8px;
    }

    /* About */
    .about-2col {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    /* Skills */
    .sk-spine {
        left: 16px;
    }

    .sk-topbar {
        flex-direction: column;
        gap: 6px;
        align-items: flex-start;
    }

    .sk-row {
        grid-template-columns: 40px 1fr;
        grid-template-rows: auto auto;
        margin-bottom: 24px;
        min-height: unset;
    }

    .sk-node {
        grid-column: 1;
        grid-row: 1;
        padding-top: 10px;
    }

    .sk-stage.left,
    .sk-stage.right {
        grid-column: 2;
        grid-row: 1;
        justify-content: flex-start;
        padding-left: 12px;
        padding-right: 0;
    }

    .sk-stage-empty {
        display: none;
    }

    .sk-card-wrap.left,
    .sk-card-wrap.right {
        grid-column: 2;
        grid-row: 2;
        padding-left: 12px;
        padding-right: 0;
        display: flex;
        justify-content: flex-start;
    }

    .sk-card {
        max-width: 100%;
        transform: translateX(16px) !important;
    }

    .sk-card.visible {
        transform: translateX(0) !important;
    }

    .sk-stage-btn {
        min-width: 120px;
        font-size: .65rem;
        padding: 8px 14px;
    }

    .sk-node-line {
        min-height: 10px;
    }

    /* Projects */
    .proj-card {
        width: 280px;
    }

    /* Achievements */
    .ach-card {
        padding: 20px;
    }

    .ach-imgs {
        gap: 20px;
    }

    .ach-img img {
        width: 140px;
        height: 140px;
    }

    /* Timeline */
    .tl-block {
        padding: 18px 16px;
    }

    .tl-title {
        font-size: .95rem;
    }

    .tl-pts li {
        font-size: .8rem;
    }

    /* Contact */
    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 20px;
    }

    /* Footer */
    .footer-cta-wrap {
        padding: 40px 4% 32px;
    }

    .footer-cta-headline {
        font-size: clamp(1.6rem, 6vw, 2.2rem);
    }

    .footer-grid-wrap {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        padding: 36px 4% 32px;
    }

    .footer-bottom-bar {
        padding: 16px 4%;
    }

    .footer-cta-line {
        margin: 0 4%;
    }

    /* Chatbot */
    #nbot-fab {
        bottom: 72px;
        right: 16px;
        width: 50px;
        height: 50px;
    }

    #nbot-window {
        right: 10px;
        bottom: 134px;
        width: calc(100vw - 20px);
        max-width: 100%;
        height: calc(100dvh - 155px);
        max-height: calc(100dvh - 155px);
    }

    .nbot-bubble {
        max-width: 88%;
        font-size: 13px;
    }

    .nbot-chip {
        font-size: 11px;
        padding: 4px 9px;
    }
}

/* Small mobile */
@media(max-width:480px) {
    section {
        padding: 52px 4%;
    }

    .hero-name {
        font-size: clamp(1.8rem, 7.5vw, 2.6rem);
    }

    .about-info-card {
        padding: 20px 18px;
    }

    .footer-grid-wrap {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .ach-imgs {
        flex-direction: column;
        align-items: center;
    }

    .ach-img img {
        width: 180px;
        height: 180px;
    }

    #nbot-fab {
        bottom: 72px;
        right: 16px;
        width: 50px;
        height: 50px;
    }

    #nbot-window {
        right: 10px;
        bottom: 134px;
        width: calc(100vw - 20px);
        height: calc(100dvh - 155px);
    }

    .nbot-bubble {
        max-width: 90%;
        font-size: 12.5px;
    }
}

/* Very small mobile */
@media(max-width:360px) {
    .hero-name {
        font-size: 1.7rem;
    }

    .nav-inner {
        padding: 0 3%;
    }

    .logo {
        font-size: .88rem;
    }

    .nbot-header-name {
        font-size: 12px;
    }

    .nbot-header-sub {
        font-size: 10px;
    }

    .footer-grid-wrap {
        grid-template-columns: 1fr;
    }
}

/* Loader animation */
@keyframes loaderBounce {
    from {
        transform: translateY(0px);
        opacity: .7;
    }

    to {
        transform: translateY(-8px);
        opacity: 1;
    }
}