:root {
    --bg-main: #060608;
    --text-main: #e2e2e5;
    --text-muted: #a0a0ab;
    --accent-1: #6d28d9; 
    --accent-2: #06b6d4; 
    --accent-gradient: linear-gradient(135deg, var(--accent-1), var(--accent-2));
    
    --surface: #101015;
    --surface-border: rgba(255, 255, 255, 0.1);
    --surface-hover: rgba(255, 255, 255, 0.05);

    --font-sans: 'Outfit', sans-serif;
    --font-heading: 'Space Grotesk', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
    overflow-x: hidden;
    width: 100%;
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font-sans);
    line-height: 1.6;
    position: relative;
    overscroll-behavior-y: none;
}

/* ================== FIXED BACKGROUNDS ================== */
#bg-container {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    z-index: -10;
    pointer-events: none;
    background-color: var(--bg-main);
}
.fixed-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}
.fixed-bg.active { opacity: 1; }

.bg-base { background: radial-gradient(circle at center, #11081f 0%, #000 100%); }
.bg-uni { background: radial-gradient(circle at 70% 30%, #032014 0%, #000 100%); }
.bg-vitto { background: radial-gradient(circle at 20% 80%, #291a02 0%, #050505 100%); }
.bg-samsung-migration { background: radial-gradient(circle at 10% 20%, #0a2d4d 0%, #000 80%); }
.bg-samsung-observability { background: radial-gradient(circle at 80% 80%, #063d3a 0%, #020a0d 100%); }
.bg-samsung-ai { background: radial-gradient(circle at center, #3d0e5c 0%, #000 100%); }
.bg-projects { background: linear-gradient(135deg, #2b0616 0%, #020720 100%); overflow: hidden; }

/* THEMATIC ANIMATIONS */

/* Base Glows */
.glow { position: absolute; border-radius: 50%; filter: blur(140px); opacity: 0.15; animation: floatGlow 20s infinite alternate ease-in-out; }
.glow-1 { top: -10%; left: -10%; width: 50vw; height: 50vh; background: var(--accent-1); }
.glow-2 { bottom: -10%; right: -10%; width: 60vw; height: 60vh; background: var(--accent-2); animation-delay: -5s; }
.glow-3 { top: 40%; left: 50%; width: 500px; height: 500px; background: #3b82f6; transform: translate(-50%, -50%); animation-delay: -10s; }
@keyframes floatGlow { 0% { transform: scale(1); } 100% { transform: scale(1.2); } }

/* Matrix Background (University) */
.matrix-rain { position: absolute; width: 2px; height: 20vh; background: linear-gradient(to bottom, transparent, #0f0); animation: rain 2.5s linear infinite; opacity: 0.7;}
.mr-2 { left: 25%; animation-duration: 4s; animation-delay: -1s; }
.mr-3 { left: 75%; animation-duration: 3s; animation-delay: -2s; }
@keyframes rain { 0% { top: -30vh; } 100% { top: 120vh; } }

/* Data Stream (Vitto) */
.data-stream { position: absolute; height: 2px; width: 15vw; background: linear-gradient(90deg, transparent, var(--accent-2)); animation: flowRight 3s linear infinite; }
.d1 { top: 15%; }
.d2 { top: 40%; width: 25vw; animation-duration: 4.5s; animation-delay: -2s; background: linear-gradient(90deg, transparent, #fbbf24); }
.d3 { top: 75%; animation-duration: 3.5s; animation-delay: -1s; }
@keyframes flowRight { 0% { left: -30vw; } 100% { left: 120vw; } }

/* Cloud Blocks (Migration) */
.cloud-block { position: absolute; width: 120px; height: 120px; border: 1px solid rgba(255, 255, 255, 0.05); background: rgba(10, 45, 77, 0.3); border-radius: 15px; animation: floatUp 15s linear infinite; }
.cb1 { left: 10%; width: 90px; height: 90px; }
.cb2 { left: 50%; animation-duration: 22s; animation-delay: -6s; width: 180px; height: 180px; }
.cb3 { left: 80%; animation-duration: 12s; width: 70px; height: 70px; }
.cb4 { left: 30%; animation-duration: 18s; animation-delay: -9s; }
@keyframes floatUp { 0% { bottom: -30vh; opacity: 0; transform: rotate(0deg); } 20% { opacity: 0.6; } 80% { opacity: 0.6; } 100% { bottom: 120vh; opacity: 0; transform: rotate(180deg); } }

/* Metric Bars (Observability) */
.metric-bars { position: absolute; bottom: 0; left: 0; width: 100%; height: 40vh; display: flex; align-items: flex-end; justify-content: space-around; opacity: 0.15; padding: 0 5%; gap: 2%; }
.bar { width: 8%; background: var(--accent-2); animation: pump 3s ease-in-out infinite alternate; border-radius: 4px 4px 0 0; }
.bar:nth-child(2n) { animation-duration: 4.5s; animation-delay: -1s; background: #3b82f6; }
.bar:nth-child(3n) { animation-duration: 2.2s; animation-delay: -2s; background: var(--accent-1); }
@keyframes pump { 0% { height: 10%; } 100% { height: 100%; } }

/* Neural Net (AI) */
.neural-net { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0.4; pointer-events: none; }
.node { position: absolute; background: var(--accent-1); border-radius: 50%; box-shadow: 0 0 25px var(--accent-1); animation: pulseNode 3s infinite alternate; }
.central { top: 50%; left: 50%; transform: translate(-50%, -50%); width: 40px; height: 40px; box-shadow: 0 0 50px var(--accent-1); }
.n1 { top: 30%; left: 30%; width: 20px; height: 20px; animation-delay: -1s;}
.n2 { top: 70%; left: 20%; width: 25px; height: 25px; animation-delay: -2s;}
.n3 { top: 20%; left: 70%; width: 15px; height: 15px; animation-delay: -0.5s;}
.n4 { top: 75%; left: 80%; width: 22px; height: 22px; animation-delay: -1.5s;}
.line { position: absolute; height: 2px; background: rgba(109, 40, 217, 0.4); transform-origin: left center;}
.l1 { top: 50%; left: 50%; width: 25%; transform: rotate(-135deg); }
.l2 { top: 50%; left: 50%; width: 35%; transform: rotate(145deg); }
.l3 { top: 50%; left: 50%; width: 28%; transform: rotate(-55deg); }
.l4 { top: 50%; left: 50%; width: 38%; transform: rotate(35deg); }
@keyframes pulseNode { 0% { transform: scale(0.8); opacity: 0.5; } 100% { transform: scale(1.2); opacity: 1; } }

/* Synth Grid (Projects) */
.synth-grid { position: absolute; bottom: -50%; left: -50%; width: 200%; height: 150%; background-image: linear-gradient(transparent 95%, rgba(109,40,217,0.3) 100%), linear-gradient(90deg, transparent 95%, rgba(109,40,217,0.3) 100%); background-size: 60px 60px; transform: perspective(800px) rotateX(75deg); animation: moveGrid 5s linear infinite; opacity: 0.5; }
@keyframes moveGrid { 0% { transform: perspective(800px) rotateX(75deg) translateY(0); } 100% { transform: perspective(800px) rotateX(75deg) translateY(60px); } }

@media screen and (max-width: 768px) {
    .glow { display: none !important; }
}

/* ================== NAVBAR ================== */
.navbar { position: fixed; top: 0; width: 100%; padding: 1.5rem 5%; display: flex; justify-content: space-between; align-items: center; z-index: 100; background: transparent; border-bottom: none; transition: transform 0.4s ease, opacity 0.4s ease; }
.navbar.hidden { transform: translateY(-100%); opacity: 0; pointer-events: none; }
.nav-brand { font-family: var(--font-heading); font-size: 1.8rem; font-weight: 700; color: #fff; }
.nav-brand span { color: var(--accent-2); }
.nav-links { display: flex; align-items: center; gap: 1.5rem; }
.nav-link { color: var(--text-main); font-size: 1.2rem; text-decoration: none; transition: color 0.3s ease, transform 0.2s; }
.nav-link:hover { color: var(--accent-2); transform: translateY(-2px); }
.contact-btn { font-family: var(--font-heading); font-size: 0.95rem; font-weight: 500; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); padding: 0.6rem 1.2rem; border-radius: 30px; transition: border-color 0.3s, background 0.3s; }
.contact-btn:hover { border-color: var(--accent-2); background: rgba(6, 182, 212, 0.1); }

/* ================== HERO & COMMON ================== */
.section { padding: 80px 5% 50px; min-height: auto; position: relative; z-index: 10; }
.section-title { font-family: var(--font-heading); font-size: 2.5rem; font-weight: 700; margin: 0 auto 4rem auto; text-align: center; position: relative; display: table; color: #fff;}
.section-title::after { content: ''; position: absolute; bottom: -10px; left: 0; right: 0; width: 60px; height: 3px; background: var(--accent-gradient); border-radius: 2px; margin: 0 auto; }

.hero { height: 100vh; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; position: relative; z-index: 10; padding: 0 5%;}
.hero-content { max-width: 800px; }
.greeting { font-family: var(--font-heading); color: var(--accent-2); font-size: 1.2rem; margin-bottom: 1rem; letter-spacing: 2px; text-transform: uppercase; }
.name { font-family: var(--font-heading); font-size: clamp(3rem, 8vw, 5.5rem); font-weight: 800; line-height: 1.1; margin-bottom: 1rem; background: var(--accent-gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; display: inline-block; }
.title { font-size: clamp(1.5rem, 4vw, 2.2rem); font-weight: 400; color: #fff; margin-bottom: 1.5rem; }
.bio { font-size: 1.15rem; color: var(--text-muted); max-width: 700px; margin: 0 auto 2rem; line-height: 1.7; }
.bio strong { color: #fff; font-weight: 600; }

/* Hero Stats */
.hero-stats { display: flex; justify-content: center; gap: 2.5rem; margin-bottom: 2rem; flex-wrap: wrap; }
.stat-item { text-align: center; background: rgba(255,255,255,0.05); border: 1px solid var(--surface-border); border-radius: 12px; padding: 1.2rem 1.6rem; backdrop-filter: blur(10px); transition: all 0.3s; }
.stat-item:hover { border-color: var(--accent-2); transform: translateY(-5px); box-shadow: 0 10px 30px rgba(6, 182, 212, 0.2); }
.stat-number { display: block; font-family: var(--font-heading); font-size: 2rem; font-weight: 800; background: var(--accent-gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat-label { font-size: 0.85rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }

/* Hero Chips */
.hero-chips { display: flex; justify-content: center; gap: 0.8rem; flex-wrap: wrap; margin-bottom: 2rem; }
.hero-chip { display: inline-flex; align-items: center; gap: 0.4rem; background: rgba(109, 40, 217, 0.15); border: 1px solid rgba(109, 40, 217, 0.3); color: #e2e2e5; padding: 0.5rem 1rem; border-radius: 20px; font-size: 0.9rem; transition: all 0.3s; }
.hero-chip:hover { background: rgba(109, 40, 217, 0.3); border-color: var(--accent-1); transform: translateY(-2px); }
.hero-chip i { color: var(--accent-2); }

.cta-group { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.primary-btn { display: inline-block; font-family: var(--font-sans); font-size: 1rem; font-weight: 600; padding: 0.8rem 2rem; border-radius: 8px; text-decoration: none; color: #fff; background: var(--accent-gradient); border: none; box-shadow: 0 4px 15px rgba(6, 182, 212, 0.3); transition: transform 0.3s, box-shadow 0.3s; }
.primary-btn:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(6, 182, 212, 0.4); }
.secondary-btn { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--font-sans); font-size: 1rem; font-weight: 600; padding: 0.8rem 2rem; border-radius: 8px; text-decoration: none; color: #fff; background: transparent; border: 2px solid var(--surface-border); transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s; }
.secondary-btn:hover { transform: translateY(-3px); border-color: var(--accent-2); box-shadow: 0 8px 25px rgba(6, 182, 212, 0.2); }

.scroll-indicator { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; opacity: 0.6; animation: bounce 2s infinite; }
.mouse { width: 24px; height: 36px; border: 2px solid var(--text-main); border-radius: 12px; position: relative; margin-bottom: 8px; }
.wheel { width: 4px; height: 8px; background: var(--accent-2); border-radius: 2px; position: absolute; top: 6px; left: 50%; transform: translateX(-50%); animation: scrollMouse 1.5s infinite; }
@keyframes scrollMouse { 0% { transform: translate(-50%, 0); opacity: 1; } 100% { transform: translate(-50%, 15px); opacity: 0; } }
@keyframes bounce { 0%, 20%, 50%, 80%, 100% { transform: translate(-50%, 0); } 40% { transform: translate(-50%, -10px); } 60% { transform: translate(-50%, -5px); } }

/* Init Hero animations */
.animate-slide-up { opacity: 0; transform: translateY(30px); animation: slideUp 0.8s forwards cubic-bezier(0.2, 0.8, 0.2, 1); }
.animate-fade-in { opacity: 0; animation: fadeIn 1s forwards ease; }
.delay-1 { animation-delay: 0.2s; } .delay-2 { animation-delay: 0.4s; } .delay-3 { animation-delay: 0.6s; } .delay-4 { animation-delay: 0.8s; }
@keyframes slideUp { to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { to { opacity: 1; } }

/* ================== TIMELINE ================== */
.timeline-section { position: relative; padding-bottom: 150px; z-index: 10; }
.wrapper { max-width: 1200px; margin: 0 auto; }
.timeline-container { position: relative; margin-top: 50px; }

.timeline-line-base { position: absolute; left: 50%; top: 0; bottom: 0; width: 4px; background: var(--surface-border); transform: translateX(-50%); border-radius: 2px; }
.timeline-line-fill { position: absolute; left: 50%; top: 0; width: 4px; height: 0%; background: var(--accent-gradient); transform: translateX(-50%); border-radius: 2px; box-shadow: 0 0 10px var(--accent-2); }

.timeline-item { position: relative; width: 50%; padding: 4rem 4rem; transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.8s ease; opacity: 0.1; }
.timeline-item.left { left: 0; text-align: right; padding-right: 5rem; transform: translateX(-50px); }
.timeline-item.right { left: 50%; padding-left: 5rem; transform: translateX(50px); }

.timeline-dot { position: absolute; top: 4.5rem; width: 24px; height: 24px; background: var(--bg-main); border: 4px solid var(--surface-border); border-radius: 50%; z-index: 2; transition: all 0.4s; }
.timeline-item.left .timeline-dot { right: -12px; }
.timeline-item.right .timeline-dot { left: -12px; }

/* When observer triggers `.active` */
.timeline-item.active { opacity: 1; transform: translateX(0); }
.timeline-item.active .timeline-dot { border-color: var(--accent-2); box-shadow: 0 0 20px var(--accent-2); background: var(--accent-1); }

.timeline-content {
    padding: 0;
    text-align: left;
    transition: transform 0.3s;
}
.timeline-item.left .timeline-content { text-align: right; }
.timeline-item.left .timeline-content .timeline-highlights li { padding-left: 0; padding-right: 1.5rem; text-align: right; }
.timeline-item.left .timeline-content .timeline-highlights li::before { left: auto; right: -1.5rem; content: "•"; text-align: right; }
.timeline-item.left .timeline-content .tech-tags { justify-content: flex-end; }

.timeline-date { display: inline-block; color: var(--accent-2); font-family: monospace; font-size: 1.1rem; margin-bottom: 1rem; letter-spacing: 2px; text-shadow: 0 2px 4px rgba(0,0,0,0.8); }
.timeline-role { font-family: var(--font-heading); font-size: 2.8rem; font-weight: 700; color: #fff; margin-bottom: 0.5rem; line-height: 1.1; text-shadow: 0 4px 10px rgba(0,0,0,0.9); }
.timeline-company { font-size: 1.5rem; color: #e2e2e5; margin-bottom: 2rem; font-style: italic; text-shadow: 0 2px 5px rgba(0,0,0,0.9); }

.timeline-highlights, .timeline-highlights li { list-style: none !important; margin-bottom: 2.5rem; }
.timeline-highlights li { margin-bottom: 1.2rem; color: #fff; font-size: 1.2rem; line-height: 1.6; position: relative; padding-left: 1.5rem; text-shadow: 0 2px 6px rgba(0,0,0,1); }
.timeline-highlights li::before { content: "•"; position: absolute; left: 0; color: var(--accent-2); font-size: 1.5rem; top: -4px; }

p.timeline-narrative {
    margin-bottom: 2.5rem; color: #fff; font-size: 1.2rem; line-height: 1.6; text-shadow: 0 2px 6px rgba(0,0,0,1);
}

.tech-tags { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1rem; }
.tech-tags span { background: rgba(0, 0, 0, 0.6); color: #fff; padding: 0.6rem 1.4rem; border-radius: 30px; font-size: 1rem; border: 1px solid var(--accent-1); backdrop-filter: blur(5px); box-shadow: 0 4px 10px rgba(0,0,0,0.5); transition: background 0.3s, color 0.3s; }
.tech-tags span:hover { background: var(--accent-1); border-color: var(--accent-2); }

/* ================== ULTIMATE SIDELINE ANIMATIONS ================== */
.milestone-graphic { position: absolute; top: 50%; transform: translateY(-50%); width: 450px; height: 350px; z-index: 10; pointer-events: none; display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 1s ease 0.5s; perspective: 800px; }
.timeline-item.active .milestone-graphic { opacity: 1; }
.timeline-item.left .milestone-graphic { left: 100%; justify-content: flex-start; padding-left: 40px;}
.timeline-item.right .milestone-graphic { right: 100%; justify-content: flex-end; padding-right: 40px;}

/* 1. Uni Term (3D Holographic Terminal) */
.anim-term { width: 260px; height: 180px; background: rgba(0, 15, 0, 0.85); border: 2px solid #0f0; border-radius: 10px; box-shadow: 0 0 30px rgba(0, 255, 0, 0.3), inset 0 0 20px rgba(0, 255, 0, 0.2); font-family: monospace; color: #0f0; overflow: hidden; transform: rotateY(-15deg) rotateX(10deg); animation: floatTerm 4s infinite alternate ease-in-out; position: relative; z-index: 2;}
.term-header { height: 28px; background: rgba(0, 50, 0, 0.9); display: flex; align-items: center; padding: 0 12px; gap: 6px; border-bottom: 1px solid #0f0; }
.term-header span { width: 12px; height: 12px; border-radius: 50%; background: #0f0; opacity: 0.6; box-shadow: 0 0 5px #0f0;}
.term-body { padding: 15px; font-size: 0.95rem; line-height: 1.6; text-align: left; position: relative; }
.term-body::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: repeating-linear-gradient(0deg, rgba(0,0,0,0.15), rgba(0,0,0,0.15) 1px, transparent 1px, transparent 2px); pointer-events: none; }
.cursor { animation: blink 1s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }
@keyframes floatTerm { 0% { transform: rotateY(-15deg) rotateX(10deg) translateY(0); } 100% { transform: rotateY(-5deg) rotateX(15deg) translateY(-15px); box-shadow: 0 10px 40px rgba(0, 255, 0, 0.4), inset 0 0 20px rgba(0, 255, 0, 0.2); } }

/* 2. Vitto Wallet (3D Fintech Cascade) */
.anim-wallet { position: relative; width: 220px; height: 260px; transform-style: preserve-3d; }
.phone-frame { position: absolute; top: 40px; left: 60px; width: 110px; height: 190px; border: 4px solid var(--accent-2); border-radius: 18px; display: flex; align-items: center; justify-content: center; font-size: 3.5rem; color: var(--accent-2); box-shadow: 0 0 25px rgba(6, 182, 212, 0.4), inset 0 0 15px rgba(6, 182, 212, 0.2); overflow: hidden; background: rgba(5, 10, 20, 0.8); transform: rotateZ(-5deg); animation: tiltPhone 4s infinite alternate ease-in-out; }
.qr-scan-line { position: absolute; top: 0; left: 0; width: 100%; height: 3px; background: #fff; box-shadow: 0 0 15px #fff, 0 0 30px #fff; animation: scanDown 2s linear infinite alternate; }
@keyframes scanDown { 0% { top: 5%; } 100% { top: 95%; } }
@keyframes tiltPhone { 0% { transform: rotateZ(-5deg) translateY(0); } 100% { transform: rotateZ(5deg) translateY(-10px); } }
.coin { position: absolute; bottom: 30px; right: 20px; width: 45px; height: 45px; background: radial-gradient(circle at 30% 30%, #fef08a, #eab308); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #713f12; font-size: 1.4rem; font-weight: 800; border: 3px solid #ca8a04; box-shadow: 0 5px 15px rgba(0,0,0,0.5), inset 0 -3px 5px rgba(0,0,0,0.2); animation: coinErupt 2.5s cubic-bezier(0.2, 0.8, 0.2, 1) infinite; opacity: 0; z-index: -1; }
.coin.c2 { right: 50px; animation-delay: 0.8s; }
.coin.c3 { right: 80px; animation-delay: 1.6s; }
@keyframes coinErupt { 0% { transform: translate(0, 0) scale(0.5) rotate(0deg); opacity: 1; } 50% { opacity: 1; } 100% { transform: translate(-100px, -150px) scale(1.2) rotate(360deg); opacity: 0; } }

/* 3. Migration Servers (Active Datacenter) */
.anim-server { position: relative; width: 220px; height: 260px; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 12px; }
.rack { width: 170px; height: 45px; background: linear-gradient(90deg, #0f172a, #1e293b); border: 2px solid var(--accent-2); border-radius: 6px; display: flex; align-items: center; padding: 0 20px; gap: 12px; box-shadow: 0 10px 25px rgba(0,0,0,0.6), inset 0 2px 5px rgba(255,255,255,0.1); position: relative; overflow: hidden;}
.rack::after { content: ''; position: absolute; left: -100%; width: 50%; height: 100%; background: linear-gradient(90deg, transparent, rgba(6, 182, 212, 0.2), transparent); animation: serverSweep 3s infinite; }
@keyframes serverSweep { 100% { left: 200%; } }
.rack i { width: 10px; height: 10px; border-radius: 50%; background: #3b82f6; animation: blinkLight 0.8s infinite alternate; box-shadow: 0 0 8px currentColor; }
.rack.r2 i { animation-delay: 0.2s; background: #22c55e; }
.rack.r3 i { animation-delay: 0.5s; background: #eab308; }
.floating-aws { position: absolute; top: 0; font-size: 4.5rem; color: #f97316; animation: floatCloud 3s ease-in-out infinite alternate; text-shadow: 0 10px 30px rgba(249, 115, 22, 0.6); z-index: 2;}
@keyframes floatCloud { 0% { transform: translateY(0) scale(1); } 100% { transform: translateY(-15px) scale(1.05); } }
@keyframes blinkLight { 0% { opacity: 0.2; } 100% { opacity: 1; box-shadow: 0 0 15px currentColor; } }

/* 4. Observability Radar (Tactical Command) */
.anim-radar { position: relative; width: 180px; height: 180px; border: 3px solid #22c55e; border-radius: 50%; background: radial-gradient(circle at center, rgba(0, 50, 0, 0.6), rgba(0, 20, 0, 0.9)); overflow: hidden; box-shadow: 0 0 40px rgba(34, 197, 94, 0.3), inset 0 0 30px rgba(34, 197, 94, 0.3); }
.anim-radar::before { content: ''; position: absolute; top: 10%; left: 10%; right: 10%; bottom: 10%; border: 1px dashed rgba(34, 197, 94, 0.4); border-radius: 50%; }
.anim-radar::after { content: ''; position: absolute; top: 30%; left: 30%; right: 30%; bottom: 30%; border: 1px solid rgba(34, 197, 94, 0.6); border-radius: 50%; }
.radar-sweep { position: absolute; top: 50%; left: 50%; width: 50%; height: 2px; background: linear-gradient(90deg, transparent, #22c55e); transform-origin: left; animation: sweep 3s linear infinite; box-shadow: 0 -10px 20px rgba(34, 197, 94, 0.5); }
@keyframes sweep { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
.radar-ping { position: absolute; width: 12px; height: 12px; background: #22c55e; border-radius: 50%; box-shadow: 0 0 15px #22c55e; opacity: 0; animation: ping 3s linear infinite; }
.p1 { top: 25%; left: 65%; animation-delay: 0.5s; }
.p2 { top: 65%; left: 35%; animation-delay: 2s; }
.p3 { top: 45%; left: 75%; animation-delay: 1.2s; }
@keyframes ping { 0% { opacity: 1; transform: scale(1); } 15% { opacity: 0; transform: scale(4); } 100% { opacity: 0; } }
.chart-rise { position: absolute; bottom: 25px; left: 50%; transform: translateX(-50%); display: flex; align-items: flex-end; gap: 8px; height: 50px; z-index: 2;}
.cr { width: 16px; background: linear-gradient(to top, transparent, var(--accent-2)); animation: rise 1.5s ease-in-out infinite alternate; box-shadow: 0 0 15px var(--accent-2); border-top: 2px solid #fff;}
.cr:nth-child(2) { animation-delay: 0.4s; }
.cr:nth-child(3) { animation-delay: 0.8s; }
@keyframes rise { 0% { height: 15px; filter: hue-rotate(0deg); } 100% { height: 50px; filter: hue-rotate(40deg); } }

/* 5. AI Brain (Synaptic Network) */
.anim-brain { position: relative; width: 220px; height: 220px; display: flex; align-items: center; justify-content: center; }
.brain-icon { font-size: 6rem; color: #e879f9; text-shadow: 0 0 40px #c026d3, 0 0 80px #a21caf; z-index: 3; animation: computeBrain 2s infinite alternate; }
.pulse-ring { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); border: 2px solid #e879f9; border-radius: 50%; animation: explodeRing 2.5s cubic-bezier(0.1, 0.8, 0.3, 1) infinite; z-index: 1;}
.pr2 { animation-delay: 1.25s; border-color: var(--accent-2); }
@keyframes computeBrain { 0% { transform: scale(0.95); filter: brightness(1); } 100% { transform: scale(1.05); filter: brightness(1.5); } }
@keyframes explodeRing { 0% { width: 0; height: 0; opacity: 1; border-width: 4px; box-shadow: 0 0 20px currentColor; } 100% { width: 220px; height: 220px; opacity: 0; border-width: 1px; } }

/* 6. Projects Robot (Orbital AI) */
.anim-robot { position: relative; width: 220px; height: 220px; display: flex; align-items: center; justify-content: center; }
.robo-icon { font-size: 6.5rem; color: #fff; text-shadow: 0 10px 30px rgba(6, 182, 212, 0.8); animation: floatRobot 3.5s ease-in-out infinite alternate; z-index: 2; }
.robo-ring { position: absolute; width: 160px; height: 160px; border: 3px dashed var(--accent-2); border-radius: 50%; animation: spinRing 10s linear infinite; box-shadow: inset 0 0 20px rgba(6, 182, 212, 0.2); }
.chat-bubble { position: absolute; top: 0; right: -20px; background: linear-gradient(135deg, var(--accent-1), var(--accent-2)); color: #fff; padding: 12px 18px; border-radius: 20px; border-bottom-left-radius: 0; font-weight: bold; font-family: monospace; font-size: 1.2rem; animation: popBubble 4s infinite; opacity: 0; z-index: 3; box-shadow: 0 10px 25px rgba(0,0,0,0.6); border: 1px solid rgba(255,255,255,0.3); }
@keyframes spinRing { 0% { transform: rotateX(70deg) rotateZ(0deg); } 100% { transform: rotateX(70deg) rotateZ(360deg); } }
@keyframes floatRobot { 0% { transform: translateY(0); filter: drop-shadow(0 0 10px var(--accent-2)); } 100% { transform: translateY(-25px); filter: drop-shadow(0 20px 30px var(--accent-1)); } }
@keyframes popBubble { 0%, 20% { opacity: 0; transform: scale(0.5) translateY(20px); } 30%, 80% { opacity: 1; transform: scale(1) translateY(0); } 90%, 100% { opacity: 0; transform: scale(0.5) translateY(-20px); } }

/* ============== SUPPLEMENTARY GRAPHICS ============== */
/* Uni */
.floating-badge { position: absolute; top: 20px; right: 20px; display: flex; gap: 4px; color: #eab308; font-size: 1.5rem; filter: drop-shadow(0 0 10px #eab308); transform: rotate(15deg); animation: floatBadge 3s infinite alternate ease-in-out; }
.binary-ring { position: absolute; bottom: 30px; right: 50px; width: 100px; height: 100px; border: 2px dashed #0f0; border-radius: 50%; animation: spinRing 8s linear infinite; opacity: 0.6; }
@keyframes floatBadge { 0% { transform: rotate(15deg) translateY(0); } 100% { transform: rotate(5deg) translateY(-20px) scale(1.1); } }

/* Vitto */
.credit-card { position: absolute; top: 20px; left: 20px; width: 140px; height: 85px; background: linear-gradient(135deg, #1e293b, #0f172a); border-radius: 12px; border: 1px solid rgba(255,255,255,0.2); box-shadow: 0 10px 30px rgba(0,0,0,0.8); transform: rotateX(20deg) rotateY(30deg) rotateZ(-15deg); animation: floatCard 4s infinite alternate ease-in-out; }
.credit-card::before { content: 'VISA'; position: absolute; bottom: 10px; right: 15px; color: white; font-family: sans-serif; font-style: italic; font-weight: 800; font-size: 1.2rem; opacity: 0.8; }
.credit-card::after { content: ''; position: absolute; top: 15px; left: 15px; width: 25px; height: 20px; background: #fbbf24; border-radius: 4px; opacity: 0.9; }
@keyframes floatCard { 0% { transform: rotateX(20deg) rotateY(30deg) rotateZ(-15deg) translateY(0); } 100% { transform: rotateX(30deg) rotateY(20deg) rotateZ(-5deg) translateY(-20px); } }

/* Migration */
.docker-box { position: absolute; width: 60px; height: 60px; background: rgba(14, 165, 233, 0.2); border: 2px solid #0ea5e9; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 2rem; color: #0ea5e9; box-shadow: 0 0 15px rgba(14, 165, 233, 0.4); animation: floatDocker 5s infinite alternate ease-in-out; }
.dbox1 { top: 20px; left: 10px; animation-delay: 0s; }
.dbox2 { top: 80px; left: -30px; animation-delay: 1.5s; border-color: #fbbf24; color: #fbbf24; background: rgba(251, 191, 36, 0.2); box-shadow: 0 0 15px rgba(251, 191, 36, 0.4); }
.data-link-line { position: absolute; right: 80px; top: 50%; width: 2px; height: 150px; background: linear-gradient(to top, transparent, var(--accent-2), transparent); animation: scanDown 2s linear infinite; transform: translateY(-50%); }
@keyframes floatDocker { 0% { transform: translateY(0) rotate(0deg); } 100% { transform: translateY(-30px) rotate(15deg); } }

/* Observability */
.floating-dashboard { position: absolute; top: -10px; right: -20px; width: 140px; height: 80px; background: rgba(0, 0, 0, 0.6); border: 1px solid rgba(34, 197, 94, 0.5); border-radius: 8px; backdrop-filter: blur(5px); box-shadow: 0 10px 20px rgba(0,0,0,0.5); transform: perspective(600px) rotateY(-20deg) rotateX(10deg); display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 10px; animation: floatDash 4s infinite alternate; }
.dash-line { height: 4px; background: rgba(34, 197, 94, 0.8); border-radius: 2px; width: 100%; animation: pulseWidth 2s infinite alternate; }
.dl1 { width: 80%; } .dl2 { width: 40%; animation-delay: 0.5s; background: #facc15; } .dl3 { width: 60%; animation-delay: 1s; }
@keyframes floatDash { 100% { transform: perspective(600px) rotateY(-10deg) rotateX(15deg) translateY(-15px); } }
@keyframes pulseWidth { 0% { transform: scaleX(0.8); transform-origin: left; } 100% { transform: scaleX(1); transform-origin: left; } }

/* AI Brain */
.neural-nodes-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; }
.nnx { position: absolute; width: 12px; height: 12px; background: var(--accent-2); border-radius: 50%; box-shadow: 0 0 15px var(--accent-2); animation: pulseNode 2s infinite alternate; }
.nnx1 { top: 20%; left: 20%; } .nnx2 { top: 80%; right: 20%; animation-delay: 0.5s; } .nnx3 { top: 30%; right: 10%; animation-delay: 1s; }
.nnl { position: absolute; height: 2px; background: rgba(6, 182, 212, 0.4); transform-origin: left; }
.nnl1 { top: 25%; left: 25%; width: 50px; transform: rotate(45deg); }
.nnl2 { bottom: 25%; right: 25%; width: 60px; transform: rotate(-30deg); }

/* Projects */
.api-satellites { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; }
.sat { position: absolute; width: 40px; height: 40px; background: rgba(0,0,0,0.7); border: 1px solid var(--accent-2); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; color: var(--accent-2); box-shadow: 0 0 15px rgba(6, 182, 212, 0.3); animation: orbitSat 6s linear infinite; }
.sat1 { top: 10%; left: 10%; }
.sat2 { bottom: 10%; right: 10%; animation-duration: 8s; animation-direction: reverse; color: #fbbf24; border-color: #fbbf24; }
@keyframes orbitSat { 0% { transform: translate(0, 0) rotate(0deg); } 25% { transform: translate(20px, 20px) rotate(90deg); } 50% { transform: translate(0, 40px) rotate(180deg); } 75% { transform: translate(-20px, 20px) rotate(270deg); } 100% { transform: translate(0, 0) rotate(360deg); } }

/* Uni: Code Particles */
.code-particles { position: absolute; inset: 0; pointer-events: none; }
.cp { position: absolute; font-family: monospace; font-size: 1.2rem; color: rgba(0, 255, 0, 0.5); animation: floatCP 6s linear infinite; opacity: 0; }
.cp1 { left: 10%; top: 80%; animation-delay: 0s; } .cp2 { left: 30%; top: 90%; animation-delay: 1.2s; } .cp3 { left: 60%; top: 85%; animation-delay: 2.4s; } .cp4 { left: 80%; top: 75%; animation-delay: 3.6s; } .cp5 { left: 50%; top: 95%; animation-delay: 4.8s; }
@keyframes floatCP { 0% { opacity: 0; transform: translateY(0) rotate(0); } 20% { opacity: 0.7; } 100% { opacity: 0; transform: translateY(-200px) rotate(360deg); } }

/* Vitto: Fintech Pulse + Notifications */
.fintech-pulse { position: absolute; bottom: 20px; left: 0; width: 100%; height: 50px; overflow: hidden; }
.fp-line { position: absolute; bottom: 25px; left: 0; width: 200%; height: 2px; background: repeating-linear-gradient(90deg, transparent, var(--accent-2) 3px, transparent 6px); animation: ecgSlide 3s linear infinite; }
@keyframes ecgSlide { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.notif-stack { position: absolute; top: 30px; right: 10px; display: flex; flex-direction: column; gap: 8px; }
.notif { width: 35px; height: 35px; background: rgba(109, 40, 217, 0.3); border: 1px solid var(--accent-1); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 0.9rem; color: var(--accent-1); animation: notifPop 3s infinite ease-in-out; }
.n2 { animation-delay: 0.5s; } .n3 { animation-delay: 1s; }
@keyframes notifPop { 0%, 100% { opacity: 0.3; transform: scale(0.8); } 50% { opacity: 1; transform: scale(1); box-shadow: 0 0 15px var(--accent-1); } }

/* Migration: K8s Cluster + Cost Counter */
.k8s-cluster { position: absolute; top: 20px; right: 20px; width: 120px; height: 120px; }
.pod { position: absolute; width: 30px; height: 30px; border: 2px solid #326ce5; border-radius: 8px; background: rgba(50, 108, 229, 0.2); box-shadow: 0 0 10px rgba(50, 108, 229, 0.3); animation: podBounce 2s infinite alternate; }
.pod1 { top: 0; left: 50%; transform: translateX(-50%); }
.pod2 { bottom: 10px; left: 10px; animation-delay: 0.5s; }
.pod3 { bottom: 10px; right: 10px; animation-delay: 1s; }
.k8s-ring { position: absolute; inset: -5px; border: 2px dashed rgba(50, 108, 229, 0.4); border-radius: 50%; animation: spinRing 15s linear infinite; }
@keyframes podBounce { 0% { transform: translateY(0); } 100% { transform: translateY(-10px); box-shadow: 0 0 20px rgba(50, 108, 229, 0.6); } }
.cost-counter { position: absolute; bottom: 20px; left: 10px; background: rgba(0,0,0,0.7); border: 1px solid #22c55e; border-radius: 10px; padding: 8px 14px; display: flex; flex-direction: column; align-items: center; box-shadow: 0 5px 20px rgba(0,0,0,0.6); animation: floatDash 3s infinite alternate; }
.cc-label { font-size: 0.6rem; letter-spacing: 2px; color: #22c55e; text-transform: uppercase; }
.cc-value { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 800; color: #22c55e; text-shadow: 0 0 15px rgba(34, 197, 94, 0.5); }
.cc-mo { font-size: 0.7rem; font-weight: 400; color: var(--text-muted); }

/* Observability: Log Stream */
.log-stream { position: absolute; bottom: 10px; left: 10px; display: flex; flex-direction: column; gap: 5px; }
.log-entry { font-family: monospace; font-size: 0.7rem; color: #22c55e; background: rgba(0,0,0,0.6); padding: 4px 10px; border-radius: 4px; border-left: 2px solid #22c55e; opacity: 0; animation: logSlide 4s infinite; }
.le2 { animation-delay: 1.5s; color: #facc15; border-color: #facc15; }
.le3 { animation-delay: 3s; }
@keyframes logSlide { 0% { opacity: 0; transform: translateX(-20px); } 15% { opacity: 1; transform: translateX(0); } 85% { opacity: 1; } 100% { opacity: 0; } }

/* AI: Prompt Box + Sparkles */
.prompt-box { position: absolute; bottom: 20px; left: 10px; background: rgba(0, 0, 0, 0.8); border: 1px solid var(--accent-1); border-radius: 8px; padding: 10px 16px; font-family: monospace; font-size: 0.85rem; box-shadow: 0 5px 20px rgba(0,0,0,0.6); color: #e879f9; animation: floatDash 4s infinite alternate; }
.pb-text { white-space: nowrap; }
.pb-cursor { display: inline-block; width: 8px; height: 14px; background: #e879f9; margin-left: 2px; animation: blink 1s step-end infinite; vertical-align: middle; }
.llm-sparkles { position: absolute; inset: 0; pointer-events: none; }
.sparkle { position: absolute; font-size: 1.5rem; animation: sparkleFloat 4s infinite; opacity: 0; }
.sp1 { top: 15%; right: 15%; animation-delay: 0s; }
.sp2 { top: 60%; left: 15%; animation-delay: 1.5s; }
.sp3 { bottom: 20%; right: 30%; animation-delay: 3s; }
@keyframes sparkleFloat { 0% { opacity: 0; transform: scale(0.3) rotate(0deg); } 30% { opacity: 1; transform: scale(1) rotate(180deg); } 60% { opacity: 0.5; transform: scale(0.8) rotate(360deg); } 100% { opacity: 0; transform: scale(0.3) rotate(540deg); } }

/* Projects: API Flow */
.api-flow { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); width: 150px; height: 30px; }
.flow-line { position: absolute; left: 0; top: 50%; width: 100%; height: 2px; background: linear-gradient(90deg, var(--accent-1), var(--accent-2)); transform: translateY(-50%); border-radius: 2px; }
.flow-dot { position: absolute; top: 50%; transform: translateY(-50%); width: 10px; height: 10px; background: #fff; border-radius: 50%; box-shadow: 0 0 10px #fff; animation: dotMove 2s linear infinite; }
.fd1 { animation-delay: 0s; } .fd2 { animation-delay: 0.7s; } .fd3 { animation-delay: 1.4s; }
@keyframes dotMove { 0% { left: 0; opacity: 1; } 100% { left: 100%; opacity: 0; } }

/* Footer */
footer { text-align: center; padding: 2rem 5% 1.5rem; margin-top: 60px; position: relative; z-index: 10; background: rgba(255,255,255,0.02); border-top: 1px solid rgba(255,255,255,0.06); }
footer::before { content: ''; position: absolute; top: -1px; left: 15%; right: 15%; height: 1px; background: var(--accent-gradient); }
.footer-brand { font-family: var(--font-heading); font-size: 1.8rem; font-weight: 800; margin-bottom: 0.3rem; background: var(--accent-gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; display: inline-block; }
footer p { color: var(--text-muted); margin-bottom: 1rem; font-size: 0.85rem; letter-spacing: 1px; }
.footer-links { display: flex; justify-content: center; gap: 1.2rem; margin-bottom: 1rem; }
.footer-links a { color: var(--text-muted); font-size: 1.2rem; transition: color 0.3s, transform 0.3s, filter 0.3s; display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.08); background: rgba(255,255,255,0.03); }
.footer-links a:hover { color: var(--accent-2); transform: translateY(-3px); filter: drop-shadow(0 0 10px var(--accent-2)); border-color: rgba(6, 182, 212, 0.3); }
.footer-copy { font-size: 0.75rem; color: rgba(255,255,255,0.2); letter-spacing: 1px; }

/* Responsive */
@media screen and (max-width: 768px) {
    .navbar { padding: 1rem 1rem; }
    .nav-links { gap: 0.8rem; }
    .contact-btn { padding: 0.5rem 0.8rem; }
    
    .timeline-line-base { left: 20px; transform: none; }
    .timeline-line-fill { left: 20px; transform: none; width: 4px; }
    
    .timeline-item { width: 100%; padding: 3rem 0 3rem 40px !important; text-align: left !important; }
    .timeline-item.left { transform: translateY(30px); }
    .timeline-item.right { transform: translateY(30px); left: 0; }
    .timeline-item.active { transform: translateY(0); }
    
    .timeline-dot { left: 8px !important; top: 3.5rem; right: auto !important; }
    
    /* Reset left alignment overrides */
    .timeline-item.left .timeline-content { text-align: left; }
    .timeline-item.left .timeline-content .timeline-highlights li { padding-right: 0; padding-left: 1.5rem; }
    .timeline-item.left .timeline-content .timeline-highlights li::before { left: 0; right: auto; }
    .timeline-item.left .timeline-content .tech-tags { justify-content: flex-start; }
    
    .section-title { font-size: 2.2rem; }
    .name { font-size: 2.8rem; }
    .timeline-role { font-size: 2rem; }
    .timeline-company { font-size: 1.2rem; }
    
    .hero-stats { gap: 1rem; }
    .stat-item { padding: 0.8rem 1rem; }
    .stat-number { font-size: 1.4rem; }
}

@media screen and (max-width: 1000px) {
    .milestone-graphic { display: none !important; }
}

@media screen and (max-width: 500px) {
    .contact-text { display: none !important; }
}

