:root {
    --bg-color: #09090b;
    --card-bg: rgba(24, 24, 27, 0.4);
    --card-border: rgba(255, 255, 255, 0.05);
    --text-primary: #fafafa;
    --text-secondary: #a1a1aa;
    --accent: #3b82f6;
    --accent-glow: rgba(59, 130, 246, 0.3);
    --accent-secondary: #8b5cf6;
    --nav-height: 80px;
    --font-main: 'Outfit', sans-serif;
    --font-mono: 'Fira Code', monospace
}

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

html {
    scroll-behavior: smooth;
    font-family: var(--font-main);
    overflow-x: hidden
}

body {
    position: relative;
    overflow-x: hidden;
    cursor: none;
    background-color: var(--bg-color);
    background-image: radial-gradient(circle at 15% 50%, rgba(2, 132, 199, .04), transparent 50%), radial-gradient(circle at 85% 30%, rgba(56, 189, 248, .03), transparent 50%);
    color: var(--text-primary)
}

body::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 50% 50%, rgba(59, 130, 246, .05), transparent 60%), radial-gradient(circle at 80% 20%, rgba(139, 92, 246, .03), transparent 50%), url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.03'/%3E%3C/svg%3E");
    z-index: -1;
    pointer-events: none;
    animation: ambientBlobs 20s infinite alternate ease-in-out
}

@keyframes ambientBlobs {
    0% {
        transform: rotate(0) scale(1)
    }

    100% {
        transform: rotate(5deg) scale(1.05)
    }
}

a,
button {
    cursor: none
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
    border-radius: 4px
}

.glass-card:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px
}

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    background: 0 0;
    visibility: visible;
    transition: visibility 1s ease
}

#preloader.hidden {
    visibility: hidden
}

.preloader-shutter {
    position: absolute;
    top: 0;
    width: 20%;
    height: 100%;
    background: #0b0f19;
    z-index: 1;
    transition: transform .8s cubic-bezier(.77, 0, .175, 1);
    border-left: 1px solid rgba(255, 255, 255, .02);
    border-right: 1px solid rgba(255, 255, 255, .02)
}

.shutter-1 {
    left: 0;
    transition-delay: 0s
}

.shutter-2 {
    left: 20%;
    transition-delay: 0.1s
}

.shutter-3 {
    left: 40%;
    transition-delay: 0.2s
}

.shutter-4 {
    left: 60%;
    transition-delay: 0.3s
}

.shutter-5 {
    left: 80%;
    transition-delay: 0.4s
}

#preloader.hidden .shutter-1 {
    transform: translateY(-100%)
}

#preloader.hidden .shutter-2 {
    transform: translateY(100%)
}

#preloader.hidden .shutter-3 {
    transform: translateY(-100%)
}

#preloader.hidden .shutter-4 {
    transform: translateY(100%)
}

#preloader.hidden .shutter-5 {
    transform: translateY(-100%)
}

.shutter-1::before,
.shutter-3::before,
.shutter-5::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent);
    box-shadow: 0 0 10px var(--accent), 0 0 20px var(--accent)
}

.shutter-2::before,
.shutter-4::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent-secondary);
    box-shadow: 0 0 10px var(--accent-secondary), 0 0 20px var(--accent-secondary)
}

.preloader-shutter::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(0, 210, 255, .03), transparent);
    pointer-events: none
}

.preloader-terminal {
    z-index: 2;
    transition: opacity .5s ease, transform .5s ease-out
}

#preloader.hide-terminal .preloader-terminal {
    opacity: 0;
    transform: scale(.95);
    pointer-events: none
}

.preloader-terminal {
    position: relative;
    width: 90%;
    max-width: 600px;
    background: rgba(15, 23, 42, .9);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(0, 210, 255, .2)
}

.preloader-terminal::after,
.terminal-mockup::after {
    content: " ";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, .25) 50%), linear-gradient(90deg, rgba(255, 0, 0, .06), rgba(0, 255, 0, .02), rgba(0, 0, 255, .06));
    z-index: 5;
    background-size: 100% 4px, 6px 100%;
    pointer-events: none;
    opacity: .15
}

.preloader-terminal::before,
.terminal-mockup::before {
    content: " ";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 10px;
    background: rgba(255, 255, 255, .05);
    z-index: 6;
    pointer-events: none;
    animation: scanline 6s linear infinite
}

@keyframes scanline {
    0% {
        transform: translateY(-100%)
    }

    100% {
        transform: translateY(1000%)
    }
}

.preloader-terminal .terminal-body {
    min-height: 250px;
    font-family: var(--font-mono);
    font-size: .95rem;
    padding: 1.5rem;
    color: #e2e8f0
}

.cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 2147483647 !important;
    pointer-events: none;
    width: 6px;
    height: 6px;
    background-color: var(--accent);
    mix-blend-mode: difference;
    transition: width .2s ease, height .2s ease
}

.cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 12px;
    z-index: 99999;
    pointer-events: none;
    width: 48px;
    height: 48px;
    border: none;
    background-color: transparent;
    box-shadow: none;
    transition: width .3s cubic-bezier(.175, .885, .32, 1.275), height .3s cubic-bezier(.175, .885, .32, 1.275), border-radius .3s ease, color .3s ease, opacity .2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent)
}

body.light-mode .cursor-outline {
    color: var(--text-primary)
}

.cursor-text {
    opacity: 1;
    transition: opacity .2s ease;
    white-space: nowrap;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center
}

.cursor-outline.cursor-hover {
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    border-color: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    animation: none !important
}

body.light-mode .cursor-outline.cursor-hover {
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    border-color: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important
}

.cursor-dot.cursor-dot-hover {
    width: 8px !important;
    height: 8px !important;
    background-color: transparent !important;
    border: 1.5px solid var(--accent) !important;
    box-shadow: 0 0 8px var(--accent-glow) !important;
    opacity: 1 !important;
    display: block !important;
    visibility: visible !important
}

body.light-mode .cursor-dot.cursor-dot-hover {
    width: 8px !important;
    height: 8px !important;
    background-color: transparent !important;
    border: 1.5px solid var(--accent) !important;
    box-shadow: 0 0 8px var(--accent-glow) !important;
    opacity: 1 !important;
    display: block !important;
    visibility: visible !important
}

.cursor-hover-text {
    width: 56px !important;
    height: 56px !important;
    border-radius: 14px !important;
    background-color: rgba(15, 23, 42, .7) !important;
    border: 1.5px solid var(--accent) !important;
    color: #fff !important;
    backdrop-filter: blur(8px) saturate(1.4) !important;
    -webkit-backdrop-filter: blur(8px) saturate(1.4) !important;
    box-shadow: 0 8px 24px rgba(0, 210, 255, .25), inset 0 1px 0 rgba(255, 255, 255, .1) !important
}

body.light-mode .cursor-hover-text {
    background-color: rgba(255, 255, 255, .75) !important;
    border-color: var(--accent) !important;
    color: var(--text-primary) !important;
    box-shadow: 0 8px 24px rgba(2, 132, 199, .15) !important
}

.cursor-hover-text .cursor-text {
    opacity: 1
}

@keyframes cursorRotate {
    0% {
        transform: translate(-50%, -50%) rotate(0)
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg)
    }
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    line-height: 1.2
}

p {
    line-height: 1.6;
    color: var(--text-secondary)
}

a {
    text-decoration: none;
    color: var(--text-primary);
    transition: transform .3s ease, opacity .3s ease, background-color .3s ease, box-shadow .3s ease
}

.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    background: var(--bg-color)
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: .4;
    animation: float 20s infinite ease-in-out;
    will-change: transform
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: var(--accent-secondary);
    animation-delay: 0s
}

.blob-2 {
    bottom: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: var(--accent);
    animation-delay: -5s
}

@keyframes float {

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

    33% {
        transform: translate(30px, -50px) scale(1.1)
    }

    66% {
        transform: translate(-20px, 20px) scale(.9)
    }
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem
}

.section {
    
    padding: 60px 0
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), transparent);
    border-radius: 2px
}

.glass-card {
    
    background: var(--card-bg);
    backdrop-filter: blur(12px) saturate(1.2);
    -webkit-backdrop-filter: blur(12px) saturate(1.2);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 2.2rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, .4), inset 0 1px 0 rgba(255, 255, 255, .05);
    transition: box-shadow .35s ease, border-color .35s ease, background .35s ease;
    position: relative;
    overflow: hidden
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .12), transparent);
    transform: skewX(-25deg);
    transition: left .8s cubic-bezier(.22, 1, .36, 1);
    z-index: 1;
    pointer-events: none
}

.glass-card:hover::before {
    left: 150%
}

.glass-card:hover {
    border-color: rgba(255, 255, 255, .1);
    box-shadow: 0 16px 40px rgba(0, 0, 0, .45), 0 0 0 1px rgba(0, 210, 255, .06), inset 0 1px 0 rgba(255, 255, 255, .1);
    background: rgba(24, 24, 27, .55)
}

body.light-mode .glass-card:hover {
    border-color: rgba(0, 0, 0, .1);
    box-shadow: 0 16px 40px rgba(0, 0, 0, .08), 0 0 0 1px rgba(37, 99, 235, .08), inset 0 1px 0 rgba(255, 255, 255, .8);
    background: rgba(255, 255, 255, .85)
}

@keyframes borderGlow {

    0%,
    100% {
        border-color: rgba(0, 210, 255, .4);
        filter: brightness(1)
    }

    50% {
        border-color: rgba(124, 107, 255, .6);
        filter: brightness(1.2)
    }
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .8rem 1.8rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    outline: 0;
    transition: box-shadow .3s cubic-bezier(.22, 1, .36, 1), transform .2s cubic-bezier(.22, 1, .36, 1), background .3s ease;
    position: relative;
    overflow: hidden
}

.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--ripple-x, 50%) var(--ripple-y, 50%), rgba(255, 255, 255, .25) 0, transparent 60%);
    opacity: 0;
    transition: opacity .4s ease
}

.btn:active::after {
    opacity: 1
}

.btn:active {
    transform: scale(.97)
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
    color: #fff;
    box-shadow: 0 4px 15px var(--accent-glow)
}

.btn-primary:hover {
    box-shadow: 0 8px 25px var(--accent-glow), 0 0 0 1px rgba(255, 255, 255, .1)
}

.btn-secondary {
    background: 0 0;
    border: 1px solid var(--accent);
    color: var(--accent)
}

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

.btn-download {
    background: linear-gradient(135deg, #27c93f, #1aa531);
    color: #fff;
    box-shadow: 0 4px 15px rgba(39, 201, 63, .4);
    animation: pulse-btn 2s infinite
}

.btn-download:hover {
    box-shadow: 0 6px 20px rgba(39, 201, 63, .6);
    transform: translateY(-2px);
    animation: none
}

@keyframes pulse-btn {
    0% {
        transform: scale(1);
        opacity: .8
    }

    70% {
        transform: scale(1.05);
        opacity: 1
    }

    100% {
        transform: scale(1);
        opacity: .8
    }
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: var(--nav-height);
    background: rgba(11, 15, 25, .55);
    backdrop-filter: blur(12px) saturate(1.2);
    -webkit-backdrop-filter: blur(12px) saturate(1.2);
    z-index: 1000;
    transition: transform .3s ease, opacity .3s ease, background-color .3s ease, box-shadow .3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, .04)
}

.navbar.scrolled {
    background: rgba(11, 15, 25, .75);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    box-shadow: 0 10px 40px rgba(0, 0, 0, .35)
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center
}

.logo {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -1px
}

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

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none
}

.nav-links a {
    font-size: 1rem;
    font-weight: 500;
    position: relative
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width .3s ease
}

.nav-links a:hover::after {
    width: 100%
}

.nav-links a:hover {
    color: var(--accent)
}

.menu-icon {
    display: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-primary)
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: calc(var(--nav-height) + 2rem) 2rem 6rem
}

.hero-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center
}

.hero-content {
    text-align: left
}

.hero-content.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .8s cubic-bezier(.22, 1, .36, 1), transform .8s cubic-bezier(.22, 1, .36, 1)
}

.hero-content.fade-in.active {
    opacity: 1;
    transform: translateY(0)
}

.hero-content.fade-in.active .subtitle {
    animation: heroReveal .7s cubic-bezier(.22, 1, .36, 1) .1s both
}

.hero-content.fade-in.active .title {
    animation: heroReveal .7s cubic-bezier(.22, 1, .36, 1) .2s both
}

.hero-content.fade-in.active .typing-text {
    animation: heroReveal .6s cubic-bezier(.22, 1, .36, 1) .35s both
}

.hero-content.fade-in.active .description {
    animation: heroReveal .6s cubic-bezier(.22, 1, .36, 1) .45s both
}

.hero-content.fade-in.active .hero-metrics {
    animation: heroReveal .6s cubic-bezier(.22, 1, .36, 1) .55s both
}

.hero-content.fade-in.active .hero-actions {
    animation: heroReveal .6s cubic-bezier(.22, 1, .36, 1) .65s both
}

.hero-content.fade-in.active .hero-metrics .metric-item:first-child {
    animation: metricPop .5s cubic-bezier(.22, 1, .36, 1) .6s both
}

.hero-content.fade-in.active .hero-metrics .metric-item:nth-child(2) {
    animation: metricPop .5s cubic-bezier(.22, 1, .36, 1) .7s both
}

.hero-content.fade-in.active .hero-metrics .metric-item:nth-child(3) {
    animation: metricPop .5s cubic-bezier(.22, 1, .36, 1) .8s both
}

.hero-content.fade-in.active .hero-metrics .metric-item:nth-child(4) {
    animation: metricPop .5s cubic-bezier(.22, 1, .36, 1) .9s both
}

@keyframes heroReveal {
    from {
        opacity: 0;
        transform: translateY(20px);
        filter: blur(4px)
    }

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

@keyframes metricPop {
    from {
        opacity: 0;
        transform: translateY(12px) scale(.95);
        filter: blur(3px)
    }

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

.hero-image-wrapper.fade-in {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 1s cubic-bezier(.22, 1, .36, 1) .3s, transform 1s cubic-bezier(.22, 1, .36, 1) .3s
}

.hero-image-wrapper.fade-in.active {
    opacity: 1;
    transform: translateX(0)
}

.profile-pic-container {
    animation: gentleFloat 6s ease-in-out infinite;
    will-change: transform
}

@keyframes gentleFloat {

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

    50% {
        transform: translateY(-6px)
    }
}

.glow-ring {
    animation: glowBreathe 4s ease-in-out infinite;
    will-change: transform
}

@keyframes glowBreathe {

    0%,
    100% {
        opacity: .4;
        filter: blur(20px)
    }

    50% {
        opacity: .6;
        filter: blur(25px)
    }
}

.hero-image-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    align-self: flex-start;
    margin-top: 2rem
}

.profile-pic-container {
    position: relative;
    width: 100%;
    max-width: 450px;
    padding: 15px;
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(15, 23, 42, .55), rgba(8, 12, 26, .7));
    border: 1px solid rgba(255, 255, 255, .08);
    backdrop-filter: blur(12px) saturate(1.2);
    -webkit-backdrop-filter: blur(12px) saturate(1.2);
    display: block;
    box-shadow: 0 25px 50px rgba(0, 0, 0, .4);
    transition: transform .3s ease;
    z-index: 2
}

.profile-pic {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 20px;
    z-index: 3;
    border: 2px solid rgba(0, 210, 255, .2);
    display: block
}

.glow-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 105%;
    height: 105%;
    border-radius: 35px;
    background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
    filter: blur(20px);
    opacity: .5;
    z-index: 1;
    animation: rotateGlow 8s linear infinite
}

@keyframes rotateGlow {
    0% {
        transform: translate(-50%, -50%) rotate(0)
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg)
    }
}

.floating-badge-wrapper {
    position: absolute;
    z-index: 4;
    will-change: transform;
    animation: archFloat 4s ease-in-out infinite
}

.badge-top-wrapper {
    top: 10%;
    right: -15px;
    animation-delay: 0s
}

.badge-bottom-wrapper {
    bottom: 15%;
    left: -15px;
    animation-delay: 2s
}

.floating-badge {
    background: rgba(15, 23, 42, .65);
    border: 1px solid rgba(255, 255, 255, .08);
    backdrop-filter: blur(16px) saturate(1.4);
    -webkit-backdrop-filter: blur(16px) saturate(1.4);
    padding: .5rem 1rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: .5rem;
    font-weight: 600;
    font-size: .9rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, .3);
    transition: transform .2s ease-out
}

.floating-badge i {
    color: var(--accent);
    font-size: 1.2rem
}

.subtitle {
    color: var(--accent);
    font-family: var(--font-mono);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    letter-spacing: 1px
}

.title {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #fff, #a0aec0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1
}

.typing-text {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    color: var(--text-secondary);
    margin-bottom: 2rem
}

.highlight {
    color: var(--accent)
}

.cursor {
    display: inline-block;
    width: 3px;
    background-color: var(--accent);
    animation: blink 1s infinite
}

@keyframes blink {

    0%,
    100% {
        opacity: 1
    }

    50% {
        opacity: 0
    }
}

.hero .description {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 2.5rem
}

.hero-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 0 auto 2.5rem;
    max-width: 650px
}

.hero-metrics .metric-item {
    display: flex;
    align-items: center;
    gap: .5rem;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: .6rem 1rem;
    border-radius: 30px;
    font-size: .9rem;
    color: var(--text-secondary);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, .2)
}

.hero-metrics .metric-item i {
    color: var(--accent);
    font-size: 1.1rem
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 3rem
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: linear-gradient(rgba(0, 210, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 210, 255, .05) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: -1;
    mask-image: radial-gradient(ellipse at center, black 0%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 80%)
}

.terminal-mockup {
    position: relative;
    background: #0c0c0c;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .7), 0 0 20px rgba(0, 210, 255, .08);
    margin: 3rem auto 2rem;
    max-width: 650px;
    text-align: left;
    overflow: hidden;
    font-family: var(--font-mono)
}

.wt-header {
    background: #1c1c1c;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    height: 36px;
    padding: 0;
    user-select: none
}

.wt-tabs {
    display: flex;
    align-items: stretch;
    flex: 1;
    overflow: hidden
}

.wt-tab {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 14px;
    font-size: .78rem;
    color: rgba(255, 255, 255, .5);
    background: 0 0;
    border-right: 1px solid rgba(255, 255, 255, .05);
    cursor: default;
    white-space: nowrap;
    transition: background .2s;
    font-family: 'Segoe UI', sans-serif
}

.wt-tab.active {
    background: #0c0c0c;
    color: rgba(255, 255, 255, .9);
    border-bottom: 2px solid #7c6bff;
    font-weight: 600
}

.wt-tab-icon {
    color: #7c6bff;
    font-size: 1rem;
    line-height: 1
}

.wt-tab-close {
    font-size: .65rem;
    margin-left: 4px;
    color: rgba(255, 255, 255, .3);
    padding: 2px 4px;
    border-radius: 3px;
    transition: transform .2s, opacity .2s, background-color .2s, box-shadow .2s
}

.wt-tab-close:hover {
    background: rgba(255, 255, 255, .1);
    color: #fff
}

.wt-new-tab {
    display: flex;
    align-items: center;
    padding: 0 12px;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, .3);
    cursor: default;
    transition: transform .2s, opacity .2s, background-color .2s, box-shadow .2s;
    font-family: 'Segoe UI', sans-serif
}

.wt-new-tab:hover {
    background: rgba(255, 255, 255, .05);
    color: rgba(255, 255, 255, .7)
}

.wt-controls {
    display: flex;
    align-items: stretch
}

.wt-controls span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    font-size: .75rem;
    color: rgba(255, 255, 255, .5);
    cursor: default;
    transition: background .15s;
    font-family: 'Segoe UI', sans-serif
}

.wt-controls span:hover {
    background: rgba(255, 255, 255, .08);
    color: #fff
}

.wt-controls span:last-child:hover {
    background: #c42b1c;
    color: #fff
}

.terminal-body {
    padding: 16px 20px;
    color: #ccc;
    font-size: .9rem;
    line-height: 1.7;
    background: #0c0c0c
}

.terminal-body p {
    margin-bottom: .3rem
}

.terminal-body .prompt {
    color: #ffbd44;
    font-weight: 600;
    margin-right: 6px
}

.terminal-body .term-output {
    color: #ccc;
    margin-left: 1rem
}

.terminal-body .term-output.success {
    color: #16c60c
}

.cursor-blink {
    display: inline-block;
    width: 8px;
    height: 16px;
    background: #aeafad;
    vertical-align: middle;
    animation: blink 1.2s step-end infinite
}

.social-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center
}

.social-links a {
    font-size: 1.8rem;
    color: var(--text-secondary);
    transition: transform .3s ease, opacity .3s ease, background-color .3s ease, box-shadow .3s ease
}

.social-links a:hover {
    color: var(--accent);
    transform: translateY(-3px)
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    animation: bounce 2s infinite
}

.hero-scroll a {
    color: var(--text-secondary);
    font-size: 1.5rem
}

.hero-scroll a:hover {
    color: var(--accent)
}

@keyframes bounce {

    0%,
    100%,
    20%,
    50%,
    80% {
        transform: translateY(0)
    }

    40% {
        transform: translateY(-10px)
    }

    60% {
        transform: translateY(-5px)
    }
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem
}

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

.skill-tag {
    display: flex;
    align-items: center;
    gap: .5rem;
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(255, 255, 255, .06);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: .4rem .8rem;
    border-radius: 30px;
    font-size: .85rem;
    font-weight: 500;
    transition: transform .3s ease, opacity .3s ease, background-color .3s ease, box-shadow .3s ease
}

.skill-tag:hover {
    background: rgba(0, 210, 255, .12);
    border-color: var(--accent);
    box-shadow: 0 0 12px rgba(0, 210, 255, .25);
    transform: translateY(-2px)
}

.about-bullets {
    list-style-type: none;
    padding-left: 0;
    margin-top: 1rem
}

.about-bullets li {
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 1.2rem;
    position: relative;
    padding-left: 1.8rem;
    color: var(--text-secondary)
}

.about-bullets li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
    font-size: 1.1rem
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    text-align: center
}

.metric-card {
    padding: 2rem
}

.metric-card h3 {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: .5rem;
    font-weight: 800
}

.metric-card .shield-icon i {
    font-size: 3rem
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem
}

.bento-box {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center
}

.bento-box h4 {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #fff
}

.bento-box h4 i {
    color: var(--accent);
    font-size: 1.3rem
}

.bento-items {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem
}

.bento-box.active .skill-tag {
    animation: skillReveal .5s cubic-bezier(.22, 1, .36, 1) both
}

.bento-box.active .skill-tag:first-child {
    animation-delay: .1s
}

.bento-box.active .skill-tag:nth-child(2) {
    animation-delay: .2s
}

.bento-box.active .skill-tag:nth-child(3) {
    animation-delay: .3s
}

.bento-box.active .skill-tag:nth-child(4) {
    animation-delay: .4s
}

.bento-box.active .skill-tag:nth-child(5) {
    animation-delay: .5s
}

@keyframes skillReveal {
    from {
        opacity: 0;
        transform: translateY(10px) scale(.95);
        filter: blur(2px)
    }

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

.architecture-diagram {
    margin-top: 4rem;
    padding: 3rem;
    text-align: center;
    overflow: hidden
}

@media screen and (max-width:768px) {
    .architecture-diagram {
        padding: 1.2rem
    }
}

.arch-details {
    max-width: 800px;
    margin: 0 auto 2.5rem auto;
    text-align: left;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    font-size: .95rem;
    line-height: 1.6;
    border-bottom: 1px solid var(--card-border);
    padding-bottom: 1.5rem
}

.arch-details p {
    color: var(--text-secondary);
    margin: 0
}

.arch-details strong {
    color: var(--accent);
    display: block;
    font-size: 1.05rem;
    margin-bottom: .5rem
}

@media (max-width:768px) {
    .arch-details {
        grid-template-columns: 1fr;
        gap: 1.2rem;
        text-align: center
    }
}

.arch-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap
}

.arch-node {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 1.5rem 2rem;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .8rem;
    font-weight: 600;
    min-width: 140px;
    z-index: 2;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px)
}

.arch-node.floating {
    animation: archFloat 3s ease-in-out infinite
}

@keyframes archFloat {

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

    50% {
        transform: translateY(-8px)
    }
}

.arch-node.pulse-border {
    animation: archPulse 2s infinite, archFloat 3s ease-in-out infinite
}

@keyframes archPulse {
    0% {
        transform: scale(1);
        opacity: .5
    }

    70% {
        transform: scale(1.1);
        opacity: 1
    }

    100% {
        transform: scale(1);
        opacity: .5
    }
}

.node-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .3)
}

.node-icon i {
    font-size: 2.5rem;
    color: #fff
}

.arch-line {
    flex-grow: 1;
    height: 2px;
    background: var(--card-border);
    position: relative;
    min-width: 50px
}

.packet {
    position: absolute;
    top: -3px;
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent), 0 0 20px var(--accent);
    animation: flow 2s infinite cubic-bezier(.4, 0, .2, 1);
    opacity: 0;
    will-change: transform, left, top
}

@keyframes flow {
    0% {
        left: 0;
        opacity: 0;
        transform: scale(.5)
    }

    15% {
        opacity: 1;
        transform: scale(1.5)
    }

    85% {
        opacity: 1;
        transform: scale(1.5)
    }

    100% {
        left: 100%;
        opacity: 0;
        transform: scale(.5)
    }
}

@media (max-width:768px) {
    .bento-grid {
        grid-template-columns: 1fr
    }

    .arch-flow {
        flex-direction: column
    }

    .arch-line {
        width: 2px;
        min-height: 40px;
        min-width: 2px
    }

    .packet {
        top: 0;
        left: -3px;
        animation: flowVertical 2s infinite linear
    }
}

@keyframes flowVertical {
    0% {
        top: 0;
        opacity: 0;
        transform: scale(.5)
    }

    15% {
        opacity: 1;
        transform: scale(1.5)
    }

    85% {
        opacity: 1;
        transform: scale(1.5)
    }

    100% {
        top: 100%;
        opacity: 0;
        transform: scale(.5)
    }
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto
}

.timeline-line {
    position: absolute;
    top: 0;
    left: 20px;
    height: 100%;
    width: 2px;
    background: var(--card-border);
    z-index: 1
}

.timeline-line-progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(to bottom, var(--accent), var(--accent-secondary));
    box-shadow: 0 0 10px var(--accent-glow);
    transition: height .1s ease-out
}

.timeline-item {
    
    transition: transform .4s ease, border-color .4s ease
}

.timeline-item.active-progress .timeline-dot {
    background: var(--accent);
    box-shadow: 0 0 15px var(--accent);
    transform: scale(1.25);
    border-color: var(--bg-color)
}

.timeline-item.active-progress {
    border-color: rgba(0, 210, 255, .25)
}

.click-particle {
    position: absolute;
    border-radius: 2px;
    pointer-events: none;
    transform: translate(-50%, -50%);
    animation: explodeParticle .8s cubic-bezier(.1, .8, .3, 1) forwards
}

@keyframes explodeParticle {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1
    }

    100% {
        transform: translate(calc(-50% + var(--tx)), calc(-50% + var(--ty))) scale(0);
        opacity: 0
    }
}

.timeline-item {
    
    position: relative;
    margin-bottom: 3rem;
    margin-left: 60px
}

.timeline-item:last-child {
    margin-bottom: 0
}

.timeline-dot {
    position: absolute;
    top: 24px;
    left: -49px;
    width: 20px;
    height: 20px;
    background: var(--accent);
    border-radius: 50%;
    border: 4px solid var(--bg-color);
    box-shadow: 0 0 10px var(--accent-glow);
    animation: dotPulse 2s infinite
}

@keyframes dotPulse {
    0% {
        transform: scale(1);
        opacity: .5
    }

    70% {
        transform: scale(1.2);
        opacity: 1
    }

    100% {
        transform: scale(1);
        opacity: .5
    }
}

.tech-stack-badges {
    display: flex;
    flex-wrap: wrap;
    gap: .8rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--card-border)
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .4rem .8rem;
    border-radius: 50px;
    font-size: .85rem;
    font-weight: 600;
    font-family: var(--font-mono);
    background: rgba(0, 210, 255, .1);
    color: var(--accent);
    border: 1px solid rgba(0, 210, 255, .3);
    transition: transform .3s ease, opacity .3s ease, background-color .3s ease, box-shadow .3s ease
}

.badge:hover {
    background: var(--accent);
    color: #0b0f19;
    box-shadow: 0 0 15px var(--accent);
    transform: translateY(-2px)
}

.timeline-date {
    font-family: var(--font-mono);
    color: var(--accent);
    font-size: .9rem;
    margin-bottom: .5rem
}

.timeline-role {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: .3rem
}

.timeline-company {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 1.2rem;
    font-weight: 500
}

.timeline-desc {
    list-style-type: none
}

.timeline-desc li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: .8rem;
    color: var(--text-secondary)
}

.timeline-desc li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--accent)
}

.edu-header,
.timeline-header {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 1.2rem
}

.edu-header h4,
.edu-header p,
.timeline-header h3,
.timeline-header h4 {
    margin-bottom: .1rem
}

.company-logo {
    height: 48px;
    max-width: 140px;
    border-radius: 6px;
    object-fit: contain;
    background-color: #fff;
    padding: 4px
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem
}

.project-card {
    
    display: flex;
    flex-direction: column;
    height: 100%
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem
}

.cert-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem
}

.cert-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    transition: transform .3s ease, opacity .3s ease, background-color .3s ease, box-shadow .3s ease
}

.cert-card:hover {
    transform: translateX(10px);
    border-color: var(--accent)
}

.cert-badge {
    width: 60px;
    height: 60px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(0, 210, 255, .4))
}

.cert-icon-wrapper {
    width: 60px;
    height: 60px;
    background: rgba(0, 210, 255, .1);
    border: 1px solid var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(0, 210, 255, .2);
    flex-shrink: 0
}

.cert-icon-wrapper i {
    font-size: 2rem;
    color: var(--accent)
}

.cert-card h4 {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: .3rem
}

.projects-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem
}

.project-card {
    
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform .3s ease, border-color .3s ease
}

.project-card:hover {
    border-color: var(--accent)
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem
}

.folder-icon i {
    font-size: 2.5rem;
    color: var(--accent)
}

.project-links a {
    color: var(--text-secondary);
    font-size: 1.5rem;
    margin-left: 1rem;
    transition: color .3s ease, transform .3s ease
}

.project-links a:hover {
    color: var(--accent);
    transform: translateY(-3px);
    display: inline-block
}

.project-badge {
    font-size: .75rem;
    font-family: var(--font-mono);
    color: var(--accent);
    background: rgba(0, 210, 255, .08);
    border: 1px solid rgba(0, 210, 255, .2);
    padding: 3px 10px;
    border-radius: 20px;
    letter-spacing: .03em
}

.project-title {
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 1rem
}

.project-desc {
    color: var(--text-secondary);
    font-size: .95rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    flex-grow: 1
}

.case-study {
    display: flex;
    flex-direction: column;
    gap: 1.5rem
}

.case-section h4 {
    color: var(--text-primary);
    font-size: 1rem;
    margin-bottom: .5rem;
    display: flex;
    align-items: center;
    gap: .5rem
}

.case-section h4 i {
    color: var(--accent)
}

.case-section p {
    margin: 0;
    color: var(--text-secondary)
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: .8rem;
    font-family: var(--font-mono);
    font-size: .85rem;
    color: var(--accent)
}

.project-tech span {
    background: rgba(0, 210, 255, .05);
    padding: .3rem .8rem;
    border-radius: 5px;
    border: 1px solid rgba(0, 210, 255, .1)
}

.education-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem
}

.column-title {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: .8rem
}

.column-title i {
    color: var(--accent)
}

.edu-card {
    margin-bottom: 1.5rem
}

.edu-card h4 {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: .3rem
}

.edu-inst {
    color: var(--accent);
    margin-bottom: .5rem;
    font-weight: 500
}

.edu-date {
    display: block;
    font-family: var(--font-mono);
    font-size: .9rem;
    color: var(--text-secondary);
    margin-bottom: .5rem
}

.edu-detail {
    font-size: .95rem;
    margin-top: .5rem
}

.contact-card {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    padding: 3rem 2rem
}

.contact-card p {
    font-size: 1.1rem;
    margin-bottom: 2rem
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2.5rem
}

.contact-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .8rem;
    font-size: 1.1rem
}

.contact-item i {
    color: var(--accent);
    font-size: 1.3rem
}

.contact-item:hover {
    color: var(--accent)
}

.lg-btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem
}

footer {
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid var(--card-border);
    margin-top: 5rem
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem
}

.footer-content .social-links {
    margin-bottom: .5rem
}

.footer-small {
    font-size: .85rem;
    font-family: var(--font-mono)
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    filter: blur(6px);
    transition: opacity .7s cubic-bezier(.22, 1, .36, 1), transform .7s cubic-bezier(.22, 1, .36, 1), filter .7s cubic-bezier(.22, 1, .36, 1)
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0)
}

.reveal-item {
    opacity: 0;
    transform: translateY(20px);
    filter: blur(4px);
    transition: opacity .6s cubic-bezier(.22, 1, .36, 1), transform .6s cubic-bezier(.22, 1, .36, 1), filter .6s cubic-bezier(.22, 1, .36, 1)
}

.reveal-item.active {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0)
}

.marquee-wrapper {
    overflow: hidden;
    padding: 3rem 0;
    background: 0 0;
    border-top: 1px solid var(--card-border);
    border-bottom: 1px solid var(--card-border);
    white-space: nowrap;
    display: flex;
    position: relative;
    user-select: none
}

.marquee {
    display: flex;
    animation: scrollMarquee 25s linear infinite
}

.marquee span {
    font-size: clamp(3rem, 5vw, 6rem);
    font-family: var(--font-main);
    font-weight: 800;
    color: transparent;
    -webkit-text-stroke: 1px var(--text-secondary);
    text-transform: uppercase;
    padding: 0 1rem;
    letter-spacing: 2px
}

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

@keyframes scrollMarquee {
    0% {
        transform: translateX(0)
    }

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

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--bg-color);
    font-size: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: none;
    border: none;
    box-shadow: 0 10px 20px rgba(0, 210, 255, .3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: transform .3s cubic-bezier(.175, .885, .32, 1.275), opacity .3s cubic-bezier(.175, .885, .32, 1.275), background-color .3s cubic-bezier(.175, .885, .32, 1.275), box-shadow .3s cubic-bezier(.175, .885, .32, 1.275);
    z-index: 99
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0)
}

.back-to-top:hover {
    background: var(--text-primary);
    transform: translateY(-5px) scale(1.1)
}

@media screen and (min-width:2560px) {
    .container {
        max-width: 1800px
    }

    .title {
        font-size: 7rem
    }

    .subtitle {
        font-size: 2.5rem
    }

    .typing-text {
        font-size: 3.5rem
    }

    .hero .description {
        font-size: 1.6rem;
        max-width: 900px
    }

    .terminal-mockup {
        max-width: 900px
    }

    .section {
        
        padding: 110px 0
    }
}

@media screen and (min-width:1600px) and (max-width:2559px) {
    .container {
        max-width: 1400px
    }

    .title {
        font-size: 5rem
    }

    .typing-text {
        font-size: 2.5rem
    }

    .hero .description {
        font-size: 1.25rem;
        max-width: 700px
    }

    .section {
        
        padding: 75px 0
    }
}

@media screen and (max-width:968px) {

    .about-grid,
    .education-grid,
    .hero-layout {
        grid-template-columns: 1fr;
        gap: 3rem
    }

    .hero-content {
        text-align: center
    }

    .hero .description {
        margin: 0 auto 2rem
    }

    .hero-actions {
        justify-content: center
    }

    .hero-image-wrapper {
        margin-top: 2rem
    }

    .timeline-line {
        left: 20px
    }

    .timeline-item {
        
        margin-left: 50px
    }

    .timeline-dot {
        left: -39px
    }
}

@media screen and (max-width:768px) {
    .section {
        
        padding: 45px 0
    }

    .container {
        padding: 0 1.5rem
    }

    .menu-icon {
        display: block
    }

    .nav-links {
        position: fixed;
        top: var(--nav-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--nav-height));
        background: var(--bg-color);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: left .3s ease;
        overflow-y: auto;
        padding: 2rem 0
    }

    .nav-links li {
        margin: 1.2rem 0
    }

    .nav-links a {
        font-size: 1.4rem
    }

    .nav-links.active {
        left: 0
    }

    .hero {
        padding: calc(var(--nav-height) + 1rem) 0 3rem;
        overflow-x: hidden
    }

    .hero-content {
        min-width: 0;
        width: 100%
    }

    .hero-metrics .metric-item {
        white-space: normal;
        height: auto;
        line-height: 1.4
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 1rem
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center
    }

    .section-title {
        font-size: 2rem
    }
}

@media screen and (max-width:480px) {
    .title {
        font-size: 2.2rem
    }

    .subtitle {
        font-size: 1.1rem
    }

    .terminal-title {
        transform: none;
        text-align: center;
        display: block;
        margin-top: 5px
    }

    .terminal-body {
        font-size: .85rem;
        padding: 15px
    }

    .timeline-line {
        left: 15px
    }

    .timeline-item {
        
        margin-left: 35px;
        margin-bottom: 2.5rem
    }

    .timeline-dot {
        left: -29px;
        top: 20px;
        width: 16px;
        height: 16px;
        border-width: 3px
    }

    .timeline-header {
        flex-direction: column;
        align-items: flex-start;
        gap: .5rem
    }

    .company-logo {
        max-width: 120px
    }

    .timeline-desc li {
        font-size: .95rem
    }

    .about-bullets li {
        font-size: .95rem;
        margin-bottom: 1rem
    }

    .cursor-dot,
    .cursor-outline {
        display: none !important
    }

    .tech-stack-badges {
        justify-content: flex-start
    }
}

@media screen and (max-width:350px) {
    .title {
        font-size: 1.8rem
    }

    .subtitle {
        font-size: .95rem
    }

    .container {
        padding: 0 1rem
    }

    .bento-box h4 {
        font-size: 1rem
    }

    .timeline-item {
        
        margin-left: 30px
    }

    .timeline-dot {
        left: -26px
    }
}

body.light-mode {
    --bg-color: #fafafa;
    --card-bg: rgba(255, 255, 255, 0.7);
    --card-border: rgba(0, 0, 0, 0.05);
    --text-primary: #111827;
    --text-secondary: #4b5563;
    --accent: #2563eb;
    --accent-glow: rgba(37, 99, 235, 0.1);
    --accent-secondary: #6366f1
}

body.light-mode::before {
    background: radial-gradient(circle at 50% 50%, rgba(37, 99, 235, .03), transparent 60%), radial-gradient(circle at 80% 20%, rgba(99, 102, 241, .02), transparent 50%), url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.02'/%3E%3C/svg%3E")
}

body.light-mode .navbar {
    background: rgba(255, 255, 255, .65);
    backdrop-filter: blur(12px) saturate(1.2);
    -webkit-backdrop-filter: blur(12px) saturate(1.2);
    border-bottom: 1px solid rgba(0, 0, 0, .05)
}

body.light-mode .title {
    background: linear-gradient(135deg, #0f172a, #334155);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent
}

body.light-mode .subtitle {
    color: #0369a1;
    font-weight: 600
}

body.light-mode .terminal-mockup {
    border: 1px solid rgba(0, 0, 0, .15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .1);
    background: #0f172a
}

body.light-mode .terminal-header {
    background: #1e293b;
    border-bottom: 1px solid rgba(255, 255, 255, .1)
}

body.light-mode .prompt,
body.light-mode .term-output,
body.light-mode .terminal-body p,
body.light-mode .terminal-title {
    color: #e2e8f0
}

body.light-mode .arch-node {
    background: #fff
}

body.light-mode .bento-box h4,
body.light-mode .cert-card h4,
body.light-mode .edu-card h4,
body.light-mode .project-title,
body.light-mode .timeline-role {
    color: var(--text-primary)
}

body.light-mode .skill-tag {
    background: rgba(0, 0, 0, .05);
    border-color: rgba(0, 0, 0, .15)
}

body.light-mode .timeline-line {
    background: linear-gradient(to bottom, var(--accent) 0, rgba(0, 0, 0, .15) 100%)
}

body.light-mode .glass-card {
    
    box-shadow: 0 8px 32px rgba(0, 0, 0, .05)
}

.theme-toggle-btn {
    background: 0 0;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: none;
    transition: color .3s ease;
    display: flex;
    align-items: center
}

.theme-toggle-btn:hover {
    color: var(--accent)
}

.glass-card,
.metric-glass-card {
    border: 1px solid var(--card-border);
    transition: box-shadow .35s ease, border-color .35s ease, background .35s ease
}

body.light-mode .glass-card,
body.light-mode .metric-glass-card {
    border: 1px solid var(--card-border)
}

.terminal-mockup:focus-within {
    border-color: var(--accent) !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .8), 0 0 25px rgba(0, 210, 255, .25) !important
}

.terminal-input-line {
    display: flex;
    align-items: center;
    font-family: var(--font-mono);
    color: #fff;
    margin-top: 5px;
    font-size: .95rem
}

.terminal-input-line .prompt {
    color: #ffbd44;
    font-weight: 600;
    margin-right: 8px;
    white-space: nowrap
}

.terminal-input-line .input-text {
    color: #fff;
    word-break: break-all;
    min-height: 1.2rem
}

.cursor-blink {
    display: inline-block;
    width: 8px;
    height: 15px;
    background-color: var(--accent);
    margin-left: 2px;
    animation: terminal-blink 1s infinite step-end;
    vertical-align: middle
}

@keyframes terminal-blink {
    50% {
        opacity: 0
    }
}

.term-output {
    margin-bottom: 5px;
    line-height: 1.4;
    font-family: var(--font-mono);
    font-size: .9rem;
    white-space: pre-wrap
}

.term-output.success {
    color: #27c93f
}

.term-output.error {
    color: #ef4444
}

.term-output.info {
    color: #00d2ff
}

.term-output.command-line {
    color: #ffbd44
}

.neofetch-container {
    display: flex;
    gap: 20px;
    align-items: center;
    margin: 10px 0;
    flex-wrap: wrap
}

.neofetch-logo {
    color: var(--accent);
    font-family: var(--font-mono);
    font-size: .78rem;
    line-height: 1.15;
    white-space: pre
}

.neofetch-info {
    font-family: var(--font-mono);
    font-size: .85rem
}

.neofetch-info span {
    color: var(--accent);
    font-weight: 600
}

.arch-dashboard-layout {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 2.5rem;
    align-items: stretch;
    margin-top: 1.5rem
}

.arch-main-view {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    min-width: 0
}

.arch-dashboard-layout .arch-flow {
    flex-direction: column;
    gap: .8rem;
    align-items: center
}

.arch-dashboard-layout .arch-line {
    width: 2px;
    height: 40px;
    min-height: 40px;
    min-width: 2px;
    background: var(--card-border);
    position: relative;
    flex-grow: 0
}

.arch-dashboard-layout .packet {
    top: 0;
    left: -3px;
    animation: flowVertical 2s infinite linear
}

.arch-telemetry-panel {
    background: rgba(9, 13, 24, .95);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    box-shadow: inset 0 0 15px rgba(0, 0, 0, .5);
    height: 100%;
    min-height: 380px;
    text-align: left;
    min-width: 0
}

body.light-mode .arch-telemetry-panel {
    background: rgba(241, 245, 249, .95);
    border-color: rgba(0, 0, 0, .1);
    box-shadow: inset 0 0 10px rgba(0, 0, 0, .05)
}

.telemetry-section-title {
    font-family: var(--font-mono);
    font-size: .95rem;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600
}

.telemetry-chart-container {
    background: rgba(0, 0, 0, .3);
    border: 1px solid rgba(255, 255, 255, .05);
    border-radius: 8px;
    padding: 8px;
    height: 100px
}

body.light-mode .telemetry-chart-container {
    background: rgba(255, 255, 255, .8);
    border-color: rgba(0, 0, 0, .05)
}

#telemetry-chart {
    width: 100%;
    height: 100%;
    display: block
}

.telemetry-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .8rem
}

.telemetry-metric {
    background: rgba(255, 255, 255, .02);
    border: 1px solid rgba(255, 255, 255, .04);
    border-radius: 6px;
    padding: .6rem;
    display: flex;
    flex-direction: column;
    gap: 4px
}

body.light-mode .telemetry-metric {
    background: rgba(0, 0, 0, .02);
    border-color: rgba(0, 0, 0, .04)
}

.metric-label {
    font-size: .72rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: .5px
}

.metric-val {
    font-family: var(--font-mono);
    font-size: .95rem;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center
}

.status-val {
    color: #27c93f
}

.led {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 6px
}

.led-green {
    background-color: #27c93f;
    box-shadow: 0 0 8px #27c93f;
    animation: led-blink 1.5s infinite alternate
}

@keyframes led-blink {
    0% {
        opacity: .4
    }

    100% {
        opacity: 1
    }
}

.telemetry-logs-title {
    font-family: var(--font-mono);
    font-size: .85rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: .5rem;
    font-weight: 600
}

.telemetry-logs {
    background: rgba(0, 0, 0, .4);
    border: 1px solid rgba(255, 255, 255, .05);
    border-radius: 8px;
    padding: .8rem;
    font-family: var(--font-mono);
    font-size: .75rem;
    color: #a0aec0;
    flex: 1;
    overflow-y: hidden;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-height: 110px;
    max-height: 140px
}

body.light-mode .telemetry-logs {
    background: #0f172a;
    color: #94a3b8
}

.log-line {
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: left
}

.log-line .timestamp {
    color: #7c6bff
}

.arch-node {
    cursor: pointer !important
}

.arch-line.active-ping .packet {
    animation: pingPacketVertical .6s linear infinite !important;
    width: 14px;
    height: 14px;
    background: var(--accent) !important;
    box-shadow: 0 0 15px var(--accent), 0 0 30px var(--accent) !important
}

@keyframes pingPacketVertical {
    0% {
        top: 0;
        transform: translate(-50%, -50%) scale(.6)
    }

    50% {
        transform: translate(-50%, -50%) scale(1.3)
    }

    100% {
        top: 100%;
        transform: translate(-50%, -50%) scale(.6)
    }
}

.project-actions {
    margin-top: 1.5rem
}

.btn-simulate-build {
    width: 100%;
    justify-content: center;
    background: 0 0;
    border: 1px solid rgba(255, 255, 255, .12);
    color: var(--text-primary);
    transition: transform .3s ease, opacity .3s ease, background-color .3s ease, box-shadow .3s ease;
    font-family: var(--font-mono);
    font-size: .85rem;
    padding: .6rem 1rem;
    border-radius: 8px
}

body.light-mode .btn-simulate-build {
    border-color: rgba(0, 0, 0, .12)
}

.btn-simulate-build:hover {
    background: rgba(0, 210, 255, .08);
    border-color: var(--accent);
    color: var(--accent)
}

.project-build-terminal {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    background: #060911;
    border: 1px solid transparent;
    border-radius: 8px;
    font-family: var(--font-mono);
    font-size: .78rem;
    color: #e2e8f0;
    transition: transform .5s cubic-bezier(.175, .885, .32, 1.1), opacity .5s cubic-bezier(.175, .885, .32, 1.1), background-color .5s cubic-bezier(.175, .885, .32, 1.1), box-shadow .5s cubic-bezier(.175, .885, .32, 1.1);
    padding: 0;
    margin-top: 0;
    text-align: left;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, .8)
}

.project-build-terminal.active {
    max-height: 200px;
    opacity: 1;
    padding: 1rem;
    margin-top: 1rem;
    border: 1px solid rgba(0, 210, 255, .2);
    overflow-y: auto
}

.build-line {
    margin-bottom: 4px;
    line-height: 1.4
}

.sidebar-telemetry {
    position: fixed;
    right: 2.2rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    transition: opacity .3s, transform .3s
}

.scroll-progress-ring {
    position: relative;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center
}

.progress-ring-svg {
    transform: rotate(-90deg)
}

.progress-ring-circle {
    stroke-dasharray: 125.6;
    stroke-dashoffset: 125.6;
    transition: stroke-dashoffset 80ms linear;
    stroke-linecap: round
}

.scroll-percent {
    position: absolute;
    font-family: var(--font-mono);
    font-size: .65rem;
    font-weight: 600;
    color: var(--accent)
}

.sidebar-nav-dots {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    align-items: center
}

.sidebar-dot {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, .2);
    border-radius: 50%;
    transition: transform .3s cubic-bezier(.175, .885, .32, 1.275), opacity .3s cubic-bezier(.175, .885, .32, 1.275), background-color .3s cubic-bezier(.175, .885, .32, 1.275), box-shadow .3s cubic-bezier(.175, .885, .32, 1.275);
    position: relative
}

body.light-mode .sidebar-dot {
    background: rgba(0, 0, 0, .2)
}

.sidebar-dot.active {
    background: var(--accent);
    transform: scale(1.4);
    box-shadow: 0 0 10px var(--accent)
}

.sidebar-dot .tooltip {
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%) translateX(10px);
    background: rgba(15, 23, 42, .95);
    border: 1px solid var(--card-border);
    color: var(--text-primary);
    font-family: var(--font-mono);
    font-size: .72rem;
    padding: .2rem .5rem;
    border-radius: 4px;
    opacity: 0;
    pointer-events: none;
    transition: transform .3s ease, opacity .3s ease, background-color .3s ease, box-shadow .3s ease;
    white-space: nowrap
}

body.light-mode .sidebar-dot .tooltip {
    background: #fff;
    color: #0f172a
}

.sidebar-dot:hover .tooltip {
    opacity: 1;
    transform: translateY(-50%) translateX(0)
}

@media screen and (max-width:1024px) {
    .sidebar-telemetry {
        display: none !important
    }
}

@media screen and (max-width:992px) {
    .arch-dashboard-layout {
        grid-template-columns: 1fr;
        gap: 2rem
    }

    .arch-telemetry-panel {
        min-height: auto;
        padding: 1rem
    }
}

.timeline-item {
    
    transform: translateX(45px) scale(.98);
    opacity: 0;
    filter: blur(4px);
    transition: transform .8s cubic-bezier(.175, .885, .32, 1.15), opacity .8s ease, filter .8s ease, border-color .4s ease
}

.timeline-item.active-progress {
    transform: translateX(0) scale(1);
    opacity: 1;
    filter: blur(0)
}

.timeline-desc li {
    transform: translateY(12px);
    opacity: 0;
    transition: transform .6s cubic-bezier(.25, 1, .5, 1), opacity .6s ease;
    transition-delay: calc(var(--bullet-idx, 0) * 120ms + 150ms)
}

.timeline-item.active-progress .timeline-desc li {
    transform: translateY(0);
    opacity: 1
}

.timeline-dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0;
    pointer-events: none
}

.timeline-item.active-progress .timeline-dot::before {
    animation: dotRingPulse 1.2s cubic-bezier(.1, .8, .3, 1) forwards
}

@keyframes dotRingPulse {
    0% {
        width: 100%;
        height: 100%;
        opacity: .8
    }

    100% {
        width: 350%;
        height: 350%;
        opacity: 0
    }
}

.job-actions {
    margin-top: 1.2rem
}

.btn-job-inspect {
    background: 0 0;
    border: 1px solid rgba(255, 255, 255, .12);
    color: var(--text-primary);
    transition: transform .3s ease, opacity .3s ease, background-color .3s ease, box-shadow .3s ease;
    font-family: var(--font-mono);
    font-size: .82rem;
    padding: .5rem 1rem;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer
}

body.light-mode .btn-job-inspect {
    border-color: rgba(0, 0, 0, .12)
}

.btn-job-inspect:hover {
    background: rgba(124, 107, 255, .08);
    border-color: #7c6bff;
    color: #7c6bff
}

.job-inspect-console {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    background: #05070c;
    border: 1px solid transparent;
    border-radius: 8px;
    font-family: var(--font-mono);
    font-size: .78rem;
    color: #cbd5e1;
    transition: transform .5s cubic-bezier(.175, .885, .32, 1.1), opacity .5s cubic-bezier(.175, .885, .32, 1.1), background-color .5s cubic-bezier(.175, .885, .32, 1.1), box-shadow .5s cubic-bezier(.175, .885, .32, 1.1);
    padding: 0;
    margin-top: 0;
    text-align: left;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, .9)
}

.job-inspect-console.active {
    max-height: 180px;
    opacity: 1;
    padding: .8rem 1.2rem;
    margin-top: 1rem;
    border: 1px solid rgba(124, 107, 255, .2);
    overflow-y: auto
}

.contact-intro {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 3rem auto;
    font-size: 1.1rem;
    line-height: 1.6
}

.contact-cards-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
    width: 100%
}

.contact-detail-card {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1.2rem 1.5rem;
    text-decoration: none;
    border-radius: 12px
}

.contact-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(0, 210, 255, .1);
    border: 1px solid rgba(0, 210, 255, .2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .3s ease, opacity .3s ease, background-color .3s ease, box-shadow .3s ease;
    flex-shrink: 0
}

body.light-mode .contact-icon-box {
    background: rgba(2, 132, 199, .1);
    border-color: rgba(2, 132, 199, .2)
}

.contact-detail-card:hover .contact-icon-box {
    background: var(--accent);
    color: #0b0f19;
    box-shadow: 0 0 15px var(--accent);
    transform: scale(1.05)
}

.contact-detail-card:hover .contact-icon-box i {
    color: #0b0f19
}

.contact-icon-box i {
    font-size: 1.3rem;
    color: var(--accent);
    transition: color .3s ease
}

.contact-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
    text-align: left;
    overflow: hidden
}

.contact-label {
    font-size: .7rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: .5px;
    font-weight: 600
}

.contact-val {
    font-size: .95rem;
    font-weight: 600;
    color: var(--text-primary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}

.contact-form-wrapper {
    margin: 0 auto;
    width: 100%;
    max-width: 650px
}

@media screen and (max-width:992px) {
    .contact-cards-row {
        grid-template-columns: 1fr;
        gap: 1rem
    }
}

.preloader-loader-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    z-index: 10;
    position: relative
}

.cyber-loader {
    position: relative;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center
}

.loader-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid rgba(0, 210, 255, .05);
    border-top: 3px solid var(--accent);
    animation: spin 1.2s cubic-bezier(.5, .1, .4, .9) infinite
}

.loader-nodes {
    position: absolute;
    width: 120%;
    height: 120%;
    animation: spinCounter 6s linear infinite
}

.l-node {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 10px var(--accent)
}

.ln-1 {
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%)
}

.ln-2 {
    bottom: 15%;
    left: 15%;
    transform: translate(-50%, 50%);
    background: var(--accent-secondary);
    box-shadow: 0 0 10px var(--accent-secondary)
}

.ln-3 {
    bottom: 15%;
    right: 15%;
    transform: translate(50%, 50%);
    background: #7c6bff;
    box-shadow: 0 0 10px #7c6bff
}

.loader-logo {
    font-family: var(--font-main);
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -1px;
    text-shadow: 0 0 10px var(--accent-glow)
}

.loader-text {
    font-family: var(--font-mono);
    font-size: .78rem;
    color: var(--text-secondary);
    letter-spacing: 2px;
    animation: pulseText 1.5s infinite alternate
}

#preloader.hidden .preloader-loader-wrapper {
    opacity: 0;
    transform: scale(.9);
    transition: transform .5s ease, opacity .5s ease, background-color .5s ease, box-shadow .5s ease
}

@keyframes spin {
    0% {
        transform: rotate(0)
    }

    100% {
        transform: rotate(360deg)
    }
}

@keyframes spinCounter {
    0% {
        transform: rotate(0)
    }

    100% {
        transform: rotate(-360deg)
    }
}

@keyframes pulseText {
    from {
        opacity: .5
    }

    to {
        opacity: 1
    }
}

.saas-dashboard {
    width: 100%;
    max-width: 600px;
    margin: 2.5rem auto 1rem;
    text-align: left;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .4);
    padding: 0
}

.dash-header {
    background: rgba(12, 16, 28, .9);
    padding: .8rem 1.2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, .05)
}

.dash-dot-indicators {
    display: flex;
    gap: 6px
}

.dash-dot-indicators span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block
}

.dash-dot-red {
    background: #ff5f56
}

.dash-dot-yellow {
    background: #ffbd2e
}

.dash-dot-green {
    background: #27c93f
}

.dash-title {
    font-family: var(--font-main);
    font-size: .82rem;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: .5px
}

.dash-status-light {
    font-family: var(--font-mono);
    font-size: .72rem;
    color: #27c93f;
    display: flex;
    align-items: center
}

.dash-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem
}

.dash-metrics-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem
}

.dash-metric-gauge {
    background: rgba(255, 255, 255, .01);
    border: 1px solid rgba(255, 255, 255, .03);
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .8rem;
    text-align: center
}

.gauge-ring-wrapper {
    position: relative;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center
}

.gauge-svg {
    transform: rotate(-90deg)
}

.gauge-fill {
    stroke-linecap: round;
    transition: stroke-dashoffset 1s ease-in-out
}

.gauge-value {
    position: absolute;
    font-family: var(--font-mono);
    font-size: .8rem;
    font-weight: 600;
    color: var(--text-primary)
}

.gauge-label {
    font-size: .7rem;
    font-family: var(--font-mono);
    color: var(--text-secondary);
    letter-spacing: 1px
}

.dash-resources-title {
    font-size: .78rem;
    font-family: var(--font-mono);
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(255, 255, 255, .05);
    padding-bottom: .4rem
}

.dash-resources-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: .8rem
}

.dash-res-card {
    background: rgba(255, 255, 255, .01);
    border: 1px solid rgba(255, 255, 255, .04);
    border-radius: 8px;
    padding: .8rem .4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .4rem;
    cursor: pointer;
    transition: transform .3s cubic-bezier(.25, .8, .25, 1), opacity .3s cubic-bezier(.25, .8, .25, 1), background-color .3s cubic-bezier(.25, .8, .25, 1), box-shadow .3s cubic-bezier(.25, .8, .25, 1)
}

.dash-res-card i {
    font-size: 1.4rem;
    color: var(--text-secondary);
    transition: color .3s
}

.dash-res-card span {
    font-size: .72rem;
    font-weight: 500;
    color: var(--text-secondary)
}

.dash-res-card.active {
    background: rgba(0, 210, 255, .05);
    border-color: rgba(0, 210, 255, .3);
    box-shadow: 0 0 15px rgba(0, 210, 255, .1) inset
}

.dash-res-card.active i {
    color: var(--accent)
}

.dash-res-card.active span {
    color: var(--text-primary)
}

.dash-res-card:hover {
    border-color: rgba(0, 210, 255, .2)
}

.dash-chart-section {
    
    display: flex;
    flex-direction: column;
    gap: .5rem
}

.chart-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center
}

.chart-title {
    font-size: .75rem;
    font-family: var(--font-mono);
    color: var(--text-secondary)
}

.chart-legend {
    font-size: .7rem;
    font-family: var(--font-mono);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 4px
}

.legend-color {
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    display: inline-block
}

.dash-chart-canvas-wrapper {
    background: rgba(0, 0, 0, .2);
    border: 1px solid rgba(255, 255, 255, .03);
    border-radius: 8px;
    height: 80px;
    padding: 4px
}

#dash-latency-chart {
    width: 100%;
    height: 100%;
    display: block
}

.telemetry-event-stream {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: rgba(0, 0, 0, .4);
    border: 1px solid rgba(255, 255, 255, .05);
    border-radius: 8px;
    padding: .8rem;
    height: 160px;
    overflow-y: hidden;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, .8)
}

body.light-mode .telemetry-event-stream {
    background: #0f172a;
    border-color: rgba(0, 0, 0, .1)
}

.event-pill {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    background: rgba(255, 255, 255, .02);
    border: 1px solid rgba(255, 255, 255, .04);
    border-radius: 6px;
    padding: 6px 10px;
    font-family: var(--font-mono);
    font-size: .75rem;
    animation: slideInPill .4s cubic-bezier(.25, 1, .5, 1) forwards;
    transform-origin: top
}

.event-pill.apim {
    border-left: 3px solid var(--accent)
}

.event-pill.func {
    border-left: 3px solid #ffbd2e
}

.event-pill.cosmos {
    border-left: 3px solid #7c6bff
}

.pill-tag {
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: .65rem;
    text-transform: uppercase
}

.event-pill.apim .pill-tag {
    background: rgba(0, 210, 255, .1);
    color: var(--accent)
}

.event-pill.func .pill-tag {
    background: rgba(255, 189, 46, .1);
    color: #ffbd2e
}

.event-pill.cosmos .pill-tag {
    background: rgba(124, 107, 255, .1);
    color: #7c6bff
}

.pill-time {
    color: var(--text-secondary);
    opacity: .6
}

.pill-msg {
    color: var(--text-primary);
    word-break: break-word
}

body.light-mode .pill-msg {
    color: #cbd5e1
}

@keyframes slideInPill {
    from {
        opacity: 0;
        transform: translateY(-10px) scaleY(.8)
    }

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

.job-telemetry-panel {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: transform .5s cubic-bezier(.25, 1, .5, 1), opacity .5s cubic-bezier(.25, 1, .5, 1), background-color .5s cubic-bezier(.25, 1, .5, 1), box-shadow .5s cubic-bezier(.25, 1, .5, 1);
    margin-top: 0;
    background: rgba(5, 7, 12, .4);
    border: 1px solid transparent;
    border-radius: 12px
}

.job-telemetry-panel.active {
    max-height: 250px;
    opacity: 1;
    padding: 1.2rem;
    margin-top: 1.2rem;
    border: 1px solid rgba(0, 210, 255, .15);
    box-shadow: inset 0 0 15px rgba(0, 0, 0, .6)
}

body.light-mode .job-telemetry-panel {
    background: rgba(0, 0, 0, .02)
}

body.light-mode .job-telemetry-panel.active {
    border-color: rgba(2, 132, 199, .15)
}

.telemetry-grid-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    gap: 1.2rem
}

@media screen and (max-width:600px) {
    .telemetry-grid-wrapper {
        grid-template-columns: 1fr;
        gap: .8rem
    }

    .job-telemetry-panel.active {
        max-height: 500px;
        overflow-y: auto
    }
}

.telemetry-gauge-card {
    background: rgba(255, 255, 255, .01);
    border: 1px solid rgba(255, 255, 255, .03);
    border-radius: 10px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .8rem;
    text-align: center
}

body.light-mode .telemetry-gauge-card {
    background: rgba(0, 0, 0, .01);
    border-color: rgba(0, 0, 0, .03)
}

.gauge-svg-radial {
    transform: rotate(-90deg)
}

.gauge-fill-radial {
    stroke-linecap: round;
    transition: stroke-dashoffset 1.5s cubic-bezier(.1, .8, .3, 1)
}

.gauge-val-radial {
    position: absolute;
    font-family: var(--font-mono);
    font-size: .85rem;
    font-weight: 600;
    color: var(--text-primary)
}

.gauge-label-radial {
    font-size: .68rem;
    font-family: var(--font-mono);
    color: var(--text-secondary);
    letter-spacing: .5px;
    font-weight: 600
}

.perf-bar-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    justify-content: center;
    min-height: 64px
}

.perf-compare {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-mono);
    font-size: .8rem;
    font-weight: 600
}

.perf-compare .compare-old {
    color: var(--text-secondary);
    opacity: .7
}

.perf-compare .perf-arrow {
    color: var(--accent)
}

.perf-compare .compare-new {
    color: #27c93f;
    text-shadow: 0 0 10px rgba(39, 201, 63, .2)
}

.perf-bar-container {
    width: 80%;
    height: 6px;
    background: rgba(255, 255, 255, .05);
    border-radius: 3px;
    overflow: hidden
}

body.light-mode .perf-bar-container {
    background: rgba(0, 0, 0, .08)
}

.perf-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent), #27c93f);
    width: 0%;
    border-radius: 3px;
    transition: width 1.5s cubic-bezier(.1, .8, .3, 1)
}

.shield-status-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 64px
}

.shield-status-icon {
    font-size: 2.2rem;
    color: var(--text-secondary);
    transition: transform .5s ease, opacity .5s ease, background-color .5s ease, box-shadow .5s ease
}

.shield-status-icon.verified {
    color: #27c93f;
    filter: drop-shadow(0 0 8px rgba(39, 201, 63, .4));
    animation: shieldGlow 2s infinite alternate
}

.shield-status-text {
    font-family: var(--font-mono);
    font-size: .75rem;
    font-weight: 700;
    color: var(--text-secondary)
}

.shield-status-icon.verified+.shield-status-text {
    color: #27c93f
}

@keyframes shieldGlow {
    from {
        filter: drop-shadow(0 0 5px rgba(39, 201, 63, .3))
    }

    to {
        filter: drop-shadow(0 0 12px rgba(39, 201, 63, .6))
    }
}

.project-pipeline-wrapper {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: transform .5s cubic-bezier(.25, 1, .5, 1), opacity .5s cubic-bezier(.25, 1, .5, 1), background-color .5s cubic-bezier(.25, 1, .5, 1), box-shadow .5s cubic-bezier(.25, 1, .5, 1);
    margin-top: 0;
    background: rgba(5, 7, 12, .4);
    border: 1px solid transparent;
    border-radius: 12px
}

.project-pipeline-wrapper.active {
    max-height: 160px;
    opacity: 1;
    padding: 1.2rem;
    margin-top: 1.2rem;
    border: 1px solid rgba(0, 210, 255, .15);
    box-shadow: inset 0 0 15px rgba(0, 0, 0, .6)
}

body.light-mode .project-pipeline-wrapper {
    background: rgba(0, 0, 0, .02)
}

body.light-mode .project-pipeline-wrapper.active {
    border-color: rgba(2, 132, 199, .15)
}

.pipeline-stages {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: .5rem 0 1rem;
    position: relative
}

.pipeline-stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    position: relative;
    z-index: 2
}

.stage-dot {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #0f172a;
    border: 2px solid rgba(255, 255, 255, .08);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: transform .4s ease, opacity .4s ease, background-color .4s ease, box-shadow .4s ease
}

body.light-mode .stage-dot {
    background: #e2e8f0;
    border-color: rgba(0, 0, 0, .1)
}

.stage-name {
    font-size: .72rem;
    font-family: var(--font-mono);
    color: var(--text-secondary);
    font-weight: 500
}

.pipeline-connector {
    flex-grow: 1;
    height: 3px;
    background: rgba(255, 255, 255, .08);
    margin: -14px -5px 0 -5px;
    position: relative;
    z-index: 1
}

body.light-mode .pipeline-connector {
    background: rgba(0, 0, 0, .1)
}

.connector-progress {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--accent), var(--accent-secondary));
    transition: width .6s ease
}

.pipeline-stage.active .stage-dot {
    border-color: var(--accent);
    color: var(--accent);
    box-shadow: 0 0 12px var(--accent-glow);
    animation: activeStagePulse 1.5s infinite alternate
}

.pipeline-stage.active .stage-name {
    color: var(--accent);
    font-weight: 700
}

.pipeline-stage.success .stage-dot {
    border-color: #27c93f;
    color: #27c93f;
    background: rgba(39, 201, 63, .05);
    box-shadow: 0 0 10px rgba(39, 201, 63, .15)
}

.pipeline-stage.success .stage-name {
    color: #27c93f
}

.pipeline-status {
    font-size: .78rem;
    font-family: var(--font-mono);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px
}

@keyframes activeStagePulse {
    from {
        filter: brightness(1)
    }

    to {
        filter: brightness(1.3)
    }
}

.contact-form-wrapper {
    position: relative;
    width: 100%
}

.contact-form-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 2.2rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .3)
}

body.light-mode .contact-form-card {
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08)
}

.form-header {
    text-align: center;
    margin-bottom: 2.2rem
}

.form-header-icon {
    font-size: 2.2rem;
    color: var(--accent);
    margin-bottom: .5rem;
    display: inline-block;
    filter: drop-shadow(0 0 8px var(--accent-glow))
}

.form-header h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: .2rem
}

.form-header p {
    font-size: .85rem;
    color: var(--text-secondary)
}

.saas-contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.8rem
}

.saas-input-group {
    position: relative;
    width: 100%
}

.saas-input-group input,
.saas-input-group textarea {
    width: 100%;
    background: rgba(255, 255, 255, .02);
    border: 1px solid rgba(255, 255, 255, .06);
    border-radius: 8px;
    outline: 0;
    color: var(--text-primary);
    font-family: var(--font-main);
    font-size: .98rem;
    padding: .9rem 1.2rem;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: transform .3s ease, opacity .3s ease, background-color .3s ease, box-shadow .3s ease
}

body.light-mode .saas-input-group input,
body.light-mode .saas-input-group textarea {
    background: rgba(0, 0, 0, .02);
    border-color: rgba(0, 0, 0, .06)
}

.saas-input-group textarea {
    height: 120px;
    resize: none
}

.saas-input-group label {
    position: absolute;
    left: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: .95rem;
    color: var(--text-secondary);
    pointer-events: none;
    transition: transform .3s cubic-bezier(.25, .8, .25, 1), opacity .3s cubic-bezier(.25, .8, .25, 1), background-color .3s cubic-bezier(.25, .8, .25, 1), box-shadow .3s cubic-bezier(.25, .8, .25, 1);
    background: 0 0;
    padding: 0 4px
}

.saas-input-group textarea~label {
    top: 1.5rem;
    transform: none
}

.saas-input-group input:focus~label,
.saas-input-group input:not(:placeholder-shown)~label,
.saas-input-group textarea:focus~label,
.saas-input-group textarea:not(:placeholder-shown)~label {
    top: 0;
    transform: translateY(-50%) scale(.85);
    color: var(--accent);
    background: #0f1524;
    font-weight: 600
}

body.light-mode .saas-input-group input:focus~label,
body.light-mode .saas-input-group input:not(:placeholder-shown)~label,
body.light-mode .saas-input-group textarea:focus~label,
body.light-mode .saas-input-group textarea:not(:placeholder-shown)~label {
    background: #f8fafc
}

.input-focus-line {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent-secondary));
    transition: transform .3s ease, opacity .3s ease, background-color .3s ease, box-shadow .3s ease
}

.saas-input-group input:focus~.input-focus-line,
.saas-input-group textarea:focus~.input-focus-line {
    width: 100%;
    left: 0
}

.saas-input-group input:focus,
.saas-input-group textarea:focus {
    border-color: rgba(0, 210, 255, .3);
    box-shadow: 0 0 10px rgba(0, 210, 255, .05)
}

.btn-submit-form {
    position: relative;
    min-width: 140px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center
}

.btn-loader-rings {
    display: none;
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, .1);
    border-top: 2px solid #fff;
    animation: spin .8s linear infinite
}

.btn-submit-form.loading .btn-text {
    visibility: hidden;
    opacity: 0
}

.btn-submit-form.loading .btn-loader-rings {
    display: block
}

.form-success-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 15, 25, .98);
    backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    z-index: 100;
    opacity: 0;
    pointer-events: none;
    transform: scale(1.05);
    transition: transform .4s cubic-bezier(.25, 1, .5, 1), opacity .4s cubic-bezier(.25, 1, .5, 1), background-color .4s cubic-bezier(.25, 1, .5, 1), box-shadow .4s cubic-bezier(.25, 1, .5, 1);
    text-align: center;
    padding: 2rem
}

body.light-mode .form-success-overlay {
    background: rgba(248, 250, 252, .98)
}

.form-success-overlay.active {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1)
}

.success-icon-wrapper {
    font-size: 4rem;
    color: #27c93f;
    animation: scaleUpIcon .5s cubic-bezier(.175, .885, .32, 1.275) forwards
}

.form-success-overlay h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary)
}

.form-success-overlay p {
    font-size: .95rem;
    color: var(--text-secondary);
    max-width: 320px
}

@keyframes scaleUpIcon {
    from {
        transform: scale(.5);
        opacity: 0
    }

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

.dash-tabs {
    display: flex;
    gap: 8px;
    flex: 1;
    margin-left: 20px
}

.dash-tab {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 6px 6px 0 0;
    font-family: var(--font-main);
    font-size: .82rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: transform .3s ease, opacity .3s ease, background-color .3s ease, box-shadow .3s ease;
    border-bottom: 2px solid transparent;
    background: rgba(255, 255, 255, .01)
}

.dash-tab.active {
    background: rgba(255, 255, 255, .04);
    color: var(--accent);
    border-bottom: 2px solid var(--accent);
    font-weight: 600
}

.dash-tab:hover {
    background: rgba(255, 255, 255, .03);
    color: var(--text-primary)
}

.dash-panel {
    display: none
}

.dash-panel.active {
    display: block
}

.terminal-body {
    background: rgba(8, 10, 18, .95);
    min-height: 250px;
    max-height: 280px;
    overflow-y: auto;
    font-family: var(--font-mono);
    font-size: .88rem;
    padding: 1.2rem;
    color: #e2e8f0;
    cursor: text;
    line-height: 1.5
}

.terminal-cursor {
    display: inline-block;
    width: 8px;
    height: 15px;
    background-color: var(--accent);
    margin-left: 2px;
    animation: blinkCursor .8s infinite;
    vertical-align: middle
}

@keyframes blinkCursor {

    0%,
    49% {
        opacity: 1
    }

    100%,
    50% {
        opacity: 0
    }
}

.mock-body::-webkit-scrollbar,
.terminal-body::-webkit-scrollbar {
    width: 6px
}

.mock-body::-webkit-scrollbar-track,
.terminal-body::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, .1)
}

.mock-body::-webkit-scrollbar-thumb,
.terminal-body::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, .1);
    border-radius: 3px
}

.mock-body::-webkit-scrollbar-thumb:hover,
.terminal-body::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, .2)
}

.preloader-flex-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    max-width: 1100px;
    width: 90%;
    flex-wrap: wrap;
    animation: fadeInPreloader .8s ease forwards
}

@keyframes fadeInPreloader {
    from {
        opacity: 0;
        transform: translateY(15px)
    }

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

.preloader-terminal-mock {
    width: 500px;
    height: 240px;
    background: rgba(5, 7, 12, .95);
    border: 1px solid rgba(0, 210, 255, .15);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, .6), 0 0 20px rgba(0, 210, 255, .05);
    text-align: left;
    font-family: var(--font-mono);
    font-size: .8rem;
    display: flex;
    flex-direction: column
}

.mock-header {
    background: rgba(12, 16, 28, .95);
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    padding: 8px 14px;
    display: flex;
    align-items: center;
    gap: 6px
}

.mock-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block
}

.mock-dot.red {
    background: #ff5f56
}

.mock-dot.yellow {
    background: #ffbd2e
}

.mock-dot.green {
    background: #27c93f
}

.mock-title {
    font-size: .72rem;
    color: var(--text-secondary);
    font-family: var(--font-mono);
    margin-left: 8px
}

.mock-body {
    padding: 14px;
    color: #cbd5e1;
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 6px
}

.mock-log-line {
    margin: 0;
    line-height: 1.4;
    white-space: pre-wrap
}

@media screen and (max-width:768px) {
    .preloader-flex-container {
        flex-direction: column;
        gap: 1.5rem
    }

    .preloader-terminal-mock {
        display: flex !important;
        flex-direction: column;
        width: 100%;
        max-width: 350px;
        height: 260px;
        font-size: .8rem
    }
}

.arch-flow-area {
    display: grid;
    grid-template-columns: 170px 1fr;
    gap: 2rem;
    align-items: stretch;
    width: 100%
}

.arch-node-diagnostics {
    background: rgba(8, 10, 18, .7);
    border: 1px solid rgba(0, 210, 255, .15);
    border-radius: 12px;
    padding: 1.5rem;
    min-height: 480px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    font-family: var(--font-main);
    color: var(--text-primary);
    box-shadow: inset 0 0 15px rgba(0, 210, 255, .03);
    transition: transform .3s ease, opacity .3s ease, background-color .3s ease, box-shadow .3s ease;
    align-self: stretch
}

body.light-mode .arch-node-diagnostics {
    background: rgba(255, 255, 255, .02);
    border-color: rgba(2, 132, 199, .15)
}

.arch-node.active-selected {
    border-color: var(--accent) !important;
    box-shadow: 0 0 25px rgba(0, 210, 255, .45), inset 0 0 10px rgba(0, 210, 255, .1) !important;
    transform: translateY(-8px) scale(1.05) !important
}

.diag-global-dashboard {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    height: 100%;
    text-align: left
}

.diag-global-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    padding-bottom: .6rem
}

.diag-global-title {
    font-family: var(--font-mono);
    font-weight: 600;
    font-size: .9rem;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 6px
}

.diag-global-status {
    font-size: .7rem;
    font-family: var(--font-mono);
    font-weight: 700
}

.diag-metrics-mini {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .8rem
}

.diag-metric-box {
    background: rgba(255, 255, 255, .02);
    border: 1px solid rgba(255, 255, 255, .06);
    border-radius: 8px;
    padding: .6rem;
    display: flex;
    flex-direction: column;
    gap: 3px
}

.diag-metric-lbl {
    font-size: .6rem;
    font-family: var(--font-mono);
    color: var(--text-secondary)
}

.diag-metric-val {
    font-size: 1.1rem;
    font-weight: 700;
    font-family: var(--font-mono)
}

.green-text {
    color: #27c93f
}

.red-text {
    color: #ff5f56
}

.diag-slider-group {
    background: rgba(255, 255, 255, .02);
    border: 1px solid rgba(255, 255, 255, .06);
    border-radius: 8px;
    padding: .8rem;
    display: flex;
    flex-direction: column;
    gap: .6rem
}

.slider-header {
    display: flex;
    justify-content: space-between;
    font-size: .72rem;
    font-family: var(--font-mono)
}

.slider-val {
    color: var(--accent);
    font-weight: 700
}

.diag-range-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, .1);
    outline: 0
}

.diag-range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--accent);
    cursor: pointer;
    box-shadow: 0 0 8px var(--accent);
    transition: transform .1s
}

.diag-range-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2)
}

.diag-services-list {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    flex-grow: 1
}

.diag-service-row {
    background: rgba(255, 255, 255, .02);
    border: 1px solid rgba(255, 255, 255, .05);
    border-radius: 8px;
    padding: .5rem .8rem;
    display: flex;
    align-items: center;
    gap: .6rem;
    cursor: pointer;
    transition: transform .2s ease, opacity .2s ease, background-color .2s ease, box-shadow .2s ease;
    font-size: .78rem
}

.diag-service-row:hover {
    background: rgba(0, 210, 255, .05);
    border-color: rgba(0, 210, 255, .25);
    transform: translateX(4px)
}

.dot-led {
    width: 8px;
    height: 8px;
    border-radius: 50%
}

.service-name {
    font-weight: 600;
    color: var(--text-primary);
    flex-grow: 1
}

.service-stat {
    font-family: var(--font-mono);
    font-size: .7rem;
    color: var(--text-secondary)
}

.diag-actions-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .8rem
}

.diag-action-btn {
    font-family: var(--font-mono);
    font-size: .72rem;
    padding: 8px;
    border-radius: 6px;
    cursor: pointer;
    transition: transform .2s, opacity .2s, background-color .2s, box-shadow .2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px
}

.btn-inject {
    background: rgba(239, 68, 68, .08);
    border: 1px solid rgba(239, 68, 68, .2);
    color: #f87171
}

.btn-inject:hover {
    background: rgba(239, 68, 68, .16);
    border-color: #ef4444
}

.btn-spike {
    background: rgba(245, 158, 11, .08);
    border: 1px solid rgba(245, 158, 11, .2);
    color: #fbbf24
}

.btn-spike:hover {
    background: rgba(245, 158, 11, .16);
    border-color: #f59e0b
}

.diag-selected-view {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    height: 100%;
    text-align: left
}

.diag-selected-header {
    display: flex;
    align-items: center;
    gap: .8rem;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    padding-bottom: .6rem
}

.diag-back-btn {
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 6px;
    padding: 5px 10px;
    font-family: var(--font-mono);
    font-size: .7rem;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: transform .2s, opacity .2s, background-color .2s, box-shadow .2s
}

.diag-back-btn:hover {
    background: rgba(0, 210, 255, .1);
    border-color: var(--accent);
    color: var(--accent)
}

.diag-header-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column
}

.diag-selected-title {
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: .95rem;
    color: var(--accent)
}

.diag-selected-sub {
    font-size: .62rem;
    color: var(--text-secondary);
    font-family: var(--font-mono)
}

.diag-selected-tabs {
    display: flex;
    gap: 4px;
    border-bottom: 1px solid rgba(255, 255, 255, .05)
}

.diag-tab-btn {
    background: 0 0;
    border: none;
    color: var(--text-secondary);
    font-family: var(--font-mono);
    font-size: .72rem;
    padding: 6px 12px;
    cursor: pointer;
    border-radius: 4px 4px 0 0;
    border-bottom: 2px solid transparent;
    transition: transform .2s, opacity .2s, background-color .2s, box-shadow .2s
}

.diag-tab-btn:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, .02)
}

.diag-tab-btn.active {
    color: var(--accent);
    border-bottom-color: var(--accent);
    background: rgba(0, 210, 255, .05)
}

.diag-tab-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-height: 280px
}

.diag-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: left
}

.diag-stats-grid {
    display: flex;
    flex-direction: column;
    gap: .5rem
}

.diag-stat-item {
    display: flex;
    justify-content: space-between;
    font-size: .8rem;
    font-family: var(--font-mono)
}

.diag-stat-label {
    color: var(--text-secondary)
}

.diag-stat-val {
    color: var(--text-primary);
    font-weight: 600
}

.diag-btn-ping {
    margin-top: .5rem;
    font-family: var(--font-mono);
    font-size: .78rem;
    padding: 8px 12px;
    border-radius: 6px;
    background: rgba(0, 210, 255, .05);
    border: 1px solid rgba(0, 210, 255, .2);
    color: var(--accent);
    cursor: pointer;
    transition: transform .3s, opacity .3s, background-color .3s, box-shadow .3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px
}

.diag-btn-ping:hover {
    background: rgba(0, 210, 255, .12);
    border-color: var(--accent)
}

.diag-meter-group {
    display: flex;
    flex-direction: column;
    gap: .4rem;
    margin-top: .2rem
}

.diag-meter-header {
    display: flex;
    justify-content: space-between;
    font-size: .7rem;
    font-family: var(--font-mono)
}

.diag-meter-lbl {
    color: var(--text-secondary)
}

.diag-meter-val {
    color: var(--text-primary);
    font-weight: 700
}

.diag-meter-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, .05);
    border-radius: 3px;
    overflow: hidden
}

.diag-meter-fill {
    height: 100%;
    background: var(--accent);
    border-radius: 3px;
    transition: width .5s ease
}

.diag-meter-fill.warn {
    background: #f59e0b
}

.diag-powershell {
    background: #012456;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 6px;
    padding: .8rem;
    font-family: 'Fira Code', var(--font-mono);
    font-size: .7rem;
    color: #f1f1f1;
    height: 200px;
    overflow-y: auto;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, .6);
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: left
}

.ps-header {
    color: #8b9bb4;
    margin-bottom: 6px;
    line-height: 1.3
}

.ps-line {
    margin: 0;
    line-height: 1.4;
    white-space: pre-wrap
}

.ps-prompt {
    color: #00d2ff
}

.ps-warning {
    color: #fbbf24
}

.ps-success {
    color: #4ade80
}

.ps-error {
    color: #f87171
}

.ps-controls {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem
}

.ps-btn {
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 4px;
    padding: 4px 8px;
    color: var(--text-primary);
    font-family: var(--font-mono);
    font-size: .68rem;
    cursor: pointer;
    transition: transform .2s, opacity .2s, background-color .2s, box-shadow .2s
}

.ps-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #000;
    font-weight: 600
}

.diag-config-list {
    display: flex;
    flex-direction: column;
    gap: .8rem;
    text-align: left;
    margin-top: .2rem
}

.diag-config-item {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-size: .78rem;
    cursor: pointer
}

.diag-config-item input[type=checkbox] {
    accent-color: var(--accent);
    cursor: pointer;
    width: 14px;
    height: 14px
}

.diag-config-desc {
    color: var(--text-secondary);
    font-size: .68rem;
    margin-top: 2px;
    margin-left: 20px
}

body.light-mode .diag-metric-box,
body.light-mode .diag-service-row,
body.light-mode .diag-slider-group {
    background: rgba(0, 0, 0, .02);
    border-color: rgba(0, 0, 0, .06)
}

body.light-mode .diag-service-row:hover {
    background: rgba(2, 132, 199, .05);
    border-color: rgba(2, 132, 199, .25)
}

body.light-mode .diag-selected-header,
body.light-mode .diag-selected-tabs {
    border-color: rgba(0, 0, 0, .08)
}

body.light-mode .diag-meter-bar {
    background: rgba(0, 0, 0, .05)
}

body.light-mode .diag-tab-btn:hover {
    background: rgba(0, 0, 0, .02)
}

body.light-mode .diag-tab-btn.active {
    background: rgba(2, 132, 199, .05)
}

@media screen and (max-width:992px) {
    .arch-flow-area {
        grid-template-columns: 1fr;
        gap: 1.5rem
    }

    .arch-node-diagnostics {
        min-height: 380px
    }
}

.terminal-quick-actions {
    background: rgba(8, 10, 18, .95);
    border-top: 1px solid rgba(255, 255, 255, .05);
    padding: 8px 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-start
}

.terminal-action-btn {
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 4px;
    padding: 4px 10px;
    color: #cbd5e1;
    font-family: var(--font-mono);
    font-size: .72rem;
    cursor: pointer;
    transition: transform .2s ease, opacity .2s ease, background-color .2s ease, box-shadow .2s ease
}

.terminal-action-btn:hover {
    background: rgba(0, 210, 255, .1);
    border-color: var(--accent);
    color: var(--accent)
}

body.light-mode .terminal-quick-actions {
    background: rgba(255, 255, 255, .95);
    border-color: rgba(0, 0, 0, .05)
}

body.light-mode .terminal-action-btn {
    background: rgba(0, 0, 0, .04);
    border-color: rgba(0, 0, 0, .12);
    color: #334155
}

body.light-mode .terminal-action-btn:hover {
    background: rgba(2, 132, 199, .1);
    border-color: #0284c7;
    color: #0284c7
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    perspective: 1200px;
    text-align: left
}

.metric-card-wrapper {
    height: 390px;
    position: relative;
    cursor: pointer;
    transition: transform .3s ease, box-shadow .3s ease
}

.metric-glass-card {
    background: linear-gradient(135deg, rgba(15, 23, 42, .55), rgba(8, 12, 26, .7));
    backdrop-filter: blur(12px) saturate(1.2);
    -webkit-backdrop-filter: blur(12px) saturate(1.2);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 20px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .05);
    position: relative;
    overflow: hidden;
    transition: border-color .4s ease, box-shadow .4s ease
}

body.light-mode .metric-glass-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, .75), rgba(241, 245, 249, .6));
    border-color: rgba(0, 0, 0, .08);
    box-shadow: 0 15px 45px rgba(0, 0, 0, .05)
}

.metric-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: left;
    transition: transform .8s cubic-bezier(.175, .885, .32, 1.275);
    transform-style: preserve-3d
}

.metric-card-inner.flipped {
    transform: rotateY(180deg)
}

.metric-card-back,
.metric-card-front {
    position: absolute !important;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    padding: 1.5rem !important;
    overflow: hidden;
    border-radius: 12px
}

.metric-card-back {
    transform: rotateY(180deg)
}

.metric-card-front {
    justify-content: space-between
}

.metric-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center
}

.metric-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: rgba(0, 210, 255, .1);
    color: var(--accent);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    border: 1px solid rgba(0, 210, 255, .2)
}

.metric-badge {
    font-family: var(--font-mono);
    font-size: .72rem;
    background: rgba(255, 255, 255, .05);
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, .1);
    display: flex;
    align-items: center;
    gap: 6px;
    letter-spacing: .05em;
    color: #cbd5e1
}

.led-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block
}

.led-green {
    background-color: #10b981;
    box-shadow: 0 0 8px #10b981, 0 0 16px #10b981;
    animation: led-blink 1.5s infinite alternate
}

.led-blue {
    background-color: #0ea5e9;
    box-shadow: 0 0 8px #0ea5e9, 0 0 16px #0ea5e9;
    animation: led-blink 1.5s infinite alternate
}

.led-purple {
    background-color: #a855f7;
    box-shadow: 0 0 8px #a855f7, 0 0 16px #a855f7;
    animation: led-blink 1.5s infinite alternate
}

.led-gold {
    background-color: #f59e0b;
    box-shadow: 0 0 8px #f59e0b, 0 0 16px #f59e0b;
    animation: led-blink 1.5s infinite alternate
}

@keyframes led-blink {
    0% {
        opacity: .4
    }

    100% {
        opacity: 1
    }
}

.metric-card-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 1rem 0
}

.metric-value-wrap {
    margin-bottom: .3rem
}

.metric-val {
    font-family: var(--font-mono);
    font-size: 2.2rem;
    font-weight: 700;
    color: #f8fafc;
    letter-spacing: -.02em;
    background: linear-gradient(135deg, #fff 0, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent
}

.metric-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: .3rem;
    color: #f1f5f9;
    line-height: 1.3
}

.metric-desc {
    font-size: .78rem;
    color: #94a3b8;
    line-height: 1.4;
    margin-bottom: .6rem
}

.metric-chart-wrap {
    margin-top: auto;
    height: 35px;
    width: 100%
}

.mini-chart {
    width: 100%;
    height: 100%;
    overflow: visible
}

.sparkline-path {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: sparkline-draw 2s cubic-bezier(.4, 0, .2, 1) forwards
}

@keyframes sparkline-draw {
    to {
        stroke-dashoffset: 0
    }
}

.sparkline-area {
    opacity: .08
}

.metric-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .75rem;
    font-family: var(--font-mono);
    color: var(--accent);
    border-top: 1px solid rgba(255, 255, 255, .08);
    padding-top: .6rem;
    margin-top: auto
}

.metric-card-footer i {
    transition: transform .3s ease
}

.metric-card-wrapper:hover .metric-card-footer i {
    transform: translateX(4px)
}

.metric-card-back-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    padding-bottom: .4rem;
    margin-bottom: .6rem
}

.metric-card-back-header h5 {
    font-size: .9rem;
    font-weight: 700;
    color: #f1f5f9;
    letter-spacing: .03em;
    margin: 0
}

.metric-close-btn {
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .1);
    color: #94a3b8;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: transform .2s ease, opacity .2s ease, background-color .2s ease, box-shadow .2s ease;
    padding: 0
}

.metric-close-btn:hover {
    background: rgba(239, 68, 68, .15);
    border-color: rgba(239, 68, 68, .4);
    color: #ef4444
}

.metric-card-back-body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between
}

.metric-sub-status {
    margin-bottom: .5rem
}

.status-item {
    display: flex;
    justify-content: space-between;
    font-size: .7rem;
    margin-bottom: .2rem
}

.status-lbl {
    color: #94a3b8
}

.status-val {
    font-family: var(--font-mono);
    font-weight: 600;
    color: var(--accent)
}

.progress-bar-wrap {
    height: 4px;
    background: rgba(255, 255, 255, .05);
    border-radius: 2px;
    margin-bottom: .5rem;
    overflow: hidden
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent) 0, #00d2ff 100%);
    border-radius: 2px;
    transition: width 1s ease-in-out
}

.diag-action-btn {
    background: rgba(0, 210, 255, .08);
    border: 1px solid rgba(0, 210, 255, .3);
    color: #f1f5f9;
    border-radius: 6px;
    padding: 5px 10px;
    font-family: var(--font-sans);
    font-size: .72rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform .3s ease, opacity .3s ease, background-color .3s ease, box-shadow .3s ease;
    margin-bottom: .6rem;
    text-align: center;
    width: 100%
}

.diag-action-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #0f172a;
    box-shadow: 0 0 12px rgba(0, 210, 255, .4)
}

.micro-terminal-container {
    flex-grow: 1;
    background: #020617;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 6px;
    padding: 6px 8px;
    font-family: var(--font-mono);
    font-size: .65rem;
    overflow-y: auto;
    height: 110px;
    max-height: 110px;
    display: flex;
    flex-direction: column;
    text-align: left
}

.micro-terminal {
    display: flex;
    flex-direction: column;
    gap: 3px
}

.term-line {
    color: #94a3b8;
    line-height: 1.35;
    word-break: normal;
    word-wrap: break-word;
    overflow-wrap: anywhere
}

.term-line.prompt {
    color: var(--accent)
}

.term-line.warning {
    color: #f59e0b
}

.term-line.success {
    color: #10b981
}

body.light-mode .metric-badge {
    background: rgba(0, 0, 0, .03);
    border-color: rgba(0, 0, 0, .08);
    color: #475569
}

body.light-mode .metric-val {
    background: linear-gradient(135deg, #0f172a 0, #334155 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent
}

body.light-mode .metric-title {
    color: #0f172a
}

body.light-mode .metric-desc {
    color: #475569
}

body.light-mode .metric-card-footer {
    border-top-color: rgba(0, 0, 0, .06)
}

body.light-mode .metric-card-back-header {
    border-bottom-color: rgba(0, 0, 0, .06)
}

body.light-mode .metric-card-back-header h5 {
    color: #0f172a
}

body.light-mode .metric-close-btn {
    background: rgba(0, 0, 0, .04);
    border-color: rgba(0, 0, 0, .08);
    color: #475569
}

body.light-mode .metric-close-btn:hover {
    background: rgba(239, 68, 68, .1);
    color: #ef4444
}

body.light-mode .status-lbl {
    color: #475569
}

body.light-mode .progress-bar-wrap {
    background: rgba(0, 0, 0, .06)
}

body.light-mode .micro-terminal-container {
    background: #f8fafc;
    border-color: rgba(0, 0, 0, .08)
}

body.light-mode .term-line {
    color: #334155
}

body.light-mode .diag-action-btn {
    background: rgba(2, 132, 199, .08);
    border-color: rgba(2, 132, 199, .3);
    color: #0f172a
}

body.light-mode .diag-action-btn:hover {
    background: #0284c7;
    border-color: #0284c7;
    color: #fff;
    box-shadow: 0 0 15px rgba(2, 132, 199, .3)
}

.skill-hint-text {
    margin-top: 1.2rem;
    font-size: .82rem;
    color: var(--text-secondary, #94a3b8);
    display: flex;
    align-items: center;
    gap: .4rem;
    font-style: italic;
    opacity: .85;
    letter-spacing: .01em
}

.skill-hint-text i {
    font-size: 1rem;
    color: #00d2ff;
    animation: bouncePointer 1.8s ease-in-out infinite
}

@keyframes bouncePointer {

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

    50% {
        transform: translateY(-4px)
    }
}

.skill-tag.skill-interactive {
    cursor: pointer;
    position: relative;
    transition: background .2s, color .2s, box-shadow .2s, transform .2s
}

.skill-tag.skill-interactive:hover {
    background: linear-gradient(135deg, rgba(0, 210, 255, .25), rgba(58, 123, 213, .25));
    color: #00d2ff;
    box-shadow: 0 0 14px rgba(0, 210, 255, .35);
    transform: translateY(-2px) scale(1.05)
}

.skill-tag.skill-interactive:hover::after {
    content: attr(data-skill);
    position: absolute;
    bottom: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 210, 255, .9);
    color: #0a0f1e;
    font-size: .7rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 4px;
    white-space: nowrap;
    pointer-events: none;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .3)
}

.skill-tag.skill-interactive:hover::before {
    content: '';
    position: absolute;
    bottom: calc(100% + 1px);
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: rgba(0, 210, 255, .9);
    pointer-events: none;
    z-index: 10
}

@keyframes stcFloat1 {

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

    50% {
        transform: translate(18px, -22px) rotate(180deg)
    }
}

@keyframes stcFloat2 {

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

    50% {
        transform: translate(-14px, 20px) rotate(-120deg)
    }
}

@keyframes stcFloat3 {

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

    50% {
        transform: translate(12px, 16px) rotate(90deg)
    }
}

@keyframes stcFloat4 {

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

    50% {
        transform: translate(-20px, -12px) rotate(-180deg)
    }
}

@keyframes stcGlowPulse {

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

    50% {
        opacity: 1;
        transform: scale(1.15)
    }
}

@keyframes stcBorderShimmer {
    0% {
        background-position: 0 50%
    }

    50% {
        background-position: 100% 50%
    }

    100% {
        background-position: 0 50%
    }
}

@keyframes stcSlideUp {
    from {
        opacity: 0;
        transform: translateY(18px)
    }

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

.skill-tooltip-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .55);
    backdrop-filter: blur(16px) saturate(1.4);
    -webkit-backdrop-filter: blur(16px) saturate(1.4);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity .4s cubic-bezier(.4, 0, .2, 1)
}

.skill-tooltip-overlay.active {
    opacity: 1;
    pointer-events: all
}

.skill-tooltip-card {
    background: linear-gradient(160deg, rgba(15, 23, 42, .72), rgba(8, 12, 26, .82) 50%, rgba(15, 23, 42, .72));
    backdrop-filter: blur(16px) saturate(1.2);
    -webkit-backdrop-filter: blur(16px) saturate(1.2);
    border: 1px solid rgba(0, 210, 255, .18);
    border-radius: 24px;
    padding: 2.2rem 2.4rem 2rem;
    max-width: 540px;
    width: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0, 0, 0, .55), 0 0 60px rgba(0, 210, 255, .06), inset 0 1px 0 rgba(255, 255, 255, .08), inset 0 -1px 0 rgba(0, 0, 0, .2);
    transform: translateY(40px) scale(.92);
    opacity: 0;
    transition: transform .5s cubic-bezier(.34, 1.56, .64, 1), opacity .4s ease
}

.skill-tooltip-overlay.active .skill-tooltip-card {
    transform: translateY(0) scale(1);
    opacity: 1
}

.skill-tooltip-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 25px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(0, 210, 255, .4), rgba(168, 85, 247, .2), rgba(0, 210, 255, .05), rgba(168, 85, 247, .3), rgba(0, 210, 255, .4));
    background-size: 300% 300%;
    animation: stcBorderShimmer 4s ease infinite;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 0
}

.skill-tooltip-card::after {
    content: '';
    position: absolute;
    top: -60%;
    left: -20%;
    width: 140%;
    height: 140%;
    background: radial-gradient(ellipse at 30% 20%, rgba(0, 210, 255, .08), transparent 60%);
    pointer-events: none;
    z-index: 0
}

.stc-particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(0, 210, 255, .12);
    border: 1px solid rgba(0, 210, 255, .15);
    pointer-events: none;
    z-index: 0;
    opacity: 0;
    transition: opacity .6s ease .3s
}

.skill-tooltip-overlay.active .stc-particle {
    opacity: 1
}

.stc-p1 {
    width: 60px;
    height: 60px;
    top: -15px;
    right: 60px;
    animation: stcFloat1 6s ease-in-out infinite
}

.stc-p2 {
    width: 35px;
    height: 35px;
    bottom: 30px;
    left: -8px;
    animation: stcFloat2 5s ease-in-out infinite .5s
}

.stc-p3 {
    width: 24px;
    height: 24px;
    top: 50%;
    right: -6px;
    animation: stcFloat3 7s ease-in-out infinite 1s
}

.stc-p4 {
    width: 18px;
    height: 18px;
    bottom: -4px;
    right: 40%;
    animation: stcFloat4 5.5s ease-in-out infinite .3s;
    background: rgba(168, 85, 247, .1);
    border-color: rgba(168, 85, 247, .18)
}

.stc-corner {
    position: absolute;
    width: 40px;
    height: 40px;
    pointer-events: none;
    z-index: 0
}

.stc-corner-tl {
    top: 10px;
    left: 10px;
    border-top: 2px solid rgba(0, 210, 255, .25);
    border-left: 2px solid rgba(0, 210, 255, .25);
    border-radius: 8px 0 0 0
}

.stc-corner-br {
    bottom: 10px;
    right: 10px;
    border-bottom: 2px solid rgba(168, 85, 247, .25);
    border-right: 2px solid rgba(168, 85, 247, .25);
    border-radius: 0 0 8px 0
}

.skill-tooltip-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, .05);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #94a3b8;
    font-size: 1.25rem;
    transition: transform .3s cubic-bezier(.34, 1.56, .64, 1), opacity .3s cubic-bezier(.34, 1.56, .64, 1), background-color .3s cubic-bezier(.34, 1.56, .64, 1), box-shadow .3s cubic-bezier(.34, 1.56, .64, 1);
    z-index: 2
}

.skill-tooltip-close:hover {
    background: rgba(0, 210, 255, .15);
    color: #00d2ff;
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 0 16px rgba(0, 210, 255, .3)
}

.stc-anim-item {
    opacity: 0;
    transform: translateY(18px);
    position: relative;
    z-index: 1
}

.skill-tooltip-overlay.active .stc-anim-item {
    animation: stcSlideUp .5s cubic-bezier(.22, 1, .36, 1) forwards
}

.skill-tooltip-overlay.active .stc-anim-item:nth-child(7) {
    animation-delay: 80ms
}

.skill-tooltip-overlay.active .stc-anim-item:nth-child(8) {
    animation-delay: .18s
}

.skill-tooltip-overlay.active .stc-anim-item:nth-child(9) {
    animation-delay: .28s
}

.skill-tooltip-overlay.active .stc-anim-item:nth-child(10) {
    animation-delay: .38s
}

.skill-tooltip-overlay.active .stc-anim-item:nth-child(11) {
    animation-delay: .48s
}

.skill-tooltip-header {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 1.4rem
}

.skill-tooltip-icon-wrap {
    position: relative;
    flex-shrink: 0
}

.stc-icon-glow {
    position: absolute;
    inset: -6px;
    border-radius: 18px;
    border: 2px solid rgba(0, 210, 255, .35);
    animation: stcGlowPulse 2.5s ease-in-out infinite;
    pointer-events: none
}

.skill-tooltip-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, #00d2ff, #3a7bd5);
    box-shadow: 0 8px 24px rgba(0, 210, 255, .35);
    text-shadow: 0 1px 4px rgba(0, 0, 0, .4);
    position: relative;
    z-index: 1
}

.skill-tooltip-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: #e2e8f0;
    letter-spacing: -.02em;
    line-height: 1.2
}

.skill-tooltip-level-label {
    font-size: .72rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-top: .2rem
}

.skill-tooltip-bar-wrap {
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .06);
    border-radius: 100px;
    height: 12px;
    overflow: visible;
    margin-bottom: .4rem;
    position: relative
}

.skill-tooltip-bar {
    height: 100%;
    border-radius: 100px;
    background: linear-gradient(90deg, #00d2ff, #3a7bd5, #a855f7);
    width: 100%;
    
    
    
    box-shadow: 0 0 16px rgba(0, 210, 255, .45), 0 0 4px rgba(0, 210, 255, .3) inset;
    position: relative
}

.skill-tooltip-bar::after {
    content: '';
    position: absolute;
    right: -1px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #00d2ff;
    box-shadow: 0 0 12px rgba(0, 210, 255, .9), 0 0 30px rgba(0, 210, 255, .4);
    border: 2px solid rgba(255, 255, 255, .3)
}

.skill-tooltip-pct {
    display: block;
    text-align: right;
    font-size: .78rem;
    font-weight: 600;
    color: #00d2ff;
    margin-top: .5rem;
    margin-bottom: 1rem
}

.stc-section {
    
    background: rgba(255, 255, 255, .025);
    border: 1px solid rgba(255, 255, 255, .05);
    border-radius: 14px;
    padding: 1rem 1.2rem;
    margin-bottom: .7rem;
    backdrop-filter: blur(8px);
    transition: border-color .3s ease, background .3s ease
}

.stc-section:hover {
    border-color: rgba(0, 210, 255, .15);
    background: rgba(0, 210, 255, .03)
}

.skill-tooltip-section-label {
    font-size: .7rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: #00d2ff;
    font-weight: 700;
    margin-bottom: .5rem;
    display: flex;
    align-items: center;
    gap: .5rem
}

.skill-tooltip-section-label i {
    font-size: .85rem
}

.skill-tooltip-section-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(0, 210, 255, .25), transparent)
}

.skill-tooltip-desc,
.skill-tooltip-use {
    font-size: .9rem;
    color: #94a3b8;
    line-height: 1.7;
    margin: 0
}

.stc-recruiter-callout {
    display: flex;
    align-items: flex-start;
    gap: .85rem;
    margin-top: .6rem;
    padding: 1rem 1.2rem;
    background: linear-gradient(135deg, rgba(168, 85, 247, .08), rgba(0, 210, 255, .05));
    border: 1px solid rgba(168, 85, 247, .18);
    border-radius: 14px;
    backdrop-filter: blur(8px)
}

.stc-recruiter-badge {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: linear-gradient(135deg, #a855f7, #6d28d9);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    box-shadow: 0 4px 14px rgba(168, 85, 247, .35)
}

.stc-recruiter-text {
    font-size: .85rem;
    color: #cbd5e1;
    line-height: 1.6
}

.stc-recruiter-text strong {
    color: #c084fc;
    font-weight: 700;
    display: block;
    margin-bottom: .15rem;
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .06em
}

body.light-mode .skill-tooltip-overlay {
    background: rgba(255, 255, 255, .45);
    backdrop-filter: blur(16px) saturate(1.4)
}

body.light-mode .skill-tooltip-card {
    background: linear-gradient(160deg, rgba(248, 250, 252, .85), rgba(241, 245, 249, .9) 50%, rgba(248, 250, 252, .85));
    border-color: rgba(0, 140, 220, .2);
    box-shadow: 0 40px 100px rgba(0, 0, 0, .12), 0 0 60px rgba(0, 140, 220, .06), inset 0 1px 0 rgba(255, 255, 255, .6)
}

body.light-mode .skill-tooltip-card::before {
    background: linear-gradient(135deg, rgba(0, 140, 220, .3), rgba(139, 92, 246, .15), rgba(0, 140, 220, .05), rgba(139, 92, 246, .2), rgba(0, 140, 220, .3));
    background-size: 300% 300%
}

body.light-mode .skill-tooltip-name {
    color: #0f172a
}

body.light-mode .skill-tooltip-desc,
body.light-mode .skill-tooltip-use {
    color: #475569
}

body.light-mode .skill-tooltip-close {
    background: rgba(0, 0, 0, .04);
    border-color: rgba(0, 0, 0, .08);
    color: #64748b
}

body.light-mode .skill-tooltip-close:hover {
    background: rgba(0, 140, 220, .12);
    color: #0284c7
}

body.light-mode .skill-tooltip-bar-wrap {
    background: rgba(0, 0, 0, .06);
    border-color: rgba(0, 0, 0, .05)
}

body.light-mode .skill-hint-text {
    color: #64748b
}

body.light-mode .stc-section {
    
    background: rgba(0, 0, 0, .02);
    border-color: rgba(0, 0, 0, .06)
}

body.light-mode .stc-section:hover {
    border-color: rgba(0, 140, 220, .15);
    background: rgba(0, 140, 220, .03)
}

body.light-mode .stc-recruiter-callout {
    background: linear-gradient(135deg, rgba(139, 92, 246, .06), rgba(0, 140, 220, .04));
    border-color: rgba(139, 92, 246, .15)
}

body.light-mode .stc-recruiter-text {
    color: #475569
}

body.light-mode .stc-recruiter-text strong {
    color: #7c3aed
}

body.light-mode .stc-particle {
    background: rgba(0, 140, 220, .08);
    border-color: rgba(0, 140, 220, .1)
}

body.light-mode .stc-corner-tl {
    border-color: rgba(0, 140, 220, .2)
}

body.light-mode .stc-corner-br {
    border-color: rgba(139, 92, 246, .2)
}

body.light-mode .stc-icon-glow {
    border-color: rgba(0, 140, 220, .3)
}

@media (prefers-reduced-motion:reduce) {

    *,
    ::after,
    ::before {
        animation-duration: 0s !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0s !important;
        scroll-behavior: auto !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important
    }

    .reveal,
    .reveal-item {
        opacity: 1 !important;
        transform: none !important;
        filter: none !important
    }

    .bg-animation,
    .blob,
    .data-packet,
    .packet,
    canvas {
        display: none !important
    }
}

.timeline-item {
    
    position: relative;
    width: 100%;
    margin-bottom: 3rem
}

.timeline-item.premium-glass {
    background: rgba(255, 255, 255, .02);
    border: 1px solid rgba(255, 255, 255, .05);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .03), 0 4px 20px rgba(0, 0, 0, .1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: transform .4s cubic-bezier(.22, 1, .36, 1), opacity .4s cubic-bezier(.22, 1, .36, 1), background-color .4s cubic-bezier(.22, 1, .36, 1), box-shadow .4s cubic-bezier(.22, 1, .36, 1)
}

body.light-mode .timeline-item.premium-glass {
    background: rgba(255, 255, 255, .8);
    border-color: rgba(0, 0, 0, .05);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 4px 15px rgba(0, 0, 0, .05)
}

.timeline-item.premium-glass:hover {
    background: rgba(255, 255, 255, .03);
    border-color: rgba(255, 255, 255, .08)
}

body.light-mode .timeline-item.premium-glass:hover {
    background: rgba(255, 255, 255, .95);
    border-color: rgba(0, 0, 0, .1)
}

.timeline-item.current-role {
    border: 1px solid rgba(59, 130, 246, .25);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 0 20px rgba(59, 130, 246, .05)
}

.timeline-item.past-role {
    opacity: .85
}

.timeline-connector {
    position: absolute;
    left: -50px;
    top: 3.5rem
}

.timeline-dot {
    position: relative;
    width: 14px;
    height: 14px;
    background: var(--bg-color);
    border: 2px solid var(--text-secondary);
    border-radius: 50%;
    z-index: 2;
    transition: transform .4s ease, opacity .4s ease, background-color .4s ease, box-shadow .4s ease
}

.timeline-item.active-progress .timeline-dot {
    border-color: var(--accent);
    background: var(--accent)
}

.live-indicator {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%
}

.timeline-header-minimal {
    margin-bottom: 1.5rem
}

.role-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: .5rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 1rem;
    letter-spacing: -.01em
}

.current-role-badge {
    font-size: .75rem;
    padding: .2rem .6rem;
    background: rgba(16, 185, 129, .1);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, .2);
    border-radius: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .05em
}

.role-meta-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .6rem;
    font-size: .95rem;
    color: var(--text-secondary)
}

.separator {
    color: rgba(255, 255, 255, .15)
}

body.light-mode .separator {
    color: rgba(0, 0, 0, .15)
}

.company-name {
    font-weight: 500;
    color: var(--text-primary)
}

.timeline-body-minimal {
    display: flex;
    flex-direction: column;
    gap: 1.5rem
}

.role-summary {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--text-primary);
    font-weight: 400
}

.achievement-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: .8rem
}

.achievement-list li {
    position: relative;
    padding-left: 1.5rem;
    font-size: .95rem;
    color: var(--text-secondary);
    line-height: 1.6
}

.achievement-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-size: 1.2rem;
    line-height: 1.6
}

.tech-groups-minimal {
    display: flex;
    flex-direction: column;
    gap: .8rem;
    margin-top: .5rem
}

.tech-group {
    display: flex;
    align-items: center;
    gap: .6rem;
    flex-wrap: wrap
}

.group-label {
    font-size: .85rem;
    font-weight: 500;
    color: var(--text-secondary);
    min-width: 80px
}

.tech-chip {
    padding: .2rem .6rem;
    background: 0 0;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 4px;
    font-size: .8rem;
    color: var(--text-primary);
    transition: transform .2s ease, opacity .2s ease, background-color .2s ease, box-shadow .2s ease
}

body.light-mode .tech-chip {
    border-color: rgba(0, 0, 0, .1)
}

.tech-chip:hover {
    border-color: var(--accent);
    color: var(--accent)
}

@media screen and (max-width:768px) {
    .timeline-connector {
        display: none
    }

    .timeline-item.premium-glass {
        padding: 1.2rem 1rem
    }

    .role-meta-row {
        gap: .4rem;
        flex-wrap: wrap
    }

    .group-label {
        min-width: auto
    }
}

.timeline-case-study {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center
}

@media screen and (max-width:1024px) {
    .timeline-case-study {
        grid-template-columns: 1fr
    }
}

.case-study-narrative {
    display: flex;
    flex-direction: column;
    gap: 1.5rem
}

.case-study-visual {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 400px;
    background: rgba(0, 0, 0, .2);
    border: 1px solid rgba(255, 255, 255, .05);
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    perspective: 1000px;
    box-shadow: inset 0 20px 40px rgba(0, 0, 0, .3)
}

body.light-mode .case-study-visual {
    background: rgba(255, 255, 255, .5);
    border-color: rgba(0, 0, 0, .05);
    box-shadow: inset 0 20px 40px rgba(0, 0, 0, .05)
}

.arch-canvas {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform-style: preserve-3d;
    transition: transform .6s cubic-bezier(.22, 1, .36, 1)
}

.case-study-visual:hover .arch-canvas {
    transform: rotateX(5deg) rotateY(-5deg) scale(1.02)
}

@media screen and (max-width:768px) {
    .case-study-visual {
        padding: 1.5rem 1rem;
        min-height: 350px;
        overflow-x: auto;
        overflow-y: hidden;
        justify-content: flex-start;
        align-items: flex-start;
        -webkit-overflow-scrolling: touch
    }

    .timeline-case-study .arch-canvas {
        width: 100%
    }

    .timeline-case-study .arch-node {
        padding: .5rem .6rem;
        gap: .4rem;
        font-size: .7rem;
        border-radius: 8px;
        min-width: 0;
        flex-direction: column;
        text-align: center
    }

    .timeline-case-study .arch-node i {
        font-size: 1.2rem !important
    }

    .timeline-case-study .arch-node .node-icon i {
        font-size: 1.5rem !important
    }

    .arch-layout-job2 {
        gap: .5rem
    }

    .arch-layout-job3 {
        gap: 1rem
    }

    .arch-row {
        gap: .5rem
    }

    .arch-col {
        gap: .8rem
    }

    .timeline-case-study .conn-line-h {
        width: 20px
    }

    .timeline-case-study .conn-line-v[style*="7.5rem"] {
        margin-right: 4.5rem !important
    }

    .timeline-case-study .conn-line-v[style*="7rem"] {
        margin-left: 4.5rem !important
    }

    .timeline-case-study .arch-row[style*="5rem"] {
        padding-left: 1.5rem !important
    }

    .timeline-case-study .arch-row[style*="-3rem"] {
        margin-top: -1.5rem !important
    }
}

.arch-node {
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .25);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    position: relative;
    z-index: 10;
    backdrop-filter: blur(12px);
    transition: transform .5s ease, opacity .5s ease, background-color .5s ease, box-shadow .5s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .4), inset 0 1px 0 rgba(255, 255, 255, .1)
}

body.light-mode .arch-node {
    background: rgba(255, 255, 255, .9);
    border-color: rgba(0, 0, 0, .15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .1);
    color: #0f172a
}

.arch-node i {
    font-size: 1.8rem;
    color: var(--accent)
}

.arch-node .node-icon i {
    color: #fff !important;
    font-size: 2.5rem
}

.timeline-item .arch-node {
    opacity: .3;
    filter: grayscale(100%);
    transform: translateY(20px)
}

.timeline-item.active-progress .arch-node {
    opacity: 1;
    filter: grayscale(0%);
    transform: translateY(0)
}

.timeline-item.active-progress .arch-node.delay-1 {
    transition-delay: 0.2s
}

.timeline-item.active-progress .arch-node.delay-2 {
    transition-delay: 0.4s
}

.timeline-item.active-progress .arch-node.delay-3 {
    transition-delay: 0.6s
}

.timeline-item.active-progress .arch-node.delay-4 {
    transition-delay: 0.8s
}

.timeline-item.active-progress .arch-node.delay-5 {
    transition-delay: 1.0s
}

.arch-connection {
    position: absolute;
    background: rgba(255, 255, 255, .5);
    z-index: 5;
    opacity: 0;
    transition: opacity .5s ease 1s;
    box-shadow: 0 0 5px rgba(0, 210, 255, .3)
}

body.light-mode .arch-connection {
    background: rgba(0, 0, 0, .3);
    box-shadow: none
}

.timeline-item.active-progress .arch-connection {
    opacity: 1
}

.data-packet {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 15px var(--accent), 0 0 30px var(--accent), 0 0 45px var(--accent);
    opacity: 0
}

.timeline-item.active-progress .data-packet.horizontal {
    animation: packetFlowH 2s infinite linear
}

.timeline-item.active-progress .data-packet.vertical {
    animation: packetFlowV 2s infinite linear
}

@keyframes packetFlowH {
    0% {
        transform: translateX(0) scale(.5);
        opacity: 0
    }

    10% {
        transform: translateX(10px) scale(1);
        opacity: 1
    }

    90% {
        transform: translateX(100px) scale(1);
        opacity: 1
    }

    100% {
        transform: translateX(120px) scale(.5);
        opacity: 0
    }
}

@keyframes packetFlowV {
    0% {
        transform: translateY(0) scale(.5);
        opacity: 0
    }

    10% {
        transform: translateY(10px) scale(1);
        opacity: 1
    }

    90% {
        transform: translateY(100px) scale(1);
        opacity: 1
    }

    100% {
        transform: translateY(120px) scale(.5);
        opacity: 0
    }
}

.arch-flow-job1 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    width: 100%
}

.arch-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    position: relative;
    width: 100%
}

.conn-line-h {
    height: 2px;
    width: 3rem;
    position: relative
}

.conn-line-v {
    width: 2px;
    height: 3rem;
    position: relative
}

.arch-layout-job2 {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    align-items: center
}

.arch-col {
    display: flex;
    flex-direction: column;
    gap: 1.5rem
}

.arch-layout-job3 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem
}

.org-logo-container {
    height: 70px;
    width: auto;
    min-width: 70px;
    padding: 0 2rem;
    background: rgba(15, 23, 42, .6);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .4), inset 0 2px 10px rgba(255, 255, 255, .05);
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    transition: transform .5s ease, opacity .5s ease, background-color .5s ease, box-shadow .5s ease;
    margin-bottom: 1rem
}

body.light-mode .org-logo-container {
    background: #0f172a;
    border: 1px solid rgba(0, 0, 0, .1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .15)
}

.org-logo-container img {
    height: 50%;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: .95;
    transition: transform .5s ease, opacity .5s ease, background-color .5s ease, box-shadow .5s ease
}

.timeline-item .org-logo-container {
    filter: blur(4px);
    opacity: .5;
    transform: scale(.95)
}

.timeline-item.active-progress .org-logo-container {
    filter: blur(0px);
    opacity: 1;
    transform: scale(1)
}

.org-logo-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .5), transparent);
    transform: skewX(-20deg) translateX(-200%);
    z-index: 3;
    transition: transform .5s, opacity .5s, background-color .5s, box-shadow .5s
}

.timeline-item:hover .org-logo-container::before {
    animation: orgGlassShimmer 1.5s forwards
}

@keyframes orgGlassShimmer {
    0% {
        transform: translateX(0)
    }

    100% {
        transform: translateX(300%)
    }
}

.org-logo-container.current-role-logo {
    border: 2px solid rgba(59, 130, 246, .6);
    box-shadow: 0 10px 30px rgba(59, 130, 246, .2), inset 0 2px 10px rgba(255, 255, 255, .05)
}

.timeline-item.active-progress .org-logo-container.current-role-logo {
    box-shadow: 0 0 40px rgba(59, 130, 246, .4), inset 0 2px 15px rgba(255, 255, 255, .8);
    animation: ambientPulse 4s infinite alternate
}

@keyframes ambientPulse {
    0% {
        filter: brightness(1)
    }

    100% {
        filter: brightness(1.2)
    }
}

.org-meta {
    display: flex;
    flex-direction: column;
    justify-content: center
}

.org-meta .role-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: .3rem;
    display: flex;
    align-items: center;
    gap: .8rem;
    color: var(--text-primary)
}

.org-meta .role-meta-row {
    font-size: .9rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: .6rem;
    flex-wrap: wrap
}

@media screen and (max-width:768px) {
    .org-showcase-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
        margin-bottom: 1.5rem
    }
}

@media (max-width:768px) {

    .arch-node,
    .floating-badge,
    .glass-card,
    .metric-glass-card,
    .navbar,
    .org-logo-container,
    .profile-pic-container,
    .skill-tooltip-card,
    .skill-tooltip-overlay,
    .stc-recruiter-callout,
    .stc-section,
    .timeline-item.premium-glass {
        backdrop-filter: blur(4px) !important;
        -webkit-backdrop-filter: blur(4px) !important
    }

    .arch-node,
    .data-packet,
    .glass-card,
    .metric-glass-card,
    .org-logo-container,
    .packet,
    .skill-tooltip-card,
    .timeline-item.premium-glass {
        box-shadow: 0 4px 10px rgba(0, 0, 0, .3) !important
    }

    body::before {
        animation: none !important
    }

    .blob {
        display: none !important
    }

    .glow-ring {
        animation: none !important;
        display: none !important
    }

    .profile-pic-container {
        animation: none !important
    }

    .floating-badge-wrapper {
        animation: none !important
    }
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0
}

@media (max-width:768px) {
    .data-packet {
        display: none !important;
        animation: none !important
    }

    .org-logo-container::before {
        animation: none !important;
        display: none !important
    }

    .arch-line {
        animation: none !important
    }
}
.skill-tooltip-overlay.active .skill-tooltip-card {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    z-index: 10000 !important;
    transform: translateY(0) scale(1) !important;
    pointer-events: auto !important;
}
\n
/* Light Mode Fixes for Hero Image Profile and Badges */
body.light-mode .profile-pic-container {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.7), rgba(240, 244, 248, 0.85));
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

body.light-mode .floating-badge {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    color: #0f172a !important;
    font-weight: 600;
}

body.light-mode .floating-badge i {
    color: var(--accent) !important;
}

body.light-mode .glow-ring {
    opacity: 0.4;
}
\n
/* ==========================================================================
   PREMIUM GLASS CURSOR SYSTEM
   ========================================================================== */

    * {
        cursor: none !important;
    }
    
    #premium-cursor {
        position: fixed;
        top: 0;
        left: 0;
        width: 0;
        height: 0;
        pointer-events: none;
        z-index: 2147483647 !important;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    /* Base Default State - Small Glowing Dot */
    #premium-cursor .cursor-glow {
        position: absolute;
        width: 24px;
        height: 24px;
        transform: translate(-50%, -50%);
        border-radius: 50%;
        background: rgba(0, 210, 255, 0.4);
        filter: blur(4px);
        transition: width 0.2s ease, height 0.2s ease, background 0.2s ease, border-radius 0.2s ease;
    }

    #premium-cursor .cursor-ring {
        position: absolute;
        width: 8px;
        height: 8px;
        transform: translate(-50%, -50%);
        border-radius: 50%;
        background: #fff;
        box-shadow: 0 0 10px rgba(0, 210, 255, 0.8);
        transition: width 0.2s ease, height 0.2s ease, background 0.2s ease, border 0.2s ease, border-radius 0.2s ease;
    }

    /* Light Mode Adjustments */
    body.light-mode #premium-cursor .cursor-glow {
        background: rgba(0, 120, 212, 0.2);
    }
    body.light-mode #premium-cursor .cursor-ring {
        background: #0f172a;
        box-shadow: 0 0 10px rgba(0, 120, 212, 0.4);
    }

    /* Hover State (Cards, etc) */
    #premium-cursor[data-state="hover"] .cursor-glow {
        width: 36px;
        height: 36px;
        background: rgba(0, 210, 255, 0.2);
    }
    #premium-cursor[data-state="hover"] .cursor-ring {
        width: 12px;
        height: 12px;
    }

    /* Magnet State (Buttons, Links) - Glass Ring Focus */
    #premium-cursor[data-state="magnet"] .cursor-glow {
        width: 40px;
        height: 40px;
        background: transparent;
    }
    #premium-cursor[data-state="magnet"] .cursor-ring {
        width: 40px;
        height: 40px;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.4);
        backdrop-filter: blur(2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }
    body.light-mode #premium-cursor[data-state="magnet"] .cursor-ring {
        border-color: rgba(0, 0, 0, 0.1);
        background: rgba(0, 0, 0, 0.02);
    }

    /* Text State */
    #premium-cursor[data-state="text"] .cursor-glow {
        width: 4px;
        height: 24px;
        border-radius: 2px;
        background: var(--accent);
        filter: blur(0);
    }
    #premium-cursor[data-state="text"] .cursor-ring {
        width: 2px;
        height: 20px;
        border-radius: 2px;
        background: #fff;
        box-shadow: none;
    }
    body.light-mode #premium-cursor[data-state="text"] .cursor-ring {
        background: #0f172a;
    }

    /* Click State (Pulse) */
    #premium-cursor.clicking .cursor-ring {
        transform: translate(-50%, -50%) scale(0.8);
    }
    #premium-cursor.clicking .cursor-glow {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.8;
    }
\n
/* Architecture Diagram Alignment Fixes */
.timeline-case-study .arch-row {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
}

.timeline-case-study .arch-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.timeline-case-study .conn-line-h {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 2rem;
    flex-grow: 1;
    max-width: 4rem;
}

.timeline-case-study .conn-line-v {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto !important;
}

@media screen and (max-width: 768px) {
    .timeline-case-study .conn-line-h {
        width: 100% !important;
        flex-grow: 1;
        min-width: 1.5rem;
    }
    .timeline-case-study .conn-line-v {
        margin: 0 auto !important;
    }
    .timeline-case-study .arch-row {
        gap: 0.5rem;
        padding-left: 0 !important;
    }
    .timeline-case-study .arch-node {
        padding: 0.8rem !important;
    }
}
\n
/* Absolute Alignment Overrides for Architecture Diagram */
.timeline-case-study .arch-row {
    justify-content: center !important;
    padding-left: 0 !important;
}

.timeline-case-study .conn-line-v {
    margin: 0 auto !important;
}

.timeline-case-study .conn-line-h {
    width: 3rem !important;
    min-width: 2rem !important;
    flex-shrink: 0;
}

.timeline-case-study .arch-node {
    flex: 1;
    max-width: 140px;
}

@media screen and (max-width: 768px) {
    .timeline-case-study .conn-line-h {
        width: 1.5rem !important;
        min-width: 1.5rem !important;
    }
    
    .timeline-case-study .arch-node {
        padding: 0.6rem !important;
        font-size: 0.7rem !important;
    }
}
