/* ============================================
   PIPELINE PROJECTS — CODE TO CLOUD
   ============================================ */
.pipeline-wrap {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.pipeline-project {
    display: grid;
    grid-template-columns: 1fr 60px 1fr;
    min-height: 340px;
    position: relative;
}

/* Left: Code Editor */
.pipe-code-side {
    background: #0d1117;
    border: 1px solid #30363d;
    border-radius: 12px 0 0 12px;
    border-right: none;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.pipe-editor-bar {
    background: #161b22;
    padding: 0.55rem 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 1px solid #30363d;
    font-family: var(--font-mono, monospace);
    font-size: 0.72rem;
}

.ped-dots { display: flex; gap: 5px; }
.ped-r { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; display: block; }
.ped-y { width: 10px; height: 10px; border-radius: 50%; background: #ffbd2e; display: block; }
.ped-g { width: 10px; height: 10px; border-radius: 50%; background: #28c840; display: block; }

.ped-title { color: #e6edf3; margin: 0 auto 0 0.5rem; }
.ped-mod   { color: #f0883e; margin-left: auto; font-size: 0.66rem; }

.pipe-file-tree {
    padding: 0.75rem 0.75rem 0.5rem;
    font-family: var(--font-mono, monospace);
    font-size: 0.74rem;
    border-bottom: 1px solid #1c2128;
}

.pft-root {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    color: #e6edf3;
    font-weight: 600;
    margin-bottom: 0.3rem;
    padding: 0.15rem 0.3rem;
}
.pft-arrow { font-size: 0.6rem; color: #8b949e; }

.pft-item {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.2rem 0.3rem 0.2rem 1.2rem;
    color: #8b949e;
    border-radius: 3px;
    cursor: default;
    transition: background 0.15s, color 0.15s;
}
.pft-item:hover { background: rgba(255,255,255,0.05); color: #e6edf3; }
.pft-active { color: #e6edf3 !important; background: rgba(88,166,255,0.08) !important; }

.pipe-code-block {
    flex: 1;
    padding: 0.75rem 0;
    font-family: var(--font-mono, monospace);
    font-size: 0.74rem;
    overflow: hidden;
}

.pcb-line {
    display: flex;
    align-items: center;
    padding: 0.18rem 0.9rem;
    line-height: 1.6;
    transition: background 0.2s;
}
.pcb-line:hover { background: rgba(255,255,255,0.04); }
.pcb-highlighted { background: rgba(88,166,255,0.06) !important; border-left: 2px solid #58a6ff; }

.pcb-ln  { color: #484f58; width: 1.5rem; flex-shrink: 0; font-size: 0.68rem; }
.pcb-kw  { color: #ff7b72; margin-right: 0.3rem; }
.pcb-var { color: #79c0ff; }
.pcb-op  { color: #e6edf3; margin: 0 0.25rem; }
.pcb-fn  { color: #d2a8ff; }
.pcb-nm  { color: #f0883e; }
.pcb-cm  { color: #8b949e; font-style: italic; }

.pipe-tags {
    padding: 0.75rem 0.9rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    border-top: 1px solid #1c2128;
}

.pipe-tag {
    background: rgba(13,17,23,0.9);
    border: 1px solid #30363d;
    color: #ffd60a;
    padding: 0.15rem 0.55rem;
    border-radius: 4px;
    font-family: var(--font-mono, monospace);
    font-size: 0.68rem;
    font-weight: 600;
}

/* Center: Connector */
.pipe-connector-col {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pipe-svg {
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 100%;
}

.pipe-path-bg {
    stroke: #30363d;
    stroke-width: 1.5;
    fill: none;
    stroke-dasharray: 4 4;
}

.pipe-path-flow {
    stroke-width: 2;
    fill: none;
    stroke-dasharray: 300;
    stroke-dashoffset: 300;
    transition: stroke-dashoffset 1.5s ease;
}

.pipe-path-flow.revealed { stroke-dashoffset: 0; }

.pipe-dot {
    fill: #30363d;
    transition: fill 0.5s ease;
}
.pipe-dot-center {
    fill: #1c2128;
    stroke: #58a6ff;
    stroke-width: 2;
    transition: all 0.5s ease;
}
.pipeline-project.revealed .pipe-dot { fill: #3fb950; }
.pipeline-project.revealed .pipe-dot-center { stroke: #3fb950; fill: rgba(63,185,80,0.15); }

.pipe-badge {
    position: relative;
    z-index: 2;
    background: #161b22;
    border: 1px solid #30363d;
    border-radius: 8px;
    padding: 0.5rem 0.4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    font-family: var(--font-mono, monospace);
    font-size: 0.55rem;
    font-weight: 700;
    color: #8b949e;
    letter-spacing: 0.06em;
    transition: all 0.4s ease;
}
.pipe-badge i { font-size: 0.9rem; color: #f0883e; }
.pipeline-project.revealed .pipe-badge { border-color: #3fb950; color: #3fb950; box-shadow: 0 0 16px rgba(63,185,80,0.25); }
.pipeline-project.revealed .pipe-badge i { color: #3fb950; }

/* Right: Preview */
.pipe-preview-side {
    border: 1px solid #30363d;
    border-radius: 0 12px 12px 0;
    background: rgba(22,27,34,0.7);
    backdrop-filter: blur(8px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
}

.pipe-mockup-wrap {
    position: relative;
    height: 180px;
    overflow: hidden;
    flex-shrink: 0;
}

.pipe-mockup {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.pm-chrome {
    background: #1c2128;
    padding: 0.5rem 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    border-bottom: 1px solid #30363d;
    font-family: var(--font-mono, monospace);
    font-size: 0.68rem;
    color: #8b949e;
}
.pm-dot { width: 8px; height: 8px; border-radius: 50%; background: #30363d; display: inline-block; margin-right: 1px; }
.pm-url { margin-left: 0.4rem; flex: 1; background: #0d1117; border-radius: 4px; padding: 0.15rem 0.5rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pm-lock { color: #3fb950 !important; margin-right: 0.3rem; font-size: 0.6rem; }

.pm-screen {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    animation: kenBurns 12s ease infinite alternate;
    background-size: 120% 120%;
}

@keyframes kenBurns {
    0%   { background-position: 0% 50%;   transform: scale(1); }
    100% { background-position: 100% 50%; transform: scale(1.04); }
}

.pm-icon { font-size: 2.8rem; color: rgba(255,255,255,0.9); filter: drop-shadow(0 0 16px rgba(255,255,255,0.3)); }

.pm-stats { display: flex; gap: 1rem; }
.pms-item { text-align: center; }
.pms-v { font-family: 'Orbitron', monospace; font-size: 0.9rem; font-weight: 700; color: #fff; display: block; }
.pms-l { font-family: var(--font-mono, monospace); font-size: 0.6rem; color: rgba(255,255,255,0.65); display: block; text-transform: uppercase; letter-spacing: 0.08em; }

.pm-blur-veil {
    position: absolute;
    inset: 0;
    backdrop-filter: blur(12px);
    background: rgba(13,17,23,0.5);
    transition: backdrop-filter 1.2s ease, opacity 1.2s ease;
}
.pipeline-project.revealed .pm-blur-veil { backdrop-filter: blur(0px); opacity: 0; }

.pipe-info-wrap {
    padding: 1.25rem 1.5rem;
    flex: 1;
    position: relative;
}

.pipe-num-tag {
    font-family: 'Orbitron', monospace;
    font-size: 0.65rem;
    color: #484f58;
    letter-spacing: 0.15em;
    margin-bottom: 0.4rem;
}

.pipe-title {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: #e6edf3;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.pipe-desc {
    color: #8b949e;
    font-size: 0.87rem;
    line-height: 1.65;
    margin-bottom: 1rem;
}

.pipe-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }

/* Floating npm terminal */
.npm-float-terminal {
    position: absolute;
    top: 1rem; right: 1rem;
    width: 230px;
    background: #0d1117;
    border: 1px solid #30363d;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0,0,0,0.6);
    opacity: 0;
    transform: translateY(10px) scale(0.96);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
    z-index: 20;
}
.pipe-preview-side:hover .npm-float-terminal { opacity: 1; transform: translateY(0) scale(1); }

.nft-bar {
    background: #161b22;
    padding: 0.4rem 0.7rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    border-bottom: 1px solid #30363d;
}
.nft-d { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.nft-d.r { background: #ff5f57; }
.nft-d.y { background: #ffbd2e; }
.nft-d.g { background: #28c840; }
.nft-title { font-family: var(--font-mono, monospace); font-size: 0.65rem; color: #8b949e; margin: 0 auto; }

.nft-body {
    padding: 0.6rem 0.75rem;
    font-family: var(--font-mono, monospace);
    font-size: 0.7rem;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}
.nft-line { color: #8b949e; display: block; opacity: 0; transition: opacity 0.4s ease; }
.pipe-preview-side:hover .nft-line { opacity: 1; }
.pipe-preview-side:hover .nft-line:nth-child(1) { color: #e6edf3; transition-delay: 0s; }
.pipe-preview-side:hover .nft-line:nth-child(2) { transition-delay: 0.25s; }
.pipe-preview-side:hover .nft-line:nth-child(3) { transition-delay: 0.5s; }
.pipe-preview-side:hover .nft-line:nth-child(4) { transition-delay: 0.75s; color: #ffd60a; }
.pipe-preview-side:hover .nft-line:nth-child(5) { transition-delay: 1s; color: #3fb950; }

/* ============================================
   GEO SKILLS — ARCHITECTURE OF ADAPTABILITY
   ============================================ */
.geo-intro { text-align: center; margin-bottom: 2rem; }
.geo-hint-global {
    font-family: var(--font-mono, monospace);
    font-size: 0.78rem;
    color: #8b949e;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.geo-skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
}

.geo-card {
    background: rgba(22,27,34,0.7);
    border: 1px solid #30363d;
    border-radius: 16px;
    padding: 1.5rem 1.25rem 1.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    position: relative;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
    overflow: hidden;
}
.geo-card:hover {
    border-color: rgba(88,166,255,0.4);
    box-shadow: 0 12px 40px rgba(0,0,0,0.4), 0 0 30px rgba(88,166,255,0.08);
    transform: translateY(-4px);
}
.geo-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(88,166,255,0.06) 0%, transparent 70%);
    pointer-events: none;
}

.geo-scene {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 400px;
    position: relative;
}

/* Cube */
.geo-cube {
    width: 48px; height: 48px;
    transform-style: preserve-3d;
    transform: rotateX(-20deg) rotateY(30deg);
    animation: cubeFloat 6s ease-in-out infinite;
    transition: transform 0.8s cubic-bezier(0.34,1.56,0.64,1);
}
@keyframes cubeFloat {
    0%, 100% { transform: rotateX(-20deg) rotateY(30deg) translateY(0); }
    50%       { transform: rotateX(-20deg) rotateY(210deg) translateY(-6px); }
}
.geo-card.triggered .geo-cube {
    animation: cubeMorph 1.2s cubic-bezier(0.34,1.56,0.64,1) forwards;
}
@keyframes cubeMorph {
    0%   { transform: rotateX(-20deg) rotateY(30deg) scale(1); }
    40%  { transform: rotateX(-45deg) rotateY(180deg) scale(0.6) skewX(10deg); }
    70%  { transform: rotateX(-70deg) rotateY(270deg) scale(1.2) skewX(-5deg); }
    100% { transform: rotateX(-25deg) rotateY(390deg) scale(1); }
}

.gf {
    position: absolute;
    width: 48px; height: 48px;
    border: 1.5px solid var(--c, #58a6ff);
    background: rgba(88,166,255,0.06);
    backdrop-filter: blur(2px);
}
.gf.front  { transform: translateZ(24px); }
.gf.back   { transform: rotateY(180deg) translateZ(24px); }
.gf.left   { transform: rotateY(-90deg) translateZ(24px); }
.gf.right  { transform: rotateY(90deg) translateZ(24px); }
.gf.top    { transform: rotateX(90deg) translateZ(24px); }
.gf.bottom { transform: rotateX(-90deg) translateZ(24px); }

/* Align */
.geo-align {
    position: relative; width: 90px; height: 60px;
    display: flex; align-items: center; justify-content: center; gap: 16px;
}
.ga-shape {
    width: 32px; height: 32px;
    border: 2px solid var(--c, #8b5cf6);
    background: rgba(139,92,246,0.1);
    transition: transform 0.8s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.4s ease;
}
.ga-a { border-radius: 50%; transform: translateX(-4px); animation: gaFloat 4s ease-in-out infinite; }
.ga-b { border-radius: 4px; transform: translateX(4px) rotate(15deg); animation: gaFloat 4s ease-in-out infinite reverse; }
@keyframes gaFloat {
    0%, 100% { transform: translateY(0) translateX(-4px); }
    50%       { transform: translateY(-6px) translateX(-4px); }
}
.geo-card.triggered .ga-a,
.geo-card.triggered .ga-b {
    transform: translateX(0) translateY(0) rotate(0deg) !important;
    animation: none !important;
    box-shadow: 0 0 20px var(--c, #8b5cf6), 0 0 40px rgba(139,92,246,0.3);
}

/* Unite */
.geo-unite { position: relative; width: 80px; height: 80px; }
.gu-particle {
    position: absolute;
    width: 14px; height: 14px;
    border-radius: 50%;
    background: var(--c, #3fb950);
    box-shadow: 0 0 8px var(--c, #3fb950);
    transition: all 0.9s cubic-bezier(0.34,1.56,0.64,1);
}
.gu-p0 { top: 0;    left: 33px; animation: gu0 3s ease-in-out infinite; }
.gu-p1 { top: 10px; left: 0;    animation: gu1 3s ease-in-out infinite; }
.gu-p2 { top: 10px; right: 0;   animation: gu2 3s ease-in-out infinite; }
.gu-p3 { bottom: 10px; left: 0; animation: gu3 3s ease-in-out infinite; }
.gu-p4 { bottom: 10px; right:0; animation: gu4 3s ease-in-out infinite; }
.gu-p5 { bottom: 0; left: 33px; animation: gu5 3s ease-in-out infinite; }
@keyframes gu0 { 0%,100%{transform:translateY(0);}    50%{transform:translateY(-5px);} }
@keyframes gu1 { 0%,100%{transform:translate(0,0);}  50%{transform:translate(-4px,-4px);} }
@keyframes gu2 { 0%,100%{transform:translate(0,0);}  50%{transform:translate(4px,-4px);} }
@keyframes gu3 { 0%,100%{transform:translate(0,0);}  50%{transform:translate(-4px,4px);} }
@keyframes gu4 { 0%,100%{transform:translate(0,0);}  50%{transform:translate(4px,4px);} }
@keyframes gu5 { 0%,100%{transform:translateY(0);}   50%{transform:translateY(5px);} }

.gu-core {
    position: absolute; top: 50%; left: 50%;
    width: 20px; height: 20px;
    transform: translate(-50%,-50%) scale(0);
    border-radius: 50%;
    background: var(--c, #3fb950);
    box-shadow: 0 0 20px var(--c, #3fb950);
    transition: transform 0.5s cubic-bezier(0.34,1.56,0.64,1) 0.3s;
}
.geo-card.triggered .gu-particle {
    top: 50% !important; left: 50% !important;
    right: auto !important; bottom: auto !important;
    transform: translate(-50%,-50%) !important;
    opacity: 0; animation: none !important;
}
.geo-card.triggered .gu-core { transform: translate(-50%,-50%) scale(1.4); }

/* Pyramid */
.geo-pyramid {
    width: 60px; height: 60px;
    transform-style: preserve-3d;
    transform: rotateX(-10deg) rotateY(30deg);
    animation: pyrSpin 8s linear infinite;
    position: relative;
}
@keyframes pyrSpin { to { transform: rotateX(-10deg) rotateY(390deg); } }
.gpy-face {
    position: absolute; width: 0; height: 0;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-bottom: 52px solid;
    transform-origin: bottom center;
}
.gpy-face.f1 { border-bottom-color: rgba(88,166,255,0.7); transform: rotateY(0deg)   rotateX(20deg) translateZ(17px); }
.gpy-face.f2 { border-bottom-color: rgba(88,166,255,0.5); transform: rotateY(90deg)  rotateX(20deg) translateZ(17px); }
.gpy-face.f3 { border-bottom-color: rgba(88,166,255,0.4); transform: rotateY(180deg) rotateX(20deg) translateZ(17px); }
.gpy-face.f4 { border-bottom-color: rgba(88,166,255,0.6); transform: rotateY(270deg) rotateX(20deg) translateZ(17px); }
.geo-card.triggered .geo-pyramid {
    animation: pyrLift 1.2s cubic-bezier(0.34,1.56,0.64,1) forwards;
}
@keyframes pyrLift {
    0%  { transform: rotateX(-10deg) rotateY(30deg) translateY(0) scale(1); }
    50% { transform: rotateX(-60deg) rotateY(180deg) translateY(-15px) scale(1.2); }
    100%{ transform: rotateX(-10deg) rotateY(390deg) translateY(0) scale(1); }
}

/* Orbit */
.geo-orbit {
    position: relative; width: 90px; height: 90px;
    display: flex; align-items: center; justify-content: center;
}
.go-center {
    width: 18px; height: 18px; border-radius: 50%;
    background: var(--c, #06b6d4);
    box-shadow: 0 0 16px var(--c, #06b6d4);
    position: relative; z-index: 2;
    transition: box-shadow 0.4s ease;
}
.go-ring {
    position: absolute; border-radius: 50%;
    border: 1.5px solid rgba(6,182,212,0.35);
    display: flex; align-items: flex-start; justify-content: center;
    transition: border-color 0.3s;
}
.go-ring.r1 { width: 48px; height: 48px; animation: goSpin 3s linear infinite; }
.go-ring.r2 { width: 76px; height: 76px; animation: goSpin 5s linear infinite reverse; }
@keyframes goSpin { to { transform: rotate(360deg); } }
.go-moon { width: 8px; height: 8px; border-radius: 50%; background: var(--c, #06b6d4); margin-top: -4px; }
.geo-card.triggered .go-ring.r1 { animation-duration: 0.5s; }
.geo-card.triggered .go-ring.r2 { animation-duration: 0.8s; }
.geo-card.triggered .go-center {
    box-shadow: 0 0 30px var(--c, #06b6d4), 0 0 60px rgba(6,182,212,0.3);
}

.geo-info { display: flex; align-items: center; justify-content: space-between; width: 100%; gap: 0.5rem; }
.geo-name { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 0.9rem; color: #e6edf3; }
.geo-pct  { font-family: var(--font-mono, monospace); font-size: 0.82rem; font-weight: 700; }

.geo-desc {
    font-size: 0.75rem; color: #8b949e; text-align: center; line-height: 1.45;
    opacity: 0; transform: translateY(4px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.geo-card:hover .geo-desc { opacity: 1; transform: translateY(0); }
.geo-cta {
    font-family: var(--font-mono, monospace); font-size: 0.65rem;
    color: #58a6ff; opacity: 0.6; letter-spacing: 0.05em; transition: opacity 0.3s;
}
.geo-card:hover .geo-cta { opacity: 1; }

/* ============================================
   CONTACT — THE DEVELOPER'S SIGNAL
   ============================================ */
.contact-section { position: relative; overflow: hidden; }

.signal-canvas {
    position: absolute; inset: 0; width: 100%; height: 100%;
    pointer-events: none; z-index: 0; opacity: 0.6;
}

.signal-beam {
    position: absolute; left: 50%; bottom: 0;
    width: 3px; height: 0;
    background: linear-gradient(to top, transparent, #58a6ff, #ffffff);
    border-radius: 2px;
    transform: translateX(-50%);
    z-index: 10; opacity: 0; pointer-events: none;
    box-shadow: 0 0 20px #58a6ff, 0 0 40px rgba(88,166,255,0.5);
}

.contact-section .section-container { position: relative; z-index: 1; }

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 3rem;
    align-items: start;
}

.contact-left {
    display: flex; flex-direction: column; align-items: center; gap: 2rem;
}
.contact-right { position: relative; }

.signal-orb-wrap {
    display: flex; flex-direction: column; align-items: center; gap: 1rem;
}

.signal-orb {
    width: 120px; height: 120px;
    position: relative; display: flex; align-items: center; justify-content: center;
}

.so-core {
    width: 40px; height: 40px; border-radius: 50%;
    background: radial-gradient(circle, #58a6ff, #1f6feb);
    box-shadow: 0 0 20px rgba(88,166,255,0.4), 0 0 40px rgba(88,166,255,0.2);
    transition: box-shadow 0.4s ease, background 0.4s ease;
    position: relative; z-index: 3;
}

.so-ring {
    position: absolute; border-radius: 50%;
    border: 1.5px solid rgba(88,166,255,0.3);
    animation: orbPulse 2s ease-in-out infinite;
    transition: border-color 0.4s ease;
}
.so-ring.r1 { width: 60px;  height: 60px;  animation-delay: 0s; }
.so-ring.r2 { width: 85px;  height: 85px;  animation-delay: 0.5s; }
.so-ring.r3 { width: 112px; height: 112px; animation-delay: 1s; }

@keyframes orbPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50%       { transform: scale(1.06); opacity: 0.7; }
}

.signal-orb.active .so-core {
    background: radial-gradient(circle, #3fb950, #1a7431);
    box-shadow: 0 0 30px rgba(63,185,80,0.8), 0 0 60px rgba(63,185,80,0.4);
}
.signal-orb.active .so-ring { border-color: rgba(63,185,80,0.4); }

.signal-status {
    display: flex; align-items: center; gap: 0.4rem;
    font-family: var(--font-mono, monospace); font-size: 0.7rem;
    color: #8b949e; letter-spacing: 0.08em; transition: color 0.4s ease;
}
.ss-dot {
    width: 6px; height: 6px; border-radius: 50%; background: #8b949e;
    display: inline-block; animation: statusBlink 2s step-end infinite;
    transition: background 0.3s ease;
}
@keyframes statusBlink { 0%,100%{opacity:1;} 50%{opacity:0.3;} }

.console-output {
    background: #0d1117; border: 1px solid #30363d; border-radius: 8px;
    padding: 1rem; font-family: var(--font-mono, monospace); font-size: 0.78rem;
    margin-top: 1rem; display: flex; flex-direction: column; gap: 0.3rem;
}
.co-line { display: block; opacity: 0; transform: translateX(-8px); transition: opacity 0.4s ease, transform 0.4s ease; }
.co-line.show { opacity: 1; transform: translateX(0); }
.co-sys  { color: #8b949e; }
.co-info { color: #58a6ff; }
.co-ok   { color: #3fb950; }
.co-recv { color: #ffd60a; font-weight: 700; }
.co-final{ color: #d2a8ff; }
.co-blink { animation: termBlink 0.8s step-end infinite; }

/* ============================================
   PIPELINE STAGES TRACKER
   ============================================ */
.pipeline-stages {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 4rem;
    padding: 1.25rem 2rem;
    background: rgba(22,27,34,0.5);
    border: 1px solid #21262d;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}
.pipeline-stages::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(88,166,255,0.04), transparent);
    animation: stageSweep 4s ease-in-out infinite;
}
@keyframes stageSweep {
    0%,100% { opacity: 0; transform: translateX(-100%); }
    50%      { opacity: 1; transform: translateX(100%); }
}
.ps-stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
    position: relative;
    z-index: 1;
    min-width: 72px;
}
.ps-icon {
    width: 38px; height: 38px;
    border-radius: 50%;
    border: 2px solid #30363d;
    background: #0d1117;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.82rem;
    color: #484f58;
    transition: all 0.4s ease;
}
.ps-stage span {
    font-family: var(--font-mono, monospace);
    font-size: 0.6rem;
    color: #484f58;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: color 0.4s ease;
}
.ps-stage.ps-done .ps-icon {
    border-color: #3fb950;
    color: #3fb950;
    background: rgba(63,185,80,0.1);
    box-shadow: 0 0 12px rgba(63,185,80,0.2);
}
.ps-stage.ps-done span { color: #3fb950; }
.ps-stage.ps-active .ps-icon {
    border-color: #58a6ff;
    color: #58a6ff;
    background: rgba(88,166,255,0.1);
    box-shadow: 0 0 16px rgba(88,166,255,0.3);
    animation: psActivePulse 2s ease-in-out infinite;
}
@keyframes psActivePulse {
    0%,100% { box-shadow: 0 0 16px rgba(88,166,255,0.3); }
    50%      { box-shadow: 0 0 28px rgba(88,166,255,0.6); }
}
.ps-stage.ps-active span { color: #58a6ff; }
.ps-line {
    flex: 1;
    height: 2px;
    min-width: 30px;
    max-width: 80px;
    background: #3fb950;
    border-radius: 1px;
    opacity: 0.35;
    position: relative;
    z-index: 1;
}
.ps-line:last-of-type { opacity: 0.12; background: #30363d; }

/* ============================================
   NODE GRAPH LEGEND
   ============================================ */
.ng-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.1rem;
    padding: 0.7rem 1rem;
    background: rgba(13,17,23,0.65);
    border: 1px solid #1c2128;
    border-top: none;
    border-radius: 0 0 12px 12px;
    justify-content: center;
}
.ng-leg-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
    transition: opacity 0.2s ease;
}
.ng-leg-item:hover { opacity: 0.7; }
.ng-leg-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}
.ng-leg-name {
    font-family: var(--font-mono, monospace);
    font-size: 0.7rem;
    color: #8b949e;
}
.ng-leg-pct {
    font-family: 'Orbitron', monospace;
    font-size: 0.65rem;
    font-weight: 700;
}

/* ============================================
   PROJECT SHOWCASE CARDS
   ============================================ */
.proj-showcase-grid {
    display: flex;
    flex-direction: column;
    gap: 5rem;
}

.proj-card {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3.5rem;
    align-items: center;
    position: relative;
    padding: 2.5rem 0;
}
.proj-card::after {
    content: "";
    position: absolute;
    bottom: 0; left: 8%; right: 8%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #21262d, transparent);
}
.proj-card:last-child::after { display: none; }

.proj-reverse {
    direction: rtl;
}
.proj-reverse > * { direction: ltr; }

.proj-watermark {
    position: absolute;
    font-family: 'Orbitron', monospace;
    font-size: clamp(5rem, 12vw, 9rem);
    font-weight: 900;
    color: rgba(88,166,255,0.03);
    top: 50%; left: -1rem;
    transform: translateY(-50%);
    pointer-events: none;
    line-height: 1;
    letter-spacing: -0.02em;
    user-select: none;
    z-index: 0;
    transition: color 0.6s ease;
}
.proj-card:hover .proj-watermark { color: rgba(88,166,255,0.07); }

/* Info side */
.proj-info-side {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    position: relative;
    z-index: 1;
}
.proj-meta-row {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}
.proj-idx-badge {
    font-family: var(--font-mono, monospace);
    font-size: 0.66rem;
    color: #484f58;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.proj-status-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #3fb950;
    box-shadow: 0 0 8px rgba(63,185,80,0.6);
    animation: projStatusPulse 2.5s ease-in-out infinite;
}
@keyframes projStatusPulse {
    0%,100% { opacity: 1; transform: scale(1); }
    50%      { opacity: 0.5; transform: scale(1.4); }
}
.proj-h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    color: #e6edf3;
    line-height: 1.15;
    letter-spacing: -0.025em;
    margin: 0;
}
.proj-para {
    color: #8b949e;
    font-size: 0.95rem;
    line-height: 1.78;
    margin: 0;
}
.proj-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}
.proj-tech {
    font-family: var(--font-mono, monospace);
    font-size: 0.71rem;
    color: #8b949e;
    background: rgba(13,17,23,0.8);
    border: 1px solid #21262d;
    padding: 0.18rem 0.65rem;
    border-radius: 20px;
    transition: border-color 0.25s, color 0.25s;
}
.proj-card:hover .proj-tech { border-color: #30363d; color: #c9d1d9; }

.proj-btns {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 0.25rem;
}
.proj-btn-live,
.proj-btn-code {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.3rem;
    border-radius: 8px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
    position: relative;
}
.proj-btn-live {
    background: #1f6feb;
    color: #fff;
    border: 1px solid #388bfd;
}
.proj-btn-live:hover {
    background: #388bfd;
    box-shadow: 0 8px 24px rgba(31,111,235,0.4);
    transform: translateY(-2px);
    color: #fff;
}
.proj-btn-code {
    background: transparent;
    color: #e6edf3;
    border: 1px solid #30363d;
}
.proj-btn-code:hover {
    border-color: #58a6ff;
    color: #58a6ff;
    background: rgba(88,166,255,0.06);
    transform: translateY(-2px);
}

/* Visual side */
.proj-visual-side {
    position: relative;
    z-index: 1;
}
.proj-glow-orb {
    position: absolute;
    width: 340px; height: 340px;
    border-radius: 50%;
    top: 50%; left: 50%;
    transform: translate(-50%,-50%);
    filter: blur(90px);
    opacity: 0.12;
    pointer-events: none;
    transition: opacity 0.5s ease;
    z-index: 0;
}
.proj-card:hover .proj-glow-orb { opacity: 0.22; }

.proj-browser-wrap {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #30363d;
    background: #0d1117;
    box-shadow:
        0 24px 64px rgba(0,0,0,0.5),
        0 0 0 1px rgba(255,255,255,0.04);
    transition: box-shadow 0.4s ease, transform 0.4s ease, border-color 0.3s ease;
    z-index: 1;
}
.proj-card:hover .proj-browser-wrap {
    box-shadow:
        0 32px 80px rgba(0,0,0,0.65),
        0 0 0 1px rgba(88,166,255,0.15),
        0 0 40px rgba(88,166,255,0.06);
    transform: translateY(-8px) scale(1.015);
    border-color: rgba(88,166,255,0.2);
}

.pb-chrome {
    background: #161b22;
    padding: 0.55rem 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    border-bottom: 1px solid #21262d;
}
.pb-traffic { display: flex; gap: 5px; align-items: center; }
.pb-dot-r { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; display: block; }
.pb-dot-y { width: 10px; height: 10px; border-radius: 50%; background: #ffbd2e; display: block; }
.pb-dot-g { width: 10px; height: 10px; border-radius: 50%; background: #28c840; display: block; }
.pb-addressbar {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: #0d1117;
    border-radius: 6px;
    padding: 0.22rem 0.65rem;
    font-family: var(--font-mono, monospace);
    font-size: 0.68rem;
    color: #8b949e;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    max-width: 280px;
}
.pb-menu-dots { color: #484f58; font-size: 0.75rem; padding: 0.1rem 0.35rem; }

.pb-screen {
    position: relative;
    min-height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    animation: kenBurns 14s ease infinite alternate;
    background-size: 130% 130%;
}
.pb-screen-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1.5rem 2rem;
    position: relative;
    z-index: 1;
    transition: opacity 0.35s ease;
}
.proj-browser-wrap:hover .pb-screen-content { opacity: 0; }

.pb-sc-icon {
    font-size: 3.8rem;
    color: rgba(255,255,255,0.9);
    filter: drop-shadow(0 0 22px rgba(255,255,255,0.35));
}
.pb-sc-metrics { display: flex; gap: 1.4rem; }
.pb-sc-m { text-align: center; }
.pb-mv { font-family: 'Orbitron', monospace; font-size: 1.05rem; font-weight: 700; color: #fff; display: block; }
.pb-ml { font-family: var(--font-mono, monospace); font-size: 0.58rem; color: rgba(255,255,255,0.6); display: block; text-transform: uppercase; letter-spacing: 0.1em; margin-top: 0.15rem; }

/* Terminal overlay on browser hover */
.pb-term-overlay {
    position: absolute;
    inset: 0;
    background: rgba(13,17,23,0.96);
    display: flex;
    flex-direction: column;
    opacity: 0;
    transition: opacity 0.35s ease;
    z-index: 2;
}
.proj-browser-wrap:hover .pb-term-overlay { opacity: 1; }

.pto-bar {
    background: #161b22;
    padding: 0.45rem 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    border-bottom: 1px solid #21262d;
    flex-shrink: 0;
}
.pto-d { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.pto-d.r { background: #ff5f57; }
.pto-d.y { background: #ffbd2e; }
.pto-d.g { background: #28c840; }
.pto-lbl { font-family: var(--font-mono, monospace); font-size: 0.65rem; color: #8b949e; margin: 0 auto; }

.pto-output {
    flex: 1;
    padding: 0.85rem 1rem;
    font-family: var(--font-mono, monospace);
    font-size: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    overflow: hidden;
}
.pto-ln {
    display: block;
    color: #8b949e;
    opacity: 0;
    transform: translateX(-6px);
    transition:
        opacity 0.3s ease calc(var(--i) * 0.1s),
        transform 0.3s ease calc(var(--i) * 0.1s);
}
.proj-browser-wrap:hover .pto-ln { opacity: 1; transform: translateX(0); }
.pto-ln:first-child { color: #e6edf3; }
.pto-ln:nth-child(4) { color: #ffd60a; }
.pto-ln:last-child  { color: #3fb950; }

/* Reveal veil */
.pb-veil {
    position: absolute;
    inset: 0;
    background: rgba(13,17,23,0.72);
    backdrop-filter: blur(10px);
    transition: opacity 1.3s ease, backdrop-filter 1.3s ease;
    z-index: 3;
    pointer-events: none;
}
.proj-card.revealed .pb-veil { opacity: 0; backdrop-filter: blur(0px); }

/* ============================================
   CONTACT — PROFESSIONAL REDESIGN
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 3.5rem;
    align-items: start;
}

/* ── Left info panel ── */
.ct-info-panel {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    position: relative;
    z-index: 1;
}

.ct-avail-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    background: rgba(63,185,80,0.1);
    border: 1px solid rgba(63,185,80,0.25);
    border-radius: 100px;
    padding: 0.4rem 1rem;
    font-family: var(--font-mono, monospace);
    font-size: 0.72rem;
    color: #3fb950;
    letter-spacing: 0.04em;
    width: fit-content;
}
.ct-avail-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #3fb950;
    box-shadow: 0 0 8px rgba(63,185,80,0.7);
    animation: availPulse 2s ease-in-out infinite;
    flex-shrink: 0;
}
@keyframes availPulse {
    0%,100% { transform: scale(1); opacity: 1; }
    50%      { transform: scale(1.5); opacity: 0.6; }
}

.ct-tagline {
    font-size: 0.95rem;
    color: #8b949e;
    line-height: 1.75;
    margin: 0;
}

.ct-cards {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.ct-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(22,27,34,0.7);
    border: 1px solid #21262d;
    border-radius: 12px;
    padding: 0.9rem 1.1rem;
    transition: border-color 0.25s, background 0.25s, transform 0.25s;
}
.ct-card:hover {
    border-color: rgba(88,166,255,0.3);
    background: rgba(22,27,34,0.9);
    transform: translateX(4px);
}
.ct-card-icon {
    width: 38px; height: 38px;
    border-radius: 10px;
    background: rgba(88,166,255,0.1);
    border: 1px solid rgba(88,166,255,0.15);
    display: flex; align-items: center; justify-content: center;
    color: #58a6ff;
    font-size: 0.95rem;
    flex-shrink: 0;
    transition: background 0.25s, box-shadow 0.25s;
}
.ct-card:hover .ct-card-icon {
    background: rgba(88,166,255,0.18);
    box-shadow: 0 0 12px rgba(88,166,255,0.2);
}
.ct-card-body {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}
.ct-card-label {
    font-family: var(--font-mono, monospace);
    font-size: 0.65rem;
    color: #484f58;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.ct-card-value {
    font-size: 0.88rem;
    color: #c9d1d9;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ct-socials {
    display: flex;
    gap: 0.65rem;
    flex-wrap: wrap;
}
.ct-social-link {
    width: 38px; height: 38px;
    border-radius: 10px;
    background: rgba(22,27,34,0.8);
    border: 1px solid #21262d;
    display: flex; align-items: center; justify-content: center;
    color: #8b949e;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.25s ease;
}
.ct-social-link:hover {
    color: #58a6ff;
    border-color: rgba(88,166,255,0.35);
    background: rgba(88,166,255,0.08);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(88,166,255,0.15);
}

.ct-response-time {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-mono, monospace);
    font-size: 0.75rem;
    color: #484f58;
}
.ct-response-time i { color: #f0883e; }
.ct-response-time strong { color: #f0883e; }

/* ── Right form panel ── */
.ct-form-panel {
    background: rgba(22,27,34,0.65);
    border: 1px solid #21262d;
    border-radius: 16px;
    overflow: hidden;
    backdrop-filter: blur(12px);
    position: relative;
    z-index: 1;
}

.ct-form-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #1c2128;
    background: rgba(13,17,23,0.5);
}
.ct-form-title {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    color: #e6edf3;
}
.ct-secure-badge {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-family: var(--font-mono, monospace);
    font-size: 0.66rem;
    color: #3fb950;
    background: rgba(63,185,80,0.08);
    border: 1px solid rgba(63,185,80,0.2);
    border-radius: 6px;
    padding: 0.25rem 0.6rem;
}

.contact-form {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

/* Honeypot — visually hidden but not display:none (bots see it) */
.ct-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.cf-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.cf-group {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.cf-label {
    font-family: var(--font-mono, monospace);
    font-size: 0.72rem;
    color: #8b949e;
    letter-spacing: 0.04em;
}
.cf-req { color: #f0883e; }

.cf-input {
    background: rgba(13,17,23,0.8);
    border: 1px solid #30363d;
    border-radius: 8px;
    padding: 0.7rem 0.9rem;
    color: #e6edf3;
    font-family: var(--font-mono, monospace);
    font-size: 0.87rem;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
    outline: none;
    width: 100%;
    box-sizing: border-box;
}
.cf-input::placeholder { color: #484f58; }
.cf-input:focus {
    border-color: #388bfd;
    box-shadow: 0 0 0 3px rgba(56,139,253,0.12);
    background: rgba(13,17,23,0.95);
}
.cf-input.cf-invalid {
    border-color: #f85149;
    box-shadow: 0 0 0 3px rgba(248,81,73,0.1);
}
.cf-input.cf-valid { border-color: #3fb950; }

.cf-textarea {
    resize: vertical;
    min-height: 120px;
    max-height: 320px;
}

.cf-footer-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.cf-char-count {
    font-family: var(--font-mono, monospace);
    font-size: 0.65rem;
    color: #484f58;
    white-space: nowrap;
    padding-left: 0.5rem;
}
.cf-char-count.cf-near-limit { color: #f0883e; }
.cf-char-count.cf-at-limit   { color: #f85149; }

.cf-err {
    font-family: var(--font-mono, monospace);
    font-size: 0.68rem;
    color: #f85149;
    min-height: 1em;
    display: block;
}

.ct-submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    width: 100%;
    padding: 0.85rem 1.5rem;
    background: #1f6feb;
    color: #fff;
    border: 1px solid #388bfd;
    border-radius: 10px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
    margin-top: 0.25rem;
}
.ct-submit-btn:hover:not(:disabled) {
    background: #388bfd;
    box-shadow: 0 8px 28px rgba(31,111,235,0.4);
    transform: translateY(-2px);
}
.ct-submit-btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}

.cf-form-msg {
    padding: 0.8rem 1rem;
    border-radius: 8px;
    font-family: var(--font-mono, monospace);
    font-size: 0.8rem;
    text-align: center;
    margin-top: 0.25rem;
}
.cf-form-msg.cf-success {
    background: rgba(63,185,80,0.1);
    border: 1px solid rgba(63,185,80,0.3);
    color: #3fb950;
}
.cf-form-msg.cf-error {
    background: rgba(248,81,73,0.1);
    border: 1px solid rgba(248,81,73,0.3);
    color: #f85149;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 960px) {
    .proj-card {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .proj-reverse { direction: ltr; }
    .proj-watermark { font-size: 5rem; opacity: 0.5; }
    .pipeline-stages { gap: 0; padding: 1rem; }
    .ps-stage { min-width: 52px; }
    .ps-line  { min-width: 16px; }
    .contact-grid    { grid-template-columns: 1fr; }
    .cf-row          { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .geo-skills-grid { grid-template-columns: repeat(2, 1fr); }
    .proj-showcase-grid { gap: 3rem; }
    .proj-btns { flex-direction: column; }
    .proj-btn-live, .proj-btn-code { justify-content: center; }
}
